rpms/pyifp/devel import.log, NONE, 1.1 pyifp-0.2.2-setup-fix.patch, NONE, 1.1 pyifp.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Conrad Meyer konradm at fedoraproject.org
Wed Mar 18 00:58:02 UTC 2009


Author: konradm

Update of /cvs/pkgs/rpms/pyifp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20060/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log pyifp-0.2.2-setup-fix.patch pyifp.spec 
Log Message:
Import.



--- NEW FILE import.log ---
pyifp-0_2_2-1_fc10:HEAD:pyifp-0.2.2-1.fc10.src.rpm:1237337601

pyifp-0.2.2-setup-fix.patch:

--- NEW FILE pyifp-0.2.2-setup-fix.patch ---
--- pyifp-0.2.2/setup.py	2005-02-21 01:36:05.000000000 -0500
+++ pyifp-0.2.2-fixed/setup.py	2005-10-15 13:29:26.000000000 -0400
@@ -54,7 +54,7 @@
         self.swig_inc = 'SWIG'
         self.swig_shadow = None        
     
-    def swig_sources(self, sources):
+    def swig_sources(self, sources, extension=None):
         """Override the definition of 'swig_sources' in build_ext.  This
         is essentially the same function but with better swig support.
         I will now quote the original docstring:


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

Name:           pyifp
Version:        0.2.2
Release:        1%{?dist}
Summary:        Python Bindings for libifp
Group:          Development/Languages
License:        GPLv2
URL:            http://ifp-gnome.sourceforge.net/
Source0:        http://downloads.sourceforge.net/ifp-gnome/%{name}-%{version}.tar.gz
# From Gentoo:
Patch0:         pyifp-0.2.2-setup-fix.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  libifp-devel
BuildRequires:  libusb-devel
BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRequires:  swig


%description
The pyifp module is a wrapper around libifp designed to make it easy
to write python based programs to manage the iFP class of devices.
(A line of portable media players manufactured by iRiver.)


%prep
%setup -q
%patch0 -p1


%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root $RPM_BUILD_ROOT

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc COPYING README.txt
%{python_sitearch}/*
%{_bindir}/backup-ifp
%{_bindir}/pyifp-test


%changelog
* Fri Dec 12 2008 Conrad Meyer <konrad at tylerc.org> - 0.2.2-1
- Initial package.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pyifp/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Mar 2009 02:08:40 -0000	1.1
+++ .cvsignore	18 Mar 2009 00:57:31 -0000	1.2
@@ -0,0 +1 @@
+pyifp-0.2.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pyifp/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Mar 2009 02:08:40 -0000	1.1
+++ sources	18 Mar 2009 00:57:31 -0000	1.2
@@ -0,0 +1 @@
+32afb70684d45215f4c91fc498d8d338  pyifp-0.2.2.tar.gz




More information about the fedora-extras-commits mailing list