author | dermotm |
Mon, 06 Oct 2003 10:15:16 +0000 | |
changeset 1195 | 4e66a626f563 |
parent 1157 | c64ecc37251e |
child 1221 | ae84388e2c41 |
permissions | -rw-r--r-- |
68 | 1 |
Name: libgnomeprintui |
161 | 2 |
License: LGPL |
219 | 3 |
Group: System/Libraries/GNOME |
327 | 4 |
Version: 2.3.0 |
1195 | 5 |
Release: 13 |
68 | 6 |
Distribution: Mercury |
575 | 7 |
Vendor: Sun Microsystems, Inc. |
219 | 8 |
Summary: Print User Interface Library for the GNOME Desktop |
1031 | 9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libgnomeprintui/2.3/libgnomeprintui-%{version}.tar.bz2 |
523 | 10 |
Source1: libgnomeprintui-l10n-po.tar.bz2 |
327 | 11 |
Patch: libgnomeprintui-01-iconlist-dialog.diff |
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
12 |
Patch1: libgnomeprintui-02-potfiles_in.diff |
219 | 13 |
URL: http://www.gnome.org |
68 | 14 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
219 | 15 |
Docdir: %{_docdir}/doc |
68 | 16 |
Autoreqprov: on |
1080 | 17 |
Prereq: /sbin/ldconfig |
68 | 18 |
|
161 | 19 |
%define gtk2_version 2.2.1 |
20 |
%define libgnomeprint_version 2.2.1.2 |
|
21 |
%define libgnomecanvas_version 2.2.0.2 |
|
22 |
%define XFree86_version 4.3.0 |
|
23 |
||
24 |
Requires: gtk2 >= %{gtk2_version} |
|
25 |
Requires: libgnomeprint >= %{libgnomeprint_version} |
|
26 |
Requires: libgnomecanvas >= %{libgnomecanvas_version} |
|
483 | 27 |
Requires: libgnomeui |
161 | 28 |
|
29 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
30 |
BuildRequires: libgnomeprint-devel >= %{libgnomeprint_version} |
|
31 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
483 | 32 |
BuildRequires: libgnomeui-devel |
161 | 33 |
|
68 | 34 |
%description |
327 | 35 |
libgnomeprintui is the printing user interface library for the GNOME desktop, providing |
36 |
the user interface elements for GNOME applications eg. print dialog |
|
68 | 37 |
|
38 |
%package devel |
|
219 | 39 |
Summary: Print User Interface Development Library for the GNOME Desktop |
68 | 40 |
Group: Development/Libraries/GNOME |
41 |
Autoreqprov: on |
|
161 | 42 |
Requires: %{name} >= %{version} |
219 | 43 |
Requires: gtk2-devel >= %{gtk2_version} |
44 |
Requires: libgnomeprint-devel >= %{libgnomeprint_version} |
|
45 |
Requires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
68 | 46 |
|
47 |
%description devel |
|
327 | 48 |
libgnomeprintui is the printing user interface library for the GNOME desktop, providing |
49 |
the user interface elements for GNOME applications eg. print dialog |
|
68 | 50 |
|
161 | 51 |
%prep |
52 |
%setup -q |
|
327 | 53 |
%patch -p1 |
523 | 54 |
tar -jxf %SOURCE1 |
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
55 |
%patch1 -p1 |
161 | 56 |
|
57 |
%build |
|
327 | 58 |
libtoolize --force --copy |
59 |
aclocal -I . -I /usr/share/aclocal/gnome2-macros |
|
60 |
automake -a -c -f |
|
61 |
autoconf |
|
62 |
||
219 | 63 |
CFLAGS="$RPM_OPT_FLAGS" \ |
64 |
./configure --prefix=%{_prefix} \ |
|
65 |
--sysconfdir=%{_sysconfdir} \ |
|
66 |
--libexecdir=%{_libexecdir} \ |
|
67 |
--mandir=%{_mandir} |
|
161 | 68 |
make |
69 |
||
70 |
%install |
|
71 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
72 |
||
73 |
%clean |
|
74 |
rm -rf $RPM_BUILD_ROOT |
|
75 |
||
219 | 76 |
%post |
77 |
/sbin/ldconfig |
|
161 | 78 |
|
219 | 79 |
%postun |
80 |
/sbin/ldconfig |
|
161 | 81 |
|
82 |
%files |
|
327 | 83 |
%doc AUTHORS ChangeLog NEWS README COPYING |
161 | 84 |
%{_datadir}/locale/*/LC_MESSAGES/libgnomeprintui*.mo |
85 |
%{_libdir}/*.so.* |
|
86 |
||
87 |
%files devel |
|
88 |
%{_libdir}/*.so |
|
89 |
%{_libdir}/pkgconfig/*.pc |
|
90 |
%{_includedir}/* |
|
68 | 91 |
|
161 | 92 |
%changelog |
1058 | 93 |
* Thu Aug 14 2003 - <[email protected]> |
94 |
- remove *.a, *.la |
|
95 |
||
523 | 96 |
* Thu Jul 10 2003 - [email protected] |
97 |
- Added .po tarball |
|
98 |
||
327 | 99 |
* Mon Jun 30 2003 - [email protected] |
100 |
- Added cups integration with a new tarball and a patch |
|
101 |
libgnomeprintui-2.3.0.tar.bz2, libgnomeprintui-01-iconlist-dialog.diff |
|
1031 | 102 |
|
68 | 103 |
* Wed May 14 2003 - [email protected] |
161 | 104 |
- Initial Sun release |