68
|
1 |
Name: libgnomeprintui
|
161
|
2 |
License: LGPL
|
219
|
3 |
Group: System/Libraries/GNOME
|
2251
|
4 |
Version: 2.5.4
|
2350
|
5 |
Release: 7
|
1798
|
6 |
Distribution: Cinnabar
|
575
|
7 |
Vendor: Sun Microsystems, Inc.
|
219
|
8 |
Summary: Print User Interface Library for the GNOME Desktop
|
1473
|
9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libgnomeprintui/2.5/libgnomeprintui-%{version}.tar.bz2
|
2350
|
10 |
Source1: libgnomeprintui-l10n-po-1.0.tar.bz2
|
2251
|
11 |
Patch1: libgnomeprintui-01-g11n-potfiles.diff
|
2195
|
12 |
Patch2: libgnomeprintui-02-printing-in-nautilus.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 |
|
1473
|
19 |
%define gtk2_version 2.3.0
|
|
20 |
%define libgnomeprint_version 2.5.0
|
161
|
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
|
1522
|
53 |
bzcat %SOURCE1 | tar xf -
|
1495
|
54 |
%patch1 -p1
|
1897
|
55 |
%patch2 -p1
|
161
|
56 |
|
|
57 |
%build
|
327
|
58 |
libtoolize --force --copy
|
1629
|
59 |
aclocal $ACLOCAL_FLAGS -I . -I %{_datadir}/aclocal/gnome2-macros
|
327
|
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
|
1473
|
72 |
#Copy zh_HK from zh_TW
|
|
73 |
#Fixes bug 4930405
|
1522
|
74 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
|
|
75 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
|
|
76 |
|
161
|
77 |
%clean
|
|
78 |
rm -rf $RPM_BUILD_ROOT
|
|
79 |
|
219
|
80 |
%post
|
|
81 |
/sbin/ldconfig
|
161
|
82 |
|
219
|
83 |
%postun
|
|
84 |
/sbin/ldconfig
|
161
|
85 |
|
|
86 |
%files
|
327
|
87 |
%doc AUTHORS ChangeLog NEWS README COPYING
|
161
|
88 |
%{_datadir}/locale/*/LC_MESSAGES/libgnomeprintui*.mo
|
|
89 |
%{_libdir}/*.so.*
|
|
90 |
|
|
91 |
%files devel
|
|
92 |
%{_libdir}/*.so
|
|
93 |
%{_libdir}/pkgconfig/*.pc
|
|
94 |
%{_includedir}/*
|
1798
|
95 |
%{_datadir}/gtk-doc/*
|
68
|
96 |
|
161
|
97 |
%changelog
|
2350
|
98 |
* Mon Mar 29 2004 - [email protected]
|
|
99 |
- Updated l10n content to libgnomeprintui-l10n-po-1.0.tar.bz2
|
|
100 |
|
2251
|
101 |
* Fri Mar 19 2004 - <[email protected]>
|
|
102 |
- Bump to 2.5.4, and rename the potfiles patch.
|
|
103 |
|
2195
|
104 |
* Fri Mar 12 2004 - <[email protected]>
|
|
105 |
- Dropping the iconlist-dialog patch and goes for the HEAD. Will review this
|
|
106 |
with HCI before final feature freeze.
|
|
107 |
|
2135
|
108 |
* Wed Mar 03 2004 - <[email protected]>
|
|
109 |
- Fixed the print dialog crashing due to a back port of
|
|
110 |
libgnomeprintui-02-iconlist-dialog.diff
|
|
111 |
|
1942
|
112 |
* Tue Feb 24 2004 - <[email protected]>
|
|
113 |
- Fixed a symbol typo in libgnomeprintui-02-iconlist-dialog.diff
|
|
114 |
|
1897
|
115 |
* Mon Feb 23 2004 - <[email protected]>
|
|
116 |
- Ported patches libgnomeprintui-02-iconlist-dialog.diff and
|
|
117 |
libgnomeprintui-03-printing-in-nautilus.diff for cinnabar.
|
|
118 |
|
1798
|
119 |
* Thu Feb 19 2004 - <[email protected]>
|
|
120 |
- Bump to 2.5.2, l10n to 0.8
|
|
121 |
- Remove libgnomeprintui-01-doc-makefile.diff patch, in new tarball
|
|
122 |
- Ported potfiles_in patch from QS
|
|
123 |
|
1629
|
124 |
* Thu Feb 12 2004 - <[email protected]>
|
|
125 |
- add ACLOCAL_FLAGS to aclocal invocation
|
|
126 |
|
1495
|
127 |
* Wed Jan 07 2004 - <[email protected]>
|
|
128 |
- Patch for doc/Makefile.am do not include GTKDOC_CC/GTKDOC_LD as already
|
|
129 |
got from gtk-doc.make in toplevel dir.
|
|
130 |
|
1473
|
131 |
* Wed Dec 17 2003 - <[email protected]>
|
|
132 |
- Bump to 2.5.0.1
|
|
133 |
|
1326
|
134 |
* Tue Oct 21 2003 - <[email protected]>
|
|
135 |
- Port printing-in-nautilus patch to QS.
|
|
136 |
|
1221
|
137 |
* Thu Oct 09 2003 - <[email protected]>
|
1326
|
138 |
- Updated spec file rev to build for QS. Since this tarball is not in the
|
|
139 |
community yet. Stick to the same tarball as in Mercury.
|
1221
|
140 |
|
1058
|
141 |
* Thu Aug 14 2003 - <[email protected]>
|
|
142 |
- remove *.a, *.la
|
|
143 |
|
523
|
144 |
* Thu Jul 10 2003 - [email protected]
|
|
145 |
- Added .po tarball
|
|
146 |
|
327
|
147 |
* Mon Jun 30 2003 - [email protected]
|
|
148 |
- Added cups integration with a new tarball and a patch
|
|
149 |
libgnomeprintui-2.3.0.tar.bz2, libgnomeprintui-01-iconlist-dialog.diff
|
1031
|
150 |
|
68
|
151 |
* Wed May 14 2003 - [email protected]
|
161
|
152 |
- Initial Sun release
|