11516
|
1 |
#
|
11670
|
2 |
# spec file for packages SUNWdesktop-search-libs
|
|
3 |
#
|
|
4 |
# includes module(s): libgsf, w3m
|
|
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 |
#
|
|
10 |
# Owner: halton
|
|
11 |
#
|
|
12 |
|
|
13 |
%include Solaris.inc
|
|
14 |
|
|
15 |
%use tracker = tracker.spec
|
|
16 |
|
|
17 |
Name: SUNWdesktop-search
|
|
18 |
Summary: Desktop search tool
|
|
19 |
Version: %{default_pkg_version}
|
|
20 |
SUNW_BaseDir: %{_basedir}
|
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
22 |
Source1: tracker-firefox-history-xesam.xpi
|
|
23 |
Source2: tracker-thunderbird.xpi
|
|
24 |
%include default-depend.inc
|
|
25 |
Requires: SUNWgnome-base-libs
|
11525
|
26 |
Requires: SUNWgnome-utility-applets-devel
|
11516
|
27 |
Requires: SUNWdbus
|
|
28 |
Requires: SUNWzlib
|
|
29 |
Requires: SUNWgmime
|
|
30 |
Requires: SUNWgamin
|
11693
|
31 |
Requires: SUNWsqlite3
|
11516
|
32 |
BuildRequires: SUNWgnome-base-libs-devel
|
11525
|
33 |
BuildRequires: SUNWgnome-utility-applets-devel
|
11516
|
34 |
BuildRequires: SUNWdbus-devel
|
|
35 |
BuildRequires: SUNWgmime-devel
|
|
36 |
BuildRequires: SUNWgamin-devel
|
11693
|
37 |
BuildRequires: SUNWsqlite3
|
11516
|
38 |
%if %option_with_gnu_iconv
|
|
39 |
Requires: SUNWgnu-libiconv
|
|
40 |
Requires: SUNWgnu-gettext
|
|
41 |
%else
|
|
42 |
Requires: SUNWuiu8
|
|
43 |
%endif
|
|
44 |
#Additional recommended packages
|
|
45 |
Requires: SUNWgnome-media
|
|
46 |
Requires: SUNWpng
|
|
47 |
Requires: SUNWogg-vorbis
|
|
48 |
Requires: SUNWlibexif
|
|
49 |
Requires: SUNWgnome-pdf-viewer
|
|
50 |
Requires: SUNWlxsl
|
|
51 |
Requires: SUNWdesktop-search-libs
|
|
52 |
BuildRequires: SUNWgnome-media-devel
|
|
53 |
BuildRequires: SUNWpng-devel
|
|
54 |
BuildRequires: SUNWogg-vorbis-devel
|
|
55 |
BuildRequires: SUNWlibexif-devel
|
|
56 |
BuildRequires: SUNWgnome-pdf-viewer-devel
|
|
57 |
BuildRequires: SUNWlxsl-devel
|
|
58 |
BuildRequires: SUNWdesktop-search-libs-devel
|
|
59 |
|
|
60 |
%package devel
|
|
61 |
Summary: %{summary} - development files
|
|
62 |
SUNW_BaseDir: %{_basedir}
|
|
63 |
%include default-depend.inc
|
|
64 |
Requires: %name
|
|
65 |
|
|
66 |
%package extension
|
|
67 |
Summary: %{summary} - extension files
|
|
68 |
SUNW_BaseDir: %{_basedir}
|
|
69 |
%include default-depend.inc
|
|
70 |
Requires: %name
|
|
71 |
|
|
72 |
%package root
|
|
73 |
Summary: %{summary} - / filesystem
|
|
74 |
SUNW_BaseDir: /
|
|
75 |
%include default-depend.inc
|
|
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 |
|
|
85 |
%prep
|
|
86 |
rm -rf %name-%version
|
|
87 |
mkdir -p %name-%version
|
|
88 |
%tracker.prep -d %name-%version
|
|
89 |
|
|
90 |
%build
|
|
91 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
|
|
92 |
export CFLAGS="%optflags -I/usr/gnu/include"
|
|
93 |
%if %option_with_gnu_iconv
|
|
94 |
export CFLAGS="$CFLAGS -I/usr/gnu/include -L/usr/gnu/lib -R/usr/gnu/lib -lintl"
|
|
95 |
%endif
|
|
96 |
export LDFLAGS="%_ldflags -L/usr/gnu/lib -R/usr/gnu/lib"
|
|
97 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
98 |
%tracker.build -d %name-%version
|
|
99 |
|
|
100 |
%install
|
|
101 |
rm -rf $RPM_BUILD_ROOT
|
|
102 |
%tracker.install -d %name-%version
|
|
103 |
cd %{_builddir}/%name-%version
|
|
104 |
|
|
105 |
# Install firefox extension
|
|
106 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/firefox/extensions
|
|
107 |
cd $RPM_BUILD_ROOT%{_libdir}/firefox/extensions
|
|
108 |
mkdir \{fda00e13-8c62-4f63-9d19-d168115b11ca\}
|
|
109 |
cd \{fda00e13-8c62-4f63-9d19-d168115b11ca\}
|
|
110 |
unzip %SOURCE1
|
|
111 |
# FIXME: delete this link when firefox3 is removed or it is default
|
|
112 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/firefox3/extensions
|
|
113 |
cd $RPM_BUILD_ROOT%{_libdir}/firefox3/extensions
|
|
114 |
ln -s ../../firefox/extensions/\{fda00e13-8c62-4f63-9d19-d168115b11ca\} \{fda00e13-8c62-4f63-9d19-d168115b11ca\}
|
|
115 |
|
|
116 |
|
|
117 |
# Install firefox extension
|
|
118 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/thunderbird/extensions
|
|
119 |
cd $RPM_BUILD_ROOT%{_libdir}/thunderbird/extensions
|
|
120 |
mkdir \{b656ef18-fd76-45e6-95cc-8043f26361e7\}
|
|
121 |
cd \{b656ef18-fd76-45e6-95cc-8043f26361e7\}
|
|
122 |
unzip %SOURCE2
|
|
123 |
|
|
124 |
%if %build_l10n
|
|
125 |
%else
|
|
126 |
# REMOVE l10n FILES
|
|
127 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
128 |
%endif
|
|
129 |
|
|
130 |
%clean
|
|
131 |
rm -rf $RPM_BUILD_ROOT
|
|
132 |
|
|
133 |
%files
|
|
134 |
%defattr (-, root, bin)
|
|
135 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
136 |
%{_bindir}/*
|
|
137 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
138 |
%{_libdir}/*.so*
|
|
139 |
%{_libdir}/tracker
|
|
140 |
%dir %attr (0755, root, bin) %{_libdir}/deskbar-applet
|
|
141 |
%dir %attr (0755, root, bin) %{_libdir}/deskbar-applet/modules-2.20-compatible
|
|
142 |
%{_libdir}/deskbar-applet/modules-2.20-compatible/tracker-module.py
|
|
143 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
144 |
%{_datadir}/tracker
|
|
145 |
%dir %attr (0755, root, other) %{_datadir}/applications
|
|
146 |
%{_datadir}/applications/*.desktop
|
|
147 |
%dir %attr (0755, root, bin) %{_datadir}/dbus-1
|
|
148 |
%dir %attr (0755, root, bin) %{_datadir}/dbus-1/services
|
|
149 |
%{_datadir}/dbus-1/services/tracker.service
|
|
150 |
%dir %attr (0755, root, bin) %{_mandir}
|
|
151 |
%dir %attr(0755, root, bin) %{_mandir}/*
|
|
152 |
%{_mandir}/*/*
|
|
153 |
%defattr (-, root, other)
|
|
154 |
%{_datadir}/icons
|
|
155 |
|
|
156 |
%files devel
|
|
157 |
%defattr (-, root, bin)
|
|
158 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
159 |
%{_includedir}/*
|
|
160 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
161 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
162 |
%{_libdir}/pkgconfig/*
|
|
163 |
|
|
164 |
%files extension
|
|
165 |
%defattr (-, root, bin)
|
|
166 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
167 |
%{_libdir}/firefox*
|
|
168 |
%{_libdir}/thunderbird
|
|
169 |
|
|
170 |
%files root
|
|
171 |
%defattr (-, root, sys)
|
|
172 |
%dir %attr (0755, root, sys) %{_sysconfdir}
|
|
173 |
%{_sysconfdir}/*
|
|
174 |
|
|
175 |
%if %build_l10n
|
|
176 |
%files l10n
|
|
177 |
%defattr (-, root, bin)
|
|
178 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
179 |
%attr (-, root, other) %{_datadir}/locale
|
|
180 |
%endif
|
|
181 |
|
|
182 |
%changelog
|
11693
|
183 |
* Thu Feb 21 2008 - [email protected]
|
|
184 |
- Rename SUNWsqlite dependency to SUNWsqlite3 to match pkg from SFW.
|
11525
|
185 |
* Fri Jan 25 2008 - [email protected]
|
|
186 |
- Add Build/Requires SUNWgnome-utility-applets-devel so that deskbar-applet is
|
|
187 |
available. This is required for the python module in tracker.
|
11516
|
188 |
* Wed Jan 23 2008 - [email protected]
|
|
189 |
- Add extension link to firefox3, remove it when FF3 rename to firefox.
|
|
190 |
* Wed Jan 02 2008 - [email protected]
|
|
191 |
- Rename from SFEtracker to SUNWdesktop-search.
|
|
192 |
* Sun Nov 18 2007 - [email protected]
|
|
193 |
- Add support for building on Indiana systems
|
|
194 |
* Fri Nov 02 2007 - [email protected]
|
|
195 |
- Split into base/tracker.spec
|
|
196 |
- Remove GNOMOE 2.19/2.20 install compatible part.
|
|
197 |
- Add package -extension to install firefox/thunderbird extensions.
|
|
198 |
* Fri Sep 28 2007 - [email protected]
|
|
199 |
- Add patch thunderbird.diff to enable thunderbird index.
|
|
200 |
* Wed Sep 26 2007 - [email protected]
|
|
201 |
- Bump to 0.6.3.
|
|
202 |
- Move wv and libgsf to Requires.
|
|
203 |
- Add patch w3m-crash to fix w3m crash on solaris.
|
|
204 |
* Fri Sep 21 2007 - [email protected]
|
|
205 |
- Fix install in GNOME 2.19/2.20
|
|
206 |
* Wed Sep 05 2007 - [email protected]
|
|
207 |
- Bump to 0.6.2.
|
|
208 |
- Move w3m to Requires.
|
|
209 |
* Thu Aug 09 2007 - [email protected]
|
|
210 |
- Bump to 0.6.1.
|
|
211 |
* Mon Aug 06 2007 - [email protected]
|
|
212 |
- Add --enable-external-sqlite
|
|
213 |
* Fri Jul 24 2007 - [email protected]
|
|
214 |
- Bump to 0.6.0.
|
|
215 |
- Remove dependency on file.
|
|
216 |
* Fri May 04 2007 - [email protected]
|
|
217 |
- Add Requires to SFEsqlite
|
|
218 |
- Add conditional Requires to SFEwv
|
|
219 |
- Revert patch tracker-01-stdout.diff.
|
|
220 |
- Add attr (0755, root, other) to %{_datadir}/pixmaps
|
|
221 |
and %{_datadir}/applications
|
|
222 |
* Fri May 04 2007 - [email protected]
|
|
223 |
- Add conditional Require SFElibgsf SFEw3m
|
|
224 |
- Remove upstreamed patch tracker-01-stdout.diff
|
|
225 |
- Add URL and License.
|
|
226 |
* Fri May 04 2007 - [email protected]
|
|
227 |
- Initial spec
|