Compare commits

...

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

8 changed files with 211 additions and 96 deletions

38
.gitignore vendored
View File

@ -1 +1,37 @@
SOURCES/libadwaita-1.0.0.alpha.3.tar.gz /libadwaita-1.0.0-alpha.1.tar.gz
/libadwaita-1.0.0-alpha.2.tar.gz
/libadwaita-1.0.0.alpha.3.tar.gz
/libadwaita-1.0.0.alpha.4.tar.gz
/libadwaita-1.0.0.beta.1.tar.gz
/libadwaita-1.0.0.tar.gz
/libadwaita-1.0.1.tar.gz
/libadwaita-1.0.2.tar.gz
/libadwaita-1.1.beta.tar.xz
/libadwaita-1.1.rc.tar.xz
/libadwaita-1.1.0.tar.xz
/libadwaita-1.1.1.tar.xz
/libadwaita-1.1.2.tar.xz
/libadwaita-1.2.alpha.tar.xz
/libadwaita-1.2.beta.tar.xz
/libadwaita-1.2.rc.tar.xz
/libadwaita-1.2.0.tar.xz
/libadwaita-1.3.alpha.tar.xz
/libadwaita-1.3.beta.tar.xz
/libadwaita-1.3.rc.tar.xz
/libadwaita-1.3.1.tar.xz
/libadwaita-1.3.2.tar.xz
/libadwaita-1.3.3.tar.xz
/libadwaita-1.4.alpha.tar.xz
/libadwaita-1.4.beta.tar.xz
/libadwaita-1.4.rc.tar.xz
/libadwaita-1.4.0.tar.xz
/libadwaita-1.4.1.tar.xz
/libadwaita-1.4.2.tar.xz
/libadwaita-1.4.3.tar.xz
/libadwaita-1.5.beta.tar.xz
/libadwaita-1.5.0.tar.xz
/libadwaita-1.5.1.tar.xz
/libadwaita-1.6.alpha.tar.xz
/libadwaita-1.6.rc.tar.xz
/libadwaita-1.6.0.tar.xz
/libadwaita-1.6.1.tar.xz

View File

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

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# libadwaita
The libadwaita package

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

42
changelog Normal file
View File

@ -0,0 +1,42 @@
* Wed Jun 01 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 1.1.2-1
- chore(update): 1.1.2
* Fri Apr 22 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 1.1.1-1
- chore(update): 1.1.1
* Fri Mar 18 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 1.1.0-1
- chore(update): 1.1.0
* Mon Mar 07 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 1.1~rc-1
- chore(update): 1.1.rc
* Mon Feb 14 2022 David King <amigadave@amigadave.com> - 1.1~beta-1
- Update to 1.1.beta (#2053942)
* Sat Feb 12 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.2-1
- chore(update): 1.0.2
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sun Jan 02 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.1-1
- chore(update): 1.0.1
* Sat Jan 01 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.0-1
- chore(update): 1.0.0-1
* Tue Dec 07 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.0-0.7.beta.1
- chore(update): 1.0.0-0.7.beta.1
* Tue Nov 02 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 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 <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-10
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.15.2
%global glib_version 2.76.0
%global tarball_version %%(echo %{version} | tr '~' '.')
Name: libadwaita
Version: 1.6.1
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
%autochangelog

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (libadwaita-1.6.1.tar.xz) = 6d3eece4f56b31ac750d1393d373e5de7660d0b0ffe22c991cc4c387281e4c819fcbff93763157cfeb4011d74cab8ccee4e58a9aae35fe69db8120e10457d0fc