Compare commits

...
Sign in to create a new pull request.

9 commits

Author SHA1 Message Date
Filipe Rosset
c4a53b3bed remove noarch tag from doc sub-package 2026-07-23 15:42:53 -03:00
Filipe Rosset
cd349a9baf remove noarch tag from examples sub-package 2026-07-23 15:27:54 -03:00
Filipe Rosset
2426d0cc44 opt-in to packit for rawhide
Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>
2026-07-23 14:56:20 -03:00
Filipe Rosset
7344042b77 simplify .gitignore file
Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>
2026-07-23 14:55:56 -03:00
Filipe Rosset
c97757fe89 update to 1.8.3
spec cleanup and modernization
fixes rhbz#2505136 waffle: FTBFS in Fedora rawhide/f45

Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>
2026-07-23 14:54:41 -03:00
Fedora Release Engineering
500750be5b Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:40:29 +00:00
Fedora Release Engineering
c1324c7b2a Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:06:13 +00:00
Adam Jackson
d1459d9dc3 Update to 1.8.1 2025-10-01 12:07:55 -04:00
Fedora Release Engineering
6bd8199571 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:16:28 +00:00
4 changed files with 58 additions and 49 deletions

10
.gitignore vendored
View file

@ -1,9 +1 @@
/waffle-1.2.3.tar.xz
/waffle-1.3.0.tar.xz
/waffle-1.4.0.tar.xz
/waffle-1.4.2.tar.xz
/waffle-1.5.0.tar.xz
/waffle-1.5.2.tar.xz
/waffle-1.6.1.tar.xz
/waffle-1.7.0.tar.bz2
/waffle-1.8.0.tar.bz2
/waffle-*.tar.xz

19
.packit.yaml Normal file
View file

@ -0,0 +1,19 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: waffle.spec
copy_upstream_release_description: false
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide
- job: koji_build
trigger: commit
allowed_committers: ['packit','all_admins']
dist_git_branches:
- fedora-rawhide

View file

@ -1 +1 @@
SHA512 (waffle-1.8.0.tar.bz2) = 1a78f0e9864bc99fdd0452f65632b5d0c4ed42b99ec6c8b6551c66c018b4effe53ee8bad00cfdd538b5e2250ea02097944e7581592ff6472ff6de8abadd80160
SHA512 (waffle-1.8.3.tar.xz) = 6c320e3bab223075da8c4b1a32a24ad857143481f58ab1a39c4e6ace869c5e802cd768cd6186b28abe47c273994188be2b943e5c9fa156941dc5695316859d05

View file

@ -1,27 +1,27 @@
Name: waffle
Version: 1.8.0
Version: 1.8.3
Release: %autorelease
Summary: Platform independent GL API layer
License: MIT
URL: http://www.waffle-gl.org/releases.html
Source0: https://gitlab.freedesktop.org/mesa/waffle/-/archive/v%{version}/waffle-%{version}.tar.bz2
Source0: https://gitlab.freedesktop.org/mesa/waffle/-/archive/v%{version}/waffle-%{version}.tar.xz
Patch0: 0001-wayland-fix-build-against-version-1.20.patch
Patch1: fix-bash.patch
BuildRequires: cmake libxslt docbook-style-xsl libxcb-devel
BuildRequires: gcc-c++
BuildRequires: libX11-devel mesa-libGL-devel mesa-libGLU-devel
BuildRequires: chrpath
BuildRequires: mesa-libEGL-devel
%if 0%{?rhel} > 6 || 0%{?fedora} > 0
BuildRequires: mesa-libGLES-devel
BuildRequires: systemd-devel
%endif
BuildRequires: mesa-libgbm-devel
BuildRequires: wayland-devel
BuildRequires: wayland-protocols-devel
BuildRequires: cmake
BuildRequires: docbook-style-xsl
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libX11-devel
BuildRequires: libxcb-devel
BuildRequires: libxslt
BuildRequires: mesa-libEGL-devel
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libGLES-devel
BuildRequires: mesa-libgbm-devel
BuildRequires: meson
BuildRequires: ninja-build
BuildRequires: wayland-devel
BuildRequires: wayland-protocols-devel
%description
Waffle is a cross-platform C library that allows one to defer
@ -42,7 +42,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description doc
Contains HTML version of the developer documentation for development of
%{name}-related software (manpages are in the -devel package).
%{name}-related software (man pages are in the -devel package).
%package examples
@ -54,48 +54,46 @@ Example programs using %{name}.
%prep
%autosetup -n waffle-v1.7.0-905c6c10f2483adf0cbfa024e2d3c2ed541fb300 -p1
%autosetup -p1
ln -sf waffle-1.5.0.txt doc/release-notes/waffle-1.5.0-rc2.txt
%build
%cmake \
-DCMAKE_INSTALL_DOCDIR:PATH=%{_defaultdocdir}/%{name}-%{version} \
-DCMAKE_BUILD_STRIP=FALSE \
-Dwaffle_has_glx=1 -Dwaffle_has_gbm=1 \
-Dwaffle_has_wayland=1 \
-Dwaffle_build_manpages=1 -Dwaffle_build_htmldocs=1
%meson -Dbuild-manpages=true
%meson_build
%cmake_build
# We dont want to install binary files in %%docdir
rm -rf examples/CMakeFiles
%install
%cmake_install
# Fedora now uses unversioned doc dirs, make install shouldnt try to
%meson_install
# Fedora now uses unversioned doc dirs, make install shouldn't try to
# install there anyway.
rm -rf %{buildroot}%{_docdir}/%{name}*
%ldconfig_scriptlets
%check
%meson_test
%files
%license LICENSE.txt
%doc README.md
%{_libdir}/lib%{name}*.so.*
%{_bindir}/wflinfo
%{_libdir}/lib%{name}-1.so.0*
%{_datadir}/bash-completion/completions/wflinfo
%{_datadir}/zsh/site-functions/_wflinfo
%{_mandir}/man1/wflinfo.1*
%files doc
%doc doc/html/
%files devel
%doc doc/release-notes/
%{_includedir}/waffle*
%{_libdir}/lib%{name}*.so
%{_libdir}/pkgconfig/%{name}*
%{_libdir}/cmake/Waffle/*
%{_mandir}/man*/*
%{_includedir}/waffle-1/
%{_libdir}/lib%{name}-1.so
%{_libdir}/pkgconfig/%{name}-1.pc
%{_libdir}/cmake/Waffle/
%{_mandir}/man3/waffle*.3*
%{_mandir}/man7/waffle*.7*
%files examples