author | fujiwara |
Fri, 05 Nov 2004 12:17:36 +0000 | |
changeset 4455 | aea26bce3124 |
parent 4409 | 4fec71e58697 |
child 4541 | aa555c8d3378 |
permissions | -rw-r--r-- |
68 | 1 |
Name: libgnomeprintui |
161 | 2 |
License: LGPL |
219 | 3 |
Group: System/Libraries/GNOME |
2375 | 4 |
Version: 2.6.0 |
4409 | 5 |
Release: 26 |
1798 | 6 |
Distribution: Cinnabar |
575 | 7 |
Vendor: Sun Microsystems, Inc. |
219 | 8 |
Summary: Print User Interface Library for the GNOME Desktop |
1473 | 9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libgnomeprintui/2.5/libgnomeprintui-%{version}.tar.bz2 |
4387 | 10 |
Source1: libgnomeprintui-l10n-po-1.7.tar.bz2 |
4357 | 11 |
Source2: libgnomeprintui-2.2.3.gz |
4455 | 12 |
Source3: l10n-configure.sh |
2251 | 13 |
Patch1: libgnomeprintui-01-g11n-potfiles.diff |
2195 | 14 |
Patch2: libgnomeprintui-02-printing-in-nautilus.diff |
3730 | 15 |
Patch3: libgnomeprintui-03-gtkdoc.diff |
219 | 16 |
URL: http://www.gnome.org |
68 | 17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
219 | 18 |
Docdir: %{_docdir}/doc |
68 | 19 |
Autoreqprov: on |
1080 | 20 |
Prereq: /sbin/ldconfig |
68 | 21 |
|
3628 | 22 |
%define gtk2_version 2.4.0 |
23 |
%define libgnomeprint_version 2.6.0 |
|
24 |
%define libgnomecanvas_version 2.6.0 |
|
25 |
%define XFree86_version 4.3.99 |
|
161 | 26 |
|
27 |
Requires: gtk2 >= %{gtk2_version} |
|
28 |
Requires: libgnomeprint >= %{libgnomeprint_version} |
|
29 |
Requires: libgnomecanvas >= %{libgnomecanvas_version} |
|
483 | 30 |
Requires: libgnomeui |
161 | 31 |
|
32 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
33 |
BuildRequires: libgnomeprint-devel >= %{libgnomeprint_version} |
|
34 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
483 | 35 |
BuildRequires: libgnomeui-devel |
161 | 36 |
|
68 | 37 |
%description |
327 | 38 |
libgnomeprintui is the printing user interface library for the GNOME desktop, providing |
39 |
the user interface elements for GNOME applications eg. print dialog |
|
68 | 40 |
|
41 |
%package devel |
|
219 | 42 |
Summary: Print User Interface Development Library for the GNOME Desktop |
68 | 43 |
Group: Development/Libraries/GNOME |
44 |
Autoreqprov: on |
|
161 | 45 |
Requires: %{name} >= %{version} |
219 | 46 |
Requires: gtk2-devel >= %{gtk2_version} |
47 |
Requires: libgnomeprint-devel >= %{libgnomeprint_version} |
|
48 |
Requires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
68 | 49 |
|
50 |
%description devel |
|
327 | 51 |
libgnomeprintui is the printing user interface library for the GNOME desktop, providing |
52 |
the user interface elements for GNOME applications eg. print dialog |
|
68 | 53 |
|
161 | 54 |
%prep |
55 |
%setup -q |
|
1522 | 56 |
bzcat %SOURCE1 | tar xf - |
1495 | 57 |
%patch1 -p1 |
1897 | 58 |
%patch2 -p1 |
3730 | 59 |
%patch3 -p1 |
161 | 60 |
|
4455 | 61 |
bash -x %SOURCE3 |
62 |
||
161 | 63 |
%build |
3263 | 64 |
%ifos linux |
65 |
if [ -x /usr/bin/getconf ]; then |
|
66 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
67 |
fi |
|
68 |
%else |
|
3846 | 69 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 70 |
%endif |
71 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
72 |
CPUS=1 |
|
73 |
fi |
|
74 |
||
327 | 75 |
libtoolize --force --copy |
1629 | 76 |
aclocal $ACLOCAL_FLAGS -I . -I %{_datadir}/aclocal/gnome2-macros |
327 | 77 |
automake -a -c -f |
78 |
autoconf |
|
79 |
||
219 | 80 |
CFLAGS="$RPM_OPT_FLAGS" \ |
81 |
./configure --prefix=%{_prefix} \ |
|
82 |
--sysconfdir=%{_sysconfdir} \ |
|
83 |
--libexecdir=%{_libexecdir} \ |
|
3730 | 84 |
--mandir=%{_mandir} \ |
85 |
--enable-gtk-doc |
|
3263 | 86 |
make -j $CPUS |
161 | 87 |
|
88 |
%install |
|
89 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
1473 | 90 |
#Copy zh_HK from zh_TW |
91 |
#Fixes bug 4930405 |
|
1522 | 92 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
93 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
4357 | 94 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
95 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
3628 | 96 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
97 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
1522 | 98 |
|
161 | 99 |
%clean |
100 |
rm -rf $RPM_BUILD_ROOT |
|
101 |
||
219 | 102 |
%post |
103 |
/sbin/ldconfig |
|
161 | 104 |
|
219 | 105 |
%postun |
106 |
/sbin/ldconfig |
|
161 | 107 |
|
108 |
%files |
|
327 | 109 |
%doc AUTHORS ChangeLog NEWS README COPYING |
161 | 110 |
%{_datadir}/locale/*/LC_MESSAGES/libgnomeprintui*.mo |
111 |
%{_libdir}/*.so.* |
|
112 |
||
113 |
%files devel |
|
114 |
%{_libdir}/*.so |
|
115 |
%{_libdir}/pkgconfig/*.pc |
|
116 |
%{_includedir}/* |
|
1798 | 117 |
%{_datadir}/gtk-doc/* |
4357 | 118 |
%{_mandir}/man3/* |
68 | 119 |
|
161 | 120 |
%changelog |
4357 | 121 |
* Thu Oct 28 2004 - [email protected] |
122 |
- Add libgnomeprintui-2.2.3 man page |
|
123 |
||
3730 | 124 |
* Wed Aug 18 2004 - [email protected] |
125 |
- added --enable-gtk-doc. Added patch to allow gtk-docs to build. |
|
126 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
127 |
* 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
|
128 |
- Updated l10n content to libgnomeprintui-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
|
129 |
|
3628 | 130 |
* Wed Jul 07 2004 - [email protected] |
131 |
- port to rpm4 |
|
132 |
||
3263 | 133 |
* Wed Jul 07 2004 - [email protected] |
134 |
- added "-j $CPUS" to make to speed up builds |
|
135 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
136 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
137 |
- Updated l10n content to libgnomeprintui-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
138 |
|
2375 | 139 |
* Fri Apr 02 2004 - ghee.teo |
140 |
- Updated to 2.6.0 tarball |
|
141 |
||
2350 | 142 |
* Mon Mar 29 2004 - [email protected] |
143 |
- Updated l10n content to libgnomeprintui-l10n-po-1.0.tar.bz2 |
|
144 |
||
2251 | 145 |
* Fri Mar 19 2004 - <[email protected]> |
146 |
- Bump to 2.5.4, and rename the potfiles patch. |
|
147 |
||
2195 | 148 |
* Fri Mar 12 2004 - <[email protected]> |
149 |
- Dropping the iconlist-dialog patch and goes for the HEAD. Will review this |
|
150 |
with HCI before final feature freeze. |
|
151 |
||
2135 | 152 |
* Wed Mar 03 2004 - <[email protected]> |
153 |
- Fixed the print dialog crashing due to a back port of |
|
154 |
libgnomeprintui-02-iconlist-dialog.diff |
|
155 |
||
1942 | 156 |
* Tue Feb 24 2004 - <[email protected]> |
157 |
- Fixed a symbol typo in libgnomeprintui-02-iconlist-dialog.diff |
|
158 |
||
1897 | 159 |
* Mon Feb 23 2004 - <[email protected]> |
160 |
- Ported patches libgnomeprintui-02-iconlist-dialog.diff and |
|
161 |
libgnomeprintui-03-printing-in-nautilus.diff for cinnabar. |
|
162 |
||
1798 | 163 |
* Thu Feb 19 2004 - <[email protected]> |
164 |
- Bump to 2.5.2, l10n to 0.8 |
|
165 |
- Remove libgnomeprintui-01-doc-makefile.diff patch, in new tarball |
|
166 |
- Ported potfiles_in patch from QS |
|
167 |
||
1629 | 168 |
* Thu Feb 12 2004 - <[email protected]> |
169 |
- add ACLOCAL_FLAGS to aclocal invocation |
|
170 |
||
1495 | 171 |
* Wed Jan 07 2004 - <[email protected]> |
172 |
- Patch for doc/Makefile.am do not include GTKDOC_CC/GTKDOC_LD as already |
|
173 |
got from gtk-doc.make in toplevel dir. |
|
174 |
||
1473 | 175 |
* Wed Dec 17 2003 - <[email protected]> |
176 |
- Bump to 2.5.0.1 |
|
177 |
||
1326 | 178 |
* Tue Oct 21 2003 - <[email protected]> |
179 |
- Port printing-in-nautilus patch to QS. |
|
180 |
||
1221 | 181 |
* Thu Oct 09 2003 - <[email protected]> |
1326 | 182 |
- Updated spec file rev to build for QS. Since this tarball is not in the |
183 |
community yet. Stick to the same tarball as in Mercury. |
|
1221 | 184 |
|
1058 | 185 |
* Thu Aug 14 2003 - <[email protected]> |
186 |
- remove *.a, *.la |
|
187 |
||
523 | 188 |
* Thu Jul 10 2003 - [email protected] |
189 |
- Added .po tarball |
|
190 |
||
327 | 191 |
* Mon Jun 30 2003 - [email protected] |
192 |
- Added cups integration with a new tarball and a patch |
|
193 |
libgnomeprintui-2.3.0.tar.bz2, libgnomeprintui-01-iconlist-dialog.diff |
|
1031 | 194 |
|
68 | 195 |
* Wed May 14 2003 - [email protected] |
161 | 196 |
- Initial Sun release |