From 0df50fbbd3e5850033b4638d9135f7b7be49cc67 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 23:25:51 +0100 Subject: [PATCH] automatic version update by autodist [release 7.0.0-1mamba;Sat May 07 2022] --- granite.spec | 53 ++++++++++++++++++++++++++++------------------------ 1 file changed, 29 insertions(+), 24 deletions(-) diff --git a/granite.spec b/granite.spec index 7e94aae..72c97c2 100644 --- a/granite.spec +++ b/granite.spec @@ -1,7 +1,8 @@ ### AUTOUPDATE-OFF: 1 %define majver %(echo %version | cut -d. -f1-2) +%define MAJver %(echo %version | cut -d. -f1) Name: granite -Version: 6.2.0 +Version: 7.0.0 Release: 1mamba Summary: An extension to GTK that provides several useful widgets and classes for Graphical User Interfaces Group: System/Libraries @@ -10,17 +11,12 @@ Distribution: openmamba Packager: Silvan Calarco URL: https://launchpad.net/granite Source: https://github.com/elementary/granite.git/%{version}/granite-%{version}.tar.bz2 -#Source: https://launchpad.net/granite/%{majver}/%{version}/+download/granite-%{version}.tar.xz -#Source: https://launchpad.net/granite/%{majver}/loki-alpha1/+download/granite-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libcairo-devel -BuildRequires: libgdk-pixbuf-devel BuildRequires: libgee-devel BuildRequires: libglib-devel -BuildRequires: libgtk3-devel -BuildRequires: libpango-devel +BuildRequires: libgtk-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildConflicts: libgranite <= 0.3.1 @@ -44,6 +40,13 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. +%package -n lib%{name}-tools +Group: Applications/Development +Summary: Tools provided with %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-tools +This package contains the tools provided with %{name}. %debug_package @@ -59,7 +62,7 @@ This package contains libraries and header files for developing applications tha [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %meson_install -%find_lang %{name} || touch %{name}.lang +%find_lang %{name} --all-name || touch %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -69,28 +72,30 @@ This package contains libraries and header files for developing applications tha %files -n lib%{name} -f %{name}.lang %defattr(-,root,root) -%{_libdir}/libgranite.so.* -%{_libdir}/girepository-1.0/Granite-1.0.typelib -%{_datadir}/applications/io.elementary.granite.demo.desktop -%{_datadir}/metainfo/granite.appdata.xml -%{_datadir}/icons/hicolor/*/actions/appointment.svg -%{_datadir}/icons/hicolor/*/actions/open-menu.svg -%{_datadir}/icons/hicolor/scalable/actions/open-menu-symbolic.svg +%{_libdir}/libgranite-%{MAJver}.so.* +%{_libdir}/girepository-1.0/Granite-*.typelib %doc COPYING %files -n lib%{name}-devel %defattr(-,root,root) -%{_bindir}/granite-demo -%dir %{_includedir}/granite -%{_includedir}/granite/granite.h -#%{_includedir}/granite/widgets-utils.h -%{_libdir}/libgranite.so -%{_libdir}/pkgconfig/granite.pc -%{_datadir}/gir-1.0/Granite-1.0.gir -%{_datadir}/vala/vapi/granite.deps -%{_datadir}/vala/vapi/granite.vapi +%dir %{_includedir}/granite-%{MAJver} +%{_includedir}/granite-%{MAJver}/* +%{_libdir}/libgranite-%{MAJver}.so +%{_libdir}/pkgconfig/granite-%{MAJver}.pc +%{_datadir}/vala/vapi/granite-%{MAJver}.deps +%{_datadir}/vala/vapi/granite-%{MAJver}.vapi +%{_datadir}/gir-1.0/Granite-*.gir + +%files -n lib%{name}-tools +%defattr(-,root,root) +%{_bindir}/granite-7-demo +%{_datadir}/applications/io.elementary.granite-%{MAJver}.demo.desktop +%{_datadir}/metainfo/granite-%{MAJver}.appdata.xml %changelog +* Sat May 07 2022 Automatic Build System 7.0.0-1mamba +- automatic version update by autodist + * Thu Nov 25 2021 Automatic Build System 6.2.0-1mamba - automatic version update by autodist