chore(update): 1.0.0-0.6.alpha.4

build: Add Demo subpackage
This commit is contained in:
Artem Polishchuk 2021-11-02 23:44:52 +02:00
parent 0f14a676ef
commit 97cf61c9bc
3 changed files with 33 additions and 5 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/libadwaita-1.0.0-alpha.1.tar.gz /libadwaita-1.0.0-alpha.1.tar.gz
/libadwaita-1.0.0-alpha.2.tar.gz /libadwaita-1.0.0-alpha.2.tar.gz
/libadwaita-1.0.0.alpha.3.tar.gz /libadwaita-1.0.0.alpha.3.tar.gz
/libadwaita-1.0.0.alpha.4.tar.gz

View File

@ -1,19 +1,21 @@
%global apiver 1 %global apiver 1
%global versuf alpha.3 %global versuf alpha.4
Name: libadwaita Name: libadwaita
Version: 1.0.0 Version: 1.0.0
Release: 0.5.%{versuf}%{?dist} Release: 0.6.%{versuf}%{?dist}
Summary: Building blocks for modern GNOME applications Summary: Building blocks for modern GNOME applications
License: LGPLv2+ License: LGPLv2+
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: %{url}/-/archive/%{version}.%{versuf}/libadwaita-%{version}.%{versuf}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gi-docgen BuildRequires: gi-docgen
BuildRequires: intltool BuildRequires: intltool
BuildRequires: meson >= 0.53.0 BuildRequires: libappstream-glib
BuildRequires: meson >= 0.59.0
BuildRequires: sassc BuildRequires: sassc
BuildRequires: vala BuildRequires: vala
@ -29,6 +31,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,6 +48,17 @@ 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 -n %{name}-%{version}.%{versuf} -p1
@ -61,13 +75,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
@ -82,8 +100,17 @@ Documentation files for %{name}.
%doc HACKING.md %doc HACKING.md
%{_docdir}/%{name}-%{apiver}/ %{_docdir}/%{name}-%{apiver}/
%files demo
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/*.svg
%{_metainfodir}/*.metainfo.xml
%changelog %changelog
* 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 * 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 - chore(update): 1.0.0-0.5.alpha.3

View File

@ -1 +1 @@
SHA512 (libadwaita-1.0.0.alpha.3.tar.gz) = 89dfecf1a554626f9b42933859cd7996714bb590c74469360448b462fe3c1a93d175e5aa8ea42b749d1557dac4683ef4c56e912f1dea97bd94caff97e93fd9ca SHA512 (libadwaita-1.0.0.alpha.4.tar.gz) = 9beb3113c3858a32e294bfce00fd9e58559e37446ffcd9950c03a91921ade1545fb30fab85a52b29e449176cd1e94e5d269a390884b4914ecf2f94b5b98e83d1