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