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