SUNWgnome-menu-editor.spec revision 19994
10139N/A#
10139N/A# spec file for package SUNWgnome-menu-editor
10139N/A#
12153N/A# includes module(s): alacarte
10139N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
20895N/A# package are under the same license as the package itself.
10139N/A#
17181N/A%define owner jedy
18603N/A#
17181N/A%include Solaris.inc
10139N/A%use alacarte = alacarte.spec
15313N/A
10139N/AName: SUNWgnome-menu-editor
19064N/AIPS_package_name: desktop/xdg/menu-editor/alacarte
10139N/AMeta(info.classification): %{classification_prefix}:Applications/Configuration and Preferences
10139N/ASummary: %alacarte.summary
18616N/AVersion: %{alacarte.version}
10139N/ASource: %{name}-manpages-0.1.tar.gz
17401N/ASUNW_Copyright: %{name}.copyright
10139N/ALicense: LGPLv2
10679N/ASUNW_BaseDir: %{_basedir}
16228N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
16228N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
16246N/ARequires: SUNWgnome-libs
16246N/ARequires: SUNWgnome-panel
17770N/ARequires: SUNWgnome-python26-libs
17770N/ARequires: SUNWdesktop-cache
10139N/ARequires: SUNWPython26
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWgnome-python26-libs-devel
10139N/ABuildRequires: SUNWPython26
10139N/ABuildRequires: SUNWpython26-setuptools
10139N/A
10139N/A%if %build_l10n
10139N/A%package l10n
10139N/AIPS_package_name: desktop/xdg/menu-editor/alacarte/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/Arm -rf %name-%version
10139N/Amkdir -p %name-%version
10139N/A%alacarte.prep -d %name-%version
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/A
10139N/A%build
10139N/Aexport CFLAGS="%optflags"
10139N/Aexport PYTHON="/usr/bin/python"%{default_python_version}
10139N/A%alacarte.build -d %name-%version
10139N/A
10139N/A%install
10139N/A%alacarte.install -d %name-%version
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A%if %build_l10n
10139N/A%else
16246N/A# REMOVE l10n FILES
17770N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
10139N/A%endif
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/Arm -rf ${RPM_BUILD_ROOT}DISABLE
10139N/A
10139N/A%post
10139N/A%restart_fmri icon-cache
10139N/A
10139N/A%files
10139N/A%doc -d alacarte-%{alacarte.version} AUTHORS
10139N/A%doc(bzip2) -d alacarte-%{alacarte.version} ChangeLog
10139N/A%doc(bzip2) -d alacarte-%{alacarte.version} COPYING
12173N/A%defattr(-, root, bin)
16803N/A%{_bindir}/
10139N/A%attr (-, root, bin) %{_libdir}/python*
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%{_datadir}/alacarte
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
10139N/A%{_datadir}/applications/*
10139N/A%attr (-, root, other) %{_datadir}/icons
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/man1
10139N/A%{_mandir}/man1/*
10139N/A
10139N/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%endif
10139N/A
10139N/A%changelog
10139N/A* Tue Oct 27 2009 - jedy.wang@sun.com
10139N/A- Change to depend on python 2.6.
10139N/A* Fri Apr 3 2009 - laca@sun.com
10139N/A- use desktop-cache instead of postrun
10139N/A* Fri Sep 19 2008 - christian.kelly@sun.com
10139N/A- Set permissions on /usr/share/doc.
10139N/A* Tue Sep 16 2008 - jedy.wang@sun.com
10139N/A- Add copyright files.
10139N/A* Tue Oct 12 2007 - jedy.wang@sun.com
10139N/A- Take the ownership from harrylu and change the inline postinstall
10139N/A script to an include.
10139N/A* Tue Apr 24 2007 - laca@sun.com
10139N/A- use $BASEDIR instead of $PKG_INSTALL_ROOT to fix diskless install
10139N/A (CR 6537817)
10139N/A* Thu Nov 02 2006 - takao.fujiwara@sun.com
10139N/A- Added l10n package. Fixes 6493499
10139N/A* Fri Nov 16 2006 - damien.carbery@sun.com
10139N/A- Add missing SUNWPython dependency (for /usr/bin/alacarte).
19064N/A* Mon Sep 04 2006 - Matt.Keenan@sun.com
19064N/A- New Manpage tarball
18543N/A* Tue Aug 22 2006 - halton.huo@sun.com
18543N/A- Divide SFEgnome-menu-editor.spec into alacarte.spec
17770N/A and SUNWgnome-menu-editor.spec
17770N/A* Wed Aug 16 2006 - harry.lu@sun.com
17401N/A- bump up to 0.9.90 and add patch alacarte-01-force-reload.diff to make
17401N/A it work on solaris.
16803N/A* Wed Jul 5 2006 - laca@sun.com
16803N/A- rename to SUNWgnome-menu-editor
16372N/A- delete share subpkg
16372N/A* Fri Apr 21 2006 - glynn.foster@sun.com
16246N/A- Initial spec file
16246N/A
16228N/A
16228N/A