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