156
|
1 |
Name: libgnomeprint
|
42
|
2 |
License: LGPL
|
217
|
3 |
Group: System/Libraries/GNOME
|
1472
|
4 |
Version: 2.5.0.1
|
1609
|
5 |
Release: 3
|
42
|
6 |
Distribution: Mercury
|
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
|
|
10 |
Source1: libgnomeprint-l10n-po-0.6.tar.bz2
|
|
11 |
Patch1: libgnomeprint-01-potfiles.diff
|
|
12 |
Patch2: libgnomeprint-02-locale-ps-generation.diff
|
217
|
13 |
URL: http://www.gnome.org
|
42
|
14 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
156
|
15 |
Autoreqprov: on
|
1080
|
16 |
Prereq: /sbin/ldconfig
|
42
|
17 |
|
|
18 |
%define INSTALL_DIR install -d -m755
|
|
19 |
|
156
|
20 |
%define glib2_version 2.2.1
|
1217
|
21 |
%define pango_version 1.2.5
|
|
22 |
%define libart_lgpl_version 2.3.16
|
156
|
23 |
%define gtk_doc_version 1.0
|
1217
|
24 |
%define gnome_common_version 2.4.0
|
217
|
25 |
%define cups_version 1.1.15
|
263
|
26 |
%define openssl_devel_version 0.9.6
|
156
|
27 |
|
218
|
28 |
Requires: glib2 >= %{glib2_version}
|
156
|
29 |
Requires: pango >= %{pango_version}
|
|
30 |
Requires: libart_lgpl >= %{libart_lgpl_version}
|
217
|
31 |
Requires: cups >= %{cups_version}
|
483
|
32 |
Requires: libgnomecups
|
156
|
33 |
|
|
34 |
BuildRequires: glib2-devel >= %{glib2_version}
|
|
35 |
BuildRequires: pango-devel >= %{pango_version}
|
|
36 |
BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version}
|
|
37 |
BuildRequires: gtk-doc >= %{gtk_doc_version}
|
217
|
38 |
BuildRequires: cups-devel >= %{cups_version}
|
|
39 |
BuildRequires: gnome-common >= %{gnome_common_version}
|
290
|
40 |
BuildRequires: openssl-devel >= %{openssl_devel_version}
|
483
|
41 |
BuildRequires: libgnomecups-devel
|
156
|
42 |
|
42
|
43 |
%description
|
217
|
44 |
libgnomeprint is the printing library for the GNOME desktop, providing a simple and clean
|
|
45 |
API for GNOME applications to print documents.
|
42
|
46 |
|
156
|
47 |
%package devel
|
217
|
48 |
Summary: Print Development Library for the GNOME Desktop
|
156
|
49 |
Group: Development/Libraries/GNOME
|
217
|
50 |
Requires: %{name} = %{version}
|
|
51 |
Requires: glib2-devel >= %{glib2_version}
|
|
52 |
Requires: pango-devel >= %{pango_version}
|
|
53 |
Requires: libart_lgpl-devel >= %{libart_lgpl_version}
|
156
|
54 |
|
|
55 |
%description devel
|
217
|
56 |
libgnomeprint is the printing library for the GNOME desktop, providing a simple and clean
|
|
57 |
API for GNOME applications to print documents.
|
156
|
58 |
|
42
|
59 |
%prep
|
1472
|
60 |
%setup -q
|
1522
|
61 |
bzcat %SOURCE1 | tar xf -
|
1472
|
62 |
%patch1 -p1
|
|
63 |
%patch2 -p1
|
42
|
64 |
|
|
65 |
%build
|
217
|
66 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
67 |
./configure --prefix=%{_prefix} \
|
|
68 |
--sysconfdir=%{_sysconfdir} \
|
|
69 |
--mandir=%{_mandir}
|
156
|
70 |
make
|
42
|
71 |
|
|
72 |
%install
|
217
|
73 |
make DESTDIR=$RPM_BUILD_ROOT install
|
42
|
74 |
%{INSTALL_DIR} $RPM_BUILD_ROOT%{_datadir}/fonts/pfbs
|
|
75 |
%{INSTALL_DIR} $RPM_BUILD_ROOT%{_datadir}/gnome-print/fonts
|
1472
|
76 |
#Copy zh_HK from zh_TW
|
|
77 |
#Fixes bug 4930405
|
1522
|
78 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
|
|
79 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
|
1472
|
80 |
|
217
|
81 |
%post
|
|
82 |
/sbin/ldconfig
|
156
|
83 |
|
217
|
84 |
%postun
|
|
85 |
/sbin/ldconfig
|
42
|
86 |
|
|
87 |
%clean
|
|
88 |
rm -rf $RPM_BUILD_ROOT
|
|
89 |
|
|
90 |
%files
|
|
91 |
%{_datadir}/locale/*/LC_MESSAGES/libgnomeprint-2.2.mo
|
|
92 |
%{_datadir}/libgnomeprint
|
|
93 |
%{_datadir}/fonts
|
480
|
94 |
%{_libdir}/libgnomeprint/*/modules/*so*
|
|
95 |
%{_libdir}/libgnomeprint/*/modules/*/*so*
|
1058
|
96 |
%{_libdir}/*so.*
|
42
|
97 |
|
|
98 |
%files devel
|
|
99 |
%{_libdir}/pkgconfig/libgnomeprint-2.2.pc
|
|
100 |
%{_includedir}/libgnomeprint-2.2/libgnomeprint
|
1472
|
101 |
%{_datadir}/gtk-doc
|
1058
|
102 |
%{_libdir}/*so
|
42
|
103 |
|
|
104 |
%changelog
|
1472
|
105 |
* Wed Dec 17 2003 - <[email protected]>
|
|
106 |
- Bump to 2.5.0.1
|
|
107 |
|
1217
|
108 |
* Thu Oct 09 2003 - <[email protected]>
|
|
109 |
- Updated spec file to build for QS, since this CUPS stuff has not be integrated into
|
|
110 |
GNOME 2.4. Still needs to use the same tarball as Mercury.
|
|
111 |
|
1058
|
112 |
* Thu Aug 14 2003 - <[email protected]>
|
|
113 |
- move lib*.so to -devel, remove *.a, *.la
|
|
114 |
|
523
|
115 |
* Thu Jul 10 2003 - [email protected]
|
|
116 |
- Added .po tarball
|
|
117 |
|
480
|
118 |
* Tue Jul 08 2003 - [email protected]
|
|
119 |
- Changed files section to include printer icons and also libraries
|
|
120 |
that import the cups printers into libgnomeprintui dialog.
|
|
121 |
|
327
|
122 |
* Mon Jun 30 2003 - [email protected]
|
|
123 |
- Added cups integration with a new version of tarball.
|
|
124 |
libgnomeprint-2.3.0.cvs.9.tar.bz2
|
|
125 |
|
42
|
126 |
* Tue May 13 2003 - [email protected]
|
156
|
127 |
- Initial Sun release
|