]>
Commit | Line | Data |
---|---|---|
5bb22124 | 1 | Summary: Framework providing Desktop activity awareness |
9c750fc4 | 2 | Summary(pl.UTF-8): Szkielet zapewniający świadomość aktywności w środowisku graficznym |
5bb22124 | 3 | Name: zeitgeist |
1e77dada JP |
4 | Version: 1.0.3 |
5 | Release: 1 | |
9c750fc4 | 6 | License: LGPL v2.1+ |
5bb22124 | 7 | Group: Daemons |
3b9419e9 | 8 | Source0: http://launchpad.net/zeitgeist/1.0/%{version}/+download/%{name}-%{version}.tar.xz |
1e77dada | 9 | # Source0-md5: 8258b5521d1f25d18f7ace3c974c5ab1 |
8a8d7931 | 10 | Patch0: %{name}-lt.patch |
71043324 | 11 | Patch1: %{name}-vala.patch |
5bb22124 | 12 | URL: http://launchpad.net/zeitgeist |
2c75b570 | 13 | BuildRequires: autoconf >= 2.65 |
8a8d7931 | 14 | BuildRequires: automake >= 1:1.11 |
5b478cdc | 15 | BuildRequires: dbus-devel |
17d323f7 | 16 | BuildRequires: dee-devel >= 1.0.2 |
2c75b570 | 17 | BuildRequires: gettext-tools >= 0.19 |
40bd8113 | 18 | BuildRequires: glib2-devel >= 1:2.36.0 |
17d323f7 MB |
19 | BuildRequires: gobject-introspection-devel >= 1.30.0 |
20 | BuildRequires: gtk+3-devel >= 3.0.0 | |
17d323f7 | 21 | BuildRequires: json-glib-devel >= 0.14.0 |
2c75b570 JB |
22 | BuildRequires: libtool >= 2:2.2.6 |
23 | BuildRequires: pkgconfig >= 1:0.21 | |
1e77dada JP |
24 | BuildRequires: python3 |
25 | BuildRequires: python3-rdflib >= 3.0.0 | |
8c881b37 | 26 | BuildRequires: rpm-pythonprov |
3b9419e9 | 27 | BuildRequires: rpmbuild(macros) >= 1.682 |
17d323f7 | 28 | BuildRequires: sqlite3-devel >= 3.7.11 |
2c75b570 | 29 | BuildRequires: tar >= 1:1.22 |
17d323f7 | 30 | BuildRequires: telepathy-glib-devel >= 0.18.0 |
5b478cdc | 31 | BuildRequires: vala >= 2:0.22.0 |
8a8d7931 | 32 | BuildRequires: vala-telepathy-glib >= 0.18.0 |
2c75b570 | 33 | BuildRequires: valadoc >= 0.2 |
4420f998 | 34 | BuildRequires: xapian-core-devel |
2c75b570 | 35 | BuildRequires: xz |
17d323f7 MB |
36 | Requires: %{name}-libs = %{version}-%{release} |
37 | Requires: dbus | |
2c75b570 JB |
38 | Requires: dee >= 1.0.2 |
39 | Requires: json-glib >= 0.14.0 | |
40 | Requires: telepathy-glib >= 0.18.0 | |
17d323f7 MB |
41 | Provides: zeitgeist-datahub = %{version}-%{release} |
42 | Obsoletes: zeitgeist-datahub < 0.9.5-2 | |
5bb22124 MB |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
44 | ||
45 | %description | |
9c750fc4 | 46 | Zeitgeist is a service which logs the users' activities and events |
5bb22124 MB |
47 | (files opened, websites visites, conversations hold with other people, |
48 | etc.) and makes relevant information available to other applications. | |
49 | It is able to establish relationships between items based on | |
50 | similarity and usage patterns. | |
51 | ||
9c750fc4 JB |
52 | %description -l pl.UTF-8 |
53 | Zeitgeist to usługa logująca aktywność użytkowników oraz powiązane | |
54 | zdarzenia (otwierane pliki, odwiedzane serwisy WWW, rozmowy z innymi | |
55 | osobami itp.) i udostępniająca informacje o nich innym aplikacjom. | |
56 | Potrafi ustalić powiązania między elementami w oparciu o podobieństwo | |
57 | i wzorce użycia. | |
58 | ||
17d323f7 MB |
59 | %package libs |
60 | Summary: Zeitgeist library | |
61 | Summary(pl.UTF-8): Biblioteka Zeitgeist | |
62 | Group: Libraries | |
40bd8113 | 63 | Requires: glib2 >= 1:2.36.0 |
17d323f7 MB |
64 | Requires: sqlite3 >= 3.7.11 |
65 | ||
66 | %description libs | |
67 | This package provides Zeitgeist library. | |
68 | ||
69 | %description libs -l pl.UTF-8 | |
70 | Ten pakiet dostarcza bibliotekę Zeitgeist. | |
71 | ||
72 | %package devel | |
73 | Summary: Development files for Zeitgeist library | |
74 | Summary(pl.UTF-8): Pliki programistyczne biblioteki Zeitgeist | |
75 | Group: Development/Libraries | |
76 | Requires: %{name}-libs = %{version}-%{release} | |
40bd8113 | 77 | Requires: glib2-devel >= 1:2.36.0 |
17d323f7 MB |
78 | |
79 | %description devel | |
80 | This package provides development files for Zeitgeist library. | |
81 | ||
82 | %description devel -l pl.UTF-8 | |
83 | Ten pakiet dostarcza pliki programistyczne dla biblioteki Zeitgeist. | |
84 | ||
1e77dada | 85 | %package -n python3-%{name} |
9c750fc4 JB |
86 | Summary: Python client library for Zeitgeist DBus API |
87 | Summary(pl.UTF-8): Biblioteka kliencka w Pythonie do DBus API demona Zeitgeist | |
88 | Group: Development/Languages/Python | |
1e77dada JP |
89 | Requires: python3-dbus |
90 | Requires: python3-modules | |
91 | Obsoletes: python-zeitgeist < 1.0.3 | |
9c750fc4 | 92 | Conflicts: zeitgeist < 0.8.2-2 |
67e0975a | 93 | BuildArch: noarch |
9c750fc4 | 94 | |
1e77dada | 95 | %description -n python3-%{name} |
9c750fc4 JB |
96 | Python client library for Zeitgeist DBus API. |
97 | ||
1e77dada | 98 | %description -n python3-%{name} -l pl.UTF-8 |
9c750fc4 JB |
99 | Biblioteka kliencka w Pythonie do DBus API demona Zeitgeist. |
100 | ||
17d323f7 MB |
101 | %package -n vala-zeitgeist |
102 | Summary: Zeitgeist API for Vala language | |
103 | Summary(pl.UTF-8): API Zeitgeist dla języka Vala | |
104 | Group: Development/Libraries | |
105 | Requires: %{name}-devel = %{version}-%{release} | |
8a8d7931 | 106 | Requires: vala >= 2:0.18.0 |
5415db69 | 107 | BuildArch: noarch |
17d323f7 MB |
108 | |
109 | %description -n vala-zeitgeist | |
110 | Zeitgeist API for Vala language. | |
111 | ||
112 | %description -n vala-zeitgeist -l pl.UTF-8 | |
113 | API Zeitgeist dla języka Vala. | |
114 | ||
8a8d7931 JB |
115 | %package -n bash-completion-zeitgeist |
116 | Summary: bash-completion for Zeitgeist | |
117 | Summary(pl.UTF-8): bashowe uzupełnianie nazw dla Zeitgeist | |
118 | Group: Applications/Shells | |
5415db69 | 119 | Requires: bash-completion >= 2.0 |
44f1d5ef | 120 | BuildArch: noarch |
8a8d7931 JB |
121 | |
122 | %description -n bash-completion-zeitgeist | |
123 | This package provides bash-completion for Zeitgeist. | |
124 | ||
125 | %description -n bash-completion-zeitgeist -l pl.UTF-8 | |
126 | Pakiet ten dostarcza bashowe uzupełnianie nazw dla Zeitgeist. | |
127 | ||
5bb22124 MB |
128 | %prep |
129 | %setup -q | |
8a8d7931 | 130 | %patch0 -p1 |
71043324 | 131 | %patch1 -p1 |
5bb22124 MB |
132 | |
133 | %build | |
3b9419e9 | 134 | %{__gettextize} |
5b478cdc | 135 | %{__libtoolize} |
5bb22124 MB |
136 | %{__aclocal} |
137 | %{__autoconf} | |
5b478cdc | 138 | %{__autoheader} |
5bb22124 | 139 | %{__automake} |
b92dc1a5 | 140 | %configure \ |
c631b202 JP |
141 | --disable-silent-rules \ |
142 | --enable-fts | |
5bb22124 MB |
143 | %{__make} |
144 | ||
145 | %install | |
146 | rm -rf $RPM_BUILD_ROOT | |
147 | ||
148 | %{__make} install \ | |
149 | DESTDIR=$RPM_BUILD_ROOT | |
150 | ||
17d323f7 MB |
151 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libzeitgeist-2.0.la |
152 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/zeitgeist/doc | |
153 | ||
5bb22124 MB |
154 | %clean |
155 | rm -rf $RPM_BUILD_ROOT | |
156 | ||
8a8d7931 JB |
157 | %post libs -p /sbin/ldconfig |
158 | %postun libs -p /sbin/ldconfig | |
17d323f7 | 159 | |
4420f998 | 160 | %files |
5bb22124 | 161 | %defattr(644,root,root,755) |
b92dc1a5 | 162 | %doc AUTHORS ChangeLog NEWS TODO |
5bb22124 | 163 | %attr(755,root,root) %{_bindir}/zeitgeist-daemon |
17d323f7 MB |
164 | %attr(755,root,root) %{_bindir}/zeitgeist-datahub |
165 | /etc/xdg/autostart/zeitgeist-datahub.desktop | |
ed9efcef JP |
166 | %dir %{_libexecdir}/%{name} |
167 | %attr(755,root,root) %{_libexecdir}/%{name}/zeitgeist-fts | |
3b9419e9 JP |
168 | %{_datadir}/dbus-1/services/org.gnome.zeitgeist.Engine.service |
169 | %{_datadir}/dbus-1/services/org.gnome.zeitgeist.SimpleIndexer.service | |
5bb22124 | 170 | %{_mandir}/man1/zeitgeist-daemon.1* |
17d323f7 | 171 | %{_mandir}/man1/zeitgeist-datahub.1* |
3b9419e9 JP |
172 | %{systemduserunitdir}/zeitgeist.service |
173 | %{systemduserunitdir}/zeitgeist-fts.service | |
17d323f7 MB |
174 | |
175 | %files libs | |
176 | %defattr(644,root,root,755) | |
177 | %attr(755,root,root) %{_libdir}/libzeitgeist-2.0.so.*.*.* | |
178 | %attr(755,root,root) %ghost %{_libdir}/libzeitgeist-2.0.so.0 | |
179 | %{_libdir}/girepository-1.0/Zeitgeist-2.0.typelib | |
6544abd8 | 180 | %dir %{_datadir}/zeitgeist |
17d323f7 MB |
181 | |
182 | %files devel | |
183 | %defattr(644,root,root,755) | |
184 | %attr(755,root,root) %{_libdir}/libzeitgeist-2.0.so | |
185 | %{_includedir}/zeitgeist-2.0 | |
186 | %{_datadir}/gir-1.0/Zeitgeist-2.0.gir | |
187 | %{_pkgconfigdir}/zeitgeist-2.0.pc | |
9c750fc4 | 188 | |
1e77dada | 189 | %files -n python3-%{name} |
9c750fc4 | 190 | %defattr(644,root,root,755) |
1e77dada | 191 | %{py3_sitescriptdir}/zeitgeist |
9c750fc4 | 192 | %{_datadir}/zeitgeist/ontology |
17d323f7 | 193 | |
17d323f7 MB |
194 | %files -n vala-zeitgeist |
195 | %defattr(644,root,root,755) | |
196 | %{_datadir}/vala/vapi/zeitgeist-2.0.deps | |
197 | %{_datadir}/vala/vapi/zeitgeist-2.0.vapi | |
198 | %{_datadir}/vala/vapi/zeitgeist-datamodel-2.0.vapi | |
8a8d7931 JB |
199 | |
200 | %files -n bash-completion-zeitgeist | |
201 | %defattr(644,root,root,755) | |
5415db69 | 202 | %{bash_compdir}/zeitgeist-daemon |