diff --git a/.gitignore b/.gitignore index 1094cd5..d9dd183 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /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 diff --git a/libadwaita.spec b/libadwaita.spec index bcd73dc..f60b6ee 100644 --- a/libadwaita.spec +++ b/libadwaita.spec @@ -1,19 +1,21 @@ %global apiver 1 -%global versuf alpha.3 +%global versuf alpha.4 Name: libadwaita Version: 1.0.0 -Release: 0.5.%{versuf}%{?dist} +Release: 0.6.%{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: desktop-file-utils BuildRequires: gcc BuildRequires: gi-docgen BuildRequires: intltool -BuildRequires: meson >= 0.53.0 +BuildRequires: libappstream-glib +BuildRequires: meson >= 0.59.0 BuildRequires: sassc BuildRequires: vala @@ -29,6 +31,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,6 +48,17 @@ 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 @@ -61,13 +75,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 @@ -82,8 +100,17 @@ Documentation files for %{name}. %doc HACKING.md %{_docdir}/%{name}-%{apiver}/ +%files demo +%{_datadir}/applications/*.desktop +%{_datadir}/icons/hicolor/*/apps/*.svg +%{_metainfodir}/*.metainfo.xml + %changelog +* 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 diff --git a/sources b/sources index 4046ec5..eb0604e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libadwaita-1.0.0.alpha.3.tar.gz) = 89dfecf1a554626f9b42933859cd7996714bb590c74469360448b462fe3c1a93d175e5aa8ea42b749d1557dac4683ef4c56e912f1dea97bd94caff97e93fd9ca +SHA512 (libadwaita-1.0.0.alpha.4.tar.gz) = 9beb3113c3858a32e294bfce00fd9e58559e37446ffcd9950c03a91921ade1545fb30fab85a52b29e449176cd1e94e5d269a390884b4914ecf2f94b5b98e83d1