tracker-vl.spec 12 KB

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