author | convert-repo |
Tue, 28 Sep 2010 11:41:29 +0000 | |
changeset 20122 | 34a34bffcb68 |
parent 20109 | 234786f0a6c7 |
child 20154 | 21bfc321b6da |
permissions | -rw-r--r-- |
11516 | 1 |
# |
2 |
# spec file for package tracker |
|
3 |
# |
|
11670 | 4 |
# Copyright 2008 Sun Microsystems, Inc. |
11516 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
20107 | 8 |
%define owner liyuan |
11516 | 9 |
# |
10 |
||
17852 | 11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16425 | 12 |
|
14402 | 13 |
%include l10n.inc |
11516 | 14 |
Name: tracker |
14542 | 15 |
License: GPL v2 |
11516 | 16 |
Group: Applications/System |
15821 | 17 |
Version: 0.6.95 |
16681 | 18 |
#### DO NOT BUMP MODULE TO 0.7.0 AS IT'S DEPENDENCY ARE NOT READY |
11516 | 19 |
Release: 1 |
20 |
Distribution: Java Desktop System |
|
17865 | 21 |
Vendor: Gnome Community |
11516 | 22 |
URL: http://www.tracker-project.org |
23 |
Summary: Desktop search tool |
|
15463 | 24 |
Source: ftp://ftp.gnome.org/pub/GNOME/sources/tracker/0.6/tracker-%{version}.tar.gz |
14402 | 25 |
Source1: l10n-configure.sh |
26 |
Source2: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
|
20109 | 27 |
# date:2008-01-23 owner:liyuan type:branding |
15379
a9ca766958d3
delete old patch for tracker, and reset patch index
jerrytan
parents:
15329
diff
changeset
|
28 |
Patch1: %{name}-01-disable-autostart.diff |
20109 | 29 |
# date:2008-01-23 owner:liyuan type:branding |
15379
a9ca766958d3
delete old patch for tracker, and reset patch index
jerrytan
parents:
15329
diff
changeset
|
30 |
Patch2: %{name}-02-man.diff |
20109 | 31 |
# date:2008-08-22 owner:liyuan type:branding bugster:6723896 |
15379
a9ca766958d3
delete old patch for tracker, and reset patch index
jerrytan
parents:
15329
diff
changeset
|
32 |
Patch3: tracker-03-removetag.diff |
13553 | 33 |
# date:2008-09-12 owner:jedy type:branding |
15379
a9ca766958d3
delete old patch for tracker, and reset patch index
jerrytan
parents:
15329
diff
changeset
|
34 |
Patch4: tracker-04-menu-entries.diff |
20109 | 35 |
# date:2008-10-27 owner:liyuan type:branding |
15379
a9ca766958d3
delete old patch for tracker, and reset patch index
jerrytan
parents:
15329
diff
changeset
|
36 |
Patch5: tracker-05-disable-home-index.diff |
20109 | 37 |
# date:2009-02-24 owner:liyuan type:branding |
15379
a9ca766958d3
delete old patch for tracker, and reset patch index
jerrytan
parents:
15329
diff
changeset
|
38 |
Patch6: %{name}-06-upgrade.diff |
20109 | 39 |
# date:2009-03-04 owner:liyuan type:branding |
15379
a9ca766958d3
delete old patch for tracker, and reset patch index
jerrytan
parents:
15329
diff
changeset
|
40 |
Patch7: %{name}-07-replace-odt2txt-with-o3read.diff |
20109 | 41 |
# date:2009-03-30 owner:liyuan type:branding |
15548 | 42 |
Patch8: %{name}-08-strcasestr.diff |
20109 | 43 |
# date:2009-09-24 owner:liyuan type:branding |
16629 | 44 |
Patch9: tracker-09-ugrade_to_gmime2.4.diff |
20109 | 45 |
# date:2009-11-13 owner:liyuan type:branding |
16949 | 46 |
Patch10: tracker-10-web-history-module.diff |
17706 | 47 |
# date:2010-03-13 owner:chrisk type:bug |
48 |
Patch11: tracker-11-gmime.diff |
|
16629 | 49 |
|
11516 | 50 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
51 |
||
52 |
BuildRequires: gmime-devel, poppler-devel, gettext |
|
53 |
BuildRequires: gnome-desktop-devel, gamin-devel |
|
54 |
BuildRequires: libexif-devel, libgsf-devel, gstreamer-devel |
|
55 |
BuildRequires: desktop-file-utils, intltool |
|
56 |
BuildRequires: sqlite-devel |
|
57 |
BuildRequires: dbus-devel, dbus-glib |
|
58 |
||
59 |
||
60 |
%description |
|
61 |
Tracker is a powerful desktop-neutral first class object database, |
|
62 |
tag/metadata database, search tool and indexer. |
|
63 |
||
64 |
It consists of a common object database that allows entities to have an |
|
65 |
almost infinte number of properties, metadata (both embedded/harvested as |
|
66 |
well as user definable), a comprehensive database of keywords/tags and |
|
67 |
links to other entities. |
|
68 |
||
69 |
It provides additional features for file based objects including context |
|
70 |
linking and audit trails for a file object. |
|
71 |
||
72 |
It has the ability to index, store, harvest metadata. retrieve and search |
|
73 |
all types of files and other first class objects |
|
74 |
||
75 |
%package devel |
|
76 |
Summary: Headers for developing programs that will use %{name} |
|
77 |
Group: Development/Libraries |
|
78 |
Requires: %{name} = %{version}-%{release} |
|
79 |
Requires: pkgconfig |
|
80 |
||
81 |
%description devel |
|
82 |
This package contains the static libraries and header files needed for |
|
83 |
developing with tracker |
|
84 |
||
85 |
%prep |
|
86 |
%setup -q |
|
14772 | 87 |
bash %SOURCE1 --enable-sun-linguas |
14402 | 88 |
bzcat %SOURCE2 | tar xf - |
89 |
cd po-sun; make; cd .. |
|
90 |
||
15379
a9ca766958d3
delete old patch for tracker, and reset patch index
jerrytan
parents:
15329
diff
changeset
|
91 |
%patch1 -p1 |
11516 | 92 |
%patch2 -p1 |
12966
a28c5890b40c
Add ARC comment into man page for realplayer,libgc,gthumb,tracker
jerrytan
parents:
12788
diff
changeset
|
93 |
%patch3 -p1 |
15379
a9ca766958d3
delete old patch for tracker, and reset patch index
jerrytan
parents:
15329
diff
changeset
|
94 |
%patch4 -p1 |
a9ca766958d3
delete old patch for tracker, and reset patch index
jerrytan
parents:
15329
diff
changeset
|
95 |
%patch5 -p1 |
a9ca766958d3
delete old patch for tracker, and reset patch index
jerrytan
parents:
15329
diff
changeset
|
96 |
%patch6 -p1 |
a9ca766958d3
delete old patch for tracker, and reset patch index
jerrytan
parents:
15329
diff
changeset
|
97 |
%patch7 -p1 |
15548 | 98 |
%patch8 -p1 |
16629 | 99 |
%patch9 -p1 |
17249 | 100 |
%patch10 -p1 |
17706 | 101 |
%patch11 -p1 |
11516 | 102 |
|
103 |
%build |
|
104 |
%ifos linux |
|
105 |
if [ -x /usr/bin/getconf ]; then |
|
106 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
107 |
fi |
|
108 |
%else |
|
109 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
110 |
%endif |
|
111 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
112 |
CPUS=1 |
|
113 |
fi |
|
114 |
||
115 |
intltoolize --force --automake |
|
12031 | 116 |
|
117 |
bash -x %SOURCE1 --enable-copyright |
|
118 |
||
11516 | 119 |
libtoolize --force |
120 |
aclocal $ACLOCAL_FLAGS -I . |
|
121 |
autoheader |
|
122 |
automake -a -c -f |
|
123 |
autoconf |
|
124 |
||
125 |
./configure --prefix=%{_prefix} \ |
|
126 |
--bindir=%{_bindir} \ |
|
127 |
--mandir=%{_mandir} \ |
|
128 |
--libdir=%{_libdir} \ |
|
15329 | 129 |
--libexecdir=%{_bindir} \ |
11516 | 130 |
--datadir=%{_datadir} \ |
131 |
--includedir=%{_includedir} \ |
|
132 |
--sysconfdir=%{_sysconfdir} \ |
|
133 |
--disable-warnings \ |
|
134 |
--enable-external-sqlite \ |
|
15732 | 135 |
--disable-evolution-push-module |
11516 | 136 |
|
137 |
make -j $CPUS |
|
138 |
||
139 |
%install |
|
140 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
141 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
142 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
143 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
|
144 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' |
|
145 |
||
146 |
%clean |
|
147 |
rm -rf $RPM_BUILD_ROOT |
|
148 |
||
149 |
%post |
|
150 |
/sbin/ldconfig |
|
151 |
||
152 |
%postun |
|
153 |
/sbin/ldconfig |
|
154 |
||
155 |
%files |
|
156 |
%defattr(-, root, root) |
|
157 |
%doc AUTHORS ChangeLog COPYING NEWS README |
|
158 |
%{_bindir}/htmless |
|
159 |
%{_bindir}/tracker* |
|
160 |
%{_datadir}/tracker/ |
|
161 |
%{_datadir}/pixmaps/tracker/ |
|
15329 | 162 |
%{_datadir}/dbus-1/services/org.freedesktop.Tracker.* |
163 |
%{_datadir}/gtk-doc/ |
|
164 |
%{_libexecdir}/tracker* |
|
11516 | 165 |
%{_libdir}/*.so.* |
166 |
%{_mandir}/man1/tracker*.1.gz |
|
167 |
%{_sysconfdir}/xdg/autostart/trackerd.desktop |
|
168 |
||
169 |
%files devel |
|
170 |
%defattr(-, root, root) |
|
171 |
%{_includedir}/tracker* |
|
172 |
%{_libdir}/*.so |
|
173 |
%{_libdir}/pkgconfig/*.pc |
|
174 |
||
175 |
%changelog |
|
17706 | 176 |
* Sat Mar 13 2010 - [email protected] |
177 |
- Add tracker-11-gmime.diff. |
|
15628 | 178 |
* Wed Apr 15 2009 - [email protected] |
179 |
- Bump to 0.6.93 |
|
15329 | 180 |
* Wed Mar 04 2009 - [email protected] |
181 |
- Add tracker-18-replace-odt2txt-with-o3read.diff to use o3read until odt2txt introduced |
|
182 |
* Tue Feb 24 2009 - [email protected] |
|
183 |
- Add tracker-17-upgrade.diff to upgrade to tracker0.6.90 |
|
15105 | 184 |
* Mon Feb 16 2009 - [email protected] |
185 |
- Add tracker-16-extract-jpeg-core-dump.diff to fix bug 6802570 |
|
186 |
* Fri Feb 06 2009 - [email protected] |
|
187 |
- Add tracker-15-libumem-check.diff to fix bug 6763771 |
|
14772 | 188 |
* Mon Dec 15 2008 - [email protected] |
189 |
- Apply po.diff before l10n tarball is extracted. |
|
14402 | 190 |
* Wed Oct 01 2008 - [email protected] |
191 |
- Add l10n tarball. |
|
13553 | 192 |
* Fri Sep 12 2008 - [email protected] |
193 |
- Add tracker-12-menu-entries.diff. |
|
13109 | 194 |
* Wed Aug 13 2008 - [email protected] |
195 |
- Add tracker-10-po.diff from community trunk. |
|
11775 | 196 |
* Mon Mar 03 2008 - [email protected] |
197 |
- Bump to 0.6.6 |
|
198 |
- Remove upstreamed patch r1071-latest.diff and firefox-history.diff, reorder |
|
11732 | 199 |
* Wed Feb 27 2008 - [email protected] |
200 |
- Update comment for thunderbird.diff and firefox-history.diff to type:feature |
|
11715 | 201 |
* Tue Feb 26 2008 - [email protected] |
202 |
- Update comment for r1071-latest.diff to type:feature state:upstream |
|
11516 | 203 |
* Wed Jan 23 2008 - [email protected] |
204 |
- Remove upstreamed patch preferences-explicit-apply.diff |
|
205 |
- Add temporary patch tp-reindex.diff |
|
206 |
* Tue Jan 22 2008 - [email protected] |
|
207 |
- Add patch preferences-explicit-apply.diff |
|
208 |
- Add patch evo-reload.diff |
|
209 |
- Add patch man.diff |
|
210 |
- Rename r1071-r1092.diff to r1071-latest.diff |
|
211 |
- Reorder patches. |
|
212 |
* Thu Jan 03 2008 - [email protected] |
|
213 |
- Add patch disable-autostart.diff |
|
214 |
- Add patch check-remote.diff |
|
215 |
- Add patch r1071-r1092.diff |
|
216 |
* Sat Nov 17 2007 - [email protected] |
|
217 |
- Unbump to 0.6.3 and remove obsolete patch, 02-thunderbird. |
|
218 |
* Fri Nov 02 2007 - [email protected] |
|
219 |
- Initial version, spilit from SFEtracker.spec |