]>
Commit | Line | Data |
---|---|---|
1 | Summary: Framework providing Desktop activity awareness | |
2 | Summary(pl.UTF-8): Szkielet zapewniający świadomość aktywności w środowisku graficznym | |
3 | Name: zeitgeist | |
4 | Version: 1.0.2 | |
5 | Release: 2 | |
6 | License: LGPL v2.1+ | |
7 | Group: Daemons | |
8 | Source0: http://launchpad.net/zeitgeist/1.0/%{version}/+download/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 08e9031e158a4ab0824adc2610e7d122 | |
10 | Patch0: %{name}-lt.patch | |
11 | Patch1: %{name}-vala.patch | |
12 | URL: http://launchpad.net/zeitgeist | |
13 | BuildRequires: autoconf >= 2.65 | |
14 | BuildRequires: automake >= 1:1.11 | |
15 | BuildRequires: dbus-devel | |
16 | BuildRequires: dee-devel >= 1.0.2 | |
17 | BuildRequires: gettext-tools >= 0.19 | |
18 | BuildRequires: glib2-devel >= 1:2.36.0 | |
19 | BuildRequires: gobject-introspection-devel >= 1.30.0 | |
20 | BuildRequires: gtk+3-devel >= 3.0.0 | |
21 | BuildRequires: json-glib-devel >= 0.14.0 | |
22 | BuildRequires: libtool >= 2:2.2.6 | |
23 | BuildRequires: pkgconfig >= 1:0.21 | |
24 | BuildRequires: python >= 1:2.6 | |
25 | BuildRequires: python-rdflib >= 3.0.0 | |
26 | BuildRequires: rpm-pythonprov | |
27 | BuildRequires: rpmbuild(macros) >= 1.682 | |
28 | BuildRequires: sqlite3-devel >= 3.7.11 | |
29 | BuildRequires: tar >= 1:1.22 | |
30 | BuildRequires: telepathy-glib-devel >= 0.18.0 | |
31 | BuildRequires: vala >= 2:0.22.0 | |
32 | BuildRequires: vala-telepathy-glib >= 0.18.0 | |
33 | BuildRequires: valadoc >= 0.2 | |
34 | BuildRequires: xapian-core-devel | |
35 | BuildRequires: xz | |
36 | Requires: %{name}-libs = %{version}-%{release} | |
37 | Requires: dbus | |
38 | Requires: dee >= 1.0.2 | |
39 | Requires: json-glib >= 0.14.0 | |
40 | Requires: telepathy-glib >= 0.18.0 | |
41 | Provides: zeitgeist-datahub = %{version}-%{release} | |
42 | Obsoletes: zeitgeist-datahub < 0.9.5-2 | |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
44 | ||
45 | %description | |
46 | Zeitgeist is a service which logs the users' activities and events | |
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 | ||
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 | ||
59 | %package libs | |
60 | Summary: Zeitgeist library | |
61 | Summary(pl.UTF-8): Biblioteka Zeitgeist | |
62 | Group: Libraries | |
63 | Requires: glib2 >= 1:2.36.0 | |
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} | |
77 | Requires: glib2-devel >= 1:2.36.0 | |
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 | ||
85 | %package -n python-%{name} | |
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 | |
89 | Requires: python-dbus | |
90 | Requires: python-modules | |
91 | Conflicts: zeitgeist < 0.8.2-2 | |
92 | ||
93 | %description -n python-%{name} | |
94 | Python client library for Zeitgeist DBus API. | |
95 | ||
96 | %description -n python-%{name} -l pl.UTF-8 | |
97 | Biblioteka kliencka w Pythonie do DBus API demona Zeitgeist. | |
98 | ||
99 | %package -n vala-zeitgeist | |
100 | Summary: Zeitgeist API for Vala language | |
101 | Summary(pl.UTF-8): API Zeitgeist dla języka Vala | |
102 | Group: Development/Libraries | |
103 | Requires: %{name}-devel = %{version}-%{release} | |
104 | Requires: vala >= 2:0.18.0 | |
105 | %if "%{_rpmversion}" >= "5" | |
106 | BuildArch: noarch | |
107 | %endif | |
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 | ||
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 | |
119 | Requires: bash-completion >= 2.0 | |
120 | %if "%{_rpmversion}" >= "5" | |
121 | BuildArch: noarch | |
122 | %endif | |
123 | ||
124 | %description -n bash-completion-zeitgeist | |
125 | This package provides bash-completion for Zeitgeist. | |
126 | ||
127 | %description -n bash-completion-zeitgeist -l pl.UTF-8 | |
128 | Pakiet ten dostarcza bashowe uzupełnianie nazw dla Zeitgeist. | |
129 | ||
130 | %prep | |
131 | %setup -q | |
132 | %patch0 -p1 | |
133 | %patch1 -p1 | |
134 | ||
135 | %build | |
136 | %{__gettextize} | |
137 | %{__libtoolize} | |
138 | %{__aclocal} | |
139 | %{__autoconf} | |
140 | %{__autoheader} | |
141 | %{__automake} | |
142 | %configure \ | |
143 | --disable-silent-rules \ | |
144 | --enable-fts | |
145 | %{__make} | |
146 | ||
147 | %install | |
148 | rm -rf $RPM_BUILD_ROOT | |
149 | ||
150 | %{__make} install \ | |
151 | DESTDIR=$RPM_BUILD_ROOT | |
152 | ||
153 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libzeitgeist-2.0.la | |
154 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/zeitgeist/doc | |
155 | ||
156 | %clean | |
157 | rm -rf $RPM_BUILD_ROOT | |
158 | ||
159 | %post libs -p /sbin/ldconfig | |
160 | %postun libs -p /sbin/ldconfig | |
161 | ||
162 | %files | |
163 | %defattr(644,root,root,755) | |
164 | %doc AUTHORS ChangeLog NEWS TODO | |
165 | %attr(755,root,root) %{_bindir}/zeitgeist-daemon | |
166 | %attr(755,root,root) %{_bindir}/zeitgeist-datahub | |
167 | /etc/xdg/autostart/zeitgeist-datahub.desktop | |
168 | %dir %{_libexecdir}/%{name} | |
169 | %attr(755,root,root) %{_libexecdir}/%{name}/zeitgeist-fts | |
170 | %{_datadir}/dbus-1/services/org.gnome.zeitgeist.Engine.service | |
171 | %{_datadir}/dbus-1/services/org.gnome.zeitgeist.SimpleIndexer.service | |
172 | %{_mandir}/man1/zeitgeist-daemon.1* | |
173 | %{_mandir}/man1/zeitgeist-datahub.1* | |
174 | %{systemduserunitdir}/zeitgeist.service | |
175 | %{systemduserunitdir}/zeitgeist-fts.service | |
176 | ||
177 | %files libs | |
178 | %defattr(644,root,root,755) | |
179 | %attr(755,root,root) %{_libdir}/libzeitgeist-2.0.so.*.*.* | |
180 | %attr(755,root,root) %ghost %{_libdir}/libzeitgeist-2.0.so.0 | |
181 | %{_libdir}/girepository-1.0/Zeitgeist-2.0.typelib | |
182 | %dir %{_datadir}/zeitgeist | |
183 | ||
184 | %files devel | |
185 | %defattr(644,root,root,755) | |
186 | %attr(755,root,root) %{_libdir}/libzeitgeist-2.0.so | |
187 | %{_includedir}/zeitgeist-2.0 | |
188 | %{_datadir}/gir-1.0/Zeitgeist-2.0.gir | |
189 | %{_pkgconfigdir}/zeitgeist-2.0.pc | |
190 | ||
191 | %files -n python-%{name} | |
192 | %defattr(644,root,root,755) | |
193 | %{py_sitescriptdir}/zeitgeist | |
194 | %{_datadir}/zeitgeist/ontology | |
195 | ||
196 | %files -n vala-zeitgeist | |
197 | %defattr(644,root,root,755) | |
198 | %{_datadir}/vala/vapi/zeitgeist-2.0.deps | |
199 | %{_datadir}/vala/vapi/zeitgeist-2.0.vapi | |
200 | %{_datadir}/vala/vapi/zeitgeist-datamodel-2.0.vapi | |
201 | ||
202 | %files -n bash-completion-zeitgeist | |
203 | %defattr(644,root,root,755) | |
204 | %{bash_compdir}/zeitgeist-daemon |