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