packages: tea4cups/tea4cups.spec - noarch - no need to clean .svn dirs, onl...

sparky sparky at pld-linux.org
Thu Jan 7 16:27:26 CET 2010


Author: sparky                       Date: Thu Jan  7 15:27:26 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- noarch
- no need to clean .svn dirs, only single files are copied
- COPYING is just a copy od GPL v2, not needed
- config file in /etc/cups

---- Files affected:
packages/tea4cups:
   tea4cups.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/tea4cups/tea4cups.spec
diff -u packages/tea4cups/tea4cups.spec:1.2 packages/tea4cups/tea4cups.spec:1.3
--- packages/tea4cups/tea4cups.spec:1.2	Thu Jan  7 15:56:32 2010
+++ packages/tea4cups/tea4cups.spec	Thu Jan  7 16:27:20 2010
@@ -12,7 +12,9 @@
 Source0:	%{name}-%{version}.tar.bz2
 # Source0-md5:	5c3b832d1bbbc1495bf2e47acc7b12eb
 URL:		http://www.pykota.com/software/tea4cups
+BuildRequires:	rpm-pythonprov
 Requires:	cups >= 1:1.2.0
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		cups_serverbin	%{_prefix}/lib/cups
@@ -30,26 +32,23 @@
 %prep
 %setup -q
 
-find -name .svn | xargs rm -rf
-
 %build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_sysconfdir} $RPM_BUILD_ROOT%{cups_serverbin}/backend
-install tea4cups.conf $RPM_BUILD_ROOT%{_sysconfdir}/tea4cups.conf
-
-install tea4cups $RPM_BUILD_ROOT%{cups_serverbin}/backend/tea4cups
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/cups,%{cups_serverbin}/backend}
+install tea4cups.conf $RPM_BUILD_ROOT%{_sysconfdir}/cups/%{name}.conf
+install tea4cups $RPM_BUILD_ROOT%{cups_serverbin}/backend/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CREDITS COPYING README NEWS TODO
-%attr(644,lp,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
-%attr(755,root,root) %{cups_serverbin}/backend/tea4cups
+%doc CREDITS README NEWS TODO
+%attr(644,lp,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cups/%{name}.conf
+%attr(755,root,root) %{cups_serverbin}/backend/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -57,9 +56,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/01/07 15:27:20  sparky
+- noarch
+- no need to clean .svn dirs, only single files are copied
+- COPYING is just a copy od GPL v2, not needed
+- config file in /etc/cups
+
 Revision 1.2  2010/01/07 14:56:32  marmarek
 - adapterized
 
 Revision 1.1  2010/01/07 14:51:47  marmarek
 - initial version
-
================================================================

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



More information about the pld-cvs-commit mailing list