tracker-vl.spec 11 KB

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