SPECS: orangesms.spec - add patch
wolvverine
wolvverine at pld-linux.org
Mon Jun 12 01:40:56 CEST 2006
Author: wolvverine Date: Sun Jun 11 23:40:56 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add patch
---- Files affected:
SPECS:
orangesms.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/orangesms.spec
diff -u SPECS/orangesms.spec:1.1 SPECS/orangesms.spec:1.2
--- SPECS/orangesms.spec:1.1 Sun Jun 11 17:34:02 2006
+++ SPECS/orangesms.spec Mon Jun 12 01:40:51 2006
@@ -12,6 +12,7 @@
# Source1-md5: 547ea7324f6f38379d22679a9cfd44f5
Source2: http://skrobul.bmj.pl/PyOrangeSMS.py
# Source2-md5: 6de5efb48f9317486bd7e075d4ff5b18
+Patch0: %{name}-shell.patch
URL: http://rodion.infobot.pl/orangembox.php
Requires: python >= 1:2.4.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -36,14 +37,23 @@
Interfejs dla orangesms napisany w Tk.
%prep
+rm -rfd %{name}-%{version}
+mkdir %{name}-%{version}
+cp %{SOURCE0} ./%{name}-%{version}
+cp %{SOURCE1} ./%{name}-%{version}
+cp %{SOURCE2} ./%{name}-%{version}
+%patch0 -p0
+find '(' -name '*.txt' -o -name '*.py' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
%build
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
-install %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/sms.orangembox.py
-install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/tk.send.sms.py
-install %{SOURCE2} $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}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -63,6 +73,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2006/06/11 23:40:51 wolvverine
+- add patch
+
Revision 1.1 2006/06/11 15:34:02 shadzik
- new
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/orangesms.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list