/[packages]/cauldron/tracker/current/SPECS/tracker.spec
ViewVC logotype

Contents of /cauldron/tracker/current/SPECS/tracker.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 35559 - (show annotations) (download)
Sun Jan 23 22:08:21 2011 UTC (13 years, 3 months ago) by pterjan
File size: 9768 byte(s)
- Drop test on mdvver
1 %define svn 0
2 %define release %mkrel 3
3
4 %define name tracker
5 %define api 0.8
6 %define major 0
7 %define libname %mklibname %{name} %api %{major}
8 %define develname %mklibname %{name} -d
9
10 %define build_evo 1
11
12 Summary: Desktop-neutral metadata-based search framework
13 Name: %{name}
14 Version: 0.8.17
15 Release: %{release}
16 %if %svn
17 Source0: %{name}-%{svn}.tar.bz2
18 %else
19 Source0: http://ftp.gnome.org/pub/GNOME/sources/%name/%{name}-%{version}.tar.bz2
20 %endif
21 Patch0: tracker-0.9.17-fix-evolution-build.patch
22 Patch1: tracker-0.8.17-poppler-0.16.patch
23 License: GPLv2+ and LGPLv2+
24 Group: Graphical desktop/GNOME
25 URL: http://www.tracker-project.org
26 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
27 BuildRequires: unac-devel
28 %if %mdvver > 201000
29 BuildRequires: UPower-devel
30 %else
31 BuildRequires: devicekit-power-devel
32 %endif
33 BuildRequires: libxine-devel
34 BuildRequires: id3lib-devel
35 BuildRequires: sqlite3-devel >= 3.6.16
36 BuildRequires: dbus-glib-devel > 0.82-1mdv2010.0
37 BuildRequires: glib2-devel >= 2.24
38 BuildRequires: gtk+2-devel >= 2.18
39 BuildRequires: gnome-panel-devel
40 BuildRequires: zlib-devel
41 BuildRequires: libgstreamer-plugins-base-devel >= 0.10
42 BuildRequires: libpoppler-devel
43 BuildRequires: pygtk2.0-devel
44 BuildRequires: libvorbis-devel
45 BuildRequires: png-devel
46 BuildRequires: libexif-devel
47 BuildRequires: libgsf-devel
48 BuildRequires: gamin-devel
49 BuildRequires: libgnome2-devel
50 BuildRequires: gnomeui2-devel
51 BuildRequires: gnome-desktop-devel
52 BuildRequires: libnotify-devel
53 BuildRequires: libtiff-devel
54 BuildRequires: libpoppler-glib-devel
55 BuildRequires: raptor-devel
56 BuildRequires: enca-devel
57 BuildRequires: libgee-devel
58 BuildRequires: libiptcdata-devel
59 BuildRequires: totem-plparser-devel
60 BuildRequires: wv2-devel
61 BuildRequires: libuuid-devel
62 BuildRequires: exempi-devel >= 2.1.0
63 BuildRequires: imagemagick
64 BuildRequires: graphviz
65 BuildRequires: intltool
66 BuildRequires: gtk-doc
67 BuildRequires: docbook-dtd412-xml
68 BuildRequires: desktop-file-utils
69 #need by patch0
70 BuildRequires: vala
71 #if %svn
72 BuildRequires: gnome-common
73 #endif
74 Requires: odt2txt
75 #gw libtracker-common is in the main package and not provided
76 %define _requires_exceptions libtracker-common
77
78 %description
79 Tracker is a framework designed to extract information and metadata about your
80 personal data so that it can be searched easily and quickly. Tracker is
81 desktop-neutral, fast and resource efficient.
82
83 %package common
84 Summary: Graphical search tool for Tracker search framework
85 Group: Graphical desktop/GNOME
86 Requires: %{name} = %{version}
87
88 %description common
89 Tracker is a tool designed to extract information and metadata about your
90 personal data so that it can be searched easily and quickly. Tracker is
91 desktop-neutral, fast and resource efficient. This package contains common
92 files for the tracker framework.
93
94 %package search-tool
95 Summary: Graphical search tool for Tracker search framework
96 Group: Graphical desktop/GNOME
97 Requires: %{name} = %{version}
98 Requires: %{name}-common = %{version}
99
100 %description search-tool
101 Tracker is a tool designed to extract information and metadata about your
102 personal data so that it can be searched easily and quickly. Tracker is
103 desktop-neutral, fast and resource efficient. This package contains the
104 GNOME-based standalone graphical search tool for the tracker framework.
105
106 %package preferences
107 Summary: Configuration tool for Tracker search framework
108 Group: Graphical desktop/GNOME
109 Requires: %{name} = %{version}
110 Requires: %{name}-common = %{version}
111
112 %description preferences
113 Tracker is a tool designed to extract information and metadata about your
114 personal data so that it can be searched easily and quickly. Tracker is
115 desktop-neutral, fast and resource efficient. This package contains the
116 GNOME-based configuration tool for the tracker framework.
117
118 %package applet
119 Summary: Panel applet for Tracker search framework
120 Group: Graphical desktop/GNOME
121 Requires: %{name} = %{version}
122 Requires: %{name}-common = %{version}
123
124 %description applet
125 Tracker is a tool designed to extract information and metadata about your
126 personal data so that it can be searched easily and quickly. Tracker is
127 desktop-neutral, fast and resource efficient. This package contains a
128 panel applet for configuring and using Tracker.
129
130 %if %build_evo
131 %package -n evolution-tracker
132 Group:Networking/Mail
133 Summary: Integrate Evolution with the Tracker desktop search
134 Requires: evolution
135 Requires: %{name} = %{version}
136 BuildRequires: evolution-devel
137 #gw libtool dep of evo:
138 BuildRequires: gnome-pilot-devel
139
140 %description -n evolution-tracker
141 Tracker is a tool designed to extract information and metadata about your
142 personal data so that it can be searched easily and quickly. Tracker is
143 desktop-neutral, fast and resource efficient. This package contains an
144 evolution plugin for Tracker integration.
145 %endif
146
147 %package -n nautilus-tracker
148 Group: Graphical desktop/GNOME
149 Summary: Nautilus integration of tracker
150 Requires: %{name} = %{version}
151 BuildRequires: nautilus-devel
152
153 %description -n nautilus-tracker
154 Tracker is a tool designed to extract information and metadata about your
155 personal data so that it can be searched easily and quickly. Tracker is
156 desktop-neutral, fast and resource efficient. This package contains an
157 nautilus plugin for Tracker integration.
158
159
160 %package -n %{libname}
161 Group: System/Libraries
162 Summary: Shared library of Tracker
163
164 %description -n %{libname}
165 Tracker is a tool designed to extract information and metadata about your
166 personal data so that it can be searched easily and quickly. Tracker is
167 desktop-neutral, fast and resource efficient.
168
169 %package -n %{develname}
170 Group: Development/C
171 Summary: Development library of Tracker
172 Requires: %{libname} = %{version}
173 Obsoletes: %{mklibname tracker 0 -d}
174 Provides: %{name}-devel = %{version}-%{release}
175
176 %description -n %{develname}
177 Tracker is a tool designed to extract information and metadata about your
178 personal data so that it can be searched easily and quickly. Tracker is
179 desktop-neutral, fast and resource efficient.
180
181 %prep
182 %if %svn
183 %setup -q -n %{name}
184 %else
185 %setup -q
186 %endif
187 %apply_patches
188 #autoreconf -fi
189
190 %build
191 %if %svn
192 ./autogen.sh
193 %endif
194 %configure2_5x --enable-gtk-doc \
195 --enable-libvorbis --enable-unac \
196 %if !%build_evo
197 --disable-miner-evolution
198 %endif
199
200 %make
201
202 %install
203 rm -rf %{buildroot}
204 %makeinstall_std
205 %find_lang %{name}
206
207 # do not start under KDE
208 desktop-file-install --dir=%{buildroot}/%{_sysconfdir}/xdg/autostart --remove-only-show-in=KDE %{buildroot}/%{_sysconfdir}/xdg/autostart/*.desktop
209
210 %clean
211 rm -rf %{buildroot}
212
213 %files -f %{name}.lang
214 %defattr(-,root,root)
215 %doc README NEWS AUTHORS ChangeLog
216 %config(noreplace) %{_sysconfdir}/xdg/autostart/tracker-miner-fs.desktop
217 %config(noreplace) %{_sysconfdir}/xdg/autostart/tracker-status-icon.desktop
218 %config(noreplace) %{_sysconfdir}/xdg/autostart/tracker-store.desktop
219 %{_bindir}/%{name}-control
220 %{_bindir}/%{name}-explorer
221 %{_bindir}/%{name}-import
222 %{_bindir}/%{name}-info
223 %{_bindir}/%{name}-search
224 %{_bindir}/%{name}-sparql
225 %{_bindir}/%{name}-status-icon
226 %{_bindir}/%{name}-stats
227 %{_bindir}/%{name}-status
228 %{_bindir}/%{name}-tag
229 %{_datadir}/%{name}
230 %{_libdir}/%{name}-%{api}
231 %_libexecdir/tracker-extract
232 %{_libexecdir}/%{name}-miner-fs
233 %{_libexecdir}/%{name}-store
234 %_libexecdir/tracker-writeback
235 %{_mandir}/man1/tracker-control.1*
236 %{_mandir}/man1/tracker-extract.1*
237 %{_mandir}/man1/tracker-import.1*
238 %{_mandir}/man1/tracker-info.1*
239 %{_mandir}/man1/tracker-miner-fs.1*
240 %{_mandir}/man1/tracker-search.1*
241 %{_mandir}/man1/tracker-sparql.1*
242 %{_mandir}/man1/tracker-stats.1*
243 %{_mandir}/man1/tracker-status.1*
244 %{_mandir}/man1/tracker-status-icon.1*
245 %{_mandir}/man1/tracker-store.1*
246 %{_mandir}/man1/tracker-tag.1*
247 %{_mandir}/man5/tracker-extract.cfg.5*
248 %{_mandir}/man5/tracker-fts.cfg.5*
249 %{_mandir}/man5/tracker-miner-fs.cfg.5*
250 %{_mandir}/man5/tracker-store.cfg.5*
251 %_datadir/dbus-1/services/org.freedesktop.Tracker1.Extract.service
252 %_datadir/dbus-1/services/org.freedesktop.Tracker1.Miner*
253 %_datadir/dbus-1/services/org.freedesktop.Tracker1.service
254
255 %files common
256 %defattr(-,root,root)
257 %{_iconsdir}/hicolor/*/apps/%{name}.*
258
259 %files search-tool
260 %defattr(-,root,root)
261 %{_bindir}/tracker-search-tool
262 %{_datadir}/applications/tracker-search-tool.desktop
263 %{_mandir}/man1/tracker-search-tool.1*
264
265 %files preferences
266 %defattr(-,root,root)
267 %{_bindir}/tracker-preferences
268 %{_datadir}/applications/tracker-preferences.desktop
269 %{_mandir}/man1/tracker-preferences.1*
270
271 %files applet
272 %defattr(-,root,root)
273 %_libdir/bonobo/servers/GNOME_Search_Bar_Applet.server
274 %_libexecdir/tracker-search-bar
275 %{_mandir}/man1/tracker-search-bar.1*
276
277 %files -n %{libname}
278 %defattr(-,root,root)
279 %{_libdir}/libtracker-client-%api.so.%{major}*
280 %{_libdir}/libtracker-extract-%api.so.%{major}*
281 %{_libdir}/libtracker-miner-%api.so.%{major}*
282
283 %files -n %{develname}
284 %defattr(-,root,root)
285 %{_libdir}/lib*.so
286 %attr(644,root,root) %{_libdir}/lib*a
287 %{_includedir}/*
288 %{_libdir}/pkgconfig/tracker-client-%{api}.pc
289 %{_libdir}/pkgconfig/tracker-extract-%{api}.pc
290 %{_libdir}/pkgconfig/tracker-miner-%{api}.pc
291 %_datadir/gtk-doc/html/libtracker-client
292 %_datadir/gtk-doc/html/libtracker-common
293 %_datadir/gtk-doc/html/libtracker-extract
294 %_datadir/gtk-doc/html/libtracker-miner
295 %_datadir/gtk-doc/html/ontology
296 %_datadir/vala/vapi/tracker-client-%api.vapi
297 %_datadir/vala/vapi/tracker-miner-%api.vapi
298 %_datadir/vala/vapi/tracker-miner-%api.deps
299 %_datadir/tracker-tests
300
301 %if %build_evo
302 %files -n evolution-tracker
303 %defattr(-,root,root)
304 %_libdir/evolution/*/plugins/liborg-freedesktop-Tracker-evolution-plugin.la
305 %_libdir/evolution/*/plugins/liborg-freedesktop-Tracker-evolution-plugin.so
306 %_libdir/evolution/*/plugins/org-freedesktop-Tracker-evolution-plugin.eplug
307 %endif
308
309 %files -n nautilus-tracker
310 %defattr(-,root,root)
311 %_libdir/nautilus/extensions-2.0/libnautilus-tracker-tags*
312
313

  ViewVC Help
Powered by ViewVC 1.1.30