Compare commits

..

1 Commits
a9 ... c9-beta

Author SHA1 Message Date
3841a1cd86 import CS libadwaita-1.4.2-2.el9 2024-04-01 13:27:59 +00:00
4 changed files with 1769 additions and 25 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/libadwaita-1.0.0.alpha.3.tar.gz
SOURCES/libadwaita-1.4.2.tar.xz

View File

@ -1 +1 @@
a0f5d16e2a9cceca823be05493588ab07e04a376 SOURCES/libadwaita-1.0.0.alpha.3.tar.gz
f86b180c06137d96f3d10866b5b3fe8bef872951 SOURCES/libadwaita-1.4.2.tar.xz

File diff suppressed because it is too large Load Diff

View File

@ -1,24 +1,33 @@
%global apiver 1
%global versuf alpha.3
%global gtk_version 4.11.3
%global tarball_version %%(echo %{version} | tr '~' '.')
Name: libadwaita
Version: 1.0.0
Release: 0.5.%{versuf}%{?dist}
Version: 1.4.2
Release: 2%{?dist}
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
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: gi-docgen
BuildRequires: intltool
BuildRequires: meson >= 0.53.0
BuildRequires: sassc
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson >= 0.59.0
BuildRequires: vala
BuildRequires: pkgconfig(appstream)
BuildRequires: pkgconfig(fribidi)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(gtk4) >= %{gtk_version}
Requires: gtk4%{?_isa} >= %{gtk_version}
%description
Building blocks for modern GNOME applications.
@ -29,6 +38,7 @@ Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: vala
Recommends: %{name}-demo = %{version}-%{release}
Recommends: %{name}-doc = %{version}-%{release}
%description devel
@ -45,13 +55,24 @@ Recommends: %{name}-devel = %{version}-%{release}
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 -n %{name}-%{version}.%{versuf} -p1
%autosetup -p1 -n %{name}-%{tarball_version}
%build
%meson \
-Dgtk_doc=true \
-Dgtk_doc=false \
%{nil}
%meson_build
@ -61,13 +82,17 @@ Documentation files for %{name}.
%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}/*-%{apiver}.so.0*
%{_libdir}/girepository-1.0/*.typelib
%{_libdir}/gtk-4.0/inspector/*%{apiver}.so.0*
%files devel
%dir %{_datadir}/gir-1.0
@ -75,20 +100,23 @@ Documentation files for %{name}.
%{_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}/
%files demo
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/*.svg
%{_metainfodir}/*.metainfo.xml
%changelog
* Fri Oct 01 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.0-0.5.alpha.3
- chore(update): 1.0.0-0.5.alpha.3
* Tue Jan 2 2024 Tomas Popela <tpopela@redhat.com> - 1.42.2-2
- Add gating configuration (needs a new build)
* Mon Aug 30 2021 Lyes Saadi <fedora@lyes.eu> - 1.0.0-0.4.alpha.2
- Updating to alpha.2
* Thu Jun 24 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.0-0.3.alpha.1
- Initial package
* Thu Dec 7 2023 Tomas Popela <tpopela@redhat.com> - 1.42.2-1
- Initial RHEL packaging based on Fedora package with rpmautospec disabled,
disabled documentation (no gi-docgen in RHEL 9) and downstream patch to
be able to compile with glib2 2.68 (thanks to Milan Crha)
- Resolves: RHEL-3234