SUNWgnome-menu-editor.spec
author davelam
Fri, 08 Aug 2008 01:12:57 +0000
branchgnome-2-22
changeset 12493 a4d9be4ee8a3
parent 11969 d908278e2dc8
child 13595 efaa866046ba
permissions -rw-r--r--
2008-08-08 Dave Lin <[email protected]> * SUNWlibgsf: Correct the dependency as below to fix the integration issues(CR6734966) Requires: SUNWlibms BuildRequires: SUNWlibm
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWgnome-menu-editor
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): alacarte
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
9782
906fb75d22eb 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
     6
# Copyright 2007 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
10646
c7368ee1154f 2007-10-12 Wang Xin <[email protected]>
jedy
parents: 9782
diff changeset
    10
# Owner: jedy
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%use alacarte = alacarte.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Name:          SUNWgnome-menu-editor
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Summary:       %alacarte.summary
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Version:       %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Source:        %{name}-manpages-0.1.tar.gz
11969
d908278e2dc8 2008-03-31 Wang Xin <[email protected]>
jedy
parents: 10646
diff changeset
    19
SUNW_Copyright: %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
SUNW_BaseDir:  %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Requires:      SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Requires:      SUNWgnome-panel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Requires:      SUNWgnome-python-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Requires:      SUNWpostrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Requires:      SUNWPython
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
BuildRequires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
BuildRequires: SUNWgnome-python-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
BuildRequires: SUNWPython
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
mkdir -p %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%alacarte.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
export CFLAGS="%optflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
export PYTHON="/usr/bin/python"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%alacarte.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%alacarte.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
rm -rf ${RPM_BUILD_ROOT}DISABLE
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%post
10646
c7368ee1154f 2007-10-12 Wang Xin <[email protected]>
jedy
parents: 9782
diff changeset
    69
%include icon-cache.script
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%defattr(-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%{_bindir}/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%attr (-, root, bin) %{_libdir}/python*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%{_datadir}/alacarte
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%dir %attr (0755, root, other) %{_datadir}/applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%{_datadir}/applications/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%attr (-, root, other) %{_datadir}/icons
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%dir %attr(0755, root, bin) %{_mandir}/man1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%{_mandir}/man1/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%changelog
10646
c7368ee1154f 2007-10-12 Wang Xin <[email protected]>
jedy
parents: 9782
diff changeset
    92
* Tue Oct 12 2007 - [email protected]
c7368ee1154f 2007-10-12 Wang Xin <[email protected]>
jedy
parents: 9782
diff changeset
    93
- Take the ownership from harrylu and change the inline postinstall
c7368ee1154f 2007-10-12 Wang Xin <[email protected]>
jedy
parents: 9782
diff changeset
    94
  script to an include. 
9782
906fb75d22eb 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    95
* Tue Apr 24 2007 - [email protected]
906fb75d22eb 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    96
- use $BASEDIR instead of $PKG_INSTALL_ROOT to fix diskless install
906fb75d22eb 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    97
  (CR 6537817)
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
* Thu Nov 02 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
- Added l10n package. Fixes 6493499
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
* Fri Nov 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
- Add missing SUNWPython dependency (for /usr/bin/alacarte).
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
* Mon Sep 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
- New Manpage tarball
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
* Tue Aug 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
- Divide SFEgnome-menu-editor.spec into alacarte.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
  and SUNWgnome-menu-editor.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
* Wed Aug 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
- bump up to 0.9.90 and add patch alacarte-01-force-reload.diff to make
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
  it work on solaris.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
* Wed Jul  5 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
- rename to SUNWgnome-menu-editor
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
- delete share subpkg
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
* Fri Apr 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
- Initial spec file