author | mattk |
Thu, 28 Oct 2004 15:30:35 +0000 | |
changeset 4357 | 2474a25f2946 |
parent 4276 | 2a2c7f354601 |
child 4387 | 1b0580c5041e |
permissions | -rw-r--r-- |
68 | 1 |
Name: libgnomeprintui |
161 | 2 |
License: LGPL |
219 | 3 |
Group: System/Libraries/GNOME |
2375 | 4 |
Version: 2.6.0 |
4276 | 5 |
Release: 25 |
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 |
4265 | 10 |
Source1: libgnomeprintui-l10n-po-1.6.tar.bz2 |
4357 | 11 |
Source2: libgnomeprintui-2.2.3.gz |
2251 | 12 |
Patch1: libgnomeprintui-01-g11n-potfiles.diff |
2195 | 13 |
Patch2: libgnomeprintui-02-printing-in-nautilus.diff |
3730 | 14 |
Patch3: libgnomeprintui-03-gtkdoc.diff |
219 | 15 |
URL: http://www.gnome.org |
68 | 16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
219 | 17 |
Docdir: %{_docdir}/doc |
68 | 18 |
Autoreqprov: on |
1080 | 19 |
Prereq: /sbin/ldconfig |
68 | 20 |
|
3628 | 21 |
%define gtk2_version 2.4.0 |
22 |
%define libgnomeprint_version 2.6.0 |
|
23 |
%define libgnomecanvas_version 2.6.0 |
|
24 |
%define XFree86_version 4.3.99 |
|
161 | 25 |
|
26 |
Requires: gtk2 >= %{gtk2_version} |
|
27 |
Requires: libgnomeprint >= %{libgnomeprint_version} |
|
28 |
Requires: libgnomecanvas >= %{libgnomecanvas_version} |
|
483 | 29 |
Requires: libgnomeui |
161 | 30 |
|
31 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
32 |
BuildRequires: libgnomeprint-devel >= %{libgnomeprint_version} |
|
33 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
483 | 34 |
BuildRequires: libgnomeui-devel |
161 | 35 |
|
68 | 36 |
%description |
327 | 37 |
libgnomeprintui is the printing user interface library for the GNOME desktop, providing |
38 |
the user interface elements for GNOME applications eg. print dialog |
|
68 | 39 |
|
40 |
%package devel |
|
219 | 41 |
Summary: Print User Interface Development Library for the GNOME Desktop |
68 | 42 |
Group: Development/Libraries/GNOME |
43 |
Autoreqprov: on |
|
161 | 44 |
Requires: %{name} >= %{version} |
219 | 45 |
Requires: gtk2-devel >= %{gtk2_version} |
46 |
Requires: libgnomeprint-devel >= %{libgnomeprint_version} |
|
47 |
Requires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
|
68 | 48 |
|
49 |
%description devel |
|
327 | 50 |
libgnomeprintui is the printing user interface library for the GNOME desktop, providing |
51 |
the user interface elements for GNOME applications eg. print dialog |
|
68 | 52 |
|
161 | 53 |
%prep |
54 |
%setup -q |
|
1522 | 55 |
bzcat %SOURCE1 | tar xf - |
1495 | 56 |
%patch1 -p1 |
1897 | 57 |
%patch2 -p1 |
3730 | 58 |
%patch3 -p1 |
161 | 59 |
|
60 |
%build |
|
3263 | 61 |
%ifos linux |
62 |
if [ -x /usr/bin/getconf ]; then |
|
63 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
64 |
fi |
|
65 |
%else |
|
3846 | 66 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 67 |
%endif |
68 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
69 |
CPUS=1 |
|
70 |
fi |
|
71 |
||
327 | 72 |
libtoolize --force --copy |
1629 | 73 |
aclocal $ACLOCAL_FLAGS -I . -I %{_datadir}/aclocal/gnome2-macros |
327 | 74 |
automake -a -c -f |
75 |
autoconf |
|
76 |
||
219 | 77 |
CFLAGS="$RPM_OPT_FLAGS" \ |
78 |
./configure --prefix=%{_prefix} \ |
|
79 |
--sysconfdir=%{_sysconfdir} \ |
|
80 |
--libexecdir=%{_libexecdir} \ |
|
3730 | 81 |
--mandir=%{_mandir} \ |
82 |
--enable-gtk-doc |
|
3263 | 83 |
make -j $CPUS |
161 | 84 |
|
85 |
%install |
|
86 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
1473 | 87 |
#Copy zh_HK from zh_TW |
88 |
#Fixes bug 4930405 |
|
1522 | 89 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
90 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
4357 | 91 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
92 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
3628 | 93 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
94 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
1522 | 95 |
|
161 | 96 |
%clean |
97 |
rm -rf $RPM_BUILD_ROOT |
|
98 |
||
219 | 99 |
%post |
100 |
/sbin/ldconfig |
|
161 | 101 |
|
219 | 102 |
%postun |
103 |
/sbin/ldconfig |
|
161 | 104 |
|
105 |
%files |
|
327 | 106 |
%doc AUTHORS ChangeLog NEWS README COPYING |
161 | 107 |
%{_datadir}/locale/*/LC_MESSAGES/libgnomeprintui*.mo |
108 |
%{_libdir}/*.so.* |
|
109 |
||
110 |
%files devel |
|
111 |
%{_libdir}/*.so |
|
112 |
%{_libdir}/pkgconfig/*.pc |
|
113 |
%{_includedir}/* |
|
1798 | 114 |
%{_datadir}/gtk-doc/* |
4357 | 115 |
%{_mandir}/man3/* |
68 | 116 |
|
161 | 117 |
%changelog |
4357 | 118 |
* Thu Oct 28 2004 - [email protected] |
119 |
- Add libgnomeprintui-2.2.3 man page |
|
120 |
||
3730 | 121 |
* Wed Aug 18 2004 - [email protected] |
122 |
- added --enable-gtk-doc. Added patch to allow gtk-docs to build. |
|
123 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
124 |
* 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
|
125 |
- Updated l10n content to libgnomeprintui-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
126 |
|
3628 | 127 |
* Wed Jul 07 2004 - [email protected] |
128 |
- port to rpm4 |
|
129 |
||
3263 | 130 |
* Wed Jul 07 2004 - [email protected] |
131 |
- added "-j $CPUS" to make to speed up builds |
|
132 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
133 |
* 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
|
134 |
- Updated l10n content to libgnomeprintui-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
135 |
|
2375 | 136 |
* Fri Apr 02 2004 - ghee.teo |
137 |
- Updated to 2.6.0 tarball |
|
138 |
||
2350 | 139 |
* Mon Mar 29 2004 - [email protected] |
140 |
- Updated l10n content to libgnomeprintui-l10n-po-1.0.tar.bz2 |
|
141 |
||
2251 | 142 |
* Fri Mar 19 2004 - <[email protected]> |
143 |
- Bump to 2.5.4, and rename the potfiles patch. |
|
144 |
||
2195 | 145 |
* Fri Mar 12 2004 - <[email protected]> |
146 |
- Dropping the iconlist-dialog patch and goes for the HEAD. Will review this |
|
147 |
with HCI before final feature freeze. |
|
148 |
||
2135 | 149 |
* Wed Mar 03 2004 - <[email protected]> |
150 |
- Fixed the print dialog crashing due to a back port of |
|
151 |
libgnomeprintui-02-iconlist-dialog.diff |
|
152 |
||
1942 | 153 |
* Tue Feb 24 2004 - <[email protected]> |
154 |
- Fixed a symbol typo in libgnomeprintui-02-iconlist-dialog.diff |
|
155 |
||
1897 | 156 |
* Mon Feb 23 2004 - <[email protected]> |
157 |
- Ported patches libgnomeprintui-02-iconlist-dialog.diff and |
|
158 |
libgnomeprintui-03-printing-in-nautilus.diff for cinnabar. |
|
159 |
||
1798 | 160 |
* Thu Feb 19 2004 - <[email protected]> |
161 |
- Bump to 2.5.2, l10n to 0.8 |
|
162 |
- Remove libgnomeprintui-01-doc-makefile.diff patch, in new tarball |
|
163 |
- Ported potfiles_in patch from QS |
|
164 |
||
1629 | 165 |
* Thu Feb 12 2004 - <[email protected]> |
166 |
- add ACLOCAL_FLAGS to aclocal invocation |
|
167 |
||
1495 | 168 |
* Wed Jan 07 2004 - <[email protected]> |
169 |
- Patch for doc/Makefile.am do not include GTKDOC_CC/GTKDOC_LD as already |
|
170 |
got from gtk-doc.make in toplevel dir. |
|
171 |
||
1473 | 172 |
* Wed Dec 17 2003 - <[email protected]> |
173 |
- Bump to 2.5.0.1 |
|
174 |
||
1326 | 175 |
* Tue Oct 21 2003 - <[email protected]> |
176 |
- Port printing-in-nautilus patch to QS. |
|
177 |
||
1221 | 178 |
* Thu Oct 09 2003 - <[email protected]> |
1326 | 179 |
- Updated spec file rev to build for QS. Since this tarball is not in the |
180 |
community yet. Stick to the same tarball as in Mercury. |
|
1221 | 181 |
|
1058 | 182 |
* Thu Aug 14 2003 - <[email protected]> |
183 |
- remove *.a, *.la |
|
184 |
||
523 | 185 |
* Thu Jul 10 2003 - [email protected] |
186 |
- Added .po tarball |
|
187 |
||
327 | 188 |
* Mon Jun 30 2003 - [email protected] |
189 |
- Added cups integration with a new tarball and a patch |
|
190 |
libgnomeprintui-2.3.0.tar.bz2, libgnomeprintui-01-iconlist-dialog.diff |
|
1031 | 191 |
|
68 | 192 |
* Wed May 14 2003 - [email protected] |
161 | 193 |
- Initial Sun release |