author | dermotm |
Mon, 26 Jul 2004 10:26:03 +0000 | |
changeset 3425 | 1df6e1328537 |
parent 3320 | 1b6af4da604e |
child 3489 | e062885a3fe6 |
permissions | -rw-r--r-- |
156 | 1 |
Name: libgnomeprint |
42 | 2 |
License: LGPL |
217 | 3 |
Group: System/Libraries/GNOME |
2375 | 4 |
Version: 2.6.0 |
3425 | 5 |
Release: 19 |
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 |
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
10 |
Source1: libgnomeprint-l10n-po-1.2.tar.bz2 |
2251 | 11 |
Patch1: libgnomeprint-01-use-older-cups.diff |
2999
e6e99aa41e92
* libgnomeprint.spec, patches/libgnomeprint-02-papi.diff: Add PAPI
dduvall
parents:
2958
diff
changeset
|
12 |
Patch2: libgnomeprint-02-papi.diff |
3081 | 13 |
Patch3: libgnomeprint-03-pdf-operator-fix.diff |
14 |
Patch4: libgnomeprint-04-TT-subsetting-4928658.diff |
|
217 | 15 |
URL: http://www.gnome.org |
42 | 16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
156 | 17 |
Autoreqprov: on |
1080 | 18 |
Prereq: /sbin/ldconfig |
42 | 19 |
|
20 |
%define INSTALL_DIR install -d -m755 |
|
21 |
||
156 | 22 |
%define glib2_version 2.2.1 |
1217 | 23 |
%define pango_version 1.2.5 |
24 |
%define libart_lgpl_version 2.3.16 |
|
156 | 25 |
%define gtk_doc_version 1.0 |
1217 | 26 |
%define gnome_common_version 2.4.0 |
217 | 27 |
%define cups_version 1.1.15 |
263 | 28 |
%define openssl_devel_version 0.9.6 |
156 | 29 |
|
218 | 30 |
Requires: glib2 >= %{glib2_version} |
156 | 31 |
Requires: pango >= %{pango_version} |
32 |
Requires: libart_lgpl >= %{libart_lgpl_version} |
|
217 | 33 |
Requires: cups >= %{cups_version} |
483 | 34 |
Requires: libgnomecups |
156 | 35 |
|
36 |
BuildRequires: glib2-devel >= %{glib2_version} |
|
37 |
BuildRequires: pango-devel >= %{pango_version} |
|
38 |
BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version} |
|
39 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
217 | 40 |
BuildRequires: cups-devel >= %{cups_version} |
41 |
BuildRequires: gnome-common >= %{gnome_common_version} |
|
290 | 42 |
BuildRequires: openssl-devel >= %{openssl_devel_version} |
483 | 43 |
BuildRequires: libgnomecups-devel |
156 | 44 |
|
42 | 45 |
%description |
217 | 46 |
libgnomeprint is the printing library for the GNOME desktop, providing a simple and clean |
47 |
API for GNOME applications to print documents. |
|
42 | 48 |
|
156 | 49 |
%package devel |
217 | 50 |
Summary: Print Development Library for the GNOME Desktop |
156 | 51 |
Group: Development/Libraries/GNOME |
217 | 52 |
Requires: %{name} = %{version} |
53 |
Requires: glib2-devel >= %{glib2_version} |
|
54 |
Requires: pango-devel >= %{pango_version} |
|
55 |
Requires: libart_lgpl-devel >= %{libart_lgpl_version} |
|
156 | 56 |
|
57 |
%description devel |
|
217 | 58 |
libgnomeprint is the printing library for the GNOME desktop, providing a simple and clean |
59 |
API for GNOME applications to print documents. |
|
156 | 60 |
|
42 | 61 |
%prep |
1472 | 62 |
%setup -q |
1522 | 63 |
bzcat %SOURCE1 | tar xf - |
1472 | 64 |
%patch1 -p1 |
2999
e6e99aa41e92
* libgnomeprint.spec, patches/libgnomeprint-02-papi.diff: Add PAPI
dduvall
parents:
2958
diff
changeset
|
65 |
%patch2 -p1 |
3081 | 66 |
%patch3 -p1 |
67 |
%patch4 -p1 |
|
42 | 68 |
|
69 |
%build |
|
3263 | 70 |
%ifos linux |
71 |
if [ -x /usr/bin/getconf ]; then |
|
72 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
73 |
fi |
|
74 |
%else |
|
75 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l` |
|
76 |
%endif |
|
77 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
78 |
CPUS=1 |
|
79 |
fi |
|
80 |
||
1629 | 81 |
libtoolize --force --copy |
82 |
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
|
83 |
autoheader |
1629 | 84 |
automake -a -c -f |
85 |
autoconf |
|
86 |
||
217 | 87 |
CFLAGS="$RPM_OPT_FLAGS" \ |
88 |
./configure --prefix=%{_prefix} \ |
|
89 |
--sysconfdir=%{_sysconfdir} \ |
|
2999
e6e99aa41e92
* libgnomeprint.spec, patches/libgnomeprint-02-papi.diff: Add PAPI
dduvall
parents:
2958
diff
changeset
|
90 |
--mandir=%{_mandir} |
3263 | 91 |
make -j $CPUS |
42 | 92 |
|
93 |
%install |
|
217 | 94 |
make DESTDIR=$RPM_BUILD_ROOT install |
42 | 95 |
%{INSTALL_DIR} $RPM_BUILD_ROOT%{_datadir}/fonts/pfbs |
96 |
%{INSTALL_DIR} $RPM_BUILD_ROOT%{_datadir}/gnome-print/fonts |
|
1472 | 97 |
#Copy zh_HK from zh_TW |
98 |
#Fixes bug 4930405 |
|
1522 | 99 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
100 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
1472 | 101 |
|
217 | 102 |
%post |
103 |
/sbin/ldconfig |
|
156 | 104 |
|
217 | 105 |
%postun |
106 |
/sbin/ldconfig |
|
42 | 107 |
|
108 |
%clean |
|
109 |
rm -rf $RPM_BUILD_ROOT |
|
110 |
||
111 |
%files |
|
1798 | 112 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
42 | 113 |
%{_datadir}/libgnomeprint |
114 |
%{_datadir}/fonts |
|
1798 | 115 |
%{_datadir}/gnome-print/fonts |
2194 | 116 |
%{_libdir}/libgnomeprint/*/modules/*so* |
480 | 117 |
%{_libdir}/libgnomeprint/*/modules/*/*so* |
1058 | 118 |
%{_libdir}/*so.* |
42 | 119 |
|
120 |
%files devel |
|
121 |
%{_libdir}/pkgconfig/libgnomeprint-2.2.pc |
|
122 |
%{_includedir}/libgnomeprint-2.2/libgnomeprint |
|
1472 | 123 |
%{_datadir}/gtk-doc |
1058 | 124 |
%{_libdir}/*so |
42 | 125 |
|
126 |
%changelog |
|
3303 | 127 |
* Sat Jul 10 2004 - [email protected] |
128 |
- Modified libgnomeprint-02-papi.diff to fix crash when there |
|
129 |
are no printers available. Patch by [email protected]. |
|
130 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
131 |
* 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
|
132 |
- 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
|
133 |
|
3263 | 134 |
* Wed Jul 07 2004 - [email protected] |
135 |
- added "-j $CPUS" to make to speed up builds |
|
136 |
||
3081 | 137 |
* Wed Jun 09 2004 - [email protected] |
138 |
- Add libgnomeprint-03-pdf-operator-fix.diff for correcting pdf |
|
139 |
output, backported from community's cvs HEAD |
|
140 |
- Add libgnomeprint-04-TT-subsetting-4928658.diff to support |
|
141 |
TrueType font subsetting for PDF and PS |
|
142 |
||
2999
e6e99aa41e92
* libgnomeprint.spec, patches/libgnomeprint-02-papi.diff: Add PAPI
dduvall
parents:
2958
diff
changeset
|
143 |
* Wed Jun 02 2004 - [email protected] |
e6e99aa41e92
* libgnomeprint.spec, patches/libgnomeprint-02-papi.diff: Add PAPI
dduvall
parents:
2958
diff
changeset
|
144 |
- Add PAPI support |
e6e99aa41e92
* libgnomeprint.spec, patches/libgnomeprint-02-papi.diff: Add PAPI
dduvall
parents:
2958
diff
changeset
|
145 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
146 |
* 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
|
147 |
- 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
|
148 |
|
2375 | 149 |
* Fri Apr 02 2004 - [email protected] |
150 |
- Updated to 2.6.0 tarball for 2.6 |
|
151 |
||
2350 | 152 |
* Mon Mar 29 2004 - [email protected] |
153 |
- Updated l10n content to libgnomeprint-l10n-po-1.0.tar.bz2 |
|
154 |
||
2251 | 155 |
* Fri Mar 19 2004 - <[email protected]> |
156 |
- Bump to 2.5.4 and remove a uninstalled, locale generation and potfiles |
|
157 |
patches. |
|
158 |
||
2194 | 159 |
* Tue Mar 09 2004 - <[email protected]> |
160 |
- Hacked around with libgnomeprint-04-old-version-cups-hack.diff |
|
161 |
since the version of cups we have is just too old. This patch should be |
|
162 |
removed once CUPS 1.1.20 is made available. |
|
163 |
||
164 |
||
1798 | 165 |
* Thu Feb 19 2004 - <[email protected]> |
166 |
- Bump to 2.5.2, re-apply patches, bump l10n to 0.8 |
|
167 |
||
1657 | 168 |
* Thu Feb 12 2004 - <[email protected]> |
1629 | 169 |
- Add patch 03 to create a -uninstalled.pc file |
170 |
- autotoolize the build stage |
|
171 |
||
1472 | 172 |
* Wed Dec 17 2003 - <[email protected]> |
173 |
- Bump to 2.5.0.1 |
|
174 |
||
1217 | 175 |
* Thu Oct 09 2003 - <[email protected]> |
176 |
- Updated spec file to build for QS, since this CUPS stuff has not be integrated into |
|
177 |
GNOME 2.4. Still needs to use the same tarball as Mercury. |
|
178 |
||
1058 | 179 |
* Thu Aug 14 2003 - <[email protected]> |
180 |
- move lib*.so to -devel, remove *.a, *.la |
|
181 |
||
523 | 182 |
* Thu Jul 10 2003 - [email protected] |
183 |
- Added .po tarball |
|
184 |
||
480 | 185 |
* Tue Jul 08 2003 - [email protected] |
186 |
- Changed files section to include printer icons and also libraries |
|
187 |
that import the cups printers into libgnomeprintui dialog. |
|
188 |
||
327 | 189 |
* Mon Jun 30 2003 - [email protected] |
190 |
- Added cups integration with a new version of tarball. |
|
191 |
libgnomeprint-2.3.0.cvs.9.tar.bz2 |
|
192 |
||
42 | 193 |
* Tue May 13 2003 - [email protected] |
156 | 194 |
- Initial Sun release |