import CS libadwaita-1.4.2-2.el9
This commit is contained in:
parent
4c28b243e0
commit
3841a1cd86
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/libadwaita-1.0.0.alpha.3.tar.gz
|
SOURCES/libadwaita-1.4.2.tar.xz
|
||||||
|
@ -1 +1 @@
|
|||||||
a0f5d16e2a9cceca823be05493588ab07e04a376 SOURCES/libadwaita-1.0.0.alpha.3.tar.gz
|
f86b180c06137d96f3d10866b5b3fe8bef872951 SOURCES/libadwaita-1.4.2.tar.xz
|
||||||
|
1716
SOURCES/0001-downgrade-glib-requirement-to-2_68.patch
Normal file
1716
SOURCES/0001-downgrade-glib-requirement-to-2_68.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,24 +1,33 @@
|
|||||||
%global apiver 1
|
%global apiver 1
|
||||||
%global versuf alpha.3
|
%global gtk_version 4.11.3
|
||||||
|
|
||||||
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
||||||
|
|
||||||
Name: libadwaita
|
Name: libadwaita
|
||||||
Version: 1.0.0
|
Version: 1.4.2
|
||||||
Release: 0.5.%{versuf}%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Building blocks for modern GNOME applications
|
Summary: Building blocks for modern GNOME applications
|
||||||
|
|
||||||
License: LGPLv2+
|
# part of src/adw-spring-animation.c is MIT
|
||||||
|
License: LGPL-2.1-or-later AND MIT
|
||||||
URL: https://gitlab.gnome.org/GNOME/libadwaita
|
URL: https://gitlab.gnome.org/GNOME/libadwaita
|
||||||
Source0: %{url}/-/archive/%{version}.%{versuf}/libadwaita-%{version}.%{versuf}.tar.gz
|
Source0: https://download.gnome.org/sources/%{name}/1.4/%{name}-%{tarball_version}.tar.xz
|
||||||
|
|
||||||
|
Patch0: 0001-downgrade-glib-requirement-to-2_68.patch
|
||||||
|
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gi-docgen
|
BuildRequires: gettext
|
||||||
BuildRequires: intltool
|
BuildRequires: libappstream-glib
|
||||||
BuildRequires: meson >= 0.53.0
|
BuildRequires: meson >= 0.59.0
|
||||||
BuildRequires: sassc
|
|
||||||
BuildRequires: vala
|
BuildRequires: vala
|
||||||
|
BuildRequires: pkgconfig(appstream)
|
||||||
|
BuildRequires: pkgconfig(fribidi)
|
||||||
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
BuildRequires: pkgconfig(gtk4)
|
BuildRequires: pkgconfig(gtk4) >= %{gtk_version}
|
||||||
|
|
||||||
|
Requires: gtk4%{?_isa} >= %{gtk_version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Building blocks for modern GNOME applications.
|
Building blocks for modern GNOME applications.
|
||||||
@ -29,6 +38,7 @@ Summary: Development files for %{name}
|
|||||||
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: vala
|
Requires: vala
|
||||||
|
Recommends: %{name}-demo = %{version}-%{release}
|
||||||
Recommends: %{name}-doc = %{version}-%{release}
|
Recommends: %{name}-doc = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -45,13 +55,24 @@ Recommends: %{name}-devel = %{version}-%{release}
|
|||||||
Documentation files for %{name}.
|
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
|
%prep
|
||||||
%autosetup -n %{name}-%{version}.%{versuf} -p1
|
%autosetup -p1 -n %{name}-%{tarball_version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson \
|
%meson \
|
||||||
-Dgtk_doc=true \
|
-Dgtk_doc=false \
|
||||||
%{nil}
|
%{nil}
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
@ -61,13 +82,17 @@ Documentation files for %{name}.
|
|||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml
|
||||||
|
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README.md AUTHORS NEWS
|
%doc README.md AUTHORS NEWS
|
||||||
%{_bindir}/adwaita-%{apiver}-demo
|
%{_bindir}/adwaita-%{apiver}-demo
|
||||||
%{_libdir}/*-%{apiver}.so.0*
|
%{_libdir}/*-%{apiver}.so.0*
|
||||||
%{_libdir}/girepository-1.0/*.typelib
|
%{_libdir}/girepository-1.0/*.typelib
|
||||||
%{_libdir}/gtk-4.0/inspector/*%{apiver}.so.0*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%dir %{_datadir}/gir-1.0
|
%dir %{_datadir}/gir-1.0
|
||||||
@ -75,20 +100,23 @@ Documentation files for %{name}.
|
|||||||
%{_datadir}/vala/vapi/%{name}-%{apiver}.*
|
%{_datadir}/vala/vapi/%{name}-%{apiver}.*
|
||||||
%{_includedir}/%{name}-%{apiver}/
|
%{_includedir}/%{name}-%{apiver}/
|
||||||
%{_libdir}/*-%{apiver}.so
|
%{_libdir}/*-%{apiver}.so
|
||||||
%{_libdir}/gtk-4.0/inspector/*%{apiver}.so
|
|
||||||
%{_libdir}/pkgconfig/*-%{apiver}.pc
|
%{_libdir}/pkgconfig/*-%{apiver}.pc
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%doc HACKING.md
|
%doc HACKING.md
|
||||||
%{_docdir}/%{name}-%{apiver}/
|
|
||||||
|
%files demo
|
||||||
|
%{_datadir}/applications/*.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/*.svg
|
||||||
|
%{_metainfodir}/*.metainfo.xml
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Oct 01 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.0-0.5.alpha.3
|
* Tue Jan 2 2024 Tomas Popela <tpopela@redhat.com> - 1.42.2-2
|
||||||
- chore(update): 1.0.0-0.5.alpha.3
|
- Add gating configuration (needs a new build)
|
||||||
|
|
||||||
* Mon Aug 30 2021 Lyes Saadi <fedora@lyes.eu> - 1.0.0-0.4.alpha.2
|
* Thu Dec 7 2023 Tomas Popela <tpopela@redhat.com> - 1.42.2-1
|
||||||
- Updating to alpha.2
|
- Initial RHEL packaging based on Fedora package with rpmautospec disabled,
|
||||||
|
disabled documentation (no gi-docgen in RHEL 9) and downstream patch to
|
||||||
* Thu Jun 24 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.0-0.3.alpha.1
|
be able to compile with glib2 2.68 (thanks to Milan Crha)
|
||||||
- Initial package
|
- Resolves: RHEL-3234
|
||||||
|
Loading…
Reference in New Issue
Block a user