SUNWgnome-file-mgr.spec revision 20061
10139N/A#
10139N/A# spec file for package SUNWgnome-file-mgr
10139N/A#
10139N/A# includes module(s): nautilus, gnome-mount,
10139N/A# gnome-volume-manager
20788N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
17185N/A#
10139N/A%define owner padraig
10139N/A
10139N/A%include Solaris.inc
10139N/A
10139N/A%define with_hal %(pkginfo -q SUNWhal && echo 1 || echo 0)
10139N/A
10139N/A%use nautilus = nautilus.spec
16880N/A%use open_terminal= nautilus-open-terminal.spec
10139N/A
12274N/A%if %with_hal
15389N/A%use gmount = gnome-mount.spec
16985N/A%endif
16985N/A
16985N/AName: SUNWgnome-file-mgr
16985N/AIPS_package_name: gnome/file-manager/nautilus
16999N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/File Managers
19858N/ASummary: GNOME file manager
19858N/AVersion: %{nautilus.version}
19858N/ASource: %{name}-manpages-0.1.tar.gz
19858N/ASUNW_BaseDir: %{_basedir}
18540N/ASUNW_Copyright: %{name}.copyright
18540N/ALicense: GPL v2, GPL v3
18688N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
12679N/A%include default-depend.inc
19099N/A%include gnome-consolidation.inc
10139N/ABuildRequires: SUNWgnome-common-devel
10139N/ABuildRequires: SUNWglib2-devel
10139N/ABuildRequires: SUNWgtk2-devel
20857N/ABuildRequires: SUNWgnome-component-devel
16880N/ABuildRequires: SUNWlibrsvg-devel
16880N/ABuildRequires: SUNWgnome-audio-devel
16880N/ABuildRequires: SUNWlibexif-devel
16880N/ABuildRequires: SUNWlibpopt-devel
16880N/ABuildRequires: SUNWgnome-libs-devel
16880N/ABuildRequires: SUNWgnome-vfs-devel
16880N/ABuildRequires: SUNWgnome-config-devel
16880N/ABuildRequires: SUNWgnome-panel-devel
16880N/ABuildRequires: SUNWlibunique-devel
16880N/ABuildRequires: SUNWgtk-doc
20788N/ABuildRequires: SUNWlibgnome-keyring
17809N/ARequires: SUNWgtk2
20239N/ARequires: SUNWgnome-file-mgr-root
16880N/ARequires: SUNWgnome-libs
17951N/ARequires: SUNWgnome-vfs
20788N/ARequires: SUNWgnome-config
17926N/ARequires: SUNWgnome-panel
16880N/ARequires: SUNWgnome-audio
20239N/ARequires: SUNWgnome-component
16880N/ARequires: SUNWlibunique
16880N/ARequires: SUNWlibexif
16880N/ARequires: SUNWlibms
16880N/ARequires: SUNWlibpopt
16880N/ARequires: SUNWlibrsvg
16880N/ARequires: SUNWperl584usr
16880N/ARequires: SUNWbzip
16880N/ARequires: SUNWzlib
16880N/ARequires: SUNWlxml
20788N/ARequires: SUNWzfsr
17809N/ARequires: SUNWdesktop-cache
16880N/ARequires: SUNWuiu8
18850N/A%if %with_hal
18850N/ARequires: SUNWhal
20788N/A%endif
18850N/A
10139N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
20857N/A
10139N/A%package devel
20788N/ASummary: %{summary} - development files
20788N/ASUNW_BaseDir: %{_basedir}
20788N/A%include default-depend.inc
20788N/A%include gnome-consolidation.inc
20862N/A
20788N/A%if %build_l10n
20788N/A%package l10n
10139N/AIPS_package_name: gnome/file-manager/nautilus/l10n
10139N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ARequires: %{name}
10139N/A%endif
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%nautilus.prep -d %name-%version
16880N/A%open_terminal.prep -d %name-%version
10139N/A
16880N/A%if %with_hal
10139N/A%gmount.prep -d %name-%version
20188N/A%endif
16880N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/A
10139N/A%build
10139N/APKG_CONFIG_DISABLE_UNINSTALLED=
10139N/Aunset PKG_CONFIG_DISABLE_UNINSTALLED
10139N/A
10139N/Aexport PKG_CONFIG_PATH=../nautilus-%{nautilus.version}/libnautilus-extension:%{_pkg_config_path}
10139N/Aexport CFLAGS="%optflags -I%{_includedir} -DGNOME_DESKTOP_USE_UNSTABLE_API -I/usr/include/gnome-desktop-2.0"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/Aexport LDFLAGS="%_ldflags"
18671N/Aexport ACLOCAL_FLAGS="-I /usr/share/aclocal"
18671N/A
15389N/A%nautilus.build -d %name-%version
15389N/A%open_terminal.build -d %name-%version
10139N/A
16985N/A%if %with_hal
16985N/Aexport LDFLAGS="%_ldflags -L/usr/X11/lib -R/usr/X11/lib -lX11 -lresolv"
16999N/A%gmount.build -d %name-%version
16999N/A%endif
16999N/A
16999N/A%install
19858N/Arm -rf $RPM_BUILD_ROOT
19858N/A%nautilus.install -d %name-%version
19858N/A%open_terminal.install -d %name-%version
19858N/A
19858N/A%if %with_hal
19858N/A%gmount.install -d %name-%version
19858N/A%endif
19858N/A
19858N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
15161N/Acd %{_builddir}/%name-%version/sun-manpages
15161N/Amake install DESTDIR=$RPM_BUILD_ROOT
15161N/A
15161N/A%if %build_l10n
20788N/A%else
20788N/A# REMOVE l10n FILES
20788N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
20790N/A%endif
20790N/A
20790N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
16926N/A%post
10139N/A%restart_fmri desktop-mime-cache mime-types-cache gconf-cache
10139N/A
10139N/A%postun
10139N/A%restart_fmri desktop-mime-cache mime-types-cache
10139N/A
10139N/A%files
10139N/A%doc gnome-mount-%{gmount.version}/AUTHORS gnome-mount-%{gmount.version}/README
10139N/A%doc(bzip2) gnome-mount-%{gmount.version}/COPYING
10139N/A%doc(bzip2) gnome-mount-%{gmount.version}/NEWS
10139N/A%doc(bzip2) gnome-mount-%{gmount.version}/ChangeLog
10139N/A%doc nautilus-%{nautilus.version}/README
10139N/A%doc nautilus-%{nautilus.version}/AUTHORS
10139N/A%doc nautilus-%{nautilus.version}/MAINTAINERS
10139N/A%doc(bzip2) nautilus-%{nautilus.version}/COPYING
10139N/A%doc(bzip2) nautilus-%{nautilus.version}/NEWS
10139N/A%doc(bzip2) nautilus-%{nautilus.version}/ChangeLog
10139N/A%doc nautilus-open-terminal-%{open_terminal.version}/AUTHORS
10139N/A%doc nautilus-open-terminal-%{open_terminal.version}/README
10139N/A%doc(bzip2) nautilus-open-terminal-%{open_terminal.version}/COPYING
10139N/A%doc(bzip2) nautilus-open-terminal-%{open_terminal.version}/NEWS
10139N/A%doc(bzip2) nautilus-open-terminal-%{open_terminal.version}/ChangeLog
10139N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*
16926N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A#%{_libdir}/bonobo/servers
18993N/A%{_libdir}/nautilus/extensions-2.0/*.so
18993N/A%{_libdir}/lib*.so*
19142N/A%{_libdir}/nautilus-convert-metadata
18993N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
16880N/A%{_datadir}/applications/*
16880N/A%if %with_hal
16880N/A%dir %attr (0755, root, other) %{_datadir}/gnome-mount
16880N/A%{_datadir}/gnome-mount/*
10139N/A%endif
10139N/A%{_datadir}/gtk-doc
10139N/A%dir %attr (-, root, other) %{_datadir}/icons
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor
10248N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
10248N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
10139N/A%{_datadir}/icons/hicolor/16x16/apps/nautilus.png
20788N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps
19858N/A%{_datadir}/icons/hicolor/22x22/apps/nautilus.png
19858N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
19858N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
19858N/A%{_datadir}/icons/hicolor/24x24/apps/nautilus.png
19858N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
17930N/A%{_datadir}/icons/hicolor/32x32/apps/nautilus.png
20839N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable
18084N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
17790N/A%{_datadir}/icons/hicolor/scalable/apps/nautilus.svg
20788N/A%{_datadir}/nautilus
20788N/A%dir %attr (0755, root, other) %{_datadir}/pixmaps
20788N/A%{_datadir}/pixmaps/*
20788N/A%dir %attr (0755, root, root) %{_datadir}/mime
20788N/A%dir %attr (0755, root, root) %{_datadir}/mime/packages
20788N/A%{_datadir}/mime/packages/*
20788N/A%dir %attr(0755, root, bin) %{_mandir}
20788N/A%dir %attr(0755, root, bin) %{_mandir}/*
10139N/A%{_mandir}/*/*
10139N/A
16880N/A%files root
16880N/A%defattr (-, root, sys)
16880N/A%attr (0755, root, sys) %dir %{_sysconfdir}
16880N/A%{_sysconfdir}/gconf/schemas/apps_nautilus_preferences.schemas
16880N/A%{_sysconfdir}/gconf/schemas/nautilus-open-terminal.schemas
16880N/A%if %with_hal
10139N/A%{_sysconfdir}/gconf/schemas/gnome-mount.schemas
10139N/A%endif
10139N/A
16999N/A%files devel
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_includedir}
10139N/A%{_includedir}/*
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
10139N/A%{_libdir}/pkgconfig/*
10139N/A
10139N/A%if %build_l10n
10139N/A%files l10n
16880N/A%defattr (-, root, bin)
16880N/A%dir %attr (0755, root, sys) %{_datadir}
20788N/A%attr (-, root, other) %{_datadir}/locale
20788N/A%endif
16880N/A
16880N/A%changelog
16880N/A* Wed Nov 10 2010 - padraig.obriain@oracle.com
16880N/A- Add license tag.
16880N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
16880N/A- Updated BuildRequires to fit SourceJuicer.
16880N/A* Mon Apr 12 2010 - padraig.obriain@sun.com
20182N/A- Remove build eel
19858N/A* Mon Dec 21 2009 - ghee.teo@sun.com
19858N/A- Remove SUNWgnome-print dependency.
20182N/A* Wed Oct 28 2009 - jedy.wang@sun.com
19858N/A- Update mime directory attribute to fix install problem.
20182N/A* Tue Oct 27 2009 - jedy.wang@sun.com
15161N/A- Ship mime files.
15161N/A* Fri Apr 3 2009 - laca@sun.com
16880N/A- use desktop-cache instead of postrun
16880N/A* Thu Mar 19 2009 - jeff.cai@sun.com
16880N/A- Remove gnome-volume-manager since it is obsolete in GNOME 2.26.
16880N/A* Tue Feb 10 2009 - halton.huo@sun.com
16880N/A- Add BuildRequires: SUNWlibunique-devel, Requires: SUNWlibunique
16880N/A- Add Requires: SUNWzfsr to fix issue #1 for CR6753371
17611N/A* Thu Jan 08 2009 - christian.kelly@sun.com
16880N/A- Add dependency on libunique.
15389N/A* Thu Sep 11 2008 - padraig.obriain@sun.com
15389N/A- Add %doc to %files for copyright
15389N/A* Wed Jun 04 2008 - damien.carbery@sun.com
18671N/A- Update %files (add %{_datadir}/gtk-doc).
18671N/A* Thu May 01 2008 - damien.carbery@sun.com
18671N/A- Update %files (remove %{_datadir}/gnome and add %{_sysconfdir}/xdg) after
15389N/A bumping gnome-volume-manager.
19846N/A* Fri Feb 29 2008 - damien.carbery@sun.com
17200N/A- Add nautilus-open-terminal.schemas to %files and %preun root.
17970N/A* Tue Jan 29 2008 - damien.carbery@sun.com
10139N/A- Add -DGNOME_DESKTOP_USE_UNSTABLE_API to CFLAGS to get it to build.
10139N/A* Thu Jan 17 2008 - damien.carbery@sun.com
17970N/A- Set ACLOCAL_FLAGS to pick up the modified intltool.m4.
18679N/A* Fri Jan 11 2008 - padraig.obriain@sun.com
16880N/A- Change extensions directory to extensions-2.0
20367N/A* Thu Jan 3 2008 - laca@sun.com
20367N/A- use gconf-install.script instead of an inline script
20367N/A* Fri Sep 28 2007 - laca@sun.com
20839N/A- delete Nevada X dep
20788N/A* Wed Sep 05 2007 - damien.carbery@sun.com
20788N/A- Remove references to SUNWgnome-a11y-base-libs as its contents have been
20788N/A moved to SUNWgnome-base-libs.
20788N/A* Tue Apr 24 2007 - laca@sun.com
20788N/A- s/0755/-/ in defattr so that files are not made all executable
20788N/A* Tue Dec 19 2006 - damien.carbery@sun.com
20788N/A- Update %files for new graphics files.
20788N/A* Fri Oct 20 2006 - damien.carbery@sun.com
20788N/A- Remove SUNWhalh BuildRequires because header files are in SUNWhea in snv_51.
20788N/A* Mon Sep 18 2006 - Brian.Cameron@sun.com
10139N/A- Add SUNWhalh BuildRequires.
10139N/A* Fri Sep 01 2006 - Matt.Keenan@sun.com
10139N/A- New Manpage tarball
10139N/A* Mon Aug 14 2006 - damien.carbery@sun.com
10139N/A- Add Build/Requires SUNWhal after check-deps.pl run.
10139N/A* Sat Aug 12 2006 - laca@sun.com
10139N/A- delete some unnecessary env variables
10139N/A* Thu Jul 25 2006 - brian.cameron@sun.com
10139N/A- Add gnome-volume-manager and gnome-mount for HAL integration.
10139N/A* Fri Jul 14 2006 - laca@sun.com
20788N/A- update %post/%postun/etc scripts to support diskless client setup,
20788N/A part of 6448317
19858N/A* Thu Jun 29 2006 - laca@sun.com
19858N/A- update postrun scripts
19858N/A* Sun Jun 11 2006 - laca@sun.com
18850N/A- change group from other to bin/sys
18850N/A* Thu Jun 1 2006 - laca@sun.com
18671N/A- use post/preun scripts to install schemas into the merged gconf files
18671N/A* Wed May 10 2006 - laca@sun.com
18084N/A- merge -share pkg(s) into the base pkg(s)
18084N/A* Mon Feb 20 2006 - damien.carbery@sun.com
18085N/A- Update Build/Requires after running check-deps.pl script.
17951N/A* Mon Jan 09 2006 - damien.carbery@sun.com
17951N/A- Delete mime dir structure.
17930N/A* Sat Dec 3 2005 - laca@sun.com
17930N/A- add %post script that runs update-desktop-database
17926N/A* Thu Jul 28 2005 - damien.carbery@sun.com
17926N/A- Add SUNWlibrsvg-devel build dependency. Add SUNWlibrsvg runtime dependency.
17884N/A* Thu Jun 02 2005 - brian.cameron
17884N/A- Bumped to 2.10, fixed packaging.
17884N/A* Sat Oct 02 2004 - laca@sun.com
17809N/A- added %pkgbuild_postprocess
17809N/A* Thu Sep 09 2004 - matt.keenan@sun.com
17790N/A- Added nautlius-file-management-properties.1 manpage
17790N/A* Mon Aug 23 2004 - laca@sun.com
17562N/A- s/SUNWpl5u/SUNWperl584usr/
17562N/A* Wed Aug 18 2004 - damien.carbery@sun.com
17562N/A- Change manpage perms for Solaris integration.
17200N/A* Tue Jul 27 2004 - damien.carbery@sun.com
17200N/A- Add SUNWgnome-component-devel as BuildRequires, for ORBit-2.0.
17200N/A* Sat Jun 26 2004 - shirley.woo@sun.com
17059N/A- Changed install location to /usr/...
17059N/A* Mon Jun 07 2004 - brian.cameron@sun.com
17059N/A- Added SUNWlibexif dependency, then removed it since it is alrady
16999N/A a dependency of SUNWgnome-libs.
16999N/A* Wed Jun 02 2004 - takao.fujiwara@sun.com
16985N/A- Added %{_datadir}/locale to install l10n messages
16985N/A* Thu May 20 2004 - brian.cameron@sun.com
16880N/A- Added man page to share package.
16880N/A* Thu May 13 2004 - brian.cameron@sun.com
16880N/A- Removed %{_libdir}/nautilus-*-helper from packages since Glynn
16502N/A removed these files that were added via ext-sources on May 5th.
16502N/A* Fri Apr 30 2004 - niall.power@sun.com
16307N/A- adjust %files for new nautilus version
16307N/A* Fri Mar 26 2004 - laca@sun.com
16288N/A- fix %files for libexecdir change
16288N/A* Wed Mar 24 2004 - brian.cameron@sun.com
16288N/A- Added SGML man page integration
16245N/A* Mon Mar 01 2004 - laca@sun.com
16245N/A- remove dependencies on SUNWgnome-libs-root and -share
15969N/A* Thu Feb 26 2004 - niall.power@sun.com
15969N/A- remove clashing (and empty gconf.xml files) after schema installation
15468N/A- add "-R%{_libdir}" to LDFLAGS
15468N/A- define PERL5LIB for XML::Parser
15389N/A- add a defattr for %package devel
15389N/A* Mon Feb 23 2004 - niall.power@sun.com
15389N/A- install gconf schemas at the end of the install stage
15390N/A* Wed Feb 18 2004 - niall.power@sun.com
15161N/A- removed gnome-desktop as it's provided by the panel pkgs now.
15397N/A- removed rsvg man pages from file maps + tidy up
15397N/A- removed unnecessary exported CFLAGS
14320N/A* Wed Feb 18 2004 - laca@sun.com
14320N/A- moved librsvg to SUNWgnome-libs as it is required by other modules as well
13470N/A* Mon Feb 16 2004 - niall.power@sun.com
13470N/A- initial spec file created
13345N/A
13345N/A
13345N/A
13005N/A