SUNWgnome-dialog.spec
author davelam
Thu, 07 Aug 2008 02:31:31 +0000
branchgnome-2-22
changeset 12491 b2fc226f1836
parent 12135 eebf5298447c
child 12597 7d258fac2583
permissions -rw-r--r--
2008-08-07 Dave Lin <[email protected]> * closed/SUNWflash-player-plugin.spec: Hack the version number from 9.0.125 9.0.1250 to fix the integration issue, which was caused by the incorrect version number(9.0.1124 should be 9.0.124) in the previous version bump.
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-dialog
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): zenity
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9934
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
#
11610
a64b4e535564 2008-02-08 Michal Pryc <[email protected]>
migi
parents: 10637
diff changeset
    10
# Owner: migi
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
%use zenity = zenity.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Name:                    SUNWgnome-dialog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:                 GNOME graphical dialog box generator
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Source:                  %{name}-manpages-0.1.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
SUNW_BaseDir:            %{_basedir}
12135
eebf5298447c 2008-04-16 Michal Pryc <[email protected]>
migi
parents: 11610
diff changeset
    21
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Requires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Requires: SUNWperl584core
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Requires: SUNWpostrun
9621
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents: 9397
diff changeset
    28
Requires: SUNWgnome-panel
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
BuildRequires: SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
BuildRequires: SUNWgnome-doc-utils
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
BuildRequires: SUNWgnome-base-libs-devel
9934
d86b64758566 2007-05-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9621
diff changeset
    32
BuildRequires: SUNWgnome-panel-devel
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%zenity.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
export PKG_CONFIG_PATH=%{_pkg_config_path}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
export PERL=/usr/perl5/bin/perl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
export CFLAGS="%optflags -I%{_includedir}"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
export RPM_OPT_FLAGS="$CFLAGS"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
export LDFLAGS="%_ldflags -lX11"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%zenity.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%zenity.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
rm -rf $RPM_BUILD_ROOT%{_localstatedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
make install DESTDIR=$RPM_BUILD_ROOT
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
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/zenity/[a-z]*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/zenity/zenity-[a-z]*.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%endif
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
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
test -x $BASEDIR/lib/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%{_bindir}/*
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
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%{_datadir}/gnome/help/zenity/C
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%{_datadir}/omf/zenity/*-C.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%{_datadir}/zenity
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
%dir %attr(0755, root, bin) %{_mandir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%{_mandir}/*/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
%{_datadir}/gnome/help/zenity/[a-z]*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%{_datadir}/omf/zenity/zenity-[a-z]*.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
%changelog
10637
11751d9e16ee 2007-10-10 Damien Carbery <[email protected]>
dcarbery
parents: 10572
diff changeset
   112
* Wed Oct 10 2007 - [email protected]
11751d9e16ee 2007-10-10 Damien Carbery <[email protected]>
dcarbery
parents: 10572
diff changeset
   113
- Remove 'Requires: SUNWgnome-doc-utils' as it is only used during building;
11751d9e16ee 2007-10-10 Damien Carbery <[email protected]>
dcarbery
parents: 10572
diff changeset
   114
  change SUNWgnome-doc-utils-devel to SUNWgnome-doc-utils to match change in
11751d9e16ee 2007-10-10 Damien Carbery <[email protected]>
dcarbery
parents: 10572
diff changeset
   115
  SUNWgnome-doc-utils.spec.
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9934
diff changeset
   116
* Fri Sep 28 2007 - [email protected]
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9934
diff changeset
   117
- delete Nevada X dep
9934
d86b64758566 2007-05-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9621
diff changeset
   118
* Mon May 21 2007 - [email protected]
d86b64758566 2007-05-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9621
diff changeset
   119
- change SUNWgnome-panel-devel dep from Requires to BuildRequires
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
* Fri Sep 01 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
- New Manpage tarball
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
* Sat Aug 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
- delete some unnecessary env variables
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
- update %post/%postun/etc scripts to support diskless client setup,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
  part of 6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
- update postrun scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
* Wed May 10 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
* Tue May 09 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
- Change BuildRequires to SUNWgnome-doc-utils as the -share package has been
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
  merged into the base package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
* Sun Feb 18 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
* Thu Jan 05 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
- Remove empty /var/lib/scrollkeeper dir structure.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
* Fri Dec 02 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
- Add Build/Requires SUNWgnome-doc-utils/-share for gnome-doc-utils.make.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
* Tue Nov 29 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
- remove javahelp stuff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
* Tue Sep 13 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
- add unpackaged files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
* Tue Aug 30 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
- Remove some help files from %files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
* Tue May 24 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
- Bump to 2.10.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
* Thu Oct 28 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
- Updated l10n help tarball and added pt_BR
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
* Wed Oct 06 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
- added l10n help files section
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
* Sat Oct 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
- added %pkgbuild_postprocess
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
* Mon Aug 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
- s/SUNWpl5u/SUNWperl584usr/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
* Sat Jun 26 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
- Changed install location to /usr/...
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
* Wed Jun  2 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
- Added %{_datadir}/locale to install l10n messages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
* Wed Mar 24 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
- Added SGML man page integration
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
* Mon Mar 01 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
- define PERL5LIB.