libzeitgeist/libzeitgeist.spec

88 lines
2.5 KiB
RPMSpec
Raw Normal View History

Name: libzeitgeist
Version: 0.3.18
Release: 1mamba
Summary: Zeitgeist Client Library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 0.3.18-1mamba
- automatic version update by autodist
* Thu Aug 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.10-1mamba
- package created by autospec