diff --git a/README.md b/README.md index 270e946..4a3ec3c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libqzeitgeist +Qt interface library for Zeitgeist. + diff --git a/libqzeitgeist.spec b/libqzeitgeist.spec new file mode 100644 index 0000000..3f3bb39 --- /dev/null +++ b/libqzeitgeist.spec @@ -0,0 +1,77 @@ +Name: libqzeitgeist +Version: 0.8.0 +Release: 1mamba +Summary: Qt interface library for Zeitgeist +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://gitorious.org/kde-zeitgeist/libqzeitgeist +Source: ftp://ftp.kde.org/pub/kde/stable/libqzeitgeist/%{version}/src/libqzeitgeist-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libqt4-devel +BuildRequires: libQtDeclarative +BuildRequires: libstdc++6-devel +BuildRequires: pkg-config +BuildRequires: zeitgeist +## AUTOBUILDREQ-END +BuildRequires: zeitgeist +Requires: zeitgeist +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Qt interface library for Zeitgeist. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Qt interface library for Zeitgeist. + +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%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}/libqzeitgeist.so.* +%dir %{_libdir}/qt4/imports/org/gnome/zeitgeist +%{_libdir}/qt4/imports/org/gnome/zeitgeist/libQZeitgeistDeclarativePlugin.so +%{_libdir}/qt4/imports/org/gnome/zeitgeist/qmldir +%doc COPYING README + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/QZeitgeist +%{_includedir}/QZeitgeist/* +%{_libdir}/libqzeitgeist.so +%{_libdir}/pkgconfig/QZeitgeist.pc +%dir %{_libdir}/cmake/QZeitgeist +%{_libdir}/cmake/QZeitgeist/QZeitgeist*.cmake + +%changelog +* Tue Sep 04 2012 Silvan Calarco 0.8.0-1mamba +- update to 0.8.0 + +* Thu Aug 04 2011 Silvan Calarco 0.7.0-1mamba +- package created by autospec