tracker-vl.spec 12 KB

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