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