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