tracker-vl.spec 7.8 KB

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