tracker-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  1. Summary: An object database, tag/metadata database, search tool and indexer
  2. Summary(ja): オブジェクト/タグ/メタデータデータベースおよび検索ツール
  3. Name: tracker
  4. Version: 1.2.4
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: Applications/System
  8. URL: http://www.gnome.org/projects/tracker/
  9. Source0: http://ftp.gnome.org/pub/GNOME/sources/tracker/1.2/tracker-%{version}.tar.xz
  10. Patch0: tracker-0.12.3-sched.patch
  11. Patch1: tracker-1.2.3-revert-error_message.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: glib2-devel >= 2.24.0
  14. BuildRequires: gtk3-devel >= 3.0.0
  15. #BuildRequires: gnome-panel-devel
  16. BuildRequires: gmime-devel >= 2.4
  17. BuildRequires: gstreamer1-devel
  18. BuildRequires: gstreamer1-plugins-base-devel
  19. BuildRequires: poppler-devel
  20. BuildRequires: gettext
  21. BuildRequires: file
  22. BuildRequires: gnome-desktop-devel, gamin-devel
  23. BuildRequires: libexif-devel, libgsf-devel, totem-pl-parser-devel
  24. BuildRequires: desktop-file-utils, intltool
  25. BuildRequires: raptor-devel >= 1.4.18
  26. BuildRequires: sqlite3-devel
  27. BuildRequires: dbus-devel >= 1.0
  28. BuildRequires: dbus-glib-devel >= 0.78
  29. BuildRequires: libgnome-devel >= 2.13.2
  30. BuildRequires: libgnomeui-devel >= 2.13.7
  31. BuildRequires: libSM-devel
  32. BuildRequires: libnotify-devel >= 0.4.3
  33. BuildRequires: libuuid-devel
  34. BuildRequires: NetworkManager-glib-devel
  35. BuildRequires: vala-devel
  36. BuildRequires: libgee-devel
  37. BuildRequires: upower-devel
  38. BuildRequires: libgee-devel >= 0.3
  39. BuildRequires: nautilus-devel
  40. BuildRequires: libicu-devel
  41. BuildRequires: libjpeg-turbo-devel
  42. BuildRequires: giflib-devel
  43. BuildRequires: libtiff-devel
  44. BuildRequires: exempi-devel
  45. BuildRequires: enca-devel
  46. BuildRequires: taglib-devel
  47. BuildRequires: libgxps-devel
  48. BuildRequires: firefox
  49. BuildRequires: thunderbird
  50. ## BuildRequires: autoconf, automake
  51. Requires: %{name}-libs = %{version}-%{release}
  52. Vendor: Project Vine
  53. Distribution: Vine Linux
  54. %description
  55. Tracker is a powerful desktop-neutral first class object database,
  56. tag/metadata database, search tool and indexer.
  57. It consists of a common object database that allows entities to have an
  58. almost infinte number of properties, metadata (both embedded/harvested as
  59. well as user definable), a comprehensive database of keywords/tags and
  60. links to other entities.
  61. It provides additional features for file based objects including context
  62. linking and audit trails for a file object.
  63. It has the ability to index, store, harvest metadata. retrieve and search
  64. all types of files and other first class objects
  65. %package devel
  66. Summary: Headers for developing programs that will use %{name}
  67. Group: Development/Libraries
  68. Requires: %{name}-libs = %{version}-%{release}
  69. Requires: pkgconfig
  70. Requires: dbus-glib-devel
  71. %description devel
  72. This package contains the static libraries and header files needed for
  73. developing with tracker
  74. %package libs
  75. Summary: Libraries for %{name}
  76. Group: System Environment/Libraries
  77. %description libs
  78. The %{name}-libs package contains the runtime shared libraries for %{name}
  79. %package docs
  80. Summary: Documentation for tracker
  81. Group: Documentation
  82. Obsoletes: %{name}-doc < 0.15.0
  83. Provides: %{name}-doc = 0.15.0
  84. Requires: %{name} = %{version}-%{release}
  85. BuildArch: noarch
  86. %description docs
  87. This package contains documentation for tracker.
  88. %package search-tool
  89. Summary: Tracker search tool(s)
  90. Group: User Interface/Desktops
  91. Requires: %{name} = %{version}-%{release}
  92. %description search-tool
  93. Graphical frontend to tracker search facilities. This has dependencies on
  94. GNOME libraries
  95. %prep
  96. %setup -q
  97. %patch0 -p1 -b .sched
  98. %patch1 -p1 -b .errormsg
  99. # remove shebangs from the python files as none should be executable scripts
  100. ## sed -e '/^#!\//,1 d' -i python/deskbar-handler/*.py
  101. sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
  102. %build
  103. #libtoolize --force --copy
  104. #intltoolize --copy --force
  105. #autoreconf -if
  106. %configure \
  107. --disable-static \
  108. --disable-tracker-search-bar \
  109. --with-firefox-plugin-dir=%{_libdir}/firefox/extensions \
  110. --with-thunderbird-plugin-dir=%{_libdir}/thunderbird/extensions
  111. make %{?_smp_mflags}
  112. %install
  113. rm -rf %{buildroot}
  114. make DESTDIR=%{buildroot} install
  115. mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
  116. echo "%{_libdir}/tracker-0.16" \
  117. > %{buildroot}%{_sysconfdir}/ld.so.conf.d/tracker-%{_arch}.conf
  118. desktop-file-install --delete-original \
  119. --vendor="" \
  120. --dir=%{buildroot}%{_datadir}/applications \
  121. %{buildroot}%{_datadir}/applications/%{name}-needle.desktop
  122. rm -rf %{buildroot}%{_libdir}/*.{a,la}
  123. rm -f %{buildroot}%{_libdir}/nautilus/extensions-*/*.la
  124. rm -rf %{buildroot}%{_datadir}/tracker-tests
  125. %find_lang %{name}
  126. %clean
  127. rm -rf %{buildroot}
  128. %post
  129. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  130. %posttrans
  131. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  132. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  133. %postun
  134. if [ $1 -eq 0 ] ; then
  135. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  136. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  137. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  138. fi
  139. %post libs -p /sbin/ldconfig
  140. %postun libs -p /sbin/ldconfig
  141. %files -f %{name}.lang
  142. %defattr(-, root, root, -)
  143. %doc AUTHORS ChangeLog COPYING NEWS README
  144. ### %doc %{_datadir}/gtk-doc/html/libtracker-common/
  145. ### %doc %{_datadir}/gtk-doc/html/libtracker-module/
  146. %{_bindir}/tracker*
  147. %exclude %{_bindir}/tracker-needle
  148. %exclude %{_bindir}/tracker-preferences
  149. %{_libdir}/firefox/extensions/trackerfox@bustany.org
  150. %{_libdir}/thunderbird/extensions/trackerbird@bustany.org
  151. %{_libexecdir}/tracker*
  152. %{_datadir}/applications/trackerbird-launcher.desktop
  153. %{_datadir}/dbus-1/services/org.freedesktop.Tracker*
  154. %{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.*.xml
  155. %{_datadir}/tracker/
  156. %{_datadir}/xul-ext/trackerfox
  157. %{_datadir}/xul-ext/trackerbird
  158. %{_sysconfdir}/ld.so.conf.d/tracker-%{_arch}.conf
  159. %{_sysconfdir}/xdg/autostart/tracker*.desktop
  160. %{_mandir}/*/tracker*.gz
  161. %exclude %{_mandir}/man1/tracker-preferences.1.gz
  162. %exclude %{_mandir}/man1/tracker-needle.1.gz
  163. %files libs
  164. %defattr(-, root, root, -)
  165. %{_libdir}/*.so.*
  166. %{_libdir}/girepository-1.0/*.typelib
  167. %{_libdir}/tracker-1.0/
  168. %files devel
  169. %defattr(-, root, root, -)
  170. %{_includedir}/tracker-1.0/
  171. %{_libdir}/*.so
  172. %{_libdir}/pkgconfig/*.pc
  173. %{_datadir}/vala/vapi/tracker*.vapi
  174. %{_datadir}/vala/vapi/tracker*.deps
  175. %{_datadir}/gir-1.0/*.gir
  176. %files docs
  177. %defattr(-, root, root, -)
  178. %{_datadir}/gtk-doc/html/libtracker-control
  179. %{_datadir}/gtk-doc/html/libtracker-miner
  180. %{_datadir}/gtk-doc/html/libtracker-sparql
  181. %files search-tool
  182. %defattr(-, root, root, -)
  183. %{_bindir}/tracker-needle
  184. %{_bindir}/tracker-preferences
  185. %{_libdir}/nautilus/extensions-3.0/*.so
  186. %{_datadir}/appdata/tracker-needle.appdata.xml
  187. %{_datadir}/appdata/tracker-preferences.appdata.xml
  188. %{_datadir}/applications/*.desktop
  189. %{_datadir}/icons/*/*/apps/tracker.*
  190. %{_mandir}/man1/tracker-preferences.1.gz
  191. %{_mandir}/man1/tracker-needle.1.gz
  192. %changelog
  193. * Sun Nov 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-1
  194. - new upstream release
  195. - add Patch1 (tracker-1.2.3-revert-error_message.patch)
  196. * Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-2
  197. - rebuild with upower-0.99.1
  198. * Sun Sep 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1
  199. - new upstream release
  200. * Sun Aug 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-1
  201. - new upstream release
  202. * Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-3
  203. - rebuild with poppler-0.26.2
  204. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-2
  205. - rebuild with libarchive-3.1.2
  206. * Fri May 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1
  207. - new upstream release
  208. * Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-2
  209. - rebuild with poppler-0.24.5
  210. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1
  211. - new upstream release
  212. * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16.4-2
  213. - rebuild with VineSeed environment
  214. * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16.4-1
  215. - new upstream release
  216. * Sat Nov 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16.3-1
  217. - new upstream release
  218. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16.2-2
  219. - rebuild with icu-51.2
  220. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16.2-1
  221. - new upstream release
  222. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16.1-1
  223. - new upstream release
  224. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16.0-1
  225. - new upstream release
  226. - remove BuildRequires: gnome-panel-devel, gnome-applets
  227. - change BuildRequires: gstreamer1-devel instead of gstreamer-devel
  228. - add BuildRequires: libjpeg-turbo-devel, giflib-devel, libtiff-devel, exempi-devel, enca-devel, taglib-devel, libgxps-devel
  229. - change BuildRequires: gstreamer1-plugins-base-devel instead of gstreamer-plugins-base-devel
  230. - change to %%{name}-docs subpackage from %%{name}-docs
  231. * Sun Feb 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.5-1
  232. - new upstream release
  233. * Fri Nov 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.4-1
  234. - new upstream release
  235. * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.3-1
  236. - new upstream release
  237. * Sat Sep 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.2-2
  238. - create -libs subpackage
  239. - add BuildRequires: firefox, thunderbird
  240. * Sun Jul 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.2-1
  241. - new upstream release
  242. * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.1-1
  243. - new upstream release
  244. * Wed Apr 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.0-1
  245. - new upstream release
  246. * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.9-1
  247. - new upstream release
  248. * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.7-1
  249. - new upstream release
  250. * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.4-1
  251. - new upstream release
  252. - create %%{name}-doc sub package
  253. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.3-1
  254. - new upstream release
  255. - add Patch0 (tracker-0.12.3-sched.patch)
  256. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.2-1
  257. - new upstream release
  258. - add BuildRequires: gstreamer-devel, gstreamer-plugins-base-devel, NetworkManager-glib-devel
  259. - drop Patch0
  260. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.25-1
  261. - new upstream release
  262. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.23-1
  263. - new upstream release
  264. * Wed Jul 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.22-1
  265. - new upstream release
  266. - add BuildRequires: libicu-devel
  267. * Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.18-1
  268. - new upstream release
  269. - add Patch0 (tracker-0.8.18-tracker_spawn.patch)
  270. - delete Patch1
  271. * Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.16-3
  272. - rebuilt with poppler-0.16.3
  273. * Sat Oct 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.16-2
  274. - rebuild with poppler-0.14.2
  275. * Sun Aug 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.16-1
  276. - new upstream release
  277. - add BuildRequires: glib2-devel, gtk2-devel, gnome-panel-devel, libgee-devel
  278. - add configure option (--enable-tracker-search-bar)
  279. * Sun Jul 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.15-1
  280. - new upstream release
  281. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.13-1
  282. - new upstream release
  283. - fix URL of Source0
  284. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.12-1
  285. - new upstream release
  286. * Sun Jun 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.11-1
  287. - new upstream release
  288. * Sun May 30 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.9-1
  289. - new upstream release
  290. - fix %install and %files (make /etc/ld.so.conf.d/tracker-%{_arch}.conf)
  291. * Sun May 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.6-1
  292. - new upstream release
  293. * Sun Apr 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.3-1
  294. - new upstream release
  295. - add BuildRequires: upower-devel, gnome-applets
  296. - change BuildRequires: dbus-glib -> dbus-glib-devel
  297. * Sun Mar 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-1
  298. - new upstream release
  299. - add BuildRequires: libgnome-devel, libgnomeui-devel, libSM-devel, libnotify-devel, libuuid-devel, libgee-devel
  300. - fix BuildRequires: gmime-devel >= 2.4
  301. - add configure option (--enable-tracker-search-tool)
  302. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.91-1
  303. - new upstream release
  304. * Sun Dec 14 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.6-2
  305. - rebuild with poppler-0.10.2
  306. - spec in UTF-8
  307. * Mon Mar 31 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.6-1
  308. - new upstream release
  309. - update Patch1
  310. - drop Patch10 (no more necessary)
  311. - add %%{_sysconfdir}/xdg/autostart/tracker-applet.desktop
  312. - remove --enable-external-sqlite option (no more bundled sqlite exist)
  313. - apply new versioning policy
  314. * Mon Sep 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.2-0vl1
  315. - new upstream release
  316. * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.4-0vl2
  317. - add Patch10 to fix selecting video-extractor
  318. - use external video extractor(totem) instead of gstreamer/xine
  319. * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.4-0vl1
  320. - initial build for Vine Linux
  321. * Fri Mar 30 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.4-6
  322. - Ship both autostart desktop files in the main package (BZ #233323)
  323. * Tue Feb 13 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.4-3
  324. - Package the deskbar plugin properly (BZ #228308)
  325. * Mon Jan 29 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.4-2
  326. - Split out tracker-search-tool sub-packages, for the GUI facility
  327. - Add proper requires for the -devel subpackage
  328. - Deal with the rpmlint complaints on rpath
  329. * Sat Jan 27 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.4-1
  330. - Update to 0.5.4
  331. * Tue Dec 26 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.3-1
  332. - Update to 0.5.3
  333. * Mon Nov 27 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.2-2
  334. - Apply patch on Makefile.am instead of Makefile.in
  335. - Add libtool to BR
  336. * Mon Nov 06 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.2-1
  337. - Update to 0.5.2
  338. * Mon Nov 06 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.1-1
  339. - Update to new version
  340. * Mon Nov 06 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-7
  341. - Have the devel subpackage require pkgconfig
  342. - Make the description field not have more than 76 characters on a line
  343. - Fix up the RPM group
  344. * Mon Nov 06 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-6
  345. - Explicitly require dbus-devel and dbus-glib (needed for FC < 6)
  346. * Sun Nov 05 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-5
  347. - Remove unneeded BRs (gnome-utils-devel and openssl-devel)
  348. * Sun Nov 05 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-4
  349. - Add autostart desktop file.
  350. - Edit the package description as suggested in review
  351. * Sat Nov 04 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-3
  352. - More cleaups to the spec file.
  353. * Sat Nov 04 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-2
  354. - Add needed BRs
  355. * Sat Nov 04 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-1
  356. - Initial packaging for Fedora Extras