File grantlee.spec of Package grantlee
#
# spec file for package grantlee (Version 0.1.7)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
BuildRequires: doxygen libqt4-devel
BuildRequires: cmake kde4-filesystem libopenssl-devel
Name: grantlee
Summary: Qt string template library
Version: 0.1.7
Release: 2
License: LGPLv2 or later
Group: Productivity/Graphics/Other
Source0: grantlee-%{version}.tar.bz2
Source1: INFO
Url: http://grantlee.org
%if 0%{?suse_version} < 1120
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%endif
%description
Grantlee is a string template engine based on the Django template system and written in Qt.
Author:
--------
Stephen Kelly <steveire@gmail.com>
%package devel
License: LGPLv2 or later
Group: Development/Libraries/C and C++
Summary: Include Files and Libraries Mandatory for Development
Requires: grantlee = %{version}-%{release}
%description devel
Grantlee is a string template engine based on the Django template system and written in Qt.
Author:
--------
Stephen Kelly <steveire@gmail.com>
%prep
%setup -n grantlee-%{version} -q
%build
%cmake_kde4 -d build -- -DBUILD_TESTS=OFF
%make_jobs
%install
cd build
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel -p /sbin/ldconfig
%postun devel -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
%dir %{_libdir}/grantlee
%dir %{_libdir}/grantlee/0.1
%{_libdir}/libgrantlee_core.so.*
%{_libdir}/libgrantlee_gui.so.*
%{_libdir}/grantlee/0.1/grantlee_*.so
%files devel
%defattr(644,root,root,755)
%dir /usr/include/grantlee
/usr/include/grantlee/*
/usr/include/grantlee_core.h
%{_libdir}/libgrantlee_core.so
%{_libdir}/libgrantlee_gui.so
%{_libdir}/grantlee/GrantleeConfig.cmake
%{_libdir}/grantlee/GrantleeConfigVersion.cmake
%{_libdir}/grantlee/0.1/GrantleeUse.cmake
%changelog