author | dermotm |
Mon, 18 Oct 2004 09:30:38 +0000 | |
changeset 4276 | 2a2c7f354601 |
parent 4265 | 9c26d9ef4f72 |
child 4387 | 1b0580c5041e |
permissions | -rw-r--r-- |
327 | 1 |
Name: libgnomecups |
2 |
License: LGPL |
|
3 |
Group: System Environment/Libraries |
|
1217 | 4 |
Version: 0.1.6 |
4276 | 5 |
Release: 25 |
1800 | 6 |
Distribution: Cinnabar |
575 | 7 |
Vendor: Sun Microsystems, Inc. |
327 | 8 |
Summary: GNOME CUPS Library |
1800 | 9 |
Source: libgnomecups-0.1.6.tar.bz2 |
4265 | 10 |
Source1: libgnomecups-l10n-po-1.6.tar.bz2 |
1800 | 11 |
Patch1: libgnomecups-01-i18n-nautilus-printers.diff |
4185
590dfb2c6dff
Updating spec-files to include All Linguas patches
cm152228
parents:
4133
diff
changeset
|
12 |
Patch2: libgnomecups-02-g11n-alllinguas.diff |
4200 | 13 |
Patch3: libgnomecups-03-remove-assertion.diff |
327 | 14 |
URL: http://www.gnome.org/ |
15 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
16 |
Docdir: %{_docdir}/doc |
|
17 |
Autoreqprov: on |
|
1080 | 18 |
Prereq: /sbin/ldconfig |
327 | 19 |
|
1217 | 20 |
%define libgnomecups_version 0.1.6 |
3628 | 21 |
%define glib2_version 2.4.0 |
22 |
%define cups_version 1.1.20 |
|
23 |
%define openssl_version 0.9.7 |
|
327 | 24 |
|
25 |
Requires: cups >= %{cups_version} |
|
26 |
Requires: cups-libs >= %{cups_version} |
|
27 |
||
28 |
BuildRequires: pkgconfig |
|
29 |
BuildRequires: cups-devel >= %{cups_version} |
|
30 |
BuildRequires: cups >= %{cups_version} |
|
1317 | 31 |
BuildRequires: openssl-devel >= %{openssl_version} |
327 | 32 |
|
33 |
%description |
|
34 |
A library for accessing printers on a CUPS server. |
|
35 |
||
36 |
%package devel |
|
37 |
Summary: GNOME CUPS Library Devel |
|
38 |
Group: System Environment/Libraries |
|
39 |
Autoreqprov: on |
|
40 |
||
41 |
Requires: %{name} >= %{version} |
|
42 |
Requires: glib2-devel >= %{glib2_version} |
|
43 |
Requires: cups-devel >= %{cups_version} |
|
44 |
||
45 |
%description devel |
|
46 |
Development headers and libraries for libgnomecups |
|
47 |
||
48 |
%prep |
|
49 |
%setup -q |
|
1800 | 50 |
bzcat %SOURCE1 | tar xvf - |
51 |
%patch1 -p1 |
|
4185
590dfb2c6dff
Updating spec-files to include All Linguas patches
cm152228
parents:
4133
diff
changeset
|
52 |
%patch2 -p1 |
4200 | 53 |
%patch3 -p1 |
327 | 54 |
|
55 |
%build |
|
3263 | 56 |
%ifos linux |
57 |
if [ -x /usr/bin/getconf ]; then |
|
58 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
59 |
fi |
|
60 |
%else |
|
3846 | 61 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 62 |
%endif |
63 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
64 |
CPUS=1 |
|
65 |
fi |
|
66 |
||
1800 | 67 |
libtoolize --force |
68 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
69 |
automake -a -c -f |
|
70 |
autoconf |
|
71 |
||
327 | 72 |
CFLAGS="$RPM_OPT_FLAGS" \ |
73 |
./configure --prefix=/usr \ |
|
74 |
--sysconfdir=/etc \ |
|
75 |
--infodir=/usr/info |
|
3263 | 76 |
make -j $CPUS |
327 | 77 |
|
78 |
%install |
|
79 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
3628 | 80 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
81 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
327 | 82 |
|
83 |
%clean |
|
84 |
rm -rf $RPM_BUILD_ROOT |
|
85 |
||
86 |
%post |
|
87 |
/sbin/ldconfig |
|
88 |
||
89 |
%postun |
|
90 |
/sbin/ldconfig |
|
91 |
||
92 |
%files |
|
93 |
%defattr(-, root, root) |
|
94 |
%doc AUTHORS ChangeLog COPYING NEWS README |
|
1800 | 95 |
%{_libdir}/l*.so.* |
96 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
327 | 97 |
|
98 |
%files -n libgnomecups-devel |
|
99 |
%defattr(-, root, root) |
|
1800 | 100 |
%{_libdir}/*.so |
101 |
%{_includedir}/libgnomecups-1 |
|
102 |
%{_libdir}/pkgconfig/*.pc |
|
327 | 103 |
|
104 |
%changelog |
|
4200 | 105 |
* Fri Oct 08 2004 - [email protected] |
106 |
- Added libgnomecups-03-remove-assertion.diff. |
|
107 |
||
4185
590dfb2c6dff
Updating spec-files to include All Linguas patches
cm152228
parents:
4133
diff
changeset
|
108 |
* Thu Oct 07 2004 - [email protected] |
590dfb2c6dff
Updating spec-files to include All Linguas patches
cm152228
parents:
4133
diff
changeset
|
109 |
- Added libgnomecups-02-g11n-alllinguas.diff to add cs,hu locales |
590dfb2c6dff
Updating spec-files to include All Linguas patches
cm152228
parents:
4133
diff
changeset
|
110 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
111 |
* 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
|
112 |
- Updated l10n content to libgnomecups-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
|
113 |
|
3628 | 114 |
* Wed Jul 07 2004 - [email protected] |
115 |
- port to rpm4 |
|
116 |
||
3263 | 117 |
* Wed Jul 07 2004 - [email protected] |
118 |
- added "-j $CPUS" to make to speed up builds |
|
119 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
120 |
* 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
|
121 |
- Updated l10n content to libgnomecups-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
|
122 |
|
2350 | 123 |
* Mon Mar 29 2004 - [email protected] |
124 |
- Updated l10n content to libgnomecups-l10n-po-1.0.tar.bz2 |
|
125 |
||
1800 | 126 |
* Thu Feb 19 2004 - <[email protected]> |
127 |
- Distro to Cinnabar, add l10n 0.8 |
|
128 |
- Add libtoolize etc.. |
|
129 |
- Port patch from QS |
|
130 |
||
1217 | 131 |
* Thu Oct 09 2003 - <[email protected]> |
132 |
- Updated to 0.1.6 to build for Quicksilver. |
|
133 |
||
1058 | 134 |
* Thu Aug 14 2003 - <[email protected]> |
135 |
- remove *.a, *.la |
|
136 |
||
546 | 137 |
* Fri Jul 11 2003 - [email protected] |
138 |
- Fixed a bug in the actual communication with the cups server via |
|
139 |
http connection. The fix was found after having a chat with the original |
|
140 |
author, Dave Camp. |
|
327 | 141 |
* Thu Jun 26 2003 - [email protected] |
142 |
- Initial Sun release with cups integraion stuff |