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