9397
|
1 |
#
|
|
2 |
# spec file for package libgnomeprintui
|
|
3 |
#
|
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
# Owner: gheet
|
|
9 |
#
|
|
10 |
Name: libgnomeprintui
|
|
11 |
License: LGPL
|
|
12 |
Group: System/Libraries/GNOME
|
10521
|
13 |
Version: 2.18.1
|
9397
|
14 |
Release: 1
|
|
15 |
Distribution: Java Desktop System
|
|
16 |
Vendor: Sun Microsystems, Inc.
|
|
17 |
Summary: Print User Interface Library for the GNOME Desktop
|
9530
|
18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libgnomeprintui/2.18/libgnomeprintui-%{version}.tar.bz2
|
9397
|
19 |
# owner:gheet date:2006-04-23 type:bug bugster:6418204
|
|
20 |
Patch1: libgnomeprintui-01-papi-print-dialog.diff
|
|
21 |
URL: http://www.gnome.org
|
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
23 |
Docdir: %{_docdir}/doc
|
|
24 |
Autoreqprov: on
|
|
25 |
Prereq: /sbin/ldconfig
|
|
26 |
|
|
27 |
%define gtk2_version 2.6.0
|
|
28 |
%define libgnomeprint_version 2.12.1
|
|
29 |
%define libgnomecanvas_version 2.6.0
|
|
30 |
%define gnome_icon_theme_version 1.1.92
|
|
31 |
%define XFree86_version 4.3.99
|
|
32 |
|
|
33 |
Requires: gtk2 >= %{gtk2_version}
|
|
34 |
Requires: libgnomeprint >= %{libgnomeprint_version}
|
|
35 |
Requires: libgnomecanvas >= %{libgnomecanvas_version}
|
|
36 |
Requires: libgnomeui
|
|
37 |
Requires: gnome-icon-theme >= %{gnome_icon_theme_version}
|
|
38 |
|
|
39 |
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
40 |
BuildRequires: libgnomeprint-devel >= %{libgnomeprint_version}
|
|
41 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version}
|
|
42 |
BuildRequires: libgnomeui-devel
|
|
43 |
BuildRequires: gnome-icon-theme >= %{gnome_icon_theme_version}
|
|
44 |
|
|
45 |
%description
|
|
46 |
libgnomeprintui is the printing user interface library for the GNOME desktop, providing
|
|
47 |
the user interface elements for GNOME applications eg. print dialog
|
|
48 |
|
|
49 |
%package devel
|
|
50 |
Summary: Print User Interface Development Library for the GNOME Desktop
|
|
51 |
Group: Development/Libraries/GNOME
|
|
52 |
Autoreqprov: on
|
|
53 |
Requires: %{name} >= %{version}
|
|
54 |
Requires: gtk2-devel >= %{gtk2_version}
|
|
55 |
Requires: libgnomeprint-devel >= %{libgnomeprint_version}
|
|
56 |
Requires: libgnomecanvas-devel >= %{libgnomecanvas_version}
|
|
57 |
|
|
58 |
%description devel
|
|
59 |
libgnomeprintui is the printing user interface library for the GNOME desktop, providing
|
|
60 |
the user interface elements for GNOME applications eg. print dialog
|
|
61 |
|
|
62 |
%prep
|
|
63 |
%setup -q
|
|
64 |
%patch1 -p1
|
|
65 |
|
|
66 |
%build
|
|
67 |
%ifos linux
|
|
68 |
if [ -x /usr/bin/getconf ]; then
|
|
69 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
70 |
fi
|
|
71 |
%else
|
|
72 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
73 |
%endif
|
|
74 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
75 |
CPUS=1
|
|
76 |
fi
|
|
77 |
|
|
78 |
libtoolize --force --copy
|
|
79 |
aclocal $ACLOCAL_FLAGS -I .
|
|
80 |
automake -a -c -f
|
|
81 |
autoconf
|
|
82 |
|
|
83 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
84 |
./configure --prefix=%{_prefix} \
|
|
85 |
--sysconfdir=%{_sysconfdir} \
|
|
86 |
--libexecdir=%{_libexecdir} \
|
|
87 |
--mandir=%{_mandir} \
|
|
88 |
%{gtk_doc_option}
|
|
89 |
make -j $CPUS
|
|
90 |
|
|
91 |
%install
|
|
92 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
93 |
#Copy zh_HK from zh_TW
|
|
94 |
#Fixes bug 4930405
|
|
95 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
|
|
96 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
|
|
97 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
98 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
99 |
|
|
100 |
%clean
|
|
101 |
rm -rf $RPM_BUILD_ROOT
|
|
102 |
|
|
103 |
%post
|
|
104 |
/sbin/ldconfig
|
|
105 |
|
|
106 |
%postun
|
|
107 |
/sbin/ldconfig
|
|
108 |
|
|
109 |
%files
|
|
110 |
%doc AUTHORS ChangeLog NEWS README COPYING
|
|
111 |
%{_datadir}/locale/*/LC_MESSAGES/libgnomeprintui*.mo
|
|
112 |
%{_libdir}/*.so.*
|
|
113 |
|
|
114 |
%files devel
|
|
115 |
%{_libdir}/*.so
|
|
116 |
%{_libdir}/pkgconfig/*.pc
|
|
117 |
%{_includedir}/*
|
|
118 |
%{_datadir}/gtk-doc/*
|
|
119 |
%{_datadir}/libgnomeprintui/%{version}/*
|
|
120 |
%{_mandir}/man3/*
|
|
121 |
|
|
122 |
%changelog
|
10521
|
123 |
* Wed Sep 19 2007 - [email protected]
|
|
124 |
- Bump to 2.18.1.
|
9530
|
125 |
* Mon Mar 12 2005 - [email protected]
|
|
126 |
- Bump to 2.18.0.
|
9457
|
127 |
* Tue Mar 06 2005 - [email protected]
|
|
128 |
- Bump to 2.17.92.
|
9397
|
129 |
* Tue Feb 13 2007 - [email protected]
|
|
130 |
- Bump to 2.17.91.
|
|
131 |
* Tue Jan 23 2007 - [email protected]
|
|
132 |
- Bump to 2.17.90.
|
|
133 |
* Thu Nov 23 2005 - [email protected]
|
|
134 |
- Bump to 2.17.0.
|
|
135 |
* Fri Nov 3 2006 - [email protected]
|
|
136 |
- use %gtk_doc_option in configure so that it can be disabled using
|
|
137 |
--without-gtk-doc
|
|
138 |
* Wed Apr 26 2006 - [email protected]
|
|
139 |
- Fixed 6418240 with libgnomeprintui-01-papi-print-dialog.diff.
|
|
140 |
* Tue Sep 27 2005 - [email protected]
|
|
141 |
- Bump to 2.12.1
|
|
142 |
* Mon Aug 15 2005 - [email protected]
|
|
143 |
- Bump to 2.12.0.
|
|
144 |
* Thu May 19 2005 - [email protected]
|
|
145 |
- Replace libgnomeprintui-01-g11n-potfiles.diff and remove
|
|
146 |
libgnomeprintui-01-printing-in-nautilus.diff since it breaks the
|
|
147 |
build.
|
|
148 |
* Thu May 19 2005 - [email protected]
|
|
149 |
- port to 2.10
|
|
150 |
* Tue May 17 2005 - [email protected]
|
|
151 |
- ported to 2.10
|
|
152 |
* Wed Mar 30 2005 - [email protected]
|
|
153 |
- Added libgnomeprintui-05-read-page-word.diff patch to make sure
|
|
154 |
that 'Page' word is read once in print preview window by screen
|
|
155 |
reader. Fixes bug #6224958.
|
|
156 |
* Fri Feb 11 2005 - [email protected]
|
|
157 |
- Added libgnomeprintui-04-read-subheadings.diff to make sure that
|
|
158 |
gnopernicus reads the subheadings of the "print dialog".
|
|
159 |
Fixes bug #6192634.
|
|
160 |
* Thu Oct 28 2004 - [email protected]
|
|
161 |
- Add libgnomeprintui-2.2.3 man page
|
|
162 |
* Wed Aug 18 2004 - [email protected]
|
|
163 |
- added --enable-gtk-doc. Added patch to allow gtk-docs to build.
|
|
164 |
* Thu Jul 08 2004 - [email protected]
|
|
165 |
- Updated l10n content to libgnomeprintui-l10n-po-1.2.tar.bz2
|
|
166 |
* Wed Jul 07 2004 - [email protected]
|
|
167 |
- port to rpm4
|
|
168 |
* Wed Jul 07 2004 - [email protected]
|
|
169 |
- added "-j $CPUS" to make to speed up builds
|
|
170 |
* Wed May 12 2004 - [email protected]
|
|
171 |
- Updated l10n content to libgnomeprintui-l10n-po-1.1.tar.bz2
|
|
172 |
* Fri Apr 02 2004 - ghee.teo
|
|
173 |
- Updated to 2.6.0 tarball
|
|
174 |
* Mon Mar 29 2004 - [email protected]
|
|
175 |
- Updated l10n content to libgnomeprintui-l10n-po-1.0.tar.bz2
|
|
176 |
* Fri Mar 19 2004 - <[email protected]>
|
|
177 |
- Bump to 2.5.4, and rename the potfiles patch.
|
|
178 |
* Fri Mar 12 2004 - <[email protected]>
|
|
179 |
- Dropping the iconlist-dialog patch and goes for the HEAD. Will review this
|
|
180 |
with HCI before final feature freeze.
|
|
181 |
* Wed Mar 03 2004 - <[email protected]>
|
|
182 |
- Fixed the print dialog crashing due to a back port of
|
|
183 |
libgnomeprintui-02-iconlist-dialog.diff
|
|
184 |
* Tue Feb 24 2004 - <[email protected]>
|
|
185 |
- Fixed a symbol typo in libgnomeprintui-02-iconlist-dialog.diff
|
|
186 |
* Mon Feb 23 2004 - <[email protected]>
|
|
187 |
- Ported patches libgnomeprintui-02-iconlist-dialog.diff and
|
|
188 |
libgnomeprintui-03-printing-in-nautilus.diff for cinnabar.
|
|
189 |
* Thu Feb 19 2004 - <[email protected]>
|
|
190 |
- Bump to 2.5.2, l10n to 0.8
|
|
191 |
- Remove libgnomeprintui-01-doc-makefile.diff patch, in new tarball
|
|
192 |
- Ported potfiles_in patch from QS
|
|
193 |
* Thu Feb 12 2004 - <[email protected]>
|
|
194 |
- add ACLOCAL_FLAGS to aclocal invocation
|
|
195 |
* Wed Jan 07 2004 - <[email protected]>
|
|
196 |
- Patch for doc/Makefile.am do not include GTKDOC_CC/GTKDOC_LD as already
|
|
197 |
got from gtk-doc.make in toplevel dir.
|
|
198 |
* Wed Dec 17 2003 - <[email protected]>
|
|
199 |
- Bump to 2.5.0.1
|
|
200 |
* Tue Oct 21 2003 - <[email protected]>
|
|
201 |
- Port printing-in-nautilus patch to QS.
|
|
202 |
* Thu Oct 09 2003 - <[email protected]>
|
|
203 |
- Updated spec file rev to build for QS. Since this tarball is not in the
|
|
204 |
community yet. Stick to the same tarball as in Mercury.
|
|
205 |
* Thu Aug 14 2003 - <[email protected]>
|
|
206 |
- remove *.a, *.la
|
|
207 |
* Thu Jul 10 2003 - [email protected]
|
|
208 |
- Added .po tarball
|
|
209 |
* Mon Jun 30 2003 - [email protected]
|
|
210 |
- Added cups integration with a new tarball and a patch
|
|
211 |
libgnomeprintui-2.3.0.tar.bz2, libgnomeprintui-01-iconlist-dialog.diff
|
|
212 |
* Wed May 14 2003 - [email protected]
|
|
213 |
- Initial Sun release
|