SUNWgnome-commander.spec revision 19067
18861N/A#
18861N/A# spec file for package SUNWgnome-commander
18861N/A#
18861N/A# includes module(s): gnome-commander
18861N/A#
18861N/A# Copyright 2009 Sun Microsystems, Inc.
18861N/A# This file and all modifications and additions to the pristine
18861N/A# package are under the same license as the package itself.
18861N/A#
18861N/A%define owner padraig
18861N/A#
18861N/A%include Solaris.inc
18861N/A
18861N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
18861N/A
18861N/AName: SUNWgnome-commander
18861N/AIPS_package_name: desktop/file-manager/gnome-commander
18861N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/File Managers
18861N/ALicense: GPL
18861N/AVendor: Gnome Community
19067N/ASummary: gnome commander file manager
18861N/AVersion: 1.2.8.8
18861N/ASource: http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/gnome-commander-%{version}.tar.bz2
18861N/A# date:2008-06-25 owner:padraig type:feature
18861N/APatch1: gnome-commander-01-desktop-menu.diff
18861N/ASUNW_BaseDir: %{_basedir}
18861N/ASUNW_Copyright: %{name}.copyright
18861N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18861N/A%include default-depend.inc
18861N/ABuildRequires: SUNWlibgnomecanvas-devel
18861N/ABuildRequires: SUNWlibgsf-devel
20857N/ABuildRequires: SUNWgnome-libs-devel
18861N/ABuildRequires: SUNWgnome-vfs-devel
18861N/ABuildRequires: SUNWPython26
18861N/ABuildRequires: SUNWgnome-python26-libs-devel
18861N/ABuildRequires: SUNWgnome-doc-utils
18861N/ARequires: SUNWlibgnomecanvas
18861N/ARequires: SUNWgnome-vfs
18861N/ARequires: SUNWlibgsf
18861N/ARequires: SUNWgnome-libs
18862N/ARequires: SUNWgnome-python26-libs
18993N/ARequires: SUNWdesktop-cache
18993N/A
18862N/A%if %build_l10n
18861N/A%package l10n
18861N/ASummary: %{summary} - l10n files
18861N/ASUNW_BaseDir: %{_basedir}
18861N/A%include default-depend.inc
18861N/ARequires: %{name}
18861N/A%endif
18861N/A
18861N/A%prep
18861N/A%setup -q -n gnome-commander-%version
18861N/A%patch1 -p1
18861N/A
18861N/A%build
18861N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
18861N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
18861N/A CPUS=1
18861N/Afi
18861N/Aexport PYTHON="/usr/bin/python2.6"
18861N/Aexport CFLAGS="%optflags -I/usr/gnu/include"
18861N/Aexport LDFLAGS="-L/usr/gnu/lib -R/usr/gnu/lib"
18861N/A
18861N/Aintltoolize --force --copy --automake
18861N/Aaclocal $ACLOCAL_FLAGS -I m4
18861N/Aautomake -a -c -f
18861N/Aautoconf
18861N/A./configure \
18861N/A --prefix=%{_prefix} \
18861N/A --without-poppler \
18861N/A --disable-scrollkeeper
18861N/Amake prefix=%{_prefix} -j$CPUS
18861N/A
18861N/A%install
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/Amake install DESTDIR=$RPM_BUILD_ROOT
18861N/Arm $RPM_BUILD_ROOT%{_libdir}/gnome-commander/*.a
18861N/Arm $RPM_BUILD_ROOT%{_libdir}/gnome-commander/*.la
18861N/Arm $RPM_BUILD_ROOT%{_libdir}/gnome-commander/plugins/*.a
18861N/Arm $RPM_BUILD_ROOT%{_libdir}/gnome-commander/plugins/*.la
18861N/A
18861N/A%if %build_l10n
18861N/A%else
18861N/A# REMOVE l10n FILES
18861N/Arm -r $RPM_BUILD_ROOT%{_datadir}/locale
18861N/Arm -r $RPM_BUILD_ROOT%{_datadir}/gnome/help/gnome-commander/[a-z]*
18861N/Arm -r $RPM_BUILD_ROOT%{_datadir}/omf/gnome-commander/*-[a-z][a-z].omf
18861N/A%endif
18861N/A
18861N/A%clean
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A
18861N/A%post
18861N/A%restart_fmri desktop-mime-cache
18861N/A
18861N/A%postun
18861N/A%restart_fmri desktop-mime-cache
19067N/A
19067N/A%files
18861N/A%doc(bzip2) COPYING ChangeLog
18861N/A%doc README NEWS
18861N/A%dir %attr (0755, root, other) %{_datadir}/doc
18861N/A%defattr (-, root, bin)
18861N/A%dir %attr (0755, root, bin) %{_bindir}
18861N/A%{_bindir}/*
18861N/A%dir %attr (0755, root, bin) %{_libdir}
18861N/A%{_libdir}/*
18861N/A%dir %attr (0755, root, sys) %{_datadir}
18861N/A%dir %attr (0755, root, other) %{_datadir}/applications
18861N/A%{_datadir}/applications/*
19171N/A%dir %attr (0755, root, other) %{_datadir}/gnome
19488N/A%{_datadir}/gnome/help/*/C
%{_datadir}/omf/gnome-commander/gnome-commander-C.omf
%dir %attr(0755, root, bin) %{_mandir}
%dir %attr(0755, root, bin) %{_mandir}/man1
%{_mandir}/man1/gnome-commander.1
%dir %attr (0755, root, other) %{_datadir}/pixmaps
%{_datadir}/pixmaps/*
%if %build_l10n
%files l10n
%defattr (-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
%attr (-, root, other) %{_datadir}/locale
%dir %attr (0755, root, other) %{_datadir}/gnome
%{_datadir}/gnome/help/gnome-commander/[a-z]*
%{_datadir}/omf/gnome-commander/*-[a-z]*.omf
%endif
%changelog
* Wed Oct 27 2010 - brian.cameron@oracle.com
- Bump to 1.2.8.8.
* Tue Feb 23 2010 - christian.kelly@sun.com
- Remove gnome-commander-03-fix-build.
* Mon Feb 15 2010 - christian.kelly@sun.com
- Bump to 1.2.8.5.
* Fri Dec 18 2009 - padraig.obriain@sun.com
- Bump to 1.2.8.4
- Add patch gnome-commander-02-fix-build to fix #doo 13310
* Wed Oct 14 2009 - dave.lin@sun.com
- Bump to 1.2.8.2.
- Removed the upstreamed patch 02-g11n-collation-str.diff.
- Removed the upstreamed patch 03-g11n-search-wz-im.diff.
- Add the following l10n files
%{_datadir}/omf/gnome-commander/*-[a-z]*
%{_datadir}/gnome/help/gnome-commander/[a-z]*
* Fri Apr 3 2009 - laca@sun.com
- use desktop-cache instead of postrun
* Wed Sep 10 2008 - padraig.obriain@sun.com
- Add %doc to %files for copyright
* Fri Aug 22 2008 - takao.fujiwara@sun.com
- Add gnome-commander-02-g11n-collation-str.diff to avoid crash on none UTF-8.
- Add gnome-commander-03-g11n-search-wz-im.diff to enable input method.
* Wed Aug 06 2008 - padraig.obriain@sun.com
- Update following review; bump to 1.2.7.
* Wed Jul 02 2008 - padraig.obriain@sun.com
- Copy from SFEgnome-commander
* Mon Feb 11 2008 - laca@sun.com
- add --disable-scrollkeeper configure option
* Thu Nov 15 2007 - daymobrew@users.sourceforge.net
- Add support for Indiana builds.
* Wed Oct 17 2007 - laca@sun.com
- add /usr/gnu to search paths for the indiana build
* Mon Oct 08 2007 - damien.carbery@sun.com
- Add deletion of /var files back for building on pre-GNOME 2.20 systems where
scrollkeeper is used. The /var files are not installed when rarian is used.
* Mon Oct 08 2007 - damien.carbery@sun.com
- Add intltoolize call and remove some non-l10n rm calls.
* Tue Jun 12 2007 - damien.carbery@sun.com
- Add patches, 08-warnx and 09-other, to fix a few more build issues.
- Update %files and %install now that build is working.
* Mon Jun 11 2007 - damien.carbery@sun.com
- Initial version