diff --git a/README.md b/README.md index b92b184..7461295 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libzeitgeist +A client library for applications that want to interact with the Zeitgeist daemon. The library is written in C using glib and provides an asynchronous GObject oriented API. + diff --git a/libzeitgeist.spec b/libzeitgeist.spec new file mode 100644 index 0000000..f7dbdea --- /dev/null +++ b/libzeitgeist.spec @@ -0,0 +1,87 @@ +Name: libzeitgeist +Version: 0.3.18 +Release: 1mamba +Summary: Zeitgeist Client Library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://launchpad.net/libzeitgeist +Source: http://launchpad.net/libzeitgeist/0.3/%{version}/+download/libzeitgeist-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: gtk-doc +BuildRequires: libglib-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A client library for applications that want to interact with the Zeitgeist daemon. The library is written in C using glib and provides an asynchronous GObject oriented API. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +A client library for applications that want to interact with the Zeitgeist daemon. The library is written in C using glib and provides an asynchronous GObject oriented API. + +This package contains static libraries and header files need for development. + +%package apidocs +Group: Documentation +Summary: %{name} API documentation +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: gtk-doc + +%description apidocs +This package includes the %{name} API documentation. + +%prep +%setup -q + +%build +%configure --enable-gtk-doc +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +rm -rf %{buildroot}%{_docdir}/libzeitgeist + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libzeitgeist-1.0.so.* +%{_datadir}/vala/vapi/zeitgeist-1.0.deps +%{_datadir}/vala/vapi/zeitgeist-1.0.vapi +%doc AUTHORS COPYING MAINTAINERS + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/zeitgeist-1.0 +%{_includedir}/zeitgeist-1.0/*.h +%{_libdir}/libzeitgeist-1.0.a +%{_libdir}/libzeitgeist-1.0.la +%{_libdir}/libzeitgeist-1.0.so +%{_libdir}/pkgconfig/zeitgeist-1.0.pc +%doc ChangeLog NEWS README + +%files apidocs +%defattr(-,root,root) +%dir %{_datadir}/gtk-doc/html/zeitgeist-1.0 +%{_datadir}/gtk-doc/html/zeitgeist-1.0/* + +%changelog +* Mon Aug 06 2012 Automatic Build System 0.3.18-1mamba +- automatic version update by autodist + +* Thu Aug 04 2011 Silvan Calarco 0.3.10-1mamba +- package created by autospec