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..35d5745 --- /dev/null +++ b/attica.spec @@ -0,0 +1,81 @@ +Name: attica +Version: 0.1.0 +Release: 2%{?dist} +Summary: Implementation of the Open Collaboration Services API + +Group: Development/Libraries +License: LGPLv2+ +URL: http://www.kde.org +#Source0:CMD svn export svn://anonsvn.kde.org/home/kde/tags/attica/%{version} attica-%{version} +#Source0:CMD tar cjf %{_sourcedir}/attica-%{version}.tar.bz2 attica-%{version} +#Source0:CMD rm -rf attica-%{version} +Source0: attica-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: cmake +BuildRequires: qt-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} +find %{buildroot} -name '*.la' -exec rm -f {} ';' + + +%clean +rm -rf %{buildroot} + + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc COPYING README +%{_libdir}/*.so.* + + +%files devel +%defattr(-,root,root,-) +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/libattica.pc + + +%changelog +* 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/import.log b/import.log new file mode 100644 index 0000000..772417f --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +attica-0_1_0-2_fc12:HEAD:attica-0.1.0-2.fc12.src.rpm:1260393022 diff --git a/sources b/sources index e69de29..0bcb8d1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +acaac9eece214f5dc82c98510dbb0ade attica-0.1.0.tar.bz2