tracker-vl.spec 6.8 KB

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