author | miles |
Wed, 24 Nov 2004 17:42:33 +0000 | |
changeset 4632 | 6e3a40736eb9 |
parent 4581 | df6e432140d1 |
child 4689 | e27c4329df06 |
permissions | -rw-r--r-- |
372 | 1 |
# |
2 |
# spec file for package zenity |
|
3 |
# |
|
601 | 4 |
# Copyright (c) 2003 Sun Microsystems, Inc. |
372 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
||
9 |
||
10 |
Name: zenity |
|
998 | 11 |
License: LGPL |
372 | 12 |
Group: System/GUI/GNOME |
2290 | 13 |
Version: 2.6.0 |
4579 | 14 |
Release: 25 |
1914 | 15 |
Distribution: Cinnabar |
575 | 16 |
Vendor: Sun Microsystems, Inc. |
372 | 17 |
Summary: Show graphical dialog boxes from scripts |
2290 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/zenity/2.6/%{name}-%{version}.tar.bz2 |
3664
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3580
diff
changeset
|
19 |
Source1: zenity-docs-0.2.tar.bz2 |
4632 | 20 |
Source2: zenity-l10n-po-1.9.tar.bz2 |
3488
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
21 |
Source3: zenity.1.gz |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
22 |
Source4: gdialog.1.gz |
4352 | 23 |
Source5: zenity-l10n-online-help-ci.tar.bz2 |
4455 | 24 |
Source6: l10n-configure.sh |
4352 | 25 |
Patch1: zenity-01-l10n-online-help.diff |
4581 | 26 |
Patch2: zenity-02-icon-size-crash.diff |
372 | 27 |
URL: http://www.gnome.org |
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
29 |
Docdir: %{_defaultdocdir}/%{name} |
|
30 |
Autoreqprov: on |
|
1080 | 31 |
Prereq: scrollkeeper |
372 | 32 |
|
1914 | 33 |
%define gtk2_version 2.3.1 |
1243 | 34 |
%define libgnomecanvas_version 2.4.0 |
35 |
%define GConf_version 2.4.0.1 |
|
1914 | 36 |
%define libglade_version 2.3.1 |
372 | 37 |
%define popt_version 1.6.4 |
1243 | 38 |
%define scrollkeeper_version 0.3.12 |
372 | 39 |
|
40 |
Requires: gtk2 >= %{gtk2_version} |
|
41 |
Requires: libgnomecanvas >= %{libgnomecanvas_version} |
|
42 |
Requires: GConf >= %{GConf_version} |
|
43 |
Requires: libglade >= %{libglade_version} |
|
806 | 44 |
Requires: scrollkeeper >= %{scrollkeeper_version} |
372 | 45 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
46 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
47 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
48 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
49 |
BuildRequires: popt-devel >= %{popt_version} |
|
1073 | 50 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
2456 | 51 |
BuildRequires: javahelp-convert |
372 | 52 |
|
53 |
%description |
|
54 |
Show graphical dialog boxes from the commandline or through scripts. Zenity is a |
|
55 |
predecessor to dialog. |
|
56 |
||
57 |
%prep |
|
58 |
%setup -q |
|
59 |
||
2996 | 60 |
bzcat %SOURCE1 | tar xf - |
3488
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
61 |
bzcat %SOURCE2 | tar xf - |
4352 | 62 |
bzcat %SOURCE5 | tar xf - |
63 |
%patch1 -p1 |
|
4581 | 64 |
%patch2 -p1 |
2996 | 65 |
|
4455 | 66 |
bash -x %SOURCE6 |
67 |
||
372 | 68 |
%build |
3263 | 69 |
%ifos linux |
70 |
if [ -x /usr/bin/getconf ]; then |
|
71 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
72 |
fi |
|
73 |
%else |
|
3846 | 74 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 75 |
%endif |
76 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
77 |
CPUS=1 |
|
78 |
fi |
|
79 |
||
2234 | 80 |
libtoolize --force |
81 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
82 |
automake -a -c -f |
|
83 |
autoconf |
|
372 | 84 |
CFLAGS="$RPM_OPT_FLAGS" \ |
85 |
./configure \ |
|
86 |
--prefix=%{_prefix} \ |
|
87 |
--sysconfdir=%{_sysconfdir} \ |
|
373 | 88 |
--mandir=%{_mandir} |
3263 | 89 |
make -j $CPUS |
372 | 90 |
|
91 |
%install |
|
92 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
1522 | 93 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
3451
e631547cac6d
I claimed to add this change to CVS on 07/23, really doing it today.
bc99092
parents:
3425
diff
changeset
|
94 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
3488
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
95 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1 |
1461 | 96 |
#Copy zh_HK from zh_TW |
97 |
#Fixes bug 4930405 |
|
1522 | 98 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
99 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
372 | 100 |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
101 |
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
|
102 |
|
372 | 103 |
%clean |
104 |
rm -rf $RPM_BUILD_ROOT |
|
105 |
||
106 |
%post |
|
413 | 107 |
scrollkeeper-update -q |
108 |
||
109 |
%postun |
|
110 |
scrollkeeper-update -q |
|
372 | 111 |
|
112 |
%files |
|
113 |
%defattr (-, root, root) |
|
114 |
%{_bindir}/* |
|
115 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
116 |
%{_datadir}/omf/zenity |
|
117 |
%{_datadir}/zenity/* |
|
1243 | 118 |
%{_datadir}/gnome/help |
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
119 |
%{_datadir}/gnome/javahelp |
3715 | 120 |
%{_mandir}/man1/* |
372 | 121 |
|
122 |
%changelog |
|
4352 | 123 |
* Thu Oct 28 2004 - [email protected] |
124 |
- Updated l10n help tarball and added pt_BR |
|
125 |
||
3715 | 126 |
* Tue Aug 24 2004 - [email protected] |
127 |
- fixed man page file list issue |
|
3664
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3580
diff
changeset
|
128 |
* Fri Aug 20 2004 - [email protected] |
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3580
diff
changeset
|
129 |
- Integrated updated docs tarball from [email protected]. |
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3580
diff
changeset
|
130 |
|
3488
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
131 |
* Thu Aug 05 2004 - [email protected] |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
132 |
- Integrated docs tarball from [email protected] |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
133 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
134 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
135 |
- Updated l10n content to zenity-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
136 |
|
3263 | 137 |
* Wed Jul 07 2004 - [email protected] |
138 |
- added "-j $CPUS" to make to speed up builds |
|
139 |
||
2996 | 140 |
* Wed Jun 2 2004 - [email protected] |
141 |
- Added %SOURCE1 to install l10n messages |
|
2737 | 142 |
* Wed May 12 2004 - [email protected] |
143 |
- Updated l10n content to zenity-l10n-po-1.1.tar.bz2 |
|
144 |
||
2485 | 145 |
* Sun Apr 18 2004 - [email protected] |
146 |
- enable javahelp conversion on Solaris |
|
147 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
148 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
149 |
- Javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
150 |
|
2350 | 151 |
* Mon Mar 29 2004 - [email protected] |
152 |
- Updated l10n content to zenity-l10n-po-1.0.tar.bz2 |
|
153 |
||
2290 | 154 |
* Tue Mar 23 2004 - [email protected] |
155 |
- Bump to 2.6.0 |
|
156 |
||
2234 | 157 |
* Wed Mar 17 2004 - [email protected] |
158 |
- re-autotoolize to pick up fixed glib-gettext macros needed on Solaris |
|
159 |
||
2222 | 160 |
* Tue Mar 15 2004 - [email protected] |
161 |
- Remove man page patch since we do this |
|
162 |
with %files. |
|
163 |
||
1914 | 164 |
* Tue Feb 24 2004 - [email protected] |
165 |
- Update tarball to 2.5.2 |
|
166 |
||
1461 | 167 |
* Wed Dec 17 2003 - [email protected] |
168 |
- Update tarball to 1.7 |
|
169 |
||
1243 | 170 |
* Mon Oct 13 2003 - [email protected] |
171 |
- Update tarball |
|
172 |
||
1028 | 173 |
* Mon Aug 11 2003 - [email protected] |
174 |
- Update tarball |
|
175 |
||
806 | 176 |
* Fri Jul 25 2003 - [email protected] |
177 |
- Requires scrollkeeper for postinstall. Add a dependency |
|
178 |
||
372 | 179 |
* Tue Jul 01 2003 - [email protected] |
180 |
- Initial Sun release |