author | dcarbery |
Thu, 23 Nov 2006 15:04:48 +0000 | |
branch | 217update |
changeset 19083 | 3cfcf4126ea8 |
parent 19077 | 37d6c835daa9 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package libgnomeprint |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8564 | 8 |
# Owner: gheet |
9 |
# |
|
156 | 10 |
Name: libgnomeprint |
42 | 11 |
License: LGPL |
217 | 12 |
Group: System/Libraries/GNOME |
19077 | 13 |
Version: 2.17.0 |
5518 | 14 |
Release: 1 |
15 |
Distribution: Java Desktop System |
|
575 | 16 |
Vendor: Sun Microsystems, Inc. |
217 | 17 |
Summary: Print Library for the GNOME Desktop |
19077 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libgnomeprint/2.17/libgnomeprint-%{version}.tar.bz2 |
19 |
Patch1: libgnomeprint-01-papi-print-dialog.diff |
|
20 |
Patch2: libgnomeprint-02-evince-crash.diff |
|
8595 | 21 |
# owner:fujiwara data:2006-11-16 type:l10n |
5518 | 22 |
Source1: libgnomeprint-2.2.3.gz |
217 | 23 |
URL: http://www.gnome.org |
42 | 24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
156 | 25 |
Autoreqprov: on |
1080 | 26 |
Prereq: /sbin/ldconfig |
42 | 27 |
|
3628 | 28 |
%define glib2_version 2.4.0 |
29 |
%define pango_version 1.4.0 |
|
1217 | 30 |
%define libart_lgpl_version 2.3.16 |
3628 | 31 |
%define gtk_doc_version 1.1 |
1217 | 32 |
%define gnome_common_version 2.4.0 |
3628 | 33 |
%define cups_version 1.1.20 |
34 |
%define openssl_devel_version 0.9.7 |
|
156 | 35 |
|
218 | 36 |
Requires: glib2 >= %{glib2_version} |
156 | 37 |
Requires: pango >= %{pango_version} |
38 |
Requires: libart_lgpl >= %{libart_lgpl_version} |
|
217 | 39 |
Requires: cups >= %{cups_version} |
483 | 40 |
Requires: libgnomecups |
156 | 41 |
|
42 |
BuildRequires: glib2-devel >= %{glib2_version} |
|
43 |
BuildRequires: pango-devel >= %{pango_version} |
|
44 |
BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version} |
|
45 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
217 | 46 |
BuildRequires: cups-devel >= %{cups_version} |
47 |
BuildRequires: gnome-common >= %{gnome_common_version} |
|
290 | 48 |
BuildRequires: openssl-devel >= %{openssl_devel_version} |
483 | 49 |
BuildRequires: libgnomecups-devel |
156 | 50 |
|
42 | 51 |
%description |
217 | 52 |
libgnomeprint is the printing library for the GNOME desktop, providing a simple and clean |
53 |
API for GNOME applications to print documents. |
|
42 | 54 |
|
156 | 55 |
%package devel |
217 | 56 |
Summary: Print Development Library for the GNOME Desktop |
156 | 57 |
Group: Development/Libraries/GNOME |
217 | 58 |
Requires: %{name} = %{version} |
59 |
Requires: glib2-devel >= %{glib2_version} |
|
60 |
Requires: pango-devel >= %{pango_version} |
|
61 |
Requires: libart_lgpl-devel >= %{libart_lgpl_version} |
|
156 | 62 |
|
63 |
%description devel |
|
217 | 64 |
libgnomeprint is the printing library for the GNOME desktop, providing a simple and clean |
65 |
API for GNOME applications to print documents. |
|
156 | 66 |
|
42 | 67 |
%prep |
1472 | 68 |
%setup -q |
5946 | 69 |
%patch1 -p1 |
6104 | 70 |
%patch2 -p1 |
4455 | 71 |
|
42 | 72 |
%build |
3263 | 73 |
%ifos linux |
74 |
if [ -x /usr/bin/getconf ]; then |
|
75 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
76 |
fi |
|
77 |
%else |
|
3846 | 78 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 79 |
%endif |
80 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
81 |
CPUS=1 |
|
82 |
fi |
|
83 |
||
1629 | 84 |
libtoolize --force --copy |
5518 | 85 |
aclocal $ACLOCAL_FLAGS -I . |
2999
e6e99aa41e92
* libgnomeprint.spec, patches/libgnomeprint-02-papi.diff: Add PAPI
dduvall
parents:
2958
diff
changeset
|
86 |
autoheader |
1629 | 87 |
automake -a -c -f |
88 |
autoconf |
|
89 |
||
217 | 90 |
CFLAGS="$RPM_OPT_FLAGS" \ |
91 |
./configure --prefix=%{_prefix} \ |
|
92 |
--sysconfdir=%{_sysconfdir} \ |
|
3730 | 93 |
--mandir=%{_mandir} \ |
8501 | 94 |
%{gtk_doc_option} |
3730 | 95 |
|
3263 | 96 |
make -j $CPUS |
42 | 97 |
|
98 |
%install |
|
217 | 99 |
make DESTDIR=$RPM_BUILD_ROOT install |
1472 | 100 |
#Copy zh_HK from zh_TW |
101 |
#Fixes bug 4930405 |
|
1522 | 102 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
103 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
4357 | 104 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
5518 | 105 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man3 |
3628 | 106 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
107 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
108 |
rm $RPM_BUILD_ROOT%{_libdir}/libgnomeprint/*/modules/*.a |
|
109 |
rm $RPM_BUILD_ROOT%{_libdir}/libgnomeprint/*/modules/*.la |
|
110 |
rm $RPM_BUILD_ROOT%{_libdir}/libgnomeprint/*/modules/transports/*.a |
|
111 |
rm $RPM_BUILD_ROOT%{_libdir}/libgnomeprint/*/modules/transports/*.la |
|
5904 | 112 |
rm $RPM_BUILD_ROOT%{_libdir}/libgnomeprint/*/modules/filters/lib*a |
113 |
||
217 | 114 |
%post |
115 |
/sbin/ldconfig |
|
156 | 116 |
|
217 | 117 |
%postun |
118 |
/sbin/ldconfig |
|
42 | 119 |
|
120 |
%clean |
|
121 |
rm -rf $RPM_BUILD_ROOT |
|
122 |
||
123 |
%files |
|
1798 | 124 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
42 | 125 |
%{_datadir}/libgnomeprint |
2194 | 126 |
%{_libdir}/libgnomeprint/*/modules/*so* |
480 | 127 |
%{_libdir}/libgnomeprint/*/modules/*/*so* |
1058 | 128 |
%{_libdir}/*so.* |
42 | 129 |
|
130 |
%files devel |
|
131 |
%{_libdir}/pkgconfig/libgnomeprint-2.2.pc |
|
132 |
%{_includedir}/libgnomeprint-2.2/libgnomeprint |
|
1472 | 133 |
%{_datadir}/gtk-doc |
1058 | 134 |
%{_libdir}/*so |
4357 | 135 |
%{_mandir}/man3/* |
42 | 136 |
|
137 |
%changelog |
|
19083 | 138 |
* Thu Nov 23 2005 - [email protected] |
139 |
- Remove upstream patch, 03-g11n-filename. |
|
19077 | 140 |
* Wed Nov 22 2005 - [email protected] |
141 |
- Bump to 2.17.0. Remove upstream patch, 01-Wall. Renumber remainder. |
|
8580 | 142 |
* Thu Nov 16 2006 - [email protected] |
143 |
- Add libgnomeprint-04-g11n-filename.diff. fixes 6452832 and 6245399 |
|
8501 | 144 |
* Fri Nov 3 2006 - [email protected] |
145 |
- use %gtk_doc_option in configure so that it can be disabled using |
|
146 |
--without-gtk-doc |
|
7891
3bb161a3bc39
patches/libgnomeprint-03-evince-crash.diff fixes 6437235. This is the second part of the fix.
gheet
parents:
7137
diff
changeset
|
147 |
* Wed Aug 09 2006 - [email protected] |
3bb161a3bc39
patches/libgnomeprint-03-evince-crash.diff fixes 6437235. This is the second part of the fix.
gheet
parents:
7137
diff
changeset
|
148 |
- Fixes 6437235 which also requires a patch in evince itself. |
7137 | 149 |
* Wed Apr 26 2006 - [email protected] |
150 |
- Fixed 6418240 and also merged libgnomeprint-papi-crash.diff into |
|
151 |
libgnomeprint-papi-print-dialog.diff. |
|
6104 | 152 |
* Fri Oct 14 2005 - [email protected] |
153 |
- fix crash in papi module when no printers are defined |
|
6013 | 154 |
* Tue Sep 27 2005 - [email protected] |
155 |
- Bump to 2.12.1 |
|
5945 | 156 |
* Tue Sep 20 2005 - [email protected] |
157 |
- Add patch -Wall.diff to remove -Wall from a Makefile.am |
|
5904 | 158 |
* Sat Sep 17 2005 - [email protected] |
159 |
- Add unpackaged files to %files |
|
5895 | 160 |
* Sat Sep 17 2005 - [email protected] |
161 |
- Bump to 2.12.0 |
|
5529
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
162 |
* Mon Aug 15 2005 - [email protected] |
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
163 |
- Bump to 2.11.0. |
5518 | 164 |
* Wed Aug 03 2005 - [email protected] |
165 |
- remove upstream patch PDF-landscape-*.diff |
|
166 |
- remove patch use-older-cups.diff: no longer needed |
|
167 |
* Thu Jun 02 2005 - [email protected] |
|
168 |
- Fix for 6263422. Added libgnomeprint-13-PDF-landscape-6263422.diff |
|
169 |
* Mon May 16 2005 - [email protected] |
|
170 |
- Port to 2.10 |
|
5261
48fe72623946
2005-03-21 Suresh Chandrasekharan <[email protected]>
sureshc
parents:
5237
diff
changeset
|
171 |
* Tue Mar 21 2005 - [email protected] |
48fe72623946
2005-03-21 Suresh Chandrasekharan <[email protected]>
sureshc
parents:
5237
diff
changeset
|
172 |
- Fix for 6231341. Added libgnomeprint-12-ja-print-preview-6231341.diff |
4783
01e059f65c13
2004-12-22 Suresh Chandrasekharan <[email protected]>
sureshc
parents:
4750
diff
changeset
|
173 |
* Tue Dec 21 2004 - [email protected] |
01e059f65c13
2004-12-22 Suresh Chandrasekharan <[email protected]>
sureshc
parents:
4750
diff
changeset
|
174 |
- Fix for 5083233. Added libgnomeprint-11-gpdf-mixed-text-issue-5083233.diff |
4750 | 175 |
* Tue Dec 14 2004 - [email protected] |
176 |
- Remove the $(datadir)/fonts/pfbs and $(datadir)/gnome-print from |
|
177 |
being created. No idea where this came from, but it's wrong. |
|
4436 | 178 |
* Thu Nov 04 2004 - [email protected] |
179 |
- Updated libgnomeprint-08-g11n-i18n-ui.diff to fix 6188803 |
|
4361
0d06459dc9c5
2004-10-28 Suresh Chandrasekharan <[email protected]>
sureshc
parents:
4357
diff
changeset
|
180 |
* Thu Oct 28 2004 - [email protected] |
0d06459dc9c5
2004-10-28 Suresh Chandrasekharan <[email protected]>
sureshc
parents:
4357
diff
changeset
|
181 |
- Fix for 5090546. Added libgnomeprint-10-chinese-ASCII-5090546.diff. |
4357 | 182 |
* Thu Oct 28 2004 - [email protected] |
183 |
- Add libgnomeprint-2.2.3 man page |
|
4149 | 184 |
* Tue Oct 05 2004 - [email protected] |
185 |
- Added libgnomeprint-08-g11n-i18n-ui.diff to i18n print dialogs. |
|
186 |
Fixed 4869747 |
|
187 |
- Added libgnomeprint-09-g11n-potfiles.diff |
|
3730 | 188 |
* Wed Aug 18 2004 - [email protected] |
189 |
- added --enable-gtk-doc. Added patch to allow gtk-docs to build. |
|
3618
f8705ffcf07c
2004-08-18 Suresh Chandrasekharan <[email protected]>
sureshc
parents:
3580
diff
changeset
|
190 |
* Fri Aug 18 2004 - [email protected] |
f8705ffcf07c
2004-08-18 Suresh Chandrasekharan <[email protected]>
sureshc
parents:
3580
diff
changeset
|
191 |
- Modified libgnomeprint-05-ps-output.diff, a one line fix. |
f8705ffcf07c
2004-08-18 Suresh Chandrasekharan <[email protected]>
sureshc
parents:
3580
diff
changeset
|
192 |
- Create libgnomeprint-06-broken-ttf-fix.diff (bugzilla #149858, |
3628 | 193 |
bugtraq #5085669) |
3489
e062885a3fe6
* libgnomeprint.spec : create libgnomeprint-05-ps-output.diff
tajima
parents:
3425
diff
changeset
|
194 |
* Sat Jul 10 2004 - [email protected] |
e062885a3fe6
* libgnomeprint.spec : create libgnomeprint-05-ps-output.diff
tajima
parents:
3425
diff
changeset
|
195 |
- create libgnomeprint-05-ps-output.diff (bugzilla #148674, |
3628 | 196 |
bugtraq #5065284, #5077052) |
3303 | 197 |
* Sat Jul 10 2004 - [email protected] |
198 |
- Modified libgnomeprint-02-papi.diff to fix crash when there |
|
199 |
are no printers available. Patch by [email protected]. |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
200 |
* 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
|
201 |
- Updated l10n content to libgnomeprint-l10n-po-1.2.tar.bz2 |
3628 | 202 |
* Wed Jul 07 2004 - [email protected] |
203 |
- ported to rpm4 |
|
3263 | 204 |
* Wed Jul 07 2004 - [email protected] |
205 |
- added "-j $CPUS" to make to speed up builds |
|
3081 | 206 |
* Wed Jun 09 2004 - [email protected] |
207 |
- Add libgnomeprint-03-pdf-operator-fix.diff for correcting pdf |
|
208 |
output, backported from community's cvs HEAD |
|
209 |
- Add libgnomeprint-04-TT-subsetting-4928658.diff to support |
|
210 |
TrueType font subsetting for PDF and PS |
|
2999
e6e99aa41e92
* libgnomeprint.spec, patches/libgnomeprint-02-papi.diff: Add PAPI
dduvall
parents:
2958
diff
changeset
|
211 |
* Wed Jun 02 2004 - [email protected] |
e6e99aa41e92
* libgnomeprint.spec, patches/libgnomeprint-02-papi.diff: Add PAPI
dduvall
parents:
2958
diff
changeset
|
212 |
- Add PAPI support |
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
213 |
* 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
|
214 |
- Updated l10n content to libgnomeprint-l10n-po-1.1.tar.bz2 |
2375 | 215 |
* Fri Apr 02 2004 - [email protected] |
216 |
- Updated to 2.6.0 tarball for 2.6 |
|
2350 | 217 |
* Mon Mar 29 2004 - [email protected] |
218 |
- Updated l10n content to libgnomeprint-l10n-po-1.0.tar.bz2 |
|
2251 | 219 |
* Fri Mar 19 2004 - <[email protected]> |
220 |
- Bump to 2.5.4 and remove a uninstalled, locale generation and potfiles |
|
221 |
patches. |
|
2194 | 222 |
* Tue Mar 09 2004 - <[email protected]> |
223 |
- Hacked around with libgnomeprint-04-old-version-cups-hack.diff |
|
224 |
since the version of cups we have is just too old. This patch should be |
|
225 |
removed once CUPS 1.1.20 is made available. |
|
1798 | 226 |
* Thu Feb 19 2004 - <[email protected]> |
227 |
- Bump to 2.5.2, re-apply patches, bump l10n to 0.8 |
|
1657 | 228 |
* Thu Feb 12 2004 - <[email protected]> |
1629 | 229 |
- Add patch 03 to create a -uninstalled.pc file |
230 |
- autotoolize the build stage |
|
1472 | 231 |
* Wed Dec 17 2003 - <[email protected]> |
232 |
- Bump to 2.5.0.1 |
|
1217 | 233 |
* Thu Oct 09 2003 - <[email protected]> |
8501 | 234 |
- Updated spec file to build for QS, since this CUPS stuff has not be |
235 |
integrated into GNOME 2.4. Still needs to use the same tarball as Mercury. |
|
1058 | 236 |
* Thu Aug 14 2003 - <[email protected]> |
237 |
- move lib*.so to -devel, remove *.a, *.la |
|
523 | 238 |
* Thu Jul 10 2003 - [email protected] |
239 |
- Added .po tarball |
|
480 | 240 |
* Tue Jul 08 2003 - [email protected] |
241 |
- Changed files section to include printer icons and also libraries |
|
242 |
that import the cups printers into libgnomeprintui dialog. |
|
327 | 243 |
* Mon Jun 30 2003 - [email protected] |
244 |
- Added cups integration with a new version of tarball. |
|
245 |
libgnomeprint-2.3.0.cvs.9.tar.bz2 |
|
42 | 246 |
* Tue May 13 2003 - [email protected] |
156 | 247 |
- Initial Sun release |