From 4e53cb8c10cf717830adf112f4adae118008cffe Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 20 Nov 2024 13:20:34 +0000 Subject: [PATCH] import RHEL 10 Beta libadwaita-1.6~alpha-1.el10 --- .gitignore | 2 +- .libadwaita.metadata | 1 - SPECS/libadwaita.spec | 94 -------------- libadwaita.spec | 287 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 5 files changed, 289 insertions(+), 96 deletions(-) delete mode 100644 .libadwaita.metadata delete mode 100644 SPECS/libadwaita.spec create mode 100644 libadwaita.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index a106aac..85748fc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/libadwaita-1.0.0.alpha.3.tar.gz +libadwaita-1.6.alpha.tar.xz diff --git a/.libadwaita.metadata b/.libadwaita.metadata deleted file mode 100644 index 513b04a..0000000 --- a/.libadwaita.metadata +++ /dev/null @@ -1 +0,0 @@ -a0f5d16e2a9cceca823be05493588ab07e04a376 SOURCES/libadwaita-1.0.0.alpha.3.tar.gz diff --git a/SPECS/libadwaita.spec b/SPECS/libadwaita.spec deleted file mode 100644 index ee632cc..0000000 --- a/SPECS/libadwaita.spec +++ /dev/null @@ -1,94 +0,0 @@ -%global apiver 1 -%global versuf alpha.3 - -Name: libadwaita -Version: 1.0.0 -Release: 0.5.%{versuf}%{?dist} -Summary: Building blocks for modern GNOME applications - -License: LGPLv2+ -URL: https://gitlab.gnome.org/GNOME/libadwaita -Source0: %{url}/-/archive/%{version}.%{versuf}/libadwaita-%{version}.%{versuf}.tar.gz - -BuildRequires: gcc -BuildRequires: gi-docgen -BuildRequires: intltool -BuildRequires: meson >= 0.53.0 -BuildRequires: sassc -BuildRequires: vala - -BuildRequires: pkgconfig(gobject-introspection-1.0) -BuildRequires: pkgconfig(gtk4) - -%description -Building blocks for modern GNOME applications. - - -%package devel -Summary: Development files for %{name} - -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: vala -Recommends: %{name}-doc = %{version}-%{release} - -%description devel -Development files for %{name}. - - -%package doc -Summary: Documentation files for %{name} -BuildArch: noarch - -Recommends: %{name}-devel = %{version}-%{release} - -%description doc -Documentation files for %{name}. - - -%prep -%autosetup -n %{name}-%{version}.%{versuf} -p1 - - -%build -%meson \ - -Dgtk_doc=true \ - %{nil} -%meson_build - - -%install -%meson_install -%find_lang %{name} - - -%files -f %{name}.lang -%license COPYING -%doc README.md AUTHORS NEWS -%{_bindir}/adwaita-%{apiver}-demo -%{_libdir}/*-%{apiver}.so.0* -%{_libdir}/girepository-1.0/*.typelib -%{_libdir}/gtk-4.0/inspector/*%{apiver}.so.0* - -%files devel -%dir %{_datadir}/gir-1.0 -%{_datadir}/gir-1.0/*-%{apiver}.gir -%{_datadir}/vala/vapi/%{name}-%{apiver}.* -%{_includedir}/%{name}-%{apiver}/ -%{_libdir}/*-%{apiver}.so -%{_libdir}/gtk-4.0/inspector/*%{apiver}.so -%{_libdir}/pkgconfig/*-%{apiver}.pc - -%files doc -%doc HACKING.md -%{_docdir}/%{name}-%{apiver}/ - - -%changelog -* Fri Oct 01 2021 Artem Polishchuk - 1.0.0-0.5.alpha.3 -- chore(update): 1.0.0-0.5.alpha.3 - -* Mon Aug 30 2021 Lyes Saadi - 1.0.0-0.4.alpha.2 -- Updating to alpha.2 - -* Thu Jun 24 2021 Artem Polishchuk - 1.0.0-0.3.alpha.1 -- Initial package \ No newline at end of file diff --git a/libadwaita.spec b/libadwaita.spec new file mode 100644 index 0000000..3a29fe5 --- /dev/null +++ b/libadwaita.spec @@ -0,0 +1,287 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +%global apiver 1 +%global gtk_version 4.15.2 +%global glib_version 2.76.0 + +%global tarball_version %%(echo %{version} | tr '~' '.') + +Name: libadwaita +Version: 1.6~alpha +Release: %autorelease +Summary: Building blocks for modern GNOME applications + +# part of src/adw-spring-animation.c is MIT +License: LGPL-2.1-or-later AND MIT +URL: https://gitlab.gnome.org/GNOME/libadwaita +Source0: https://download.gnome.org/sources/%{name}/1.6/%{name}-%{tarball_version}.tar.xz + +BuildRequires: desktop-file-utils +BuildRequires: gcc +BuildRequires: gettext +BuildRequires: gi-docgen +BuildRequires: libappstream-glib +BuildRequires: meson >= 0.59.0 +BuildRequires: vala +BuildRequires: pkgconfig(appstream) +BuildRequires: pkgconfig(fribidi) +BuildRequires: pkgconfig(glib-2.0) >= %{glib_version} +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(gtk4) >= %{gtk_version} + +Requires: gtk4%{?_isa} >= %{gtk_version} + +%description +Building blocks for modern GNOME applications. + + +%package devel +Summary: Development files for %{name} + +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: vala +Recommends: %{name}-demo = %{version}-%{release} +Recommends: %{name}-doc = %{version}-%{release} + +%description devel +Development files for %{name}. + + +%package doc +Summary: Documentation files for %{name} +BuildArch: noarch + +Recommends: %{name}-devel = %{version}-%{release} +# Because web fonts from upstream are not bundled in the gi-docgen package, +# packages containing documentation generated with gi-docgen should depend on +# this metapackage to ensure the proper system fonts are present. +Recommends: gi-docgen-fonts + +%description doc +Documentation files for %{name}. + + +%package demo +Summary: Demo files for %{name} +BuildArch: noarch + +Requires: %{name} = %{version}-%{release} +Suggests: %{name}-devel = %{version}-%{release} + +%description demo +Demo files for %{name}. + + +%prep +%autosetup -p1 -n %{name}-%{tarball_version} + + +%build +%meson \ + -Dgtk_doc=true \ + %{nil} +%meson_build + + +%install +%meson_install +%find_lang %{name} + + +%check +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml +desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop + + +%files -f %{name}.lang +%license COPYING +%doc README.md AUTHORS NEWS +%{_bindir}/adwaita-%{apiver}-demo +%{_libdir}/%{name}-%{apiver}-internal.so.0* +%{_libdir}/%{name}-%{apiver}.so.0* +%{_libdir}/girepository-1.0/*.typelib + +%files devel +%dir %{_datadir}/gir-1.0 +%{_datadir}/gir-1.0/*-%{apiver}.gir +%{_datadir}/vala/vapi/%{name}-%{apiver}.* +%{_includedir}/%{name}-%{apiver}/ +%{_libdir}/%{name}-%{apiver}-internal.so +%{_libdir}/%{name}-%{apiver}.so +%{_libdir}/pkgconfig/*-%{apiver}.pc + +%files doc +%doc HACKING.md +%{_docdir}/%{name}-%{apiver}/ + +%files demo +%{_datadir}/applications/*.desktop +%{_datadir}/icons/hicolor/*/apps/*.svg +%{_metainfodir}/*.metainfo.xml + + +%changelog +## START: Generated by rpmautospec +* Tue Jul 16 2024 Tomas Popela - 1.6~alpha-1 +- Update to 1.6~alpha + +* Mon Jun 24 2024 Troy Dawson - 1.5.1-4 +- Bump release for June 2024 mass rebuild + +* Wed Jun 12 2024 Christian Hergert - 1.5.1-3 +- Fix various openscan issues + +* Fri Jun 07 2024 Tomas Pelka - 1.5.1-2 +- Add gating.yaml via API + +* Fri May 31 2024 Christian Hergert - 1.5.1-1 +- update to libadwaita-1.5.1 + +* Thu Apr 11 2024 Tomas Popela - 1.5.0-1 +- Update to 1.5.0 + +* Fri Feb 09 2024 Artem Polishchuk - 1.5~beta-1 +- Update to 1.5.beta + +* Fri Feb 09 2024 Artem Polishchuk - 1.4.3-1 +- Update to 1.4.3 (rhbz#2263525) + +* Thu Jan 25 2024 Fedora Release Engineering - 1.4.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 1.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Dec 02 2023 Artem Polishchuk - 1.4.2-1 +- Update to 1.4.2 (rhbz#2252500) + +* Fri Dec 01 2023 Artem Polishchuk - 1.4.1-1 +- Update to 1.4.1 (rhbz#2252428) + +* Tue Nov 14 2023 Yaakov Selkowitz - 1.4.0-7 +- Rebuild against appstream-1.0 + +* Tue Nov 07 2023 Florian Müllner - 1.4.0-6 +- Drop sassc dependency + +* Tue Nov 07 2023 Kalev Lember - 1.4.0-5 +- Fix the build with appstream 1.0 + +* Mon Oct 09 2023 Michael Catanzaro - 1.4.0-4 +- Restore URL + +* Mon Oct 09 2023 Michael Catanzaro - 1.4.0-3 +- Fix SPDX license list + +* Sun Oct 08 2023 Miroslav Suchý - 1.4.0-2 +- Migrate to SPDX license + +* Fri Sep 15 2023 Artem Polishchuk - 1.4.0-1 +- Update to 1.4.0 (rhbz#2239181) + +* Sun Sep 03 2023 Artem Polishchuk - 1.4~rc-1 +- Update to 1.4.rc (rh#2237061) + +* Fri Aug 04 2023 Kalev Lember - 1.4~beta-1 +- Update to 1.4.beta + +* Thu Jul 20 2023 Fedora Release Engineering - 1.4~alpha-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jul 01 2023 Kalev Lember - 1.4~alpha-1 +- Update to 1.4.alpha (rhbz#2219015) + +* Fri Jun 09 2023 Artem Polishchuk - 1.3.3-1 +- Update to 1.3.3 (rhbz#2213865) + +* Tue May 09 2023 Niels De Graef - 1.3.2-2 +- libadwaita uses gettext instead of intltool + +* Sat Apr 22 2023 Artem Polishchuk - 1.3.2-1 +- Update to 1.3.2 + +* Fri Mar 17 2023 David King - 1.3.1-1 +- Update to 1.3.1 + +* Sun Mar 05 2023 David King - 1.3~rc-1 +- Update to 1.3.rc + +* Wed Feb 15 2023 David King - 1.3~beta-1 +- Update to 1.3.beta + +* Mon Feb 06 2023 David King - 1.3~alpha-1 +- Update to 1.3.alpha + +* Thu Jan 19 2023 Fedora Release Engineering - 1.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Dec 14 2022 Benjamin A. Beasley - 1.2.0-2 +- Ensure correct fonts are installed for HTML docs + +* Thu Sep 15 2022 Artem Polishchuk - 1.2.0-1 +- Update to 1.2.0 + +* Fri Sep 02 2022 Artem Polishchuk - 1.2~rc-1 +- Update to 1.2.rc + +* Fri Aug 05 2022 Artem Polishchuk - 1.2~beta-1 +- Update to 1.2.beta + +* Thu Jul 21 2022 Fedora Release Engineering - 1.2~alpha-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jul 15 2022 Kalev Lember - 1.2~alpha-1 +- Update to 1.2.alpha + +* Wed Jun 01 2022 Artem Polishchuk - 1.1.2-1 +- chore(update): 1.1.2 + +* Fri Apr 22 2022 Artem Polishchuk - 1.1.1-1 +- chore(update): 1.1.1 + +* Fri Mar 18 2022 Artem Polishchuk - 1.1.0-1 +- chore(update): 1.1.0 + +* Mon Mar 07 2022 Artem Polishchuk - 1.1~rc-1 +- chore(update): 1.1.rc + +* Mon Feb 14 2022 David King - 1.1~beta-1 +- Update to 1.1.beta (#2053942) + +* Sat Feb 12 2022 Artem Polishchuk - 1.0.2-1 +- chore(update): 1.0.2 + +* Thu Jan 20 2022 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sun Jan 02 2022 Artem Polishchuk - 1.0.1-1 +- chore(update): 1.0.1 + +* Sat Jan 01 2022 Artem Polishchuk - 1.0.0-1 +- chore(update): 1.0.0-1 + +* Tue Dec 07 2021 Artem Polishchuk - 1.0.0-0.7.beta.1 +- chore(update): 1.0.0-0.7.beta.1 + +* Tue Nov 02 2021 Artem Polishchuk - 1.0.0-0.6.alpha.4 +- chore(update): 1.0.0-0.6.alpha.4 +- build: Add Demo subpackage + +* Fri Oct 01 2021 Artem Polishchuk - 1.0.0-0.5.alpha.3 +- chore(update): 1.0.0-0.5.alpha.3 + +* Mon Aug 30 2021 Lyes Saadi - 1.0.0-0.4.alpha.2 +- Updating to alpha.2 + +* Thu Jun 24 2021 Artem Polishchuk - 1.0.0-0.3.alpha.1 +- Initial package + +## END: Generated by rpmautospec diff --git a/sources b/sources new file mode 100644 index 0000000..9707e4d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (libadwaita-1.6.alpha.tar.xz) = 2a238f28934479945f8ae32c17861ebb32045e805652f5b5f230a4f03d4d7b8283522b8291d548b794d63e25b4baf2ac51160e25981ce17d2a3fcf3f711c3f3f