Author: arekm Date: Wed Nov 9 22:11:35 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - more update
---- Files affected: SPECS: hplip.spec (1.5 -> 1.6) ---- Diffs: ================================================================ Index: SPECS/hplip.spec diff -u SPECS/hplip.spec:1.5 SPECS/hplip.spec:1.6 --- SPECS/hplip.spec:1.5 Thu Aug 11 11:46:18 2005 +++ SPECS/hplip.spec Wed Nov 9 23:11:28 2005 @@ -1,45 +1,68 @@ # $Revision$, $Date$ # TODO: # - Review unpackaged files -# - Remove conflict with hpijs (binary name conflict) +# - Remove conflict with hpijs (binary name conflict) or add obsoletes +# - package /usr/share/hplip (split into few separate subpackages?) # # Conditional build: %bcond_without cups # without CUPS support # -Summary: HP Inkjet Server +Summary: Hewlett-Packard Linux Imaging and Printing Project Summary(pl): Serwer dla drukarek HP Inkjet Name: hplip -Version: 0.9.4 +Version: 0.9.6 Release: 0.1 License: BSD Group: Applications/System Source0: http://dl.sourceforge.net/hpinkjet/%{name}-%{version}.tar.gz -# Source0-md5: 2ebb0708d7ac18f923540bf75250cd30 +# Source0-md5: a95d8087198e16dde758332b612fb112 URL: http://hpinkjet.sourceforge.net/ -#Patch0: %{name}-ac_fixes.patch +BuildRequires: automake BuildRequires: autoconf %{?with_cups:BuildRequires: cups-devel} BuildRequires: libstdc++-devel +BuildRequires: net-snmp-devel +BuildRequires: openssl-devel +BuildRequires: python-devel Conflicts: ghostscript <= 7.00-3 Conflicts: hpijs BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%define _ulibdir %{_prefix}/lib + %if %{with cups} %define _cupsdir %(cups-config --datadir) %define _cupsppddir %{_cupsdir}/model %endif %description -The Hewlett-Packard Inkjet Server is a raster-to-pcl server or -coprocess based on the Hewlett Packard Appliance Printing Development -Kit at http://hpapdk.com/. The server is used with Ghostscript as -deskjet printer driver. - -%description -l pl -Serwer Hewlett-Packard Inkjet jest serwerem raster-do-pcl lub jako -koproces bazowany na Hewlett Packard Appliance Printing Development -Kit z http://hpapdk.com/. Serwer jest używany wraz z Ghostscriptem -jako sterownik dla drukarek atramentowych DeskJet. +The Hewlett-Packard Linux Imaging and Printing project (HPLIP) +provides a unified single and multi-function connectivity solution for +Linux. The goal of this project is to provide "radically simple" +printing, faxing, scanning, photo-card access, and device management +to the consumer and small business desktop Linux users. + +%package libs +Summary: HPLIP Libraries +Summary(pl): Biblioteki HPLIP +Group: Libraries + +%description libs +HPLIP Libraries. + +%description libs -l pl +Biblioteki HPLIP. + +%package sane +Summary: HPLIP SANE Libraries +Summary(pl): Biblioteki HPLIP SANE +Group: Libraries + +%description sane +HPLIP SANE Libraries. + +%description sane -l pl +Biblioteki HPLIP SANE. %package ppd Summary: PPD database for Hewlett Packard printers @@ -53,14 +76,35 @@ %description ppd -l pl Baza danych PPD dla drukarek Hewlett Packard. +%package -n cups-backend-hp +Summary: HP backend for CUPS +Summary(pl): Backend HP dla CUPS-a +Group: Applications/Printing +Requires: cups + +%description -n cups-backend-hp +This package allow CUPS printing on HP printers. + +%description -n cups-backend-hp -l pl +Ten pakiet umożliwia drukowanie z poziomu CUPS-a na drukarkach HP. + +%package -n python-%{name} +Summary: Python HPLIP bindings +Summary(pl): Interfejs Pythonowy do HPLIP +Group: Development/Languages/Python + +%description -n python-%{name} +Python HPLIP bindings. + +%description -n python-%{name} -l pl +Interfejs Pythonowy do HPLIP. + %prep %setup -q -#%patch0 -p1 %build -#%%{__libtoolize} -#%%{__aclocal} -#%%{__autoconf} +install /usr/share/automake/config.* . +install /usr/share/automake/config.* prnt CXXFLAGS="%{rpmcflags} -fno-exceptions -fno-rtti" %configure \ --enable-foomatic-install \ @@ -86,15 +130,38 @@ %clean rm -rf $RPM_BUILD_ROOT +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig + +%post sane -p /sbin/ldconfig +%postun sane -p /sbin/ldconfig + %files %defattr(644,root,root,755) %doc hplip_readme.html %attr(755,root,root) %{_bindir}/hp* +%attr(755,root,root) %{_sbindir}/hp* + +%files libs +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libhpip*.so.* + +%files sane +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libsane*.so.* + +%files -n python-%{name} +%defattr(644,root,root,755) +%attr(755,root,root) %{py_sitedir}/*.so %if %{with cups} %files ppd %defattr(644,root,root,755) %{_cupsppddir}/* + +%files -n cups-backend-hp +%defattr(644,root,root,755) +%attr(755,root,root) %{_ulibdir}/cups/backend/hp %endif %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) @@ -103,6 +170,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.6 2005/11/09 22:11:28 arekm +- more update + Revision 1.5 2005/08/11 09:46:18 radek - bcond_with(out) is followed by one \t, then bcond's name. ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/hplip.spec?r1=1.5&r2=1.6&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
