2021-08-06 16:29:21 +00:00
|
|
|
%global apiver 1
|
2021-11-02 21:44:52 +00:00
|
|
|
%global versuf alpha.4
|
2021-08-06 16:29:21 +00:00
|
|
|
|
|
|
|
Name: libadwaita
|
|
|
|
Version: 1.0.0
|
2021-11-02 21:44:52 +00:00
|
|
|
Release: 0.6.%{versuf}%{?dist}
|
2021-08-06 16:29:21 +00:00
|
|
|
Summary: Building blocks for modern GNOME applications
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: https://gitlab.gnome.org/GNOME/libadwaita
|
2021-10-01 12:57:02 +00:00
|
|
|
Source0: %{url}/-/archive/%{version}.%{versuf}/libadwaita-%{version}.%{versuf}.tar.gz
|
2021-08-06 16:29:21 +00:00
|
|
|
|
2021-11-02 21:44:52 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2021-08-06 16:29:21 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gi-docgen
|
|
|
|
BuildRequires: intltool
|
2021-11-02 21:44:52 +00:00
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
BuildRequires: meson >= 0.59.0
|
2021-08-06 16:29:21 +00:00
|
|
|
BuildRequires: sassc
|
|
|
|
BuildRequires: vala
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2021-10-01 14:02:26 +00:00
|
|
|
BuildRequires: pkgconfig(gtk4) >= 4.4
|
2021-08-06 16:29:21 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Building blocks for modern GNOME applications.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: vala
|
2021-11-02 21:44:52 +00:00
|
|
|
Recommends: %{name}-demo = %{version}-%{release}
|
2021-08-06 16:29:21 +00:00
|
|
|
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}.
|
|
|
|
|
|
|
|
|
2021-11-02 21:44:52 +00:00
|
|
|
%package demo
|
|
|
|
Summary: Demo files for %{name}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Suggests: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
%description demo
|
|
|
|
Demo files for %{name}.
|
|
|
|
|
|
|
|
|
2021-08-06 16:29:21 +00:00
|
|
|
%prep
|
2021-10-01 13:12:33 +00:00
|
|
|
%autosetup -n %{name}-%{version}.%{versuf} -p1
|
2021-08-06 16:29:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%meson \
|
|
|
|
-Dgtk_doc=true \
|
|
|
|
%{nil}
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
2021-11-02 21:44:52 +00:00
|
|
|
%check
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|
|
|
|
|
|
|
|
2021-08-06 16:29:21 +00:00
|
|
|
%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
|
2021-10-01 13:12:33 +00:00
|
|
|
%{_libdir}/gtk-4.0/inspector/*%{apiver}.so
|
2021-08-06 16:29:21 +00:00
|
|
|
%{_libdir}/pkgconfig/*-%{apiver}.pc
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%doc HACKING.md
|
|
|
|
%{_docdir}/%{name}-%{apiver}/
|
|
|
|
|
2021-11-02 21:44:52 +00:00
|
|
|
%files demo
|
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.svg
|
|
|
|
%{_metainfodir}/*.metainfo.xml
|
|
|
|
|
2021-08-06 16:29:21 +00:00
|
|
|
|
|
|
|
%changelog
|
2021-11-02 21:44:52 +00:00
|
|
|
* 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
|
|
|
|
|
2021-10-01 12:57:02 +00:00
|
|
|
* 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
|
|
|
|
|
2021-08-30 11:23:51 +00:00
|
|
|
* Mon Aug 30 2021 Lyes Saadi <fedora@lyes.eu> - 1.0.0-0.4.alpha.2
|
|
|
|
- Updating to alpha.2
|
|
|
|
|
2021-08-06 16:29:21 +00:00
|
|
|
* Thu Jun 24 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.0-0.3.alpha.1
|
2021-08-30 11:23:51 +00:00
|
|
|
- Initial package
|