tracker-vl.spec 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. Summary: An object database, tag/metadata database, search tool and indexer
  2. Summary(ja): オブジェクト/タグ/メタデータデータベースおよび検索ツール
  3. Name: tracker
  4. Version: 0.8.16
  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.8/tracker-%{version}.tar.bz2
  10. Patch0: tracker-ldfind.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. BuildRequires: glib2-devel >= 2.24.0
  13. BuildRequires: gtk2-devel >= 2.20.0
  14. BuildRequires: gnome-panel-devel
  15. BuildRequires: gmime-devel >= 2.4, poppler-devel, gettext, file
  16. BuildRequires: gnome-desktop-devel, gamin-devel
  17. BuildRequires: libexif-devel, libgsf-devel, totem-pl-parser-devel
  18. BuildRequires: gstreamer-devel
  19. BuildRequires: desktop-file-utils, intltool
  20. BuildRequires: raptor-devel >= 1.4.18
  21. BuildRequires: sqlite3-devel
  22. BuildRequires: dbus-devel >= 1.0
  23. BuildRequires: dbus-glib-devel >= 0.78
  24. BuildRequires: libgnome-devel >= 2.13.2
  25. BuildRequires: libgnomeui-devel >= 2.13.7
  26. BuildRequires: libSM-devel
  27. BuildRequires: libnotify-devel >= 0.4.3
  28. BuildRequires: libuuid-devel
  29. BuildRequires: vala-devel
  30. BuildRequires: libgee-devel
  31. BuildRequires: upower-devel
  32. BuildRequires: gnome-applets
  33. BuildRequires: libgee-devel >= 0.3
  34. ## BuildRequires: autoconf, automake
  35. %description
  36. Tracker is a powerful desktop-neutral first class object database,
  37. tag/metadata database, search tool and indexer.
  38. It consists of a common object database that allows entities to have an
  39. almost infinte number of properties, metadata (both embedded/harvested as
  40. well as user definable), a comprehensive database of keywords/tags and
  41. links to other entities.
  42. It provides additional features for file based objects including context
  43. linking and audit trails for a file object.
  44. It has the ability to index, store, harvest metadata. retrieve and search
  45. all types of files and other first class objects
  46. %package devel
  47. Summary: Headers for developing programs that will use %{name}
  48. Group: Development/Libraries
  49. Requires: %{name} = %{version}-%{release}
  50. Requires: pkgconfig
  51. Requires: dbus-glib-devel
  52. %description devel
  53. This package contains the static libraries and header files needed for
  54. developing with tracker
  55. %package search-tool
  56. Summary: Tracker search tool(s)
  57. Group: User Interface/Desktops
  58. Requires: %{name} = %{version}-%{release}
  59. %description search-tool
  60. Graphical frontend to tracker search facilities. This has dependencies on
  61. GNOME libraries
  62. %prep
  63. %setup -q
  64. ## %patch0 -p0 -b .ld
  65. # remove shebangs from the python files as none should be executable scripts
  66. ## sed -e '/^#!\//,1 d' -i python/deskbar-handler/*.py
  67. %build
  68. ## libtoolize --force --copy
  69. ## intltoolize --copy --force
  70. ## autoreconf -i -f
  71. %configure --disable-static \
  72. --enable-video-extractor=external \
  73. --enable-tracker-search-tool=yes \
  74. --enable-tracker-search-bar=yes
  75. # Disable rpath
  76. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  77. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  78. # make %{?_smp_mflags} fails
  79. # %__make
  80. make %{?_smp_mflags}
  81. %install
  82. rm -rf %{buildroot}
  83. make DESTDIR=%{buildroot} install
  84. mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
  85. echo "%{_libdir}/tracker-0.8" \
  86. > %{buildroot}%{_sysconfdir}/ld.so.conf.d/tracker-%{_arch}.conf
  87. desktop-file-install --delete-original \
  88. --vendor="" \
  89. --dir=%{buildroot}%{_datadir}/applications \
  90. %{buildroot}%{_datadir}/applications/%{name}-search-tool.desktop
  91. rm -rf %{buildroot}%{_libdir}/*.{a,la}
  92. rm -rf %{buildroot}%{_datadir}/tracker-tests
  93. %find_lang %{name}
  94. %clean
  95. rm -rf %{buildroot}
  96. %post
  97. /sbin/ldconfig
  98. touch --no-create %{_datadir}/icons/hicolor
  99. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  100. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  101. fi
  102. %postun
  103. /sbin/ldconfig
  104. touch --no-create %{_datadir}/icons/hicolor
  105. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  106. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  107. fi
  108. %files -f %{name}.lang
  109. %defattr(-, root, root, -)
  110. %doc AUTHORS ChangeLog COPYING NEWS README
  111. ### %doc %{_datadir}/gtk-doc/html/libtracker-common/
  112. ### %doc %{_datadir}/gtk-doc/html/libtracker-module/
  113. %{_bindir}/tracker*
  114. %exclude %{_bindir}/tracker-search-tool
  115. %exclude %{_bindir}/tracker-preferences
  116. ### %exclude %{_bindir}/tracker-applet
  117. %{_libexecdir}/tracker*
  118. %{_libdir}/*.so.*
  119. %{_libdir}/tracker-0.8/
  120. %{_datadir}/tracker/
  121. %{_datadir}/dbus-1/services/org.freedesktop.Tracker*
  122. %{_sysconfdir}/ld.so.conf.d/tracker-%{_arch}.conf
  123. %{_sysconfdir}/xdg/autostart/tracker*.desktop
  124. %{_mandir}/*/tracker*.gz
  125. %exclude %{_mandir}/man1/tracker-search-bar.1.gz
  126. %exclude %{_mandir}/man1/tracker-preferences.1.gz
  127. %exclude %{_mandir}/man1/tracker-search-tool.1.gz
  128. %files devel
  129. %defattr(-, root, root, -)
  130. %{_includedir}/tracker-0.8/
  131. ### %{_includedir}/libtracker-gtk/*
  132. %{_libdir}/*.so
  133. %{_libdir}/pkgconfig/*.pc
  134. %{_datadir}/vala/vapi/tracker*.vapi
  135. %{_datadir}/vala/vapi/tracker*.deps
  136. %files search-tool
  137. %defattr(-, root, root, -)
  138. %{_bindir}/tracker-search-tool
  139. %{_bindir}/tracker-preferences
  140. %{_libdir}/bonobo/servers/GNOME_Search_Bar_Applet.server
  141. %{_datadir}/icons/*/*/apps/tracker.*
  142. %{_datadir}/applications/*.desktop
  143. %{_mandir}/man1/tracker-search-bar.1.gz
  144. %{_mandir}/man1/tracker-preferences.1.gz
  145. %{_mandir}/man1/tracker-search-tool.1.gz
  146. %changelog
  147. * Sun Aug 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.16-1
  148. - new upstream release
  149. - add BuildRequires: glib2-devel, gtk2-devel, gnome-panel-devel, libgee-devel
  150. - add configure option (--enable-tracker-search-bar)
  151. * Sun Jul 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.15-1
  152. - new upstream release
  153. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.13-1
  154. - new upstream release
  155. - fix URL of Source0
  156. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.12-1
  157. - new upstream release
  158. * Sun Jun 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.11-1
  159. - new upstream release
  160. * Sun May 30 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.9-1
  161. - new upstream release
  162. - fix %install and %files (make /etc/ld.so.conf.d/tracker-%{_arch}.conf)
  163. * Sun May 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.6-1
  164. - new upstream release
  165. * Sun Apr 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.3-1
  166. - new upstream release
  167. - add BuildRequires: upower-devel, gnome-applets
  168. - change BuildRequires: dbus-glib -> dbus-glib-devel
  169. * Sun Mar 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-1
  170. - new upstream release
  171. - add BuildRequires: libgnome-devel, libgnomeui-devel, libSM-devel, libnotify-devel, libuuid-devel, libgee-devel
  172. - fix BuildRequires: gmime-devel >= 2.4
  173. - add configure option (--enable-tracker-search-tool)
  174. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.91-1
  175. - new upstream release
  176. * Sun Dec 14 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.6-2
  177. - rebuild with poppler-0.10.2
  178. - spec in UTF-8
  179. * Mon Mar 31 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.6-1
  180. - new upstream release
  181. - update Patch1
  182. - drop Patch10 (no more necessary)
  183. - add %%{_sysconfdir}/xdg/autostart/tracker-applet.desktop
  184. - remove --enable-external-sqlite option (no more bundled sqlite exist)
  185. - apply new versioning policy
  186. * Mon Sep 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.2-0vl1
  187. - new upstream release
  188. * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.4-0vl2
  189. - add Patch10 to fix selecting video-extractor
  190. - use external video extractor(totem) instead of gstreamer/xine
  191. * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.4-0vl1
  192. - initial build for Vine Linux
  193. * Fri Mar 30 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.4-6
  194. - Ship both autostart desktop files in the main package (BZ #233323)
  195. * Tue Feb 13 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.4-3
  196. - Package the deskbar plugin properly (BZ #228308)
  197. * Mon Jan 29 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.4-2
  198. - Split out tracker-search-tool sub-packages, for the GUI facility
  199. - Add proper requires for the -devel subpackage
  200. - Deal with the rpmlint complaints on rpath
  201. * Sat Jan 27 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.4-1
  202. - Update to 0.5.4
  203. * Tue Dec 26 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.3-1
  204. - Update to 0.5.3
  205. * Mon Nov 27 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.2-2
  206. - Apply patch on Makefile.am instead of Makefile.in
  207. - Add libtool to BR
  208. * Mon Nov 06 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.2-1
  209. - Update to 0.5.2
  210. * Mon Nov 06 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.1-1
  211. - Update to new version
  212. * Mon Nov 06 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-7
  213. - Have the devel subpackage require pkgconfig
  214. - Make the description field not have more than 76 characters on a line
  215. - Fix up the RPM group
  216. * Mon Nov 06 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-6
  217. - Explicitly require dbus-devel and dbus-glib (needed for FC < 6)
  218. * Sun Nov 05 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-5
  219. - Remove unneeded BRs (gnome-utils-devel and openssl-devel)
  220. * Sun Nov 05 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-4
  221. - Add autostart desktop file.
  222. - Edit the package description as suggested in review
  223. * Sat Nov 04 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-3
  224. - More cleaups to the spec file.
  225. * Sat Nov 04 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-2
  226. - Add needed BRs
  227. * Sat Nov 04 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-1
  228. - Initial packaging for Fedora Extras