SUNWgnome-commander.spec revision 19224
10139N/A#
10139N/A# spec file for package SUNWgnome-commander
10139N/A#
12198N/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
10139N/A#
10139N/A%include Solaris.inc
10139N/A
15658N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
12578N/A
10139N/AName: SUNWgnome-commander
10139N/AIPS_package_name: desktop/file-manager/gnome-commander
10139N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/File Managers
14538N/AVendor: Gnome Community
11419N/ASummary: gnome commander file manager
10139N/AVersion: 1.2.8.8
11419N/ASource: http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/gnome-commander-%{version}.tar.bz2
10139N/A# date:2008-06-25 owner:padraig type:feature
10142N/APatch1: gnome-commander-01-desktop-menu.diff
10142N/ASUNW_BaseDir: %{_basedir}
10244N/ASUNW_Copyright: %{name}.copyright
14429N/ALicense: GPL v2
14429N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12773N/A%include default-depend.inc
14444N/A%include gnome-consolidation.inc
12773N/ABuildRequires: SUNWlibgnomecanvas-devel
11419N/ABuildRequires: SUNWlibgsf-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWgnome-vfs-devel
11419N/ABuildRequires: SUNWPython26
11437N/ABuildRequires: SUNWgnome-python26-libs-devel
11962N/ABuildRequires: SUNWgnome-doc-utils
11437N/ABuildRequires: SUNWgtk-doc
11437N/ARequires: SUNWlibgnomecanvas
10139N/ARequires: SUNWgnome-vfs
10139N/ARequires: SUNWlibgsf
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWgnome-python26-libs
10803N/ARequires: SUNWdesktop-cache
10139N/ARequires: SUNWgnome-panel
10139N/ARequires: SUNWvala
10139N/ARequires: SUNWaalib
10139N/A
10139N/A%if %build_l10n
13462N/A%package l10n
13462N/AIPS_package_name: desktop/file-manager/gnome-commander/l10n
13462N/ASummary: %{summary} - l10n files
11419N/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
11419N/A
10139N/A%prep
13901N/A%setup -q -n gnome-commander-%version
10139N/A%patch1 -p1
13901N/A
13571N/A%build
13901N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
13577N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
13901N/A CPUS=1
14048N/Afi
14048N/Aexport PYTHON="/usr/bin/python2.6"
14151N/Aexport CFLAGS="%optflags -I/usr/gnu/include"
14151N/Aexport LDFLAGS="-L/usr/gnu/lib -R/usr/gnu/lib"
14151N/A
14151N/Aintltoolize --force --copy --automake
15306N/Aaclocal $ACLOCAL_FLAGS -I m4
14455N/Aautomake -a -c -f
15326N/Aautoconf
15326N/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
10139N/A%if %build_l10n
10139N/A%else
10139N/A# REMOVE l10n FILES
10139N/Arm -r $RPM_BUILD_ROOT%{_datadir}/locale
10139N/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
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
10139N/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
10139N/A%{_mandir}/man1/gnome-commander.1
10139N/A%dir %attr (0755, root, other) %{_datadir}/pixmaps
10139N/A%{_datadir}/pixmaps/*
10244N/A
12754N/A%if %build_l10n
10139N/A%files l10n
11855N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
11855N/A%attr (-, root, other) %{_datadir}/locale
11855N/A%dir %attr (0755, root, other) %{_datadir}/gnome
11855N/A%{_datadir}/gnome/help/gnome-commander/[a-z]*
11855N/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
10139N/A- Add license tag.
13462N/A* Wed Oct 27 2010 - brian.cameron@oracle.com
13462N/A- Bump to 1.2.8.8.
13462N/A* Tue Feb 23 2010 - christian.kelly@sun.com
11419N/A- Remove gnome-commander-03-fix-build.
12524N/A* Mon Feb 15 2010 - christian.kelly@sun.com
10139N/A- Bump to 1.2.8.5.
11419N/A* Fri Dec 18 2009 - padraig.obriain@sun.com
13901N/A- Bump to 1.2.8.4
13901N/A- Add patch gnome-commander-02-fix-build to fix #doo 13310
13901N/A* Wed Oct 14 2009 - dave.lin@sun.com
13901N/A- Bump to 1.2.8.2.
14048N/A- Removed the upstreamed patch 02-g11n-collation-str.diff.
14151N/A- Removed the upstreamed patch 03-g11n-search-wz-im.diff.
15320N/A- Add the following l10n files
14455N/A %{_datadir}/omf/gnome-commander/*-[a-z]*
15326N/A %{_datadir}/gnome/help/gnome-commander/[a-z]*
12316N/A* Fri Apr 3 2009 - laca@sun.com
10142N/A- use desktop-cache instead of postrun
14429N/A* Wed Sep 10 2008 - padraig.obriain@sun.com
14429N/A- Add %doc to %files for copyright
11419N/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.
11419N/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.
10142N/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
12773N/A
12773N/A