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