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