10139N/A#
10139N/A# spec file for package SUNWgnome-menu-editor
10139N/A#
10139N/A# includes module(s): alacarte
10139N/A#
16307N/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#
17185N/A%define owner jedy
10139N/A#
10139N/A%include Solaris.inc
10139N/A%use alacarte = alacarte.spec
10139N/A
10139N/AName: SUNWgnome-menu-editor
18688N/AIPS_package_name: desktop/xdg/menu-editor/alacarte
18688N/AMeta(info.classification): %{classification_prefix}:Applications/Configuration and Preferences
10139N/ASummary: %alacarte.summary
19013N/AVersion: %{alacarte.version}
10139N/ASource: %{name}-manpages-0.1.tar.gz
12711N/ASUNW_Copyright: %{name}.copyright
19994N/ALicense: LGPLv2
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWgnome-panel
19997N/ARequires: SUNWpygobject26
19997N/ARequires: SUNWpygtk2-26
16307N/ARequires: SUNWdesktop-cache
17615N/ARequires: SUNWPython26
10139N/ABuildRequires: SUNWgnome-libs-devel
19997N/ABuildRequires: SUNWpygobject26-devel
19997N/ABuildRequires: SUNWpygtk2-26-devel
17615N/ABuildRequires: SUNWPython26
18993N/ABuildRequires: SUNWpython26-setuptools
10139N/A
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/ARequires: %{name}
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"
17483N/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%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/Arm -rf ${RPM_BUILD_ROOT}DISABLE
10139N/A
10139N/A%post
16307N/A%restart_fmri icon-cache
10139N/A
10139N/A%files
14337N/A%doc -d alacarte-%{alacarte.version} AUTHORS
14337N/A%doc(bzip2) -d alacarte-%{alacarte.version} ChangeLog
14337N/A%doc(bzip2) -d alacarte-%{alacarte.version} COPYING
10139N/A%defattr(-, root, bin)
10139N/A%{_bindir}/
10139N/A%attr (-, root, bin) %{_libdir}/python*
10139N/A%dir %attr (0755, root, sys) %{_datadir}
14433N/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%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/A
10139N/A%changelog
17615N/A* Tue Oct 27 2009 - jedy.wang@sun.com
17615N/A- Change to depend on python 2.6.
16307N/A* Fri Apr 3 2009 - laca@sun.com
16307N/A- use desktop-cache instead of postrun
14433N/A* Fri Sep 19 2008 - christian.kelly@sun.com
14433N/A- Set permissions on /usr/share/doc.
14337N/A* Tue Sep 16 2008 - jedy.wang@sun.com
14337N/A- Add copyright files.
11388N/A* Tue Oct 12 2007 - jedy.wang@sun.com
11388N/A- Take the ownership from harrylu and change the inline postinstall
11388N/A script to an include.
10524N/A* Tue Apr 24 2007 - laca@sun.com
10524N/A- use $BASEDIR instead of $PKG_INSTALL_ROOT to fix diskless install
10524N/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).
10139N/A* Mon Sep 04 2006 - Matt.Keenan@sun.com
10139N/A- New Manpage tarball
10139N/A* Tue Aug 22 2006 - halton.huo@sun.com
10139N/A- Divide SFEgnome-menu-editor.spec into alacarte.spec
10139N/A and SUNWgnome-menu-editor.spec
10139N/A* Wed Aug 16 2006 - harry.lu@sun.com
10139N/A- bump up to 0.9.90 and add patch alacarte-01-force-reload.diff to make
10139N/A it work on solaris.
10139N/A* Wed Jul 5 2006 - laca@sun.com
10139N/A- rename to SUNWgnome-menu-editor
10139N/A- delete share subpkg
10139N/A* Fri Apr 21 2006 - glynn.foster@sun.com
10139N/A- Initial spec file
19262N/A
19579N/A