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