Name: libgrantlee Version: 0.1.8 Release: 1mamba Summary: A set of Free Software libraries written using the Qt framework Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco 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 BuildRequires: libqt4-devel 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) %{_libdir}/libgrantlee_*.so.* %{_libdir}/grantlee/0.1/*.so %doc AUTHORS COPYING.LIB README %files devel %defattr(-,root,root) ## note: this list is just an example; modify as required %{_includedir}/grantlee_*.h %{_includedir}/grantlee/*.h %{_libdir}/grantlee/0.1/GrantleeUse.cmake %{_libdir}/grantlee/GrantleeConfig*.cmake %{_libdir}/libgrantlee_*.so %changelog * Thu Jan 27 2011 Silvan Calarco 0.1.8-1mamba - package created by autospec