automatic version update by autodist [release 7.0.0-1mamba;Sat May 07 2022]

This commit is contained in:
Automatic Build System 2024-01-05 23:25:51 +01:00
parent f25dae3a95
commit 0df50fbbd3

View File

@ -1,7 +1,8 @@
### AUTOUPDATE-OFF: 1 ### AUTOUPDATE-OFF: 1
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
%define MAJver %(echo %version | cut -d. -f1)
Name: granite Name: granite
Version: 6.2.0 Version: 7.0.0
Release: 1mamba Release: 1mamba
Summary: An extension to GTK that provides several useful widgets and classes for Graphical User Interfaces Summary: An extension to GTK that provides several useful widgets and classes for Graphical User Interfaces
Group: System/Libraries Group: System/Libraries
@ -10,17 +11,12 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://launchpad.net/granite URL: https://launchpad.net/granite
Source: https://github.com/elementary/granite.git/%{version}/granite-%{version}.tar.bz2 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 License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libcairo-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libgee-devel BuildRequires: libgee-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgtk3-devel BuildRequires: libgtk-devel
BuildRequires: libpango-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
BuildConflicts: libgranite <= 0.3.1 BuildConflicts: libgranite <= 0.3.1
@ -44,6 +40,13 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel %description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}. 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 %debug_package
@ -59,7 +62,7 @@ This package contains libraries and header files for developing applications tha
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install %meson_install
%find_lang %{name} || touch %{name}.lang %find_lang %{name} --all-name || touch %{name}.lang
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{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 %files -n lib%{name} -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libgranite.so.* %{_libdir}/libgranite-%{MAJver}.so.*
%{_libdir}/girepository-1.0/Granite-1.0.typelib %{_libdir}/girepository-1.0/Granite-*.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
%doc COPYING %doc COPYING
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/granite-demo %dir %{_includedir}/granite-%{MAJver}
%dir %{_includedir}/granite %{_includedir}/granite-%{MAJver}/*
%{_includedir}/granite/granite.h %{_libdir}/libgranite-%{MAJver}.so
#%{_includedir}/granite/widgets-utils.h %{_libdir}/pkgconfig/granite-%{MAJver}.pc
%{_libdir}/libgranite.so %{_datadir}/vala/vapi/granite-%{MAJver}.deps
%{_libdir}/pkgconfig/granite.pc %{_datadir}/vala/vapi/granite-%{MAJver}.vapi
%{_datadir}/gir-1.0/Granite-1.0.gir %{_datadir}/gir-1.0/Granite-*.gir
%{_datadir}/vala/vapi/granite.deps
%{_datadir}/vala/vapi/granite.vapi %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 %changelog
* Sat May 07 2022 Automatic Build System <autodist@mambasoft.it> 7.0.0-1mamba
- automatic version update by autodist
* Thu Nov 25 2021 Automatic Build System <autodist@mambasoft.it> 6.2.0-1mamba * Thu Nov 25 2021 Automatic Build System <autodist@mambasoft.it> 6.2.0-1mamba
- automatic version update by autodist - automatic version update by autodist