rpms/python-gammu/EL-5 python-gammu.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Xavier LAMIEN (laxathom) fedora-extras-commits at redhat.com
Thu Jun 7 03:42:13 UTC 2007


Author: laxathom

Update of /cvs/pkgs/rpms/python-gammu/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20014/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	python-gammu.spec 
Log Message:
imported source files


--- NEW FILE python-gammu.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:		python-gammu
Version:	0.20        
Release:	1%{?dist}
Summary:	Python bindings for Gammu

Group:		Development/Languages
License:	GPL
URL:		http://cihar.com/gammu/python/
Source0:	ftp://dl.cihar.com/python-gammu/latest/%{name}-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	python-devel, pkgconfig
BuildRequires:	gammu-devel
Requires:	gammu

%description
Python bindings for Gammu library.
It currently does not support all Gammu features,
but range of covered functions is increasing,
if you need some specific, feel free to use bug tracking
system for feature requests.

%prep
%setup -q


%build
CFLAGS="$RPM_OPT_FLAGS" \
%{__python} setup.py build

#fix wrong permission from upstream
chmod -R 0755 examples/data

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install \
	-O1 --skip-build --root $RPM_BUILD_ROOT --record=INSTALLED_FILES

#change default permission on exemples files
chmod 0644 examples/*.py
chmod 0644 examples/data/*.jpg

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS examples/* 
%{python_sitearch}/gammu


%changelog
* Wed May 23 2007 Xavier Lamien < lxtnow[at]gmail.com > - 0.20-1
- Updated release.
- fixed permission on examples files.
- added gammu as require (need it to work with wammu package).

* Tue May 08 2007 Xavier Lamien < lxtnow[at]gmail.com > - 0.19-1
- Initial RPM Release.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-gammu/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 Jun 2007 16:33:16 -0000	1.1
+++ .cvsignore	7 Jun 2007 03:41:38 -0000	1.2
@@ -0,0 +1 @@
+python-gammu-0.20.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-gammu/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Jun 2007 16:33:16 -0000	1.1
+++ sources	7 Jun 2007 03:41:38 -0000	1.2
@@ -0,0 +1 @@
+a2470a7336286805d9698b3d67bb23c1  python-gammu-0.20.tar.gz




More information about the scm-commits mailing list