2024-01-05 23:25:50 +01:00
|
|
|
### AUTOUPDATE-OFF: 1
|
2024-01-05 23:25:50 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: granite
|
2024-01-05 23:25:50 +01:00
|
|
|
Version: 0.5
|
2024-01-05 23:25:50 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: An extension to GTK that provides several useful widgets and classes for Graphical User Interfaces
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://launchpad.net/granite
|
2024-01-05 23:25:50 +01:00
|
|
|
Source: https://launchpad.net/granite/%{majver}/%{version}/+download/granite-%{version}.tar.xz
|
2024-01-05 23:25:50 +01:00
|
|
|
#Source: https://launchpad.net/granite/%{majver}/loki-alpha1/+download/granite-%{version}.tar.xz
|
2024-01-05 23:25:50 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libatk-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
2024-01-05 23:25:50 +01:00
|
|
|
BuildRequires: libgee-devel
|
2024-01-05 23:25:50 +01:00
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgtk-devel
|
|
|
|
BuildRequires: libpango-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
2024-01-05 23:25:50 +01:00
|
|
|
BuildConflicts: libgranite <= 0.3.1
|
2024-01-05 23:25:50 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Granite is an extension to GTK. Among other things, it provides several useful widgets for Graphical User Interfaces and classes that ease desktop applications development.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: An extension to GTK that provides several useful widgets and classes for Graphical User Interfaces
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
Granite is an extension to GTK. Among other things, it provides several useful widgets for Graphical User Interfaces and classes that ease desktop applications development.
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
## note: you can add this requirement if .pc files are provided by this package
|
|
|
|
#Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 23:25:50 +01:00
|
|
|
%setup -q -c
|
2024-01-05 23:25:50 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
2024-01-05 23:25:50 +01:00
|
|
|
|
|
|
|
%make
|
2024-01-05 23:25:50 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n lib%{name} -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libgranite.so.*
|
|
|
|
%{_libdir}/girepository-1.0/Granite-1.0.typelib
|
2024-01-05 23:25:50 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/actions/appointment.svg
|
2024-01-05 23:25:50 +01:00
|
|
|
%{_datadir}/applications/granite-demo.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/actions/open-menu.svg
|
|
|
|
%{_datadir}/icons/hicolor/scalable/actions/open-menu-symbolic.svg
|
2024-01-05 23:25:50 +01:00
|
|
|
%doc AUTHORS 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
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:25:50 +01:00
|
|
|
* Sun Nov 19 2017 Automatic Build System <autodist@mambasoft.it> 0.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 23:25:50 +01:00
|
|
|
* Tue Aug 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0.1-1mamba
|
|
|
|
- update to 0.4.0.1
|
|
|
|
|
|
|
|
* Sun Jul 31 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-1mamba
|
|
|
|
- update to 0.4
|
|
|
|
|
2024-01-05 23:25:50 +01:00
|
|
|
* Tue Oct 06 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.1-1mamba
|
|
|
|
- update to 0.3.1
|
|
|
|
|
2024-01-05 23:25:50 +01:00
|
|
|
* Tue Jun 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-1mamba
|
|
|
|
- update to 0.3.0
|
|
|
|
|
2024-01-05 23:25:50 +01:00
|
|
|
* Wed Mar 26 2014 Automatic Build System <autodist@mambasoft.it> 0.2.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Mar 02 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.3-1mamba
|
|
|
|
- update to 0.2.3
|
|
|
|
|
2024-01-05 23:25:50 +01:00
|
|
|
* Sat Nov 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.2-1mamba
|
|
|
|
- package created using the webbuild interface
|