SPECS: esemes.spec - completed pl summary - use py_sitescriptdir, ...
qboosh
qboosh at pld-linux.org
Tue Nov 28 20:10:03 CET 2006
Author: qboosh Date: Tue Nov 28 19:10:03 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- completed pl summary
- use py_sitescriptdir, compile *.py, BR: rpm-pythonprov
---- Files affected:
SPECS:
esemes.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/esemes.spec
diff -u SPECS/esemes.spec:1.3 SPECS/esemes.spec:1.4
--- SPECS/esemes.spec:1.3 Fri Nov 17 03:12:35 2006
+++ SPECS/esemes.spec Tue Nov 28 20:09:58 2006
@@ -1,6 +1,6 @@
# $Revision$, $Date$
Summary: Send SMS via Polish GSM operators
-Summary(pl): Program do wysyłania krótkich wiadomości (SMS)
+Summary(pl): Program do wysyłania krótkich wiadomości (SMS) do polskich sieci GSM
Name: esemes
Version: 0.11
Release: 1
@@ -9,6 +9,7 @@
Source0: http://download.berlios.de/sms/%{name}-%{version}.tar.bz2
# Source0-md5: ce77b7ad8462b8846e4b1eadb9f5b00f
URL: http://sms.berlios.de/
+BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.197
BuildRequires: sed >= 4.0
%pyrequires_eq python-modules
@@ -32,8 +33,12 @@
%install
rm -rf $RPM_BUILD_ROOT
install -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
-install -d $RPM_BUILD_ROOT%{py_scriptdir}
-install *.py $RPM_BUILD_ROOT%{py_scriptdir}
+install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
+install *.py $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
%clean
rm -rf $RPM_BUILD_ROOT
@@ -42,7 +47,7 @@
%defattr(644,root,root,755)
%doc README*
%attr(755,root,root) %{_bindir}/%{name}
-%{py_scriptdir}/*.py
+%{py_sitescriptdir}/*.py[co]
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -50,6 +55,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2006/11/28 19:09:58 qboosh
+- completed pl summary
+- use py_sitescriptdir, compile *.py, BR: rpm-pythonprov
+
Revision 1.3 2006/11/17 02:12:35 shadzik
- ups, typo
@@ -58,4 +67,3 @@
Revision 1.1 2006/11/16 23:46:39 undefine
- initial
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/esemes.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list