SUNWgnome-menu-editor.spec
author hem
Mon, 08 Feb 2010 06:46:00 +0000
branchopensolaris-2009-06
changeset 14354 c3d6244280dc
parent 14173 fe63d4719576
child 15556 79756053d7da
permissions -rw-r--r--
2010-02-08 Hemantha Holla <[email protected]> * base-specs/pidgin.spec: Bump to 2.6.5 as fix for 6913836 * patches/pidgin-07-menu-entry.diff: Rework 6913836 - CVE-2010-0013 - libpurple arbitrary file upload vulnerability
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
14173
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents: 13691
diff changeset
    31
BuildRequires: SUNWpython-setuptools
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
mkdir -p %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%alacarte.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
export CFLAGS="%optflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
export PYTHON="/usr/bin/python"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%alacarte.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%alacarte.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
rm -rf ${RPM_BUILD_ROOT}DISABLE
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%post
10646
c7368ee1154f 2007-10-12 Wang Xin <[email protected]>
jedy
parents: 9782
diff changeset
    70
%include icon-cache.script
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%files
13595
efaa866046ba 2008-09-16 Wang Xin <[email protected]>
jedy
parents: 11969
diff changeset
    73
%doc -d alacarte-%{alacarte.version} AUTHORS
efaa866046ba 2008-09-16 Wang Xin <[email protected]>
jedy
parents: 11969
diff changeset
    74
%doc(bzip2) -d alacarte-%{alacarte.version} ChangeLog
efaa866046ba 2008-09-16 Wang Xin <[email protected]>
jedy
parents: 11969
diff changeset
    75
%doc(bzip2) -d alacarte-%{alacarte.version} COPYING
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%defattr(-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%{_bindir}/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%attr (-, root, bin) %{_libdir}/python*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%dir %attr (0755, root, sys) %{_datadir}
13691
19d6927b9279 2008-09-19 Christian Kelly <[email protected]>
chrisk
parents: 13595
diff changeset
    80
%dir %attr (0755, root, other) %{_datadir}/doc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%{_datadir}/alacarte
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%dir %attr (0755, root, other) %{_datadir}/applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%{_datadir}/applications/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%attr (-, root, other) %{_datadir}/icons
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%dir %attr(0755, root, bin) %{_mandir}/man1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%{_mandir}/man1/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%changelog
13691
19d6927b9279 2008-09-19 Christian Kelly <[email protected]>
chrisk
parents: 13595
diff changeset
    97
* Fri Sep 19 2008 - [email protected]
19d6927b9279 2008-09-19 Christian Kelly <[email protected]>
chrisk
parents: 13595
diff changeset
    98
- Set permissions on /usr/share/doc.
13595
efaa866046ba 2008-09-16 Wang Xin <[email protected]>
jedy
parents: 11969
diff changeset
    99
* Tue Sep 16 2008 - [email protected]
efaa866046ba 2008-09-16 Wang Xin <[email protected]>
jedy
parents: 11969
diff changeset
   100
- Add copyright files.
10646
c7368ee1154f 2007-10-12 Wang Xin <[email protected]>
jedy
parents: 9782
diff changeset
   101
* Tue Oct 12 2007 - [email protected]
c7368ee1154f 2007-10-12 Wang Xin <[email protected]>
jedy
parents: 9782
diff changeset
   102
- Take the ownership from harrylu and change the inline postinstall
c7368ee1154f 2007-10-12 Wang Xin <[email protected]>
jedy
parents: 9782
diff changeset
   103
  script to an include. 
9782
906fb75d22eb 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   104
* Tue Apr 24 2007 - [email protected]
906fb75d22eb 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   105
- 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
   106
  (CR 6537817)
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
* Thu Nov 02 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
- Added l10n package. Fixes 6493499
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
* Fri Nov 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
- Add missing SUNWPython dependency (for /usr/bin/alacarte).
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
* Mon Sep 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
- New Manpage tarball
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
* Tue Aug 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
- Divide SFEgnome-menu-editor.spec into alacarte.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
  and SUNWgnome-menu-editor.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
* Wed Aug 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
- 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
   118
  it work on solaris.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
* Wed Jul  5 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
- rename to SUNWgnome-menu-editor
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
- delete share subpkg
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
* Fri Apr 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
- Initial spec file