Compare commits

...

No commits in common. "a9" and "c9s" have entirely different histories.
a9 ... c9s

7 changed files with 1846 additions and 96 deletions

2
.gitignore vendored
View File

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

View File

@ -1 +0,0 @@
a0f5d16e2a9cceca823be05493588ab07e04a376 SOURCES/libadwaita-1.0.0.alpha.3.tar.gz

File diff suppressed because it is too large Load Diff

View File

@ -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 <ego.cordatus@gmail.com> - 1.0.0-0.5.alpha.3
- chore(update): 1.0.0-0.5.alpha.3
* 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

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

122
libadwaita.spec Normal file
View File

@ -0,0 +1,122 @@
%global apiver 1
%global gtk_version 4.11.3
%global tarball_version %%(echo %{version} | tr '~' '.')
Name: libadwaita
Version: 1.4.2
Release: 2%{?dist}
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.4/%{name}-%{tarball_version}.tar.xz
Patch0: 0001-downgrade-glib-requirement-to-2_68.patch
BuildRequires: desktop-file-utils
BuildRequires: gcc
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) >= %{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}
%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=false \
%{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}/*-%{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}/*-%{apiver}.so
%{_libdir}/pkgconfig/*-%{apiver}.pc
%files doc
%doc HACKING.md
%files demo
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/*.svg
%{_metainfodir}/*.metainfo.xml
%changelog
* Tue Jan 2 2024 Tomas Popela <tpopela@redhat.com> - 1.42.2-2
- Add gating configuration (needs a new build)
* 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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (libadwaita-1.4.2.tar.xz) = 4639e727ed0a9e9d468d814f74f5f40a1f69ee90a355708ffc7a17f3a9eab5f0004fea0a1888080d0d3fff845b4993db2440bce6a66712a8b7c64fa8b1d09a78