SUNWgnome-vfs.spec revision 19952
10139N/A#
10139N/A# spec file for package SUNWgnome-vfs
10139N/A#
12531N/A# includes module(s): gnome-mime-data, gnome-vfs
10139N/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.
10139N/A#
17185N/A%define owner gheet
10139N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%define with_hal %(pkginfo -q SUNWhal && echo 1 || echo 0)
10139N/A
19093N/A%use smimeinfo = shared-mime-info.spec
18688N/A%use gmdata = gnome-mime-data.spec
18688N/A%use gvfs = gnome-vfs.spec
10139N/A
19013N/AName: SUNWgnome-vfs
10139N/AIPS_package_name: library/gnome/gnome-vfs
10139N/ALicense: GPLv2,LGPLv2
12745N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Libraries
10139N/ASummary: GNOME virtual file system framework and application/MIME type registry
10139N/AVersion: %{default_pkg_version}
20857N/ASource: %{name}-manpages-0.1.tar.gz
13678N/ASUNW_BaseDir: %{_basedir}
16401N/ASUNW_Copyright: %{name}.copyright
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ARequires: SUNWglib2
10139N/ARequires: SUNWgnome-vfs-root
10139N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWgnome-component
17840N/ARequires: SUNWdbus
12531N/ARequires: SUNWdbus-glib
13292N/ARequires: SUNWperl584usr
13292N/ARequires: SUNWbzip
16401N/ARequires: SUNWzlib
10139N/ARequires: SUNWlxml
10139N/ARequires: SUNWsmbau
10139N/ARequires: SUNWdesktop-cache
10139N/ARequires: SUNWlibms
10139N/ARequires: SUNWopenssl-libraries
17840N/ARequires: SUNWavahi-bridge-dsd
12531N/ARequires: SUNWgamin
13292N/A%if %with_hal
13292N/ARequires: SUNWhal
18122N/A%endif
19142N/ABuildRequires: SUNWglib2-devel
19821N/ABuildRequires: SUNWgnome-config-devel
19142N/ABuildRequires: SUNWgnome-component-devel
10139N/ABuildRequires: SUNWdbus-devel
10139N/ABuildRequires: SUNWdbus-glib-devel
10139N/ABuildRequires: SUNWopenssl-libraries
10139N/ABuildRequires: SUNWopenssl-include
10139N/ABuildRequires: SUNWgamin-devel
10139N/ABuildRequires: SUNWggrp
10139N/ABuildRequires: SUNWgnome-xml-share
10139N/A
10139N/A%package root
20857N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/A
10139N/A%package devel
10139N/ASummary: %{summary} - development files
13678N/ASUNW_BaseDir: %{_basedir}
13678N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/A
10139N/A%if %build_l10n
10139N/A%package l10n
10139N/AIPS_package_name: library/gnome/gnome-vfs/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%smimeinfo.prep -d %name-%version
10139N/A%gmdata.prep -d %name-%version
10139N/A%gvfs.prep -d %name-%version
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/A
13678N/A%build
13678N/Aexport PKG_CONFIG_PATH=../gnome-mime-data-%{gmdata.version}:../gnome-vfs-%{gvfs.version}:%{_pkg_config_path}
10139N/A# /usr/sfw/include needed for libsmbclient.h
10139N/Aexport CFLAGS="%optflags -I/usr/sfw/include"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/Aexport LDFLAGS="%_ldflags"
10139N/A
10139N/A%smimeinfo.build -d %name-%version
10139N/A%gmdata.build -d %name-%version
14341N/A
14341N/Aexport LDFLAGS="%_ldflags -L/usr/sfw/lib -R/usr/sfw/lib"
14341N/A%gvfs.build -d %name-%version
14341N/A
14341N/A%install
14341N/Arm -rf $RPM_BUILD_ROOT
14341N/Aexport PKG_CONFIG_PATH=../gnome-mime-data-%{gmdata.version}:../gnome-vfs-%{gvfs.version}:%{_libdir}/pkgconfig:/usr/lib/pkgconfig
10139N/A%smimeinfo.install -d %name-%version
13270N/A%gmdata.install -d %name-%version
13270N/A%gvfs.install -d %name-%version
10139N/ALD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/update-mime-database $RPM_BUILD_ROOT%{_datadir}/mime
10139N/A
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
13678N/Amake install DESTDIR=$RPM_BUILD_ROOT
13678N/A
13678N/Arm -rf $RPM_BUILD_ROOT%{_prefix}/doc
13678N/A
10139N/A%if %build_l10n
10139N/A%else
10139N/A# REMOVE l10n FILES
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
10139N/A%endif
10139N/A
10139N/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
10139N/A%post
10139N/A%restart_fmri mime-types-cache gconf-cache
10139N/A
18122N/A%files
18122N/A%doc -d shared-mime-info-%{smimeinfo.version} README
17967N/A%doc(bzip2) -d shared-mime-info-%{smimeinfo.version} COPYING ChangeLog NEWS
17967N/A%doc gnome-mime-data-%{gmdata.version}/README
14341N/A%doc gnome-mime-data-%{gmdata.version}/AUTHORS
14341N/A%doc(bzip2) gnome-mime-data-%{gmdata.version}/COPYING
13678N/A%doc(bzip2) gnome-mime-data-%{gmdata.version}/ChangeLog
14341N/A%doc(bzip2) gnome-mime-data-%{gmdata.version}/NEWS
13388N/A%doc gnome-vfs-%{gvfs.version}/README
13388N/A%doc gnome-vfs-%{gvfs.version}/AUTHORS
13292N/A%doc(bzip2) gnome-vfs-%{gvfs.version}/COPYING
13292N/A%doc(bzip2) gnome-vfs-%{gvfs.version}/COPYING.LIB
13292N/A%doc(bzip2) gnome-vfs-%{gvfs.version}/ChangeLog
13270N/A%doc(bzip2) gnome-vfs-%{gvfs.version}/NEWS
13270N/A%dir %attr (0755, root, other) %{_datadir}/doc
12745N/A%defattr (-, root, bin)
12745N/A%dir %attr (0755, root, bin) %{_bindir}
12531N/A%{_bindir}/*
12531N/A%dir %attr (0755, root, bin) %{_libdir}
12367N/A%{_libdir}/gnome-vfs-2.0/modules/*.so
12367N/A%{_libdir}/lib*.so*
11923N/A%{_libdir}/gnome-vfs-daemon
11923N/A%dir %attr (0755, root, sys) %{_datadir}
11923N/A%ghost %attr (-, root, root) %ips_tag(original_name=SUNWgnome-vfs:%{@} preserve=true) %{_datadir}/mime
11194N/A%dir %attr (0755, root, other) %{_datadir}/mime-info
11194N/A%{_datadir}/mime-info/*
11194N/A%dir %attr (0755, root, other) %{_datadir}/application-registry
10139N/A%{_datadir}/application-registry/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
10139N/A%{_datadir}/applications/*
10139N/A%{_datadir}/dbus-1/services/gnome-vfs-daemon.service
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/man1
10139N/A%{_mandir}/man1/*
10139N/A
10139N/A%files root
10139N/A%defattr (-, root, sys)
10139N/A%attr (0755, root, sys) %dir %{_sysconfdir}
10139N/A%{_sysconfdir}/gconf/schemas/desktop_default_applications.schemas
10139N/A%{_sysconfdir}/gconf/schemas/desktop_gnome_url_handlers.schemas
10139N/A%{_sysconfdir}/gconf/schemas/system_dns_sd.schemas
10139N/A%{_sysconfdir}/gconf/schemas/system_http_proxy.schemas
10139N/A%{_sysconfdir}/gconf/schemas/system_smb.schemas
10139N/A%{_sysconfdir}/gnome-vfs-2.0
10139N/A%ghost %attr (0644, root, sys) %ips_tag(original_name=SUNWgnome-vfs:%{@} preserve=true) %{_sysconfdir}/gnome-vfs-mime-magic
10139N/A
10139N/A%files devel
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
10139N/A%{_libdir}/pkgconfig/*
10139N/A%{_libdir}/gnome-vfs-2.0/include
10139N/A%dir %attr (0755, root, bin) %{_includedir}
10139N/A%{_includedir}/*
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%{_datadir}/gtk-doc
10139N/A%{_datadir}/pkgconfig
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/man3
10139N/A%dir %attr(0755, root, bin) %{_mandir}/man4
10139N/A%{_mandir}/man3/*
10139N/A%{_mandir}/man4/*
10139N/A
10139N/A%if %build_l10n
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/A%endif
10139N/A
10139N/A%changelog
10139N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
10139N/A- Updated BuildRequires to fit SourceJuicer.
10139N/A* Thu May 14 2009 - jeff.cai@sun.com
10139N/A- Remove the dependency on SUNWless since SUNWless is part of SUNWCfwshl which
10139N/A only gets installed in Xall and all. A dependency warning comes up
10139N/A when a user selects Developer or End User.
10139N/A* Fri Apr 3 2009 - laca@sun.com
16401N/A- use desktop-cache instead of postrun
19191N/A* Mon Mar 23 2009 - jeff.cai@sun.com
19508N/A- Add the dependency on SUNWless since /usr/bin/gvfs-less calls usr/bin/less
* Thu Mar 05 2009 - brian.cameron@sun.com
- Change SUNWdbus-bindings to SUNWdbus-glib.
* Mon Sep 15 2008 - christian.kelly@sun.com
- Remove /usr/share/doc from %files.
* Thu Jan 3 2008 - laca@sun.com
- use gconf-install.script instead of an inline script
* Thu May 17 2007 - laca@sun.com
- delete SUNWsmbaS dependency and related CFLAGS, since 6267187 was
fixed in snv_40.
- delete some unnecessary env variables
* Tue Apr 24 2007 - laca@sun.com
- s/0755/-/ in defattr so that files are not made all executable
* Thu Mar 15 2007 - damien.carbery@sun.com
- Add %{_datadir}/pkgconfig for new shared-mime-info tarball.
* Wed Nov 29 2006 - damien.carbery@sun.com
- Add Build/Requires SUNWdbus-bindings/-devel for the glib bindings.
* Tue Nov 28 2006 - damien.carbery@sun.com
- Change attr of gnome-vfs-mime-magic file in root package to fix 6497737.
* Fri Oct 20 2006 - damien.carbery@sun.com
- Remove SUNWhalh BuildRequires because header files are in SUNWhea in snv_51.
* Mon Sep 18 2006 - Brian.Cameron@sun.com
- Add SUNWhalh BuildRequires.
* Mon Sep 04 2006 - Matt.Keenan@sun.com
- New Manpage tarball
* Mon Aug 14 2006 - damien.carbery@sun.com
- Add Build/Requires SUNWhal after check-deps.pl run.
* Sat Jul 29 2006 - damien.carbery@sun.com
- Add Build/Requires SUNWdbus/-devel.
* Sat Jul 22 2006 - laca@sun.com
- update %files: delete %{libdir}/_bonobo, add %{_datadir}/dbus-1
* Fri Jul 14 2006 - laca@sun.com
- update %post/%postun/etc scripts to support diskless client setup,
part of 6448317
* Thu Jun 29 2006 - laca@sun.com
- update postrun scripts
* Sun Jun 11 2006 - laca@sun.com
- change group from other to bin/sys
* Thu May 25 2006 - laca@sun.com
- use post/preun scripts to install schemas into the merged gconf files
* Wed May 10 2006 - laca@sun.com
- merge -share pkg(s) into the base pkg(s)
* Thu Apr 6 2006 - damien.carbery@sun.com
- Add SUNWopenssl-libraries/include to Build/Requires after check-deps.pl run.
* Mon Feb 20 2006 - damien.carbery@sun.com
- Update Build/Requires after running check-deps.pl script.
* Sat Dec 3 2005 - laca@sun.com
- add %post script that runs update-mime-database
* Tue Sep 06 2005 - laca@sun.com
- add to %files or remove unpackaged files
* Wed May 11 2005 - brian.cameron@sun.com
- Fixed packaging for 2.10 codebase.
* Thu Oct 14 2004 - narayana.pattipati@wipro.com
- Added SUNWsmbau, SUNWsmbaS packages as Requires/BuildRequires, so that
smb:// is built for Solaris.
* Sat Oct 02 2004 - laca@sun.com
- added %pkgbuild_postprocess
* Fri Sep 24 2004 - laca@sun.com
- remove %{_datadir}/gnome too, it also belonged to the nfs module
* Thu Sep 23 2004 - laca@sun.com
- remove reserved-port-helper from %files as the patch that created it
was removed from the Linux spec file
* Thu Sep 09 2004 - matt.keenan@sun.com
- Added gnomevfs-*.1, upadte-mime-database.1 manpages
* Thu Sep 02 2004 - narayana.pattipati@wipro.com
- Don't build gnome-vfs-extras for Solaris. We will build smb:/// method
of gnome-vfs itself, as samba support is available now.
- Added /usr/sfw/bin to LDFLAGS and /usr/sfw/src/samba/sources/include to
CFLAGS, so that smb:/// support is build for Solaris. samba team will
change the path of libraries from /usr/sfw/bin to /usr/sfw/lib (bug#5088461)
Once they change it, we can remove /usr/sfw/bin from LDFLAGS.
* Mon Aug 30 2004 - shirley.woo@sun.com
- Bug 5091588 : sman3/4 files should be in a separate devel package
* Mon Aug 23 2004 - laca@sun.com
- s/SUNWpl5u/SUNWperl584usr/
* Wed Aug 18 2004 daien.carbery@sun.com
- Change manpage perms for Solaris integration.
* Mon Aug 02 2004 narayana.pattipati@wipro.com
- Added /usr/sfw/lib to LDFLAGS. Fixes bugtraq bug#5080276
* Sat Jun 26 2004 shirley.woo@sun.com
- Changed install location to /usr/...
* Thu May 27 2004 - laca@sun.com
- added l10n subpkg
* Tue May 25 2004 - laca@sun.com
- run update-mime-database in %install
* Thu May 20 2004 - brian.cameron@sun.com
- Fixed man page installation.
* Sun May 02 2004 - laca@sun.com
- define PKG_CONFIG_PATH in %install too, for some relink stuff.
* Sun Apr 04 2004 - laca@sun.com
- Added a missing header file
* Wed Mar 24 2004 - brian.cameron@sun.com
- Added SGML man page integration
* Tue Mar 02 2004 - niall.power@sun.com
- add shared-mime-info component to pkg.
* Mon Mar 01 2004 - niall.power@sun.com
- add in missing gnome-vfs-daemon binary
* Sun Feb 29 2004 - laca@sun.com
- remove some gconf files that clash with SUNWgnome-libs & SUNWgnome-terminal
* Wed Feb 25 2004 - Niall.Power@sun.com
- remove sym link build hacks and add -R{_libdir}
to LDFLAGS
* Mon Feb 23 2004 - Niall.Power@sun.com
- install gconf schemas at end of install stage.
* Mon Jan 26 2004 - Laszlo.Peter@sun.com
- initial version added to CVS