2024-01-06 04:27:47 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: libgrantlee
|
2024-01-06 04:27:47 +01:00
|
|
|
Version: 5.1.0
|
2024-01-06 04:27:47 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A set of Free Software libraries written using the Qt framework
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.gitorious.org/grantlee/pages/Home
|
|
|
|
Source: http://downloads.grantlee.org/grantlee-%{version}.tar.gz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
2024-01-06 04:27:47 +01:00
|
|
|
BuildRequires: libqt5-devel
|
2024-01-06 04:27:47 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Grantlee is a set of Free Software libraries written using the Qt framework.
|
|
|
|
Currently two libraries are shipped with Grantlee: Grantlee Templates and Grantlee TextDocument.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Grantlee is a set of Free Software libraries written using the Qt framework.
|
|
|
|
Currently two libraries are shipped with Grantlee: Grantlee Templates and Grantlee TextDocument.
|
|
|
|
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n grantlee-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:27:47 +01:00
|
|
|
%{_libdir}/libGrantlee_Templates.so.*
|
|
|
|
%{_libdir}/libGrantlee_TextDocument.so.*
|
|
|
|
%dir %{_libdir}/grantlee
|
|
|
|
%{_libdir}/grantlee/%{majver}
|
2024-01-06 04:27:47 +01:00
|
|
|
%{_libdir}/grantlee/%{majver}/grantlee_*.so
|
|
|
|
%doc AUTHORS COPYING.LIB
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/grantlee_*.h
|
|
|
|
%dir %{_includedir}/grantlee
|
|
|
|
%{_includedir}/grantlee/*.h
|
2024-01-06 04:27:47 +01:00
|
|
|
%dir %{_libdir}/cmake/Grantlee5
|
|
|
|
%{_libdir}/cmake/Grantlee5/Grantlee5Config.cmake
|
|
|
|
%{_libdir}/cmake/Grantlee5/Grantlee5ConfigVersion.cmake
|
|
|
|
%{_libdir}/cmake/Grantlee5/GrantleeMacros.cmake
|
|
|
|
%{_libdir}/cmake/Grantlee5/GrantleeTargets-noconfig.cmake
|
|
|
|
%{_libdir}/cmake/Grantlee5/GrantleeTargets.cmake
|
|
|
|
%{_libdir}/libGrantlee_Templates.so
|
|
|
|
%{_libdir}/libGrantlee_TextDocument.so
|
2024-01-06 04:27:47 +01:00
|
|
|
#%doc README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:27:47 +01:00
|
|
|
* Sun Aug 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.0-1mamba
|
|
|
|
- update to 5.1.0
|
|
|
|
|
2024-01-06 04:27:47 +01:00
|
|
|
* Sat Oct 11 2014 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:27:47 +01:00
|
|
|
* Fri Nov 29 2013 Automatic Build System <autodist@mambasoft.it> 0.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Nov 16 2012 Automatic Build System <autodist@mambasoft.it> 0.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 06 2012 Automatic Build System <autodist@mambasoft.it> 0.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jul 24 2011 Automatic Build System <autodist@mambasoft.it> 0.1.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 27 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.8-1mamba
|
|
|
|
- package created by autospec
|