author | markmc |
Tue, 15 Jul 2003 17:34:01 +0000 | |
changeset 575 | 2b5c59a05848 |
parent 569 | b63182ee420f |
child 831 | acb143eda0a8 |
permissions | -rw-r--r-- |
156 | 1 |
Name: libgnomeprint |
42 | 2 |
License: LGPL |
217 | 3 |
Group: System/Libraries/GNOME |
327 | 4 |
Version: 2.3.0 |
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
5 |
Release: 7 |
42 | 6 |
Distribution: Mercury |
575 | 7 |
Vendor: Sun Microsystems, Inc. |
217 | 8 |
Summary: Print Library for the GNOME Desktop |
327 | 9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libgnomeprint/2.2/libgnomeprint-%{version}.cvs.9.tar.bz2 |
523 | 10 |
Source1: libgnomeprint-l10n-po.tar.bz2 |
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
11 |
Patch0: libgnomeprint-01-potfiles_in.diff |
217 | 12 |
URL: http://www.gnome.org |
42 | 13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
156 | 14 |
Autoreqprov: on |
42 | 15 |
|
16 |
%define INSTALL_DIR install -d -m755 |
|
17 |
||
156 | 18 |
%define glib2_version 2.2.1 |
19 |
%define pango_version 1.2.1 |
|
20 |
%define libart_lgpl_version 2.3.11 |
|
21 |
%define gtk_doc_version 1.0 |
|
217 | 22 |
%define gnome_common_version 1.2.4 |
23 |
%define cups_version 1.1.15 |
|
263 | 24 |
%define openssl_devel_version 0.9.6 |
156 | 25 |
|
218 | 26 |
Requires: glib2 >= %{glib2_version} |
156 | 27 |
Requires: pango >= %{pango_version} |
28 |
Requires: libart_lgpl >= %{libart_lgpl_version} |
|
217 | 29 |
Requires: cups >= %{cups_version} |
483 | 30 |
Requires: libgnomecups |
156 | 31 |
|
32 |
BuildRequires: glib2-devel >= %{glib2_version} |
|
33 |
BuildRequires: pango-devel >= %{pango_version} |
|
34 |
BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version} |
|
35 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
217 | 36 |
BuildRequires: cups-devel >= %{cups_version} |
37 |
BuildRequires: gnome-common >= %{gnome_common_version} |
|
290 | 38 |
BuildRequires: openssl-devel >= %{openssl_devel_version} |
483 | 39 |
BuildRequires: libgnomecups-devel |
156 | 40 |
|
42 | 41 |
%description |
217 | 42 |
libgnomeprint is the printing library for the GNOME desktop, providing a simple and clean |
43 |
API for GNOME applications to print documents. |
|
42 | 44 |
|
156 | 45 |
%package devel |
217 | 46 |
Summary: Print Development Library for the GNOME Desktop |
156 | 47 |
Group: Development/Libraries/GNOME |
217 | 48 |
Requires: %{name} = %{version} |
49 |
Requires: glib2-devel >= %{glib2_version} |
|
50 |
Requires: pango-devel >= %{pango_version} |
|
51 |
Requires: libart_lgpl-devel >= %{libart_lgpl_version} |
|
156 | 52 |
|
53 |
%description devel |
|
217 | 54 |
libgnomeprint is the printing library for the GNOME desktop, providing a simple and clean |
55 |
API for GNOME applications to print documents. |
|
156 | 56 |
|
42 | 57 |
%prep |
327 | 58 |
%setup -q -n libgnomeprint-2.3.0.cvs.9 |
523 | 59 |
tar -jxf %SOURCE1 |
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
60 |
%patch0 -p1 |
42 | 61 |
|
62 |
%build |
|
217 | 63 |
CFLAGS="$RPM_OPT_FLAGS" \ |
64 |
./configure --prefix=%{_prefix} \ |
|
65 |
--sysconfdir=%{_sysconfdir} \ |
|
66 |
--mandir=%{_mandir} |
|
156 | 67 |
make |
42 | 68 |
|
69 |
%install |
|
217 | 70 |
make DESTDIR=$RPM_BUILD_ROOT install |
42 | 71 |
%{INSTALL_DIR} $RPM_BUILD_ROOT%{_datadir}/fonts/pfbs |
72 |
%{INSTALL_DIR} $RPM_BUILD_ROOT%{_datadir}/gnome-print/fonts |
|
73 |
||
217 | 74 |
%post |
75 |
/sbin/ldconfig |
|
156 | 76 |
|
217 | 77 |
%postun |
78 |
/sbin/ldconfig |
|
42 | 79 |
|
80 |
%clean |
|
81 |
rm -rf $RPM_BUILD_ROOT |
|
82 |
||
83 |
%files |
|
84 |
%{_datadir}/locale/*/LC_MESSAGES/libgnomeprint-2.2.mo |
|
85 |
%{_datadir}/libgnomeprint |
|
480 | 86 |
%{_datadir}/gnome-print-2.0/icons |
42 | 87 |
%{_datadir}/fonts |
480 | 88 |
%{_libdir}/libgnomeprint/*/modules/*so* |
89 |
%{_libdir}/libgnomeprint/*/modules/*/*so* |
|
42 | 90 |
%{_libdir}/*so* |
91 |
||
92 |
%files devel |
|
93 |
%{_libdir}/pkgconfig/libgnomeprint-2.2.pc |
|
94 |
%{_includedir}/libgnomeprint-2.2/libgnomeprint |
|
95 |
%{_libdir}/*a |
|
96 |
%{_libdir}/libgnomeprint/*/*/*/*a |
|
97 |
||
98 |
%changelog |
|
523 | 99 |
* Thu Jul 10 2003 - [email protected] |
100 |
- Added .po tarball |
|
101 |
||
480 | 102 |
* Tue Jul 08 2003 - [email protected] |
103 |
- Changed files section to include printer icons and also libraries |
|
104 |
that import the cups printers into libgnomeprintui dialog. |
|
105 |
||
327 | 106 |
* Mon Jun 30 2003 - [email protected] |
107 |
- Added cups integration with a new version of tarball. |
|
108 |
libgnomeprint-2.3.0.cvs.9.tar.bz2 |
|
109 |
||
42 | 110 |
* Tue May 13 2003 - [email protected] |
156 | 111 |
- Initial Sun release |