## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global apiver 1 %global tarball_version %%(echo %{version} | tr '~' '.') Name: libadwaita Version: 1.2.0 Release: %autorelease Summary: Building blocks for modern GNOME applications License: LGPLv2+ URL: https://gitlab.gnome.org/GNOME/libadwaita Source0: https://download.gnome.org/sources/%{name}/1.2/%{name}-%{tarball_version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: gi-docgen BuildRequires: intltool BuildRequires: libappstream-glib BuildRequires: meson >= 0.59.0 BuildRequires: sassc BuildRequires: vala BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk4) >= 4.5 %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 -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}/*-%{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 %{_docdir}/%{name}-%{apiver}/ %files demo %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/*.svg %{_metainfodir}/*.metainfo.xml %changelog * Thu Sep 15 2022 Artem Polishchuk 1.2.0-1 - Update to 1.2.0 * Fri Sep 02 2022 Artem Polishchuk 1.2~rc-1 - Update to 1.2.rc * Fri Aug 05 2022 Artem Polishchuk 1.2~beta-1 - Update to 1.2.beta * Thu Jul 21 2022 Fedora Release Engineering 1.2~alpha-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jul 15 2022 Kalev Lember 1.2~alpha-1 - Update to 1.2.alpha * Wed Jun 01 2022 Artem Polishchuk - 1.1.2-1 - chore(update): 1.1.2 * Fri Apr 22 2022 Artem Polishchuk - 1.1.1-1 - chore(update): 1.1.1 * Fri Mar 18 2022 Artem Polishchuk - 1.1.0-1 - chore(update): 1.1.0 * Mon Mar 07 2022 Artem Polishchuk - 1.1~rc-1 - chore(update): 1.1.rc * Mon Feb 14 2022 David King - 1.1~beta-1 - Update to 1.1.beta (#2053942) * Sat Feb 12 2022 Artem Polishchuk - 1.0.2-1 - chore(update): 1.0.2 * Thu Jan 20 2022 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Jan 02 2022 Artem Polishchuk - 1.0.1-1 - chore(update): 1.0.1 * Sat Jan 01 2022 Artem Polishchuk - 1.0.0-1 - chore(update): 1.0.0-1 * Tue Dec 07 2021 Artem Polishchuk - 1.0.0-0.7.beta.1 - chore(update): 1.0.0-0.7.beta.1 * 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 * Mon Aug 30 2021 Lyes Saadi - 1.0.0-0.4.alpha.2 - Updating to alpha.2 * Thu Jun 24 2021 Artem Polishchuk - 1.0.0-0.3.alpha.1 - Initial package