SPECS: orangesms.spec - added -config_file.patch to add config fil...
shadzik
shadzik at pld-linux.org
Mon Jun 12 03:10:08 CEST 2006
Author: shadzik Date: Mon Jun 12 01:10:08 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added -config_file.patch to add config file functionality; cleared TODO list
- rel 2
- config file should be ~/.orangesms.txt with such content:
debug = 0
freesms = 0
phonebook = phonebook.txt
login = foo_login
password = foo_passwd
---- Files affected:
SPECS:
orangesms.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/orangesms.spec
diff -u SPECS/orangesms.spec:1.4 SPECS/orangesms.spec:1.5
--- SPECS/orangesms.spec:1.4 Mon Jun 12 01:55:53 2006
+++ SPECS/orangesms.spec Mon Jun 12 03:10:03 2006
@@ -1,11 +1,9 @@
# $Revision$, $Date$
-#TODO
-# - patch to sms.orangembox.txt - login and pasword from /etc/file or/and better from ~/.file
Summary: orangesms
Summary(pl): orangesms
Name: orangesms
Version: 0.3
-Release: 1.1
+Release: 2
License: BSD/Other
Group: Applications
Source0: http://rodion.infobot.pl/py/sms.orangembox.txt
@@ -15,6 +13,7 @@
Source2: http://skrobul.bmj.pl/PyOrangeSMS.py
# Source2-md5: 6de5efb48f9317486bd7e075d4ff5b18
Patch0: %{name}-shell.patch
+Patch1: %{name}-config_file.patch
URL: http://rodion.infobot.pl/orangembox.php
Requires: python >= 1:2.4.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -45,6 +44,7 @@
install %{SOURCE1} ./%{name}-%{version}
install %{SOURCE2} ./%{name}-%{version}
%patch0 -p0
+%patch1 -p0
find '(' -name '*.txt' -o -name '*.py' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
%build
@@ -75,6 +75,16 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2006/06/12 01:10:03 shadzik
+- added -config_file.patch to add config file functionality; cleared TODO list
+- rel 2
+- config file should be ~/.orangesms.txt with such content:
+ debug = 0
+ freesms = 0
+ phonebook = phonebook.txt
+ login = foo_login
+ password = foo_passwd
+
Revision 1.4 2006/06/11 23:55:53 shadzik
- cp -> install in %prep
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/orangesms.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list