author | dermotm |
Mon, 28 Mar 2005 11:55:09 +0000 | |
changeset 5281 | 67ebf8abba9e |
parent 5277 | a24488e36721 |
child 5285 | 0adbc5030bb3 |
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 |
5281 | 14 |
Release: 34 |
4867
e8cfe7e64783
*.spec (almost): update Vendor and Distribution tags
dermotm
parents:
4860
diff
changeset
|
15 |
Distribution: Java Desktop System, Release 3 |
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 |
5277 | 20 |
Source2: zenity-l10n-po-1.14.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 |
5226 | 23 |
Source5: zenity-l10n-online-help-ci-linux-1.0.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 |
|
31 |
||
1914 | 32 |
%define gtk2_version 2.3.1 |
1243 | 33 |
%define libgnomecanvas_version 2.4.0 |
34 |
%define GConf_version 2.4.0.1 |
|
1914 | 35 |
%define libglade_version 2.3.1 |
372 | 36 |
%define popt_version 1.6.4 |
1243 | 37 |
%define scrollkeeper_version 0.3.12 |
372 | 38 |
|
39 |
Requires: gtk2 >= %{gtk2_version} |
|
40 |
Requires: libgnomecanvas >= %{libgnomecanvas_version} |
|
41 |
Requires: GConf >= %{GConf_version} |
|
42 |
Requires: libglade >= %{libglade_version} |
|
43 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
44 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
45 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
46 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
47 |
BuildRequires: popt-devel >= %{popt_version} |
|
1073 | 48 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
2456 | 49 |
BuildRequires: javahelp-convert |
372 | 50 |
|
51 |
%description |
|
52 |
Show graphical dialog boxes from the commandline or through scripts. Zenity is a |
|
53 |
predecessor to dialog. |
|
54 |
||
55 |
%prep |
|
56 |
%setup -q |
|
57 |
||
2996 | 58 |
bzcat %SOURCE1 | tar xf - |
3488
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
59 |
bzcat %SOURCE2 | tar xf - |
4352 | 60 |
bzcat %SOURCE5 | tar xf - |
61 |
%patch1 -p1 |
|
4581 | 62 |
%patch2 -p1 |
2996 | 63 |
|
4455 | 64 |
bash -x %SOURCE6 |
65 |
||
372 | 66 |
%build |
3263 | 67 |
%ifos linux |
68 |
if [ -x /usr/bin/getconf ]; then |
|
69 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
70 |
fi |
|
71 |
%else |
|
3846 | 72 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 73 |
%endif |
74 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
75 |
CPUS=1 |
|
76 |
fi |
|
77 |
||
2234 | 78 |
libtoolize --force |
79 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
80 |
automake -a -c -f |
|
81 |
autoconf |
|
372 | 82 |
CFLAGS="$RPM_OPT_FLAGS" \ |
83 |
./configure \ |
|
84 |
--prefix=%{_prefix} \ |
|
85 |
--sysconfdir=%{_sysconfdir} \ |
|
373 | 86 |
--mandir=%{_mandir} |
3263 | 87 |
make -j $CPUS |
372 | 88 |
|
89 |
%install |
|
90 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
1522 | 91 |
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
|
92 |
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
|
93 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1 |
1461 | 94 |
#Copy zh_HK from zh_TW |
95 |
#Fixes bug 4930405 |
|
1522 | 96 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
97 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
372 | 98 |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
99 |
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
|
100 |
|
372 | 101 |
%clean |
102 |
rm -rf $RPM_BUILD_ROOT |
|
103 |
||
104 |
%files |
|
105 |
%defattr (-, root, root) |
|
106 |
%{_bindir}/* |
|
107 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
108 |
%{_datadir}/omf/zenity |
|
109 |
%{_datadir}/zenity/* |
|
1243 | 110 |
%{_datadir}/gnome/help |
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
111 |
%{_datadir}/gnome/javahelp |
3715 | 112 |
%{_mandir}/man1/* |
372 | 113 |
|
114 |
%changelog |
|
4844 | 115 |
* Fri Jan 14 2005 - [email protected] |
116 |
- Updated l10n help tarball for cinnabar-linux |
|
117 |
||
4352 | 118 |
* Thu Oct 28 2004 - [email protected] |
119 |
- Updated l10n help tarball and added pt_BR |
|
120 |
||
3715 | 121 |
* Tue Aug 24 2004 - [email protected] |
122 |
- 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
|
123 |
* Fri Aug 20 2004 - [email protected] |
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3580
diff
changeset
|
124 |
- 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
|
125 |
|
3488
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
126 |
* Thu Aug 05 2004 - [email protected] |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
127 |
- Integrated docs tarball from [email protected] |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3451
diff
changeset
|
128 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
129 |
* 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
|
130 |
- 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
|
131 |
|
3263 | 132 |
* Wed Jul 07 2004 - [email protected] |
133 |
- added "-j $CPUS" to make to speed up builds |
|
134 |
||
2996 | 135 |
* Wed Jun 2 2004 - [email protected] |
136 |
- Added %SOURCE1 to install l10n messages |
|
2737 | 137 |
* Wed May 12 2004 - [email protected] |
138 |
- Updated l10n content to zenity-l10n-po-1.1.tar.bz2 |
|
139 |
||
2485 | 140 |
* Sun Apr 18 2004 - [email protected] |
141 |
- enable javahelp conversion on Solaris |
|
142 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
143 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
144 |
- Javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
145 |
|
2350 | 146 |
* Mon Mar 29 2004 - [email protected] |
147 |
- Updated l10n content to zenity-l10n-po-1.0.tar.bz2 |
|
148 |
||
2290 | 149 |
* Tue Mar 23 2004 - [email protected] |
150 |
- Bump to 2.6.0 |
|
151 |
||
2234 | 152 |
* Wed Mar 17 2004 - [email protected] |
153 |
- re-autotoolize to pick up fixed glib-gettext macros needed on Solaris |
|
154 |
||
2222 | 155 |
* Tue Mar 15 2004 - [email protected] |
156 |
- Remove man page patch since we do this |
|
157 |
with %files. |
|
158 |
||
1914 | 159 |
* Tue Feb 24 2004 - [email protected] |
160 |
- Update tarball to 2.5.2 |
|
161 |
||
1461 | 162 |
* Wed Dec 17 2003 - [email protected] |
163 |
- Update tarball to 1.7 |
|
164 |
||
1243 | 165 |
* Mon Oct 13 2003 - [email protected] |
166 |
- Update tarball |
|
167 |
||
1028 | 168 |
* Mon Aug 11 2003 - [email protected] |
169 |
- Update tarball |
|
170 |
||
806 | 171 |
* Fri Jul 25 2003 - [email protected] |
172 |
- Requires scrollkeeper for postinstall. Add a dependency |
|
173 |
||
372 | 174 |
* Tue Jul 01 2003 - [email protected] |
175 |
- Initial Sun release |