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