SUNWgnome-archive-mgr.spec revision 20857
18861N/A#
18861N/A# spec file for package SUNWgnome-archive-mgr
18861N/A#
18861N/A# includes module(s): file-roller
18861N/A#
18861N/A# Copyright 2009 Sun Microsystems, Inc.
18861N/A# This file and all modifications and additions to the pristine
20179N/A# package are under the same license as the package itself.
18861N/A#
18861N/A%define owner jefftsai
18861N/A#
18861N/A%include Solaris.inc
18861N/A
18861N/A%use froller = file-roller.spec
18861N/A
18861N/AName: SUNWgnome-archive-mgr
18861N/ALicense: GPL v2
18861N/AIPS_package_name: desktop/archive-manager/file-roller
18861N/AMeta(info.classification): %{classification_prefix}:Applications/Accessories
18861N/ASummary: GNOME archive manager
18861N/AVersion: %{froller.version}
18861N/ASource: %{name}-manpages-0.1.tar.gz
18861N/ASUNW_BaseDir: %{_basedir}
18861N/ASUNW_Copyright: %{name}.copyright
18861N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18861N/A%include desktop-incorporation.inc
18861N/A%include default-depend.inc
18861N/ARequires: SUNWgtk2
18861N/ARequires: SUNWgnome-archive-mgr-root
18861N/ARequires: SUNWgnome-file-mgr
18861N/ARequires: SUNWgnome-libs
18861N/ARequires: SUNWgnome-vfs
18861N/ARequires: SUNWgnome-config
18861N/ARequires: SUNWbzip
18861N/ARequires: SUNWzlib
18861N/ARequires: SUNWlibms
18861N/ARequires: SUNWlibpopt
18861N/ARequires: SUNWdesktop-cache
18861N/ABuildRequires: SUNWgtk2-devel
18861N/ABuildRequires: SUNWlibpopt-devel
19943N/ABuildRequires: SUNWgnome-doc-utils
18861N/A
18861N/A%package l10n
18861N/ASummary: %{summary} - l10n files
19126N/ARequires: %{name}
18861N/A
19126N/A%package root
18861N/ASummary: %{summary} - / filesystem
18861N/ASUNW_BaseDir: /
18861N/A%include default-depend.inc
18861N/A
18861N/A%prep
18861N/Arm -rf %name-%version
18861N/Amkdir %name-%version
18861N/A%froller.prep -d %name-%version
18861N/Acd %{_builddir}/%name-%version
18861N/Agzcat %SOURCE0 | tar xf -
18861N/A
18861N/A%build
18861N/Aexport CFLAGS="%optflags -I%{_includedir}/gnome-vfs-2.0 -I%{_libdir}/gnome-vfs-2.0/include"
18861N/Aexport RPM_OPT_FLAGS="$CFLAGS"
18861N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
18861N/Aexport LDFLAGS="%_ldflags -L%{_libdir} -lgnomevfs-2"
18861N/A
18861N/A%froller.build -d %name-%version
18861N/A
18861N/A%install
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A%froller.install -d %name-%version
18861N/A
18861N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
18861N/Acd %{_builddir}/%name-%version/sun-manpages
18861N/Amake install DESTDIR=$RPM_BUILD_ROOT
18861N/A
18861N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
18861N/A
19790N/A%clean
20179N/Arm -rf $RPM_BUILD_ROOT
20179N/A
20179N/A%post
20179N/A%restart_fmri desktop-mime-cache gconf-cache
18861N/A
18861N/A%postun
18861N/A%restart_fmri desktop-mime-cache
18861N/A
18861N/A%files
18861N/A%defattr (-, root, bin)
18861N/A%dir %attr (0755, root, bin) %{_bindir}
20179N/A%{_bindir}/*
20179N/A%dir %attr (0755, root, bin) %{_libdir}
18861N/A%{_libdir}/file-roller
18861N/A%{_libdir}/nautilus
20179N/A%dir %attr (0755, root, sys) %{_datadir}
20179N/A%dir %attr (0755, root, other) %{_datadir}/applications
20179N/A%{_datadir}/applications/*
18861N/A%{_datadir}/file-roller
20179N/A%dir %attr (0755, root, other) %{_datadir}/gnome
18861N/A%{_datadir}/gnome/help/file-roller/C
18861N/A%{_datadir}/omf/file-roller/*-C.omf
18861N/A%attr (-, root, other) %{_datadir}/icons
18861N/A%dir %attr(0755, root, bin) %{_mandir}
20179N/A%dir %attr(0755, root, bin) %{_mandir}/*
20179N/A%{_mandir}/*/*
20179N/A%doc -d file-roller-%{froller.version} README AUTHORS
20179N/A%doc(bzip2) -d file-roller-%{froller.version} COPYING ChangeLog NEWS help/ChangeLog po/ChangeLog
20179N/A%dir %attr (0755, root, other) %{_datadir}/doc
20179N/A
20179N/A%files l10n
20179N/A%defattr (-, root, bin)
18861N/A%dir %attr (0755, root, sys) %{_datadir}
18861N/A%attr (-, root, other) %{_datadir}/locale
18861N/A%dir %attr (0755, root, other) %{_datadir}/gnome
18861N/A%{_datadir}/gnome/help/*/[a-z]*
20179N/A%{_datadir}/omf/*/*-[a-z][a-z].omf
18861N/A%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf
18861N/A
18861N/A%files root
18861N/A%defattr (-, root, sys)
18861N/A%attr (0755, root, sys) %dir %{_sysconfdir}
18861N/A%{_sysconfdir}/gconf/schemas/file-roller.schemas
18861N/A
18861N/A%changelog
18861N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
18861N/A- Updated BuildRequires to fit SourceJuicer.
18861N/A* Fri Apr 3 2009 - laca@sun.com
18861N/A- use desktop-cache instead of postrun
20179N/A* Tue Mar 17 2009 - dave.lin@sun.com
18861N/A- Add %{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf in %files l10n.
18861N/A* Wed Sep 10 2008 - matt.keenn@sun.com
18861N/A- Update copyright
18861N/A* Thu Jan 10 2008 - damien.carbery@sun.com
18861N/A- Add gnome-vfs info to CFLAGS and LDFLAGS as configure no longer retrieves
18861N/A them with pkg-config (libnautilus-extension depends on gio instead of
18861N/A gnome-vfs).
18861N/A* Thu Jan 3 2008 - laca@sun.com
18861N/A- use gconf-install.script instead of an inline script
20179N/A* Tue Apr 24 2007 - laca@sun.com
20190N/A- s/0755/-/ in defattr so that files are not made all executable
20179N/A* Mon Mar 20 2007 - damien.carbery@sun.com
18861N/A- Remove omf deletion line from %install, as suggested by reborg on
18861N/A desktop-discuss.
18861N/A* Wed Jan 10 2007 - damien.carbery@sun.com
20179N/A- Update l10n code for omf files as some locales have been removed.
20179N/A* Fri Nov 24 2006 - damien.carbery@sun.com
18861N/A- Update %files for 2.17.2 tarball.
18861N/A* Fri Sep 01 2006 - Matt.Keenan@sun.com
18861N/A- New Manpage tarball
18861N/A* Mon Aug 21 2006 - damien.carbery@sun.com
18861N/A- Fix l10n package - C locale omf file was in base and l10n package.
18861N/A* Sat Aug 12 2006 - laca@sun.com
18861N/A- delete some unnecessary env variables
18861N/A* Sat Aug 12 2006 - laca@sun.com
18861N/A- change datadir/icons permissions back to root:other since it's a stable
18861N/A interface and wasn't supposed to be changed
18861N/A* Fri Jul 14 2006 - laca@sun.com
18861N/A- update %post/%postun/etc scripts to support diskless client setup,
18861N/A part of 6448317
18861N/A* Thu Jun 29 2006 - laca@sun.com
18861N/A- update postrun scripts
18861N/A* Sun Jun 11 2006 - laca@sun.com
18861N/A- change group from other to bin/sys
18861N/A* Thu Jun 1 2006 - laca@sun.com
18861N/A- use post/preun scripts to install schemas into the merged gconf files
18861N/A* Tue May 09 2006 - laca@sun.com
18861N/A- merge -share pkg(s) into the base pkg(s)
18861N/A* Tue Apr 18 2006 - damien.carbery@sun.com
18861N/A- Icons have moved to %{_datadir}/icons, from pixmaps.
19294N/A* Mon Feb 20 2006 - damien.carbery@sun.com
19611N/A- Update Build/Requires after running check-deps.pl script.
* Tue Jan 31 2006 - damien.carbery@sun.com
- Remove mime-info from %files. No files installed now.
* Sun Jan 22 2006 - damien.carbery@sun.com
- Remove application-registry from share package as no longer installed.
* Mon Jan 09 2006 - damien.carbery@sun.com
- Remove bonobo files from base package as they are no longer installed.
* Sat Dec 3 2005 - laca@sun.com
- add %post script that runs update-desktop-database
* Tue Nov 29 2005 - laca@sun.com
- remove javahelp stuff
* Fri Nov 12 2004 - kazuhiko.maekawa@sun.com
- Revised files section
* Sat Oct 02 2004 - laca@sun.com
- added %pkgbuild_postprocess
* Sat Jun 26 2004 shirley.woo@sun.com
- Changed install location to /usr/...
* Wed Jun 2 2004 - takao.fujiwara@sun.com
- Added %{_datadir}/locale to install l10n messages
* Wed Mar 24 2004 - brian.cameron@sun.com
- Added SGML man page integration
* Mon Mar 01 2004 - <laca@sun.com>
- define PERL5LIB
- fix share subpkg contents/permissions
* Wed Feb 25 2004 - <niall.power@sun.com>
- inital Solaris spec file created