zenity.spec
author woos
Mon, 28 Jun 2004 02:49:14 +0000
changeset 3224 8ca3f4526524
parent 3120 cb346324f8c9
child 3263 3c14210c0b99
permissions -rw-r--r--
Incremented release numbers for Cinnabar build 12
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     1
#
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     2
# spec file for package zenity
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     3
#
601
7a2f75f5bd95 2003-07-16 Mark McLoughlin <[email protected]>
markmc
parents: 575
diff changeset
     4
# Copyright (c) 2003 Sun Microsystems, Inc.
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     6
# package are under the same license as the package itself.
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     7
#
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     8
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     9
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    10
Name:         zenity
998
d31ee179f0a7 Updated to LGPL
gman
parents: 831
diff changeset
    11
License:      LGPL
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    12
Group:        System/GUI/GNOME
2290
0dd9c3fadb2a 2004-03-23 Glynn Foster <[email protected]>
gman
parents: 2280
diff changeset
    13
Version:      2.6.0
3224
8ca3f4526524 Incremented release numbers for Cinnabar build 12
woos
parents: 3120
diff changeset
    14
Release:      13
1914
c9d642d14447 2004-02-24 Glynn Foster <[email protected]>
gman
parents: 1876
diff changeset
    15
Distribution: Cinnabar
575
2b5c59a05848 2003-07-15 Mark McLoughlin <[email protected]>
markmc
parents: 569
diff changeset
    16
Vendor:       Sun Microsystems, Inc.
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    17
Summary:      Show graphical dialog boxes from scripts
2290
0dd9c3fadb2a 2004-03-23 Glynn Foster <[email protected]>
gman
parents: 2280
diff changeset
    18
Source:       http://ftp.gnome.org/pub/GNOME/sources/zenity/2.6/%{name}-%{version}.tar.bz2
2996
1c4d00017dad 2004-06-02 Takao Fujiwara <[email protected]>
fujiwara
parents: 2958
diff changeset
    19
Source1:      zenity-l10n-po-1.1.tar.bz2
1461
bad5068ec867 2003-12-17 Glynn Foster <[email protected]>
gman
parents: 1243
diff changeset
    20
Source2:      zenity.1.gz
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    21
URL:          http://www.gnome.org
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    22
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    23
Docdir:       %{_defaultdocdir}/%{name}
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    24
Autoreqprov:  on
1080
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1073
diff changeset
    25
Prereq:       scrollkeeper
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    26
1914
c9d642d14447 2004-02-24 Glynn Foster <[email protected]>
gman
parents: 1876
diff changeset
    27
%define gtk2_version 2.3.1
1243
e5d0ee5479f9 2003-10-13 Laszlo Peter <[email protected]>
re
parents: 1195
diff changeset
    28
%define libgnomecanvas_version 2.4.0
e5d0ee5479f9 2003-10-13 Laszlo Peter <[email protected]>
re
parents: 1195
diff changeset
    29
%define GConf_version 2.4.0.1
1914
c9d642d14447 2004-02-24 Glynn Foster <[email protected]>
gman
parents: 1876
diff changeset
    30
%define libglade_version 2.3.1
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    31
%define popt_version 1.6.4
1243
e5d0ee5479f9 2003-10-13 Laszlo Peter <[email protected]>
re
parents: 1195
diff changeset
    32
%define scrollkeeper_version 0.3.12
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    33
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    34
Requires:	gtk2 >= %{gtk2_version}
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    35
Requires:	libgnomecanvas >= %{libgnomecanvas_version}
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    36
Requires:	GConf >= %{GConf_version}
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    37
Requires:	libglade >= %{libglade_version}
806
4417c190414d 2003-07-25 Niall Power <[email protected]>
niall
parents: 601
diff changeset
    38
Requires:       scrollkeeper >= %{scrollkeeper_version}
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    39
BuildRequires:  gtk2-devel >= %{gtk2_version}
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    40
BuildRequires:  libgnomecanvas-devel >= %{libgnomecanvas_version}
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    41
BuildRequires:  GConf-devel >= %{GConf_version}
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    42
BuildRequires:  libglade-devel >= %{libglade_version}
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    43
BuildRequires:  popt-devel >= %{popt_version}
1073
98bc04ecaaae 2003-08-18 Glynn Foster <[email protected]>
gman
parents: 1028
diff changeset
    44
BuildRequires:  scrollkeeper >= %{scrollkeeper_version}
2456
112551398fd5 BuildRequires : javahelp-convert
mattk
parents: 2398
diff changeset
    45
BuildRequires:  javahelp-convert
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    46
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    47
%description
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    48
Show graphical dialog boxes from the commandline or through scripts. Zenity is a 
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    49
predecessor to dialog.
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    50
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    51
%prep
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    52
%setup -q
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    53
2996
1c4d00017dad 2004-06-02 Takao Fujiwara <[email protected]>
fujiwara
parents: 2958
diff changeset
    54
