libqzeitgeist/libqzeitgeist.spec

78 lines
2.0 KiB
RPMSpec

Name: libqzeitgeist
Version: 0.8.0
Release: 1mamba
Summary: Qt interface library for Zeitgeist
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.8.0-1mamba
- update to 0.8.0
* Thu Aug 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-1mamba
- package created by autospec