156
|
1 |
Name: libgnomeprint
|
42
|
2 |
License: LGPL
|
217
|
3 |
Group: System/Libraries/GNOME
|
42
|
4 |
Version: 2.2.1.2
|
|
5 |
Release: 1
|
|
6 |
Distribution: Mercury
|
|
7 |
Vendor: Sun Microsystems Inc.
|
217
|
8 |
Summary: Print Library for the GNOME Desktop
|
156
|
9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libgnomeprint/2.2/libgnomeprint-%{version}.tar.bz2
|
217
|
10 |
URL: http://www.gnome.org
|
42
|
11 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
156
|
12 |
Autoreqprov: on
|
42
|
13 |
|
|
14 |
%define INSTALL_DIR install -d -m755
|
|
15 |
|
156
|
16 |
%define glib2_version 2.2.1
|
|
17 |
%define pango_version 1.2.1
|
|
18 |
%define libart_lgpl_version 2.3.11
|
|
19 |
%define gtk_doc_version 1.0
|
217
|
20 |
%define gnome_common_version 1.2.4
|
|
21 |
%define cups_version 1.1.15
|
156
|
22 |
|
218
|
23 |
Requires: glib2 >= %{glib2_version}
|
156
|
24 |
Requires: pango >= %{pango_version}
|
|
25 |
Requires: libart_lgpl >= %{libart_lgpl_version}
|
217
|
26 |
Requires: cups >= %{cups_version}
|
156
|
27 |
|
|
28 |
BuildRequires: glib2-devel >= %{glib2_version}
|
|
29 |
BuildRequires: pango-devel >= %{pango_version}
|
|
30 |
BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version}
|
|
31 |
BuildRequires: gtk-doc >= %{gtk_doc_version}
|
217
|
32 |
BuildRequires: cups-devel >= %{cups_version}
|
|
33 |
BuildRequires: gnome-common >= %{gnome_common_version}
|
156
|
34 |
|
42
|
35 |
%description
|
217
|
36 |
libgnomeprint is the printing library for the GNOME desktop, providing a simple and clean
|
|
37 |
API for GNOME applications to print documents.
|
42
|
38 |
|
156
|
39 |
%package devel
|
217
|
40 |
Summary: Print Development Library for the GNOME Desktop
|
156
|
41 |
Group: Development/Libraries/GNOME
|
217
|
42 |
Requires: %{name} = %{version}
|
|
43 |
Requires: glib2-devel >= %{glib2_version}
|
|
44 |
Requires: pango-devel >= %{pango_version}
|
|
45 |
Requires: libart_lgpl-devel >= %{libart_lgpl_version}
|
156
|
46 |
|
|
47 |
%description devel
|
217
|
48 |
libgnomeprint is the printing library for the GNOME desktop, providing a simple and clean
|
|
49 |
API for GNOME applications to print documents.
|
156
|
50 |
|
42
|
51 |
%prep
|
156
|
52 |
%setup -q
|
42
|
53 |
|
|
54 |
%build
|
217
|
55 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
56 |
./configure --prefix=%{_prefix} \
|
|
57 |
--sysconfdir=%{_sysconfdir} \
|
|
58 |
--mandir=%{_mandir}
|
156
|
59 |
make
|
42
|
60 |
|
|
61 |
%install
|
217
|
62 |
make DESTDIR=$RPM_BUILD_ROOT install
|
42
|
63 |
%{INSTALL_DIR} $RPM_BUILD_ROOT%{_datadir}/fonts/pfbs
|
|
64 |
%{INSTALL_DIR} $RPM_BUILD_ROOT%{_datadir}/gnome-print/fonts
|
|
65 |
|
217
|
66 |
%post
|
|
67 |
/sbin/ldconfig
|
156
|
68 |
|
217
|
69 |
%postun
|
|
70 |
/sbin/ldconfig
|
42
|
71 |
|
|
72 |
%clean
|
|
73 |
rm -rf $RPM_BUILD_ROOT
|
|
74 |
|
|
75 |
%files
|
|
76 |
%{_datadir}/locale/*/LC_MESSAGES/libgnomeprint-2.2.mo
|
|
77 |
%{_datadir}/libgnomeprint
|
|
78 |
%{_datadir}/fonts
|
|
79 |
%{_libdir}/libgnomeprint/*/*/*/*so*
|
|
80 |
%{_libdir}/*so*
|
|
81 |
|
|
82 |
%files devel
|
|
83 |
%{_libdir}/pkgconfig/libgnomeprint-2.2.pc
|
|
84 |
%{_includedir}/libgnomeprint-2.2/libgnomeprint
|
|
85 |
%{_libdir}/*a
|
|
86 |
%{_libdir}/libgnomeprint/*/*/*/*a
|
|
87 |
|
|
88 |
%changelog
|
|
89 |
* Tue May 13 2003 - [email protected]
|
156
|
90 |
- Initial Sun release
|