bzcat %SOURCE1 | tar xf -
1c4d00017dad 2004-06-02 Takao Fujiwara <[email protected]>
fujiwara
parents: 2958
diff changeset
    55
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    56
%build
2234
ca2a9343c6fd 2004-03-17 Laszlo Peter <[email protected]>
laca
parents: 2222
diff changeset
    57
libtoolize --force
ca2a9343c6fd 2004-03-17 Laszlo Peter <[email protected]>
laca
parents: 2222
diff changeset
    58
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros
ca2a9343c6fd 2004-03-17 Laszlo Peter <[email protected]>
laca
parents: 2222
diff changeset
    59
automake -a -c -f
ca2a9343c6fd 2004-03-17 Laszlo Peter <[email protected]>
laca
parents: 2222
diff changeset
    60
autoconf
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    61
CFLAGS="$RPM_OPT_FLAGS" \
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    62
  ./configure \
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    63
	--prefix=%{_prefix} \
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    64
	--sysconfdir=%{_sysconfdir} \
373
975ba5b26631 2003-07-01 Glynn Foster <[email protected]>
gman
parents: 372
diff changeset
    65
	--mandir=%{_mandir}
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    66
make
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    67
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    68
%install
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    69
make -i install DESTDIR=$RPM_BUILD_ROOT
1522
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1461
diff changeset
    70
install -d $RPM_BUILD_ROOT%{_mandir}/man1
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1461
diff changeset
    71
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1
1461
bad5068ec867 2003-12-17 Glynn Foster <[email protected]>
gman
parents: 1243
diff changeset
    72
#Copy zh_HK from zh_TW
bad5068ec867 2003-12-17 Glynn Foster <[email protected]>
gman
parents: 1243
diff changeset
    73
#Fixes bug 4930405
1522
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1461
diff changeset
    74
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1461
diff changeset
    75
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    76
2362
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2350
diff changeset
    77
javahelp-convert-install $RPM_BUILD_ROOT %{name} %{name}.xml
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2350
diff changeset
    78
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    79
%clean
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    80
rm -rf $RPM_BUILD_ROOT
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    81
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    82
%post
413
3e27fbbe6ce7 2003-07-03 Glynn Foster <[email protected]>
gman
parents: 373
diff changeset
    83
scrollkeeper-update -q
3e27fbbe6ce7 2003-07-03 Glynn Foster <[email protected]>
gman
parents: 373
diff changeset
    84
3e27fbbe6ce7 2003-07-03 Glynn Foster <[email protected]>
gman
parents: 373
diff changeset
    85
%postun
3e27fbbe6ce7 2003-07-03 Glynn Foster <[email protected]>
gman
parents: 373
diff changeset
    86
