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