SPECS: orangesms.spec - use setup

qboosh qboosh at pld-linux.org
Mon Jun 12 07:56:45 CEST 2006


Author: qboosh                       Date: Mon Jun 12 05:56:45 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use setup

---- Files affected:
SPECS:
   orangesms.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/orangesms.spec
diff -u SPECS/orangesms.spec:1.6 SPECS/orangesms.spec:1.7
--- SPECS/orangesms.spec:1.6	Mon Jun 12 03:38:57 2006
+++ SPECS/orangesms.spec	Mon Jun 12 07:56:40 2006
@@ -39,13 +39,12 @@
 Interfejs dla orangesms napisany w Tk.
 
 %prep
-rm -rfd %{name}-%{version}
-mkdir %{name}-%{version}
-install %{SOURCE0} ./%{name}-%{version}
-install %{SOURCE1} ./%{name}-%{version}
-install %{SOURCE2} ./%{name}-%{version}
-%patch0 -p0
-%patch1 -p0
+%setup -qcT
+install %{SOURCE0} .
+install %{SOURCE1} .
+install %{SOURCE2} .
+%patch0 -p1
+%patch1 -p1
 find '(' -name '*.txt' -o -name '*.py' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
 
 %build
@@ -53,7 +52,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
-cd  %{name}-%{version}
+
 install sms.orangembox.txt $RPM_BUILD_ROOT%{_bindir}/sms.orangembox.py
 install tk.send.sms.txt $RPM_BUILD_ROOT%{_bindir}/tk.send.sms.py
 install PyOrangeSMS.py $RPM_BUILD_ROOT%{_bindir}
@@ -76,6 +75,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2006/06/12 05:56:40  qboosh
+- use setup
+
 Revision 1.6  2006/06/12 01:38:57  shadzik
 - BR: python-tkinter for tk subpackage
 
@@ -100,5 +102,3 @@
 
 Revision 1.1  2006/06/11 15:34:02  shadzik
 - new
-
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/orangesms.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list