From 2cb37f3d1f38cb325fec770d49a972c245c038d8 Mon Sep 17 00:00:00 2001 From: Lorenzo Villani Date: Dec 11 2009 09:09:48 +0000 Subject: - upstream tarball - %files: tighten up a bit, track sonames --- diff --git a/.cvsignore b/.cvsignore index e69de29..82e76f0 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +attica-0.1.0.tar.bz2 diff --git a/attica.spec b/attica.spec new file mode 100644 index 0000000..ffd7ebd --- /dev/null +++ b/attica.spec @@ -0,0 +1,81 @@ +Name: attica +Version: 0.1.0 +Release: 3%{?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 +* 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 + diff --git a/sources b/sources index e69de29..4bf5fac 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ff8d6ba041125b1ace0048741855b89d attica-0.1.0.tar.bz2