Name: attica Version: 0.1.1 Release: 1%{?dist} Summary: Implementation of the Open Collaboration Services API Group: Development/Libraries License: LGPLv2+ URL: http://www.kde.org Source0: ftp://ftp.kde.org/pub/kde/stable/attica/attica-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake BuildRequires: qt4-devel BuildRequires: openssl-devel %description Attica is a Qt library that implements the Open Collaboration Services API version 1.4. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake} .. popd make %{?_smp_mflags} -C %{_target_platform} %install rm -rf %{buildroot} make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING README %{_libdir}/libattica.so.0* %files devel %defattr(-,root,root,-) %{_includedir}/attica/ %{_libdir}/libattica.so %{_libdir}/pkgconfig/libattica.pc %changelog * Fri Dec 18 2009 Rex Dieter - 0.1.1-1 - attica-0.1.1 * Wed Dec 9 2009 Rex Dieter - 0.1.0-3 - upstream tarball - %files: tighten up a bit, track sonames * Mon Dec 7 2009 Lorenzo Villani - 0.1.0-2 - Out of sourcetree build - Use make install/fast * Sat Dec 5 2009 lvillani 0.1.0-1 - Initial release