author | jerrytan |
Sun, 22 Mar 2009 04:07:38 +0000 | |
changeset 15463 | f52b8340d2d2 |
parent 15329 | 2a88ab26cb1d |
child 15473 | 22a349d94c8c |
permissions | -rw-r--r-- |
11516 | 1 |
# |
11922 | 2 |
# spec file for packages SUNWdesktop-search |
11670 | 3 |
# |
11922 | 4 |
# includes module(s): tracker |
11670 | 5 |
# |
6 |
# Copyright 2008 Sun Microsystems, Inc. |
|
11516 | 7 |
# This file and all modifications and additions to the pristine |
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
15143
d2d90ead6862
* SUNWtgnome-tsoljdsdevmgr.spec : Update Owner format string
mattman
parents:
13661
diff
changeset
|
10 |
# Owner: jerrytan |
11516 | 11 |
# |
12 |
||
13 |
%include Solaris.inc |
|
14 |
||
11715 | 15 |
%define ff_ext_magic \{fda00e13-8c62-4f63-9d19-d168115b11ca\} |
16 |
%define tb_ext_magic \{b656ef18-fd76-45e6-95cc-8043f26361e7\} |
|
11516 | 17 |
%use tracker = tracker.spec |
18 |
||
19 |
Name: SUNWdesktop-search |
|
20 |
Summary: Desktop search tool |
|
21 |
Version: %{default_pkg_version} |
|
22 |
SUNW_BaseDir: %{_basedir} |
|
11922 | 23 |
SUNW_Copyright: %{name}.copyright |
11516 | 24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
25 |
Source1: tracker-firefox-history-xesam.xpi |
|
26 |
Source2: tracker-thunderbird.xpi |
|
11922 | 27 |
|
11516 | 28 |
%include default-depend.inc |
11715 | 29 |
Requires: SUNWdesktop-search-root |
13192 | 30 |
Requires: SUNWgnome-utility-applets |
11516 | 31 |
Requires: SUNWgnome-base-libs |
32 |
Requires: SUNWdbus |
|
33 |
Requires: SUNWzlib |
|
11734
c90208580682
change dependency for SUNWdesktop-search,since SUNWgmime rename to SUNWlibgmime
jerrytan
parents:
11715
diff
changeset
|
34 |
Requires: SUNWlibgmime |
11516 | 35 |
Requires: SUNWgamin |
11693 | 36 |
Requires: SUNWsqlite3 |
11516 | 37 |
BuildRequires: SUNWgnome-base-libs-devel |
13191 | 38 |
BuildRequires: SUNWgnome-utility-applets-devel |
11516 | 39 |
BuildRequires: SUNWdbus-devel |
11734
c90208580682
change dependency for SUNWdesktop-search,since SUNWgmime rename to SUNWlibgmime
jerrytan
parents:
11715
diff
changeset
|
40 |
BuildRequires: SUNWlibgmime-devel |
11516 | 41 |
BuildRequires: SUNWgamin-devel |
11693 | 42 |
BuildRequires: SUNWsqlite3 |
11516 | 43 |
%if %option_with_gnu_iconv |
44 |
Requires: SUNWgnu-libiconv |
|
45 |
Requires: SUNWgnu-gettext |
|
46 |
%else |
|
47 |
Requires: SUNWuiu8 |
|
48 |
%endif |
|
49 |
Requires: SUNWgnome-media |
|
50 |
Requires: SUNWpng |
|
51 |
Requires: SUNWogg-vorbis |
|
52 |
Requires: SUNWlibexif |
|
53 |
Requires: SUNWgnome-pdf-viewer |
|
54 |
Requires: SUNWlxsl |
|
12110 | 55 |
Requires: SUNWlibgsf |
12590 | 56 |
Requires: SUNWw3m |
11516 | 57 |
BuildRequires: SUNWgnome-media-devel |
58 |
BuildRequires: SUNWpng-devel |
|
59 |
BuildRequires: SUNWogg-vorbis-devel |
|
60 |
BuildRequires: SUNWlibexif-devel |
|
61 |
BuildRequires: SUNWgnome-pdf-viewer-devel |
|
62 |
BuildRequires: SUNWlxsl-devel |
|
12110 | 63 |
BuildRequires: SUNWlibgsf-devel |
11516 | 64 |
|
65 |
%package devel |
|
66 |
Summary: %{summary} - development files |
|
67 |
SUNW_BaseDir: %{_basedir} |
|
68 |
%include default-depend.inc |
|
69 |
Requires: %name |
|
70 |
||
71 |
%package root |
|
72 |
Summary: %{summary} - / filesystem |
|
73 |
SUNW_BaseDir: / |
|
74 |
%include default-depend.inc |
|
11715 | 75 |
Requires: SUNWpostrun-root |
11516 | 76 |
|
77 |
%if %build_l10n |
|
78 |
%package l10n |
|
79 |
Summary: %{summary} - l10n files |
|
80 |
SUNW_BaseDir: %{_basedir} |
|
81 |
%include default-depend.inc |
|
82 |
Requires: %{name} |
|
83 |
%endif |
|
84 |
||
11715 | 85 |
%package firefox |
86 |
Summary: %{summary} - firefox extension files |
|
87 |
SUNW_BaseDir: %{_basedir} |
|
88 |
%include default-depend.inc |
|
89 |
Requires: %name |
|
90 |
Requires: SUNWfirefox |
|
91 |
||
92 |
%package thunderbird |
|
93 |
Summary: %{summary} - thunderbird extension files |
|
94 |
SUNW_BaseDir: %{_basedir} |
|
95 |
%include default-depend.inc |
|
96 |
Requires: %name |
|
97 |
Requires: SUNWthunderbird |
|
98 |
||
11516 | 99 |
%prep |
100 |
rm -rf %name-%version |
|
101 |
mkdir -p %name-%version |
|
102 |
%tracker.prep -d %name-%version |
|
103 |
||
104 |
%build |
|
105 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
15463 | 106 |
export CFLAGS="%optflags -D__EXTENSIONS__" |
11516 | 107 |
%if %option_with_gnu_iconv |
15209 | 108 |
export CFLAGS="$CFLAGS -I/usr/gnu/include" |
109 |
export LDFLAGS="%_ldflags -L/usr/gnu/lib -R/usr/gnu/lib -lintl" |
|
11516 | 110 |
%endif |
111 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
112 |
%tracker.build -d %name-%version |
|
113 |
||
114 |
%install |
|
115 |
rm -rf $RPM_BUILD_ROOT |
|
116 |
%tracker.install -d %name-%version |
|
117 |
cd %{_builddir}/%name-%version |
|
118 |
||
119 |
# Install firefox extension |
|
15463 | 120 |
#mkdir -p $RPM_BUILD_ROOT%{_libdir}/firefox/extensions |
121 |
#cd $RPM_BUILD_ROOT%{_libdir}/firefox/extensions |
|
122 |
#mkdir %{ff_ext_magic} |
|
123 |
#cd %{ff_ext_magic} |
|
124 |
#unzip %SOURCE1 |
|
11516 | 125 |
|
11715 | 126 |
# Install thunderbird extension |
11516 | 127 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/thunderbird/extensions |
128 |
cd $RPM_BUILD_ROOT%{_libdir}/thunderbird/extensions |
|
11715 | 129 |
mkdir %{tb_ext_magic} |
130 |
cd %{tb_ext_magic} |
|
11516 | 131 |
unzip %SOURCE2 |
132 |
||
133 |
%if %build_l10n |
|
134 |
%else |
|
135 |
# REMOVE l10n FILES |
|
136 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
|
137 |
%endif |
|
138 |
||
139 |
%clean |
|
140 |
rm -rf $RPM_BUILD_ROOT |
|
141 |
||
142 |
%files |
|
13661 | 143 |
%doc -d tracker-%{tracker.version} README AUTHORS |
144 |
%doc(bzip2) -d tracker-%{tracker.version} COPYING ChangeLog NEWS po/ChangeLog |
|
13562 | 145 |
%dir %attr (0755, root, other) %{_datadir}/doc |
11516 | 146 |
%defattr (-, root, bin) |
147 |
%dir %attr (0755, root, bin) %{_bindir} |
|
148 |
%{_bindir}/* |
|
15329 | 149 |
#%dir %attr (0755, root, bin) %{_libexecdir} |
150 |
#%{_libexecdir}/* |
|
11516 | 151 |
%dir %attr (0755, root, bin) %{_libdir} |
152 |
%{_libdir}/*.so* |
|
15329 | 153 |
%{_libdir}/tracker* |
15463 | 154 |
%dir %attr (0755, root, bin) %{_libdir}/evolution |
155 |
%dir %attr (0755, root, bin) %{_libdir}/evolution/2.26 |
|
156 |
%dir %attr (0755, root, bin) %{_libdir}/evolution/2.26/plugins/ |
|
157 |
%{_libdir}/evolution/2.26/plugins/* |
|
11516 | 158 |
%dir %attr (0755, root, bin) %{_libdir}/deskbar-applet |
159 |
%dir %attr (0755, root, bin) %{_libdir}/deskbar-applet/modules-2.20-compatible |
|
160 |
%{_libdir}/deskbar-applet/modules-2.20-compatible/tracker-module.py |
|
161 |
%dir %attr (0755, root, sys) %{_datadir} |
|
162 |
%{_datadir}/tracker |
|
163 |
%dir %attr (0755, root, other) %{_datadir}/applications |
|
164 |
%{_datadir}/applications/*.desktop |
|
165 |
%dir %attr (0755, root, bin) %{_datadir}/dbus-1 |
|
166 |
%dir %attr (0755, root, bin) %{_datadir}/dbus-1/services |
|
15329 | 167 |
%{_datadir}/dbus-1/services/org.freedesktop.Tracker.* |
168 |
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc |
|
169 |
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc/html |
|
170 |
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc/html/libtracker-common |
|
171 |
%{_datadir}/gtk-doc/html/libtracker-common/* |
|
172 |
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc/html/libtracker-module |
|
173 |
%{_datadir}/gtk-doc/html/libtracker-module/* |
|
11516 | 174 |
%dir %attr (0755, root, bin) %{_mandir} |
175 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
176 |
%{_mandir}/*/* |
|
177 |
%defattr (-, root, other) |
|
178 |
%{_datadir}/icons |
|
179 |
||
180 |
%files devel |
|
181 |
%defattr (-, root, bin) |
|
182 |
%dir %attr (0755, root, bin) %{_includedir} |
|
183 |
%{_includedir}/* |
|
184 |
%dir %attr (0755, root, bin) %{_libdir} |
|
185 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig |
|
186 |
%{_libdir}/pkgconfig/* |
|
187 |
||
188 |
%files root |
|
189 |
%defattr (-, root, sys) |
|
190 |
%dir %attr (0755, root, sys) %{_sysconfdir} |
|
11715 | 191 |
%dir %attr (0755, root, sys) %{_sysconfdir}/xdg |
192 |
%dir %attr (0755, root, sys) %{_sysconfdir}/xdg/autostart |
|
193 |
%{_sysconfdir}/xdg/autostart/*.desktop |
|
11516 | 194 |
|
195 |
%if %build_l10n |
|
196 |
%files l10n |
|
197 |
%defattr (-, root, bin) |
|
198 |
%dir %attr (0755, root, sys) %{_datadir} |
|
199 |
%attr (-, root, other) %{_datadir}/locale |
|
200 |
%endif |
|
201 |
||
15463 | 202 |
#%files firefox |
203 |
#%defattr (-, root, bin) |
|
204 |
#%dir %attr (0755, root, bin) %{_libdir} |
|
205 |
#%{_libdir}/firefox |
|
11715 | 206 |
|
207 |
%files thunderbird |
|
208 |
%defattr (-, root, bin) |
|
209 |
%dir %attr (0755, root, bin) %{_libdir} |
|
210 |
%{_libdir}/thunderbird |
|
211 |
||
212 |
||
11516 | 213 |
%changelog |
13562 | 214 |
* Fri Sep 12 2008 - [email protected] |
215 |
- add doc for copyright |
|
13332 | 216 |
* Mon Sep 01 2008 - [email protected] |
217 |
- Remove extension part under %{_libdir}/firefox3 |
|
12110 | 218 |
* Mon Apr 14 2008 - [email protected] |
219 |
- Add Requires:SUNWlibgsf cause the pkg name change. |
|
11922 | 220 |
* Thu Mar 27 2008 - [email protected] |
221 |
- Add copyright file |
|
11715 | 222 |
* Tue Feb 26 2008 - [email protected] |
223 |
- Split -extension to -firefox and -thunderbird |
|
224 |
- Use macro for extension dir |
|
11693 | 225 |
* Thu Feb 21 2008 - [email protected] |
226 |
- Rename SUNWsqlite dependency to SUNWsqlite3 to match pkg from SFW. |
|
11525 | 227 |
* Fri Jan 25 2008 - [email protected] |
228 |
- Add Build/Requires SUNWgnome-utility-applets-devel so that deskbar-applet is |
|
229 |
available. This is required for the python module in tracker. |
|
11516 | 230 |
* Wed Jan 23 2008 - [email protected] |
231 |
- Add extension link to firefox3, remove it when FF3 rename to firefox. |
|
232 |
* Wed Jan 02 2008 - [email protected] |
|
233 |
- Rename from SFEtracker to SUNWdesktop-search. |
|
234 |
* Sun Nov 18 2007 - [email protected] |
|
235 |
- Add support for building on Indiana systems |
|
236 |
* Fri Nov 02 2007 - [email protected] |
|
237 |
- Split into base/tracker.spec |
|
238 |
- Remove GNOMOE 2.19/2.20 install compatible part. |
|
239 |
- Add package -extension to install firefox/thunderbird extensions. |
|
240 |
* Fri Sep 28 2007 - [email protected] |
|
241 |
- Add patch thunderbird.diff to enable thunderbird index. |
|
242 |
* Wed Sep 26 2007 - [email protected] |
|
243 |
- Bump to 0.6.3. |
|
244 |
- Move wv and libgsf to Requires. |
|
245 |
- Add patch w3m-crash to fix w3m crash on solaris. |
|
246 |
* Fri Sep 21 2007 - [email protected] |
|
247 |
- Fix install in GNOME 2.19/2.20 |
|
248 |
* Wed Sep 05 2007 - [email protected] |
|
249 |
- Bump to 0.6.2. |
|
250 |
- Move w3m to Requires. |
|
251 |
* Thu Aug 09 2007 - [email protected] |
|
252 |
- Bump to 0.6.1. |
|
253 |
* Mon Aug 06 2007 - [email protected] |
|
254 |
- Add --enable-external-sqlite |
|
255 |
* Fri Jul 24 2007 - [email protected] |
|
256 |
- Bump to 0.6.0. |
|
257 |
- Remove dependency on file. |
|
258 |
* Fri May 04 2007 - [email protected] |
|
259 |
- Add Requires to SFEsqlite |
|
260 |
- Add conditional Requires to SFEwv |
|
261 |
- Revert patch tracker-01-stdout.diff. |
|
262 |
- Add attr (0755, root, other) to %{_datadir}/pixmaps |
|
263 |
and %{_datadir}/applications |
|
264 |
* Fri May 04 2007 - [email protected] |
|
265 |
- Add conditional Require SFElibgsf SFEw3m |
|
266 |
- Remove upstreamed patch tracker-01-stdout.diff |
|
267 |
- Add URL and License. |
|
268 |
* Fri May 04 2007 - [email protected] |
|
269 |
- Initial spec |