X-Git-Url: http://git.pld-linux.org/?p=packages%2Fzeitgeist.git;a=blobdiff_plain;f=zeitgeist.spec;h=6aaea1c53f533cfbb8553c94d8082cc0a07eaadc;hp=88df8d52a49edf0205b54d06b90ec95b75640afb;hb=3b9419e9fc888e806083ed749ff3aa042a6ccda8;hpb=17d323f7bb2c6a1a33d3a9170d1f97e560ab1fa5 diff --git a/zeitgeist.spec b/zeitgeist.spec index 88df8d5..6aaea1c 100644 --- a/zeitgeist.spec +++ b/zeitgeist.spec @@ -1,30 +1,34 @@ Summary: Framework providing Desktop activity awareness Summary(pl.UTF-8): Szkielet zapewniający świadomość aktywności w środowisku graficznym Name: zeitgeist -Version: 0.9.12 +Version: 1.0 Release: 1 License: LGPL v2.1+ Group: Daemons -Source0: http://launchpad.net/zeitgeist/0.9/%{version}/+download/%{name}-%{version}.tar.xz -# Source0-md5: 58488a7636a663a700be2b1d1a639e40 +Source0: http://launchpad.net/zeitgeist/1.0/%{version}/+download/%{name}-%{version}.tar.xz +# Source0-md5: 5f894639cce2293c17407c9bd2689031 +Patch0: %{name}-lt.patch +Patch1: %{name}-vala.patch +Patch2: %{name}-fts-service.patch URL: http://launchpad.net/zeitgeist BuildRequires: autoconf >= 2.50 -BuildRequires: automake >= 1:1.9 +BuildRequires: automake >= 1:1.11 +BuildRequires: dbus-devel BuildRequires: dee-devel >= 1.0.2 -BuildRequires: gettext-devel -BuildRequires: glib2-devel >= 1:2.26.0 -BuildRequires: gnome-common +BuildRequires: gettext-tools +BuildRequires: glib2-devel >= 1:2.36.0 BuildRequires: gobject-introspection-devel >= 1.30.0 BuildRequires: gtk+3-devel >= 3.0.0 -BuildRequires: intltool >= 0.40.0 BuildRequires: json-glib-devel >= 0.14.0 BuildRequires: libraptor2-rapper BuildRequires: python >= 1:2.6 BuildRequires: python-rdflib >= 3.0.0 BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.682 BuildRequires: sqlite3-devel >= 3.7.11 BuildRequires: telepathy-glib-devel >= 0.18.0 -BuildRequires: vala >= 0.18.0 +BuildRequires: vala >= 2:0.22.0 +BuildRequires: vala-telepathy-glib >= 0.18.0 BuildRequires: xapian-core-devel Requires: %{name}-libs = %{version}-%{release} Requires: dbus @@ -50,7 +54,7 @@ i wzorce użycia. Summary: Zeitgeist library Summary(pl.UTF-8): Biblioteka Zeitgeist Group: Libraries -Requires: glib2 >= 1:2.26.0 +Requires: glib2 >= 1:2.36.0 Requires: sqlite3 >= 3.7.11 %description libs @@ -64,6 +68,7 @@ Summary: Development files for Zeitgeist library Summary(pl.UTF-8): Pliki programistyczne biblioteki Zeitgeist Group: Development/Libraries Requires: %{name}-libs = %{version}-%{release} +Requires: glib2-devel >= 1:2.36.0 %description devel This package provides development files for Zeitgeist library. @@ -85,24 +90,15 @@ Python client library for Zeitgeist DBus API. %description -n python-%{name} -l pl.UTF-8 Biblioteka kliencka w Pythonie do DBus API demona Zeitgeist. -%package -n bash-completion-zeitgeist -Summary: bash-completion for Zeitgeist -Summary(pl.UTF-8): bashowe uzupełnianie nazw dla Zeitgeist -Group: Applications/Shells -Requires: bash-completion - -%description -n bash-completion-zeitgeist -This package provides bash-completion for Zeitgeist. - -%description -n bash-completion-zeitgeist -l pl.UTF-8 -Pakiet ten dostarcza bashowe uzupełnianie nazw dla Zeitgeist. - %package -n vala-zeitgeist Summary: Zeitgeist API for Vala language Summary(pl.UTF-8): API Zeitgeist dla języka Vala Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} -Requires: vala >= 0.18.0 +Requires: vala >= 2:0.18.0 +%if "%{_rpmversion}" >= "5" +BuildArch: noarch +%endif %description -n vala-zeitgeist Zeitgeist API for Vala language. @@ -110,17 +106,37 @@ Zeitgeist API for Vala language. %description -n vala-zeitgeist -l pl.UTF-8 API Zeitgeist dla języka Vala. +%package -n bash-completion-zeitgeist +Summary: bash-completion for Zeitgeist +Summary(pl.UTF-8): bashowe uzupełnianie nazw dla Zeitgeist +Group: Applications/Shells +Requires: bash-completion >= 2.0 +%if "%{_rpmversion}" >= "5" +BuildArch: noarch +%endif + +%description -n bash-completion-zeitgeist +This package provides bash-completion for Zeitgeist. + +%description -n bash-completion-zeitgeist -l pl.UTF-8 +Pakiet ten dostarcza bashowe uzupełnianie nazw dla Zeitgeist. + %prep %setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build -%{__intltoolize} +%{__gettextize} +%{__libtoolize} %{__aclocal} %{__autoconf} +%{__autoheader} %{__automake} %configure \ - --disable-fts \ - --disable-silent-rules + --disable-silent-rules \ + --enable-fts %{__make} %install @@ -132,13 +148,11 @@ rm -rf $RPM_BUILD_ROOT %{__rm} $RPM_BUILD_ROOT%{_libdir}/libzeitgeist-2.0.la %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/zeitgeist/doc -%py_postclean - %clean rm -rf $RPM_BUILD_ROOT -%post libs -p /sbin/ldconfig -%postun libs -p /sbin/ldconfig +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig %files %defattr(644,root,root,755) @@ -146,16 +160,21 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/zeitgeist-daemon %attr(755,root,root) %{_bindir}/zeitgeist-datahub /etc/xdg/autostart/zeitgeist-datahub.desktop -%{_datadir}/dbus-1/services/org.gnome.zeitgeist.service -%dir %{_datadir}/zeitgeist +%dir %{_libdir}/%{name} +%attr(755,root,root) %{_libdir}/%{name}/zeitgeist-fts +%{_datadir}/dbus-1/services/org.gnome.zeitgeist.Engine.service +%{_datadir}/dbus-1/services/org.gnome.zeitgeist.SimpleIndexer.service %{_mandir}/man1/zeitgeist-daemon.1* %{_mandir}/man1/zeitgeist-datahub.1* +%{systemduserunitdir}/zeitgeist.service +%{systemduserunitdir}/zeitgeist-fts.service %files libs %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libzeitgeist-2.0.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libzeitgeist-2.0.so.0 %{_libdir}/girepository-1.0/Zeitgeist-2.0.typelib +%dir %{_datadir}/zeitgeist %files devel %defattr(644,root,root,755) @@ -169,12 +188,12 @@ rm -rf $RPM_BUILD_ROOT %{py_sitescriptdir}/zeitgeist %{_datadir}/zeitgeist/ontology -%files -n bash-completion-zeitgeist -%defattr(644,root,root,755) -%{_datadir}/bash-completion/completions/zeitgeist-daemon - %files -n vala-zeitgeist %defattr(644,root,root,755) %{_datadir}/vala/vapi/zeitgeist-2.0.deps %{_datadir}/vala/vapi/zeitgeist-2.0.vapi %{_datadir}/vala/vapi/zeitgeist-datamodel-2.0.vapi + +%files -n bash-completion-zeitgeist +%defattr(644,root,root,755) +%{bash_compdir}/zeitgeist-daemon