packages: tea4cups/tea4cups.spec - spelling (you can't say datas, but have ...

glen glen at pld-linux.org
Thu Jan 7 17:19:43 CET 2010


Author: glen                         Date: Thu Jan  7 16:19:43 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- spelling (you can't say datas, but have to refer in singular to data)
- summary from program itself
- rpm autodep for python interpreter

---- Files affected:
packages/tea4cups:
   tea4cups.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/tea4cups/tea4cups.spec
diff -u packages/tea4cups/tea4cups.spec:1.4 packages/tea4cups/tea4cups.spec:1.5
--- packages/tea4cups/tea4cups.spec:1.4	Thu Jan  7 17:14:54 2010
+++ packages/tea4cups/tea4cups.spec	Thu Jan  7 17:19:38 2010
@@ -1,5 +1,5 @@
 # $Revision$, $Date$
-Summary:	CUPS backend wrapper which can capture print datas before they are sent to a printer and process
+Summary:	Tea4CUPS is the Swiss Army's knife of the CUPS Administrator
 Summary(pl.UTF-8):	Sterownik CUPS pozwalający przechwycić zadanie i przetworzyć
 Name:		tea4cups
 Version:	3.12
@@ -13,6 +13,7 @@
 URL:		http://www.pykota.com/software/tea4cups
 BuildRequires:	cups-devel
 BuildRequires:	rpm-pythonprov
+BuildRequires:	sed >= 4.0
 Requires:	cups >= 1:1.2.0
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,9 +22,9 @@
 %define		_libdir		%(cups-config --serverbin 2>/dev/null)
 
 %description
-Tea4CUPS is a CUPS backend wrapper which can capture print datas
-before they are sent to a printer and process, duplicate or dispatch
-them in a number of ways.
+Tea4CUPS is a CUPS backend wrapper which can capture print data before
+it is sent to a printer and process, duplicate or dispatch it in a
+number of ways.
 
 %description -l pl.UTF-8
 Sterownik CUPS pozwalający przechwycić zadanie przed wysłaniem do
@@ -32,12 +33,13 @@
 
 %prep
 %setup -q
+%{__sed} -i -e '1s,#!.*python,#!%{__python},' %{name}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_libdir}/backend}
-install -p tea4cups $RPM_BUILD_ROOT%{_libdir}/backend/%{name}
-cp -a tea4cups.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
+install -p %{name} $RPM_BUILD_ROOT%{_libdir}/backend/%{name}
+cp -a %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -54,6 +56,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2010/01/07 16:19:38  glen
+- spelling (you can't say datas, but have to refer in singular to data)
+- summary from program itself
+- rpm autodep for python interpreter
+
 Revision 1.4  2010/01/07 16:14:54  glen
 - query cups-config for directories
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tea4cups/tea4cups.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list