scrollkeeper-update -q
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    87
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    88
%files
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    89
%defattr (-, root, root)
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    90
%{_bindir}/*
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    91
%{_datadir}/locale/*/LC_MESSAGES/*.mo
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    92
%{_datadir}/omf/zenity
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    93
%{_datadir}/zenity/*
1243
e5d0ee5479f9 2003-10-13 Laszlo Peter <[email protected]>
re
parents: 1195
diff changeset
    94
%{_datadir}/gnome/help
2362
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2350
diff changeset
    95
%{_datadir}/gnome/javahelp
2222
7f47bfcc5ef1 2004-03-17 Glynn Foster <[email protected]>
gman
parents: 2159
diff changeset
    96
%{_mandir}/man1/zenity.1.gz
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    97
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    98
%changelog
2996
1c4d00017dad 2004-06-02 Takao Fujiwara <[email protected]>
fujiwara
parents: 2958
diff changeset
    99
* Wed Jun  2 2004 - [email protected]
1c4d00017dad 2004-06-02 Takao Fujiwara <[email protected]>
fujiwara
parents: 2958
diff changeset
   100
- Added %SOURCE1 to install l10n messages
2737
3fbc8d8f1361 Updated to reflect 1.1 tarballs for l10n content
damiend
parents: 2619
diff changeset
   101
* Wed May 12 2004 - [email protected]
3fbc8d8f1361 Updated to reflect 1.1 tarballs for l10n content
damiend
parents: 2619
diff changeset
   102
- Updated l10n content to zenity-l10n-po-1.1.tar.bz2
3fbc8d8f1361 Updated to reflect 1.1 tarballs for l10n content
damiend
parents: 2619
diff changeset
   103
2485
acf1c4f9b7c2 2004-04-18 Laszlo Peter <[email protected]>
laca
parents: 2456
diff changeset
   104
* Sun Apr 18 2004 - [email protected]
acf1c4f9b7c2 2004-04-18 Laszlo Peter <[email protected]>
laca
parents: 2456
diff changeset
   105
- enable javahelp conversion on Solaris
acf1c4f9b7c2 2004-04-18 Laszlo Peter <[email protected]>
laca
parents: 2456
diff changeset
   106
2362
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2350
diff changeset
   107
* Thu Apr 01 2004 - [email protected]
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2350
diff changeset
   108
- Javahelp conversion
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2350
diff changeset
   109
2350
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2290
diff changeset
   110
* Mon Mar 29 2004 - [email protected]
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2290
diff changeset
   111
- Updated l10n content to zenity-l10n-po-1.0.tar.bz2
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2290
diff changeset
   112
2290
0dd9c3fadb2a 2004-03-23 Glynn Foster <[email protected]>
gman
parents: 2280
diff changeset
   113
* Tue Mar 23 2004 - [email protected]
0dd9c3fadb2a 2004-03-23 Glynn Foster <[email protected]>
gman
parents: 2280
diff changeset
   114
- Bump to 2.6.0
0dd9c3fadb2a 2004-03-23 Glynn Foster <[email protected]>
gman
parents: 2280
diff changeset
   115
2234
ca2a9343c6fd 2004-03-17 Laszlo Peter <[email protected]>
laca
parents: 2222
diff changeset
   116
* Wed Mar 17 2004 - [email protected]
ca2a9343c6fd 2004-03-17 Laszlo Peter <[email protected]>
laca
parents: 2222
diff changeset
   117
- re-autotoolize to pick up fixed glib-gettext macros needed on Solaris
ca2a9343c6fd 2004-03-17 Laszlo Peter <[email protected]>
laca
parents: 2222
diff changeset
   118
2222
7f47bfcc5ef1 2004-03-17 Glynn Foster <[email protected]>
gman
parents: 2159
diff changeset
   119
* Tue Mar 15 2004 - [email protected]
7f47bfcc5ef1 2004-03-17 Glynn Foster <[email protected]>
gman
parents: 2159
diff changeset
   120
- Remove man page patch since we do this 
7f47bfcc5ef1 2004-03-17 Glynn Foster <[email protected]>
gman
parents: 2159
diff changeset
   121
  with %files.
7f47bfcc5ef1 2004-03-17 Glynn Foster <[email protected]>
gman
parents: 2159
diff changeset
   122
1914
c9d642d14447 2004-02-24 Glynn Foster <[email protected]>
gman
parents: 1876
diff changeset
   123
* Tue Feb 24 2004 - [email protected]
c9d642d14447 2004-02-24 Glynn Foster <[email protected]>
gman
parents: 1876
diff changeset
   124
- Update tarball to 2.5.2
c9d642d14447 2004-02-24 Glynn Foster <[email protected]>
gman
parents: 1876
diff changeset
   125
1461
bad5068ec867 2003-12-17 Glynn Foster <[email protected]>
gman
parents: 1243
diff changeset
   126
* Wed Dec 17 2003 - [email protected]
bad5068ec867 2003-12-17 Glynn Foster <[email protected]>
gman
parents: 1243
diff changeset
   127
- Update tarball to 1.7
bad5068ec867 2003-12-17 Glynn Foster <[email protected]>
gman
parents: 1243
diff changeset
   128
1243
e5d0ee5479f9 2003-10-13 Laszlo Peter <[email protected]>
re
parents: 1195
diff changeset
   129
* Mon Oct 13 2003 - [email protected]
e5d0ee5479f9 2003-10-13 Laszlo Peter <[email protected]>
re
parents: 1195
diff changeset
   130
- Update tarball
e5d0ee5479f9 2003-10-13 Laszlo Peter <[email protected]>
re
parents: 1195
diff changeset
   131
1028
c69ccc017773 2003-08-11 Glynn Foster <[email protected]>
gman
parents: 1025
diff changeset
   132
* Mon Aug 11 2003 - [email protected]
c69ccc017773 2003-08-11 Glynn Foster <[email protected]>
gman
parents: 1025
diff changeset
   133
- Update tarball
c69ccc017773 2003-08-11 Glynn Foster <[email protected]>
gman
parents: 1025
diff changeset
   134
806
4417c190414d 2003-07-25 Niall Power <[email protected]>
niall
parents: 601
diff changeset
   135
* Fri Jul 25 2003 - [email protected]
4417c190414d 2003-07-25 Niall Power <[email protected]>
niall
parents: 601
diff changeset
   136
- Requires scrollkeeper for postinstall. Add a dependency
4417c190414d 2003-07-25 Niall Power <[email protected]>
niall
parents: 601
diff changeset
   137
372
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   138
* Tue Jul 01 2003 - [email protected]
3b0615669df9 2003-07-01 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   139
- Initial Sun release