9397
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-file-mgr
|
|
3 |
#
|
|
4 |
# includes module(s): eel, nautilus, gnome-mount,
|
|
5 |
# gnome-volume-manager
|
|
6 |
#
|
15556
|
7 |
# Copyright 2009 Sun Microsystems, Inc.
|
9397
|
8 |
# This file and all modifications and additions to the pristine
|
|
9 |
# package are under the same license as the package itself.
|
|
10 |
#
|
16891
|
11 |
%define owner padraig
|
9397
|
12 |
|
|
13 |
%include Solaris.inc
|
|
14 |
|
|
15 |
%define with_hal %(pkginfo -q SUNWhal && echo 1 || echo 0)
|
|
16 |
|
|
17 |
%use eel = eel.spec
|
|
18 |
%use nautilus = nautilus.spec
|
|
19 |
%use open_terminal= nautilus-open-terminal.spec
|
|
20 |
|
|
21 |
%if %with_hal
|
|
22 |
%use gmount = gnome-mount.spec
|
|
23 |
%endif
|
|
24 |
|
|
25 |
Name: SUNWgnome-file-mgr
|
|
26 |
Summary: GNOME file manager
|
|
27 |
Version: %{default_pkg_version}
|
|
28 |
Source: %{name}-manpages-0.1.tar.gz
|
|
29 |
SUNW_BaseDir: %{_basedir}
|
11975
|
30 |
SUNW_Copyright: %{name}.copyright
|
9397
|
31 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
32 |
|
|
33 |
%include default-depend.inc
|
15650
|
34 |
BuildRequires: SUNWgtk2-devel
|
9397
|
35 |
BuildRequires: SUNWgnome-component-devel
|
|
36 |
BuildRequires: SUNWlibrsvg-devel
|
|
37 |
BuildRequires: SUNWgnome-audio-devel
|
|
38 |
BuildRequires: SUNWlibexif-devel
|
|
39 |
BuildRequires: SUNWlibpopt-devel
|
|
40 |
BuildRequires: SUNWgnome-libs-devel
|
|
41 |
BuildRequires: SUNWgnome-vfs-devel
|
|
42 |
BuildRequires: SUNWgnome-config-devel
|
|
43 |
BuildRequires: SUNWgnome-panel-devel
|
15045
|
44 |
BuildRequires: SUNWlibunique-devel
|
15423
|
45 |
BuildRequires: SUNWgtk-doc
|
15650
|
46 |
Requires: SUNWgtk2
|
9397
|
47 |
Requires: SUNWgnome-file-mgr-root
|
|
48 |
Requires: SUNWgnome-libs
|
|
49 |
Requires: SUNWgnome-vfs
|
|
50 |
Requires: SUNWgnome-config
|
|
51 |
Requires: SUNWgnome-panel
|
|
52 |
Requires: SUNWgnome-audio
|
|
53 |
Requires: SUNWgnome-component
|
15045
|
54 |
Requires: SUNWlibunique
|
9397
|
55 |
Requires: SUNWlibexif
|
|
56 |
Requires: SUNWlibms
|
|
57 |
Requires: SUNWlibpopt
|
|
58 |
Requires: SUNWlibrsvg
|
|
59 |
Requires: SUNWperl584usr
|
|
60 |
Requires: SUNWbzip
|
|
61 |
Requires: SUNWzlib
|
|
62 |
Requires: SUNWlxml
|
15047
|
63 |
Requires: SUNWzfsr
|
15556
|
64 |
Requires: SUNWdesktop-cache
|
9397
|
65 |
%if %with_hal
|
|
66 |
Requires: SUNWhal
|
|
67 |
%endif
|
|
68 |
|
|
69 |
%package root
|
|
70 |
Summary: %{summary} - / filesystem
|
|
71 |
SUNW_BaseDir: /
|
|
72 |
%include default-depend.inc
|
|
73 |
|
|
74 |
%package devel
|
|
75 |
Summary: %{summary} - development files
|
|
76 |
SUNW_BaseDir: %{_basedir}
|
|
77 |
%include default-depend.inc
|
|
78 |
|
|
79 |
%if %build_l10n
|
|
80 |
%package l10n
|
|
81 |
Summary: %{summary} - l10n files
|
|
82 |
SUNW_BaseDir: %{_basedir}
|
|
83 |
%include default-depend.inc
|
|
84 |
Requires: %{name}
|
|
85 |
%endif
|
|
86 |
|
|
87 |
%prep
|
|
88 |
rm -rf %name-%version
|
|
89 |
mkdir %name-%version
|
|
90 |
%eel.prep -d %name-%version
|
|
91 |
%nautilus.prep -d %name-%version
|
|
92 |
%open_terminal.prep -d %name-%version
|
|
93 |
|
|
94 |
%if %with_hal
|
|
95 |
%gmount.prep -d %name-%version
|
|
96 |
%endif
|
|
97 |
cd %{_builddir}/%name-%version
|
|
98 |
gzcat %SOURCE0 | tar xf -
|
|
99 |
|
|
100 |
%build
|
|
101 |
PKG_CONFIG_DISABLE_UNINSTALLED=
|
|
102 |
unset PKG_CONFIG_DISABLE_UNINSTALLED
|
|
103 |
|
|
104 |
export PKG_CONFIG_PATH=../eel-%{eel.version}:../nautilus-%{nautilus.version}/libnautilus-extension:%{_pkg_config_path}
|
11553
|
105 |
export CFLAGS="%optflags -I%{_includedir} -DGNOME_DESKTOP_USE_UNSTABLE_API"
|
9397
|
106 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
107 |
export LDFLAGS="%_ldflags"
|
11474
|
108 |
export ACLOCAL_FLAGS="-I /usr/share/aclocal"
|
9397
|
109 |
|
|
110 |
%eel.build -d %name-%version
|
|
111 |
%nautilus.build -d %name-%version
|
|
112 |
%open_terminal.build -d %name-%version
|
|
113 |
|
|
114 |
%if %with_hal
|
|
115 |
export LDFLAGS="%_ldflags -L/usr/X11/lib -R/usr/X11/lib -lX11 -lresolv"
|
|
116 |
%gmount.build -d %name-%version
|
|
117 |
%endif
|
|
118 |
|
|
119 |
%install
|
|
120 |
rm -rf $RPM_BUILD_ROOT
|
|
121 |
%eel.install -d %name-%version
|
|
122 |
%nautilus.install -d %name-%version
|
|
123 |
%open_terminal.install -d %name-%version
|
|
124 |
|
|
125 |
%if %with_hal
|
|
126 |
%gmount.install -d %name-%version
|
|
127 |
%endif
|
|
128 |
|
|
129 |
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
|
130 |
cd %{_builddir}/%name-%version/sun-manpages
|
|
131 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
132 |
|
|
133 |
%if %build_l10n
|
|
134 |
%else
|
|
135 |
# REMOVE l10n FILES
|
|
136 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
137 |
%endif
|
|
138 |
|
|
139 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
140 |
|
|
141 |
%clean
|
|
142 |
rm -rf $RPM_BUILD_ROOT
|
|
143 |
|
|
144 |
%post
|
15556
|
145 |
%restart_fmri desktop-mime-cache mime-types-cache gconf-cache
|
9397
|
146 |
|
|
147 |
%postun
|
15556
|
148 |
%restart_fmri desktop-mime-cache mime-types-cache
|
9397
|
149 |
|
|
150 |
%files
|
13536
|
151 |
%doc eel-%{eel.version}/AUTHORS eel-%{eel.version}/MAINTAINERS
|
|
152 |
%doc eel-%{eel.version}/README
|
|
153 |
%doc(bzip2) eel-%{eel.version}/COPYING eel-%{eel.version}/COPYING.LIB
|
|
154 |
%doc(bzip2) eel-%{eel.version}/NEWS eel-%{eel.version}/ChangeLog
|
|
155 |
%doc gnome-mount-%{gmount.version}/AUTHORS gnome-mount-%{gmount.version}/README
|
|
156 |
%doc(bzip2) gnome-mount-%{gmount.version}/COPYING
|
|
157 |
%doc(bzip2) gnome-mount-%{gmount.version}/NEWS
|
|
158 |
%doc(bzip2) gnome-mount-%{gmount.version}/ChangeLog
|
|
159 |
%doc nautilus-%{nautilus.version}/README
|
|
160 |
%doc nautilus-%{nautilus.version}/AUTHORS
|
|
161 |
%doc nautilus-%{nautilus.version}/MAINTAINERS
|
|
162 |
%doc(bzip2) nautilus-%{nautilus.version}/COPYING
|
|
163 |
%doc(bzip2) nautilus-%{nautilus.version}/NEWS
|
|
164 |
%doc(bzip2) nautilus-%{nautilus.version}/ChangeLog
|
|
165 |
%doc nautilus-open-terminal-%{open_terminal.version}/AUTHORS
|
|
166 |
%doc nautilus-open-terminal-%{open_terminal.version}/README
|
|
167 |
%doc(bzip2) nautilus-open-terminal-%{open_terminal.version}/COPYING
|
|
168 |
%doc(bzip2) nautilus-open-terminal-%{open_terminal.version}/NEWS
|
|
169 |
%doc(bzip2) nautilus-open-terminal-%{open_terminal.version}/ChangeLog
|
|
170 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
9397
|
171 |
%defattr (-, root, bin)
|
|
172 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
173 |
%{_bindir}/*
|
|
174 |
%dir %attr (0755, root, bin) %{_libdir}
|
14985
|
175 |
#%{_libdir}/bonobo/servers
|
11437
|
176 |
%{_libdir}/nautilus/extensions-2.0/*.so
|
9397
|
177 |
%{_libdir}/lib*.so*
|
16390
|
178 |
%{_libdir}/nautilus-convert-metadata
|
9397
|
179 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
180 |
%dir %attr (0755, root, other) %{_datadir}/applications
|
|
181 |
%{_datadir}/applications/*
|
|
182 |
%if %with_hal
|
|
183 |
%dir %attr (0755, root, other) %{_datadir}/gnome-mount
|
|
184 |
%{_datadir}/gnome-mount/*
|
|
185 |
%endif
|
12588
|
186 |
%{_datadir}/gtk-doc
|
9397
|
187 |
%dir %attr (-, root, other) %{_datadir}/icons
|
|
188 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor
|
|
189 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
|
|
190 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
|
|
191 |
%{_datadir}/icons/hicolor/16x16/apps/nautilus.png
|
|
192 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22
|
|
193 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps
|
|
194 |
%{_datadir}/icons/hicolor/22x22/apps/nautilus.png
|
|
195 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
|
|
196 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
|
|
197 |
%{_datadir}/icons/hicolor/24x24/apps/nautilus.png
|
|
198 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
|
|
199 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
|
|
200 |
%{_datadir}/icons/hicolor/32x32/apps/nautilus.png
|
|
201 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable
|
|
202 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
|
|
203 |
%{_datadir}/icons/hicolor/scalable/apps/nautilus.svg
|
|
204 |
%{_datadir}/nautilus
|
|
205 |
%dir %attr (0755, root, other) %{_datadir}/pixmaps
|
|
206 |
%{_datadir}/pixmaps/*
|
16874
|
207 |
%dir %attr (0755, root, root) %{_datadir}/mime
|
|
208 |
%dir %attr (0755, root, root) %{_datadir}/mime/packages
|
|
209 |
%{_datadir}/mime/packages/*
|
9397
|
210 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
211 |
%dir %attr(0755, root, bin) %{_mandir}/*
|
|
212 |
%{_mandir}/*/*
|
|
213 |
|
|
214 |
%files root
|
9780
|
215 |
%defattr (-, root, sys)
|
9397
|
216 |
%attr (0755, root, sys) %dir %{_sysconfdir}
|
|
217 |
%{_sysconfdir}/gconf/schemas/apps_nautilus_preferences.schemas
|
11770
|
218 |
%{_sysconfdir}/gconf/schemas/nautilus-open-terminal.schemas
|
9397
|
219 |
%if %with_hal
|
|
220 |
%{_sysconfdir}/gconf/schemas/gnome-mount.schemas
|
|
221 |
%endif
|
|
222 |
|
|
223 |
%files devel
|
9780
|
224 |
%defattr (-, root, bin)
|
9397
|
225 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
226 |
%{_includedir}/*
|
|
227 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
228 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
229 |
%{_libdir}/pkgconfig/*
|
|
230 |
|
|
231 |
%if %build_l10n
|
|
232 |
%files l10n
|
|
233 |
%defattr (-, root, bin)
|
|
234 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
235 |
%attr (-, root, other) %{_datadir}/locale
|
|
236 |
%endif
|
|
237 |
|
|
238 |
%changelog
|
18537
|
239 |
* Mon Dec 21 2009 - [email protected]
|
|
240 |
Remove SUNWgnome-print dependency.
|
16874
|
241 |
* Wed Oct 28 2009 - [email protected]
|
|
242 |
- Update mime directory attribute to fix install problem.
|
16867
|
243 |
* Tue Oct 27 2009 - [email protected]
|
|
244 |
- Ship mime files.
|
15556
|
245 |
* Fri Apr 3 2009 - [email protected]
|
|
246 |
- use desktop-cache instead of postrun
|
15453
|
247 |
* Thu Mar 19 2009 - [email protected]
|
|
248 |
- Remove gnome-volume-manager since it is obsolete in GNOME 2.26.
|
15045
|
249 |
* Tue Feb 10 2009 - [email protected]
|
|
250 |
- Add BuildRequires: SUNWlibunique-devel, Requires: SUNWlibunique
|
15047
|
251 |
- Add Requires: SUNWzfsr to fix issue #1 for CR6753371
|
14877
|
252 |
* Thu Jan 08 2009 - [email protected]
|
|
253 |
- Add dependency on libunique.
|
13536
|
254 |
* Thu Sep 11 2008 - [email protected]
|
|
255 |
- Add %doc to %files for copyright
|
12588
|
256 |
* Wed Jun 04 2008 - [email protected]
|
|
257 |
- Update %files (add %{_datadir}/gtk-doc).
|
12240
|
258 |
* Thu May 01 2008 - [email protected]
|
|
259 |
- Update %files (remove %{_datadir}/gnome and add %{_sysconfdir}/xdg) after
|
|
260 |
bumping gnome-volume-manager.
|
11770
|
261 |
* Fri Feb 29 2008 - [email protected]
|
|
262 |
- Add nautilus-open-terminal.schemas to %files and %preun root.
|
11553
|
263 |
* Tue Jan 29 2008 - [email protected]
|
|
264 |
- Add -DGNOME_DESKTOP_USE_UNSTABLE_API to CFLAGS to get it to build.
|
11474
|
265 |
* Thu Jan 17 2008 - [email protected]
|
|
266 |
- Set ACLOCAL_FLAGS to pick up the modified intltool.m4.
|
11437
|
267 |
* Fri Jan 11 2008 - [email protected]
|
|
268 |
- Change extensions directory to extensions-2.0
|
11370
|
269 |
* Thu Jan 3 2008 - [email protected]
|
|
270 |
- use gconf-install.script instead of an inline script
|
10572
|
271 |
* Fri Sep 28 2007 - [email protected]
|
|
272 |
- delete Nevada X dep
|
10451
|
273 |
* Wed Sep 05 2007 - [email protected]
|
|
274 |
- Remove references to SUNWgnome-a11y-base-libs as its contents have been
|
|
275 |
moved to SUNWgnome-base-libs.
|
9780
|
276 |
* Tue Apr 24 2007 - [email protected]
|
|
277 |
- s/0755/-/ in defattr so that files are not made all executable
|
9397
|
278 |
* Tue Dec 19 2006 - [email protected]
|
|
279 |
- Update %files for new graphics files.
|
|
280 |
* Fri Oct 20 2006 - [email protected]
|
|
281 |
- Remove SUNWhalh BuildRequires because header files are in SUNWhea in snv_51.
|
|
282 |
* Mon Sep 18 2006 - [email protected]
|
|
283 |
- Add SUNWhalh BuildRequires.
|
|
284 |
* Fri Sep 01 2006 - [email protected]
|
|
285 |
- New Manpage tarball
|
|
286 |
* Mon Aug 14 2006 - [email protected]
|
|
287 |
- Add Build/Requires SUNWhal after check-deps.pl run.
|
|
288 |
* Sat Aug 12 2006 - [email protected]
|
|
289 |
- delete some unnecessary env variables
|
|
290 |
* Thu Jul 25 2006 - [email protected]
|
|
291 |
- Add gnome-volume-manager and gnome-mount for HAL integration.
|
|
292 |
* Fri Jul 14 2006 - [email protected]
|
|
293 |
- update %post/%postun/etc scripts to support diskless client setup,
|
|
294 |
part of 6448317
|
|
295 |
* Thu Jun 29 2006 - [email protected]
|
|
296 |
- update postrun scripts
|
|
297 |
* Sun Jun 11 2006 - [email protected]
|
|
298 |
- change group from other to bin/sys
|
|
299 |
* Thu Jun 1 2006 - [email protected]
|
|
300 |
- use post/preun scripts to install schemas into the merged gconf files
|
|
301 |
* Wed May 10 2006 - [email protected]
|
|
302 |
- merge -share pkg(s) into the base pkg(s)
|
|
303 |
* Mon Feb 20 2006 - [email protected]
|
|
304 |
- Update Build/Requires after running check-deps.pl script.
|
|
305 |
* Mon Jan 09 2006 - [email protected]
|
|
306 |
- Delete mime dir structure.
|
|
307 |
* Sat Dec 3 2005 - [email protected]
|
|
308 |
- add %post script that runs update-desktop-database
|
|
309 |
* Thu Jul 28 2005 - [email protected]
|
|
310 |
- Add SUNWlibrsvg-devel build dependency. Add SUNWlibrsvg runtime dependency.
|
|
311 |
* Thu Jun 02 2005 - brian.cameron
|
|
312 |
- Bumped to 2.10, fixed packaging.
|
|
313 |
* Sat Oct 02 2004 - [email protected]
|
|
314 |
- added %pkgbuild_postprocess
|
|
315 |
* Thu Sep 09 2004 - [email protected]
|
|
316 |
- Added nautlius-file-management-properties.1 manpage
|
|
317 |
* Mon Aug 23 2004 - [email protected]
|
|
318 |
- s/SUNWpl5u/SUNWperl584usr/
|
|
319 |
* Wed Aug 18 2004 - [email protected]
|
|
320 |
- Change manpage perms for Solaris integration.
|
|
321 |
* Tue Jul 27 2004 - [email protected]
|
|
322 |
- Add SUNWgnome-component-devel as BuildRequires, for ORBit-2.0.
|
|
323 |
* Sat Jun 26 2004 - [email protected]
|
|
324 |
- Changed install location to /usr/...
|
|
325 |
* Mon Jun 07 2004 - [email protected]
|
|
326 |
- Added SUNWlibexif dependency, then removed it since it is alrady
|
|
327 |
a dependency of SUNWgnome-libs.
|
|
328 |
* Wed Jun 02 2004 - [email protected]
|
|
329 |
- Added %{_datadir}/locale to install l10n messages
|
|
330 |
* Thu May 20 2004 - [email protected]
|
|
331 |
- Added man page to share package.
|
|
332 |
* Thu May 13 2004 - [email protected]
|
|
333 |
- Removed %{_libdir}/nautilus-*-helper from packages since Glynn
|
|
334 |
removed these files that were added via ext-sources on May 5th.
|
|
335 |
* Fri Apr 30 2004 - [email protected]
|
|
336 |
- adjust %files for new nautilus version
|
|
337 |
* Fri Mar 26 2004 - [email protected]
|
|
338 |
- fix %files for libexecdir change
|
|
339 |
* Wed Mar 24 2004 - [email protected]
|
|
340 |
- Added SGML man page integration
|
|
341 |
* Mon Mar 01 2004 - [email protected]
|
|
342 |
- remove dependencies on SUNWgnome-libs-root and -share
|
|
343 |
* Thu Feb 26 2004 - [email protected]
|
|
344 |
- remove clashing (and empty gconf.xml files) after schema installation
|
|
345 |
- add "-R%{_libdir}" to LDFLAGS
|
|
346 |
- define PERL5LIB for XML::Parser
|
|
347 |
- add a defattr for %package devel
|
|
348 |
* Mon Feb 23 2004 - [email protected]
|
|
349 |
- install gconf schemas at the end of the install stage
|
|
350 |
* Wed Feb 18 2004 - [email protected]
|
|
351 |
- removed gnome-desktop as it's provided by the panel pkgs now.
|
|
352 |
- removed rsvg man pages from file maps + tidy up
|
|
353 |
- removed unnecessary exported CFLAGS
|
|
354 |
* Wed Feb 18 2004 - [email protected]
|
|
355 |
- moved librsvg to SUNWgnome-libs as it is required by other modules as well
|
|
356 |
* Mon Feb 16 2004 - [email protected]
|
|
357 |
- initial spec file created
|
15650
|
358 |
|