rpms/python-pefile/devel python-pefile.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

David Hugh Malcolm dmalcolm at fedoraproject.org
Mon May 11 15:11:48 UTC 2009


Author: dmalcolm

Update of /cvs/pkgs/rpms/python-pefile/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29783

Modified Files:
	.cvsignore sources 
Added Files:
	python-pefile.spec 
Log Message:
Initial import



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

Name:           python-pefile
# upstream version embeds a dash, we replace this with an underscore:
Version:        1.2.10_63
Release:        1%{?dist}
Summary:        Python module for working with Portable Executable files

Group:          Development/Languages
License:        MIT
URL:            http://code.google.com/p/pefile/
Source0:        http://pefile.googlecode.com/files/pefile-1.2.10-63.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel

%description
pefile is a platform-independent Python module for reading and working with
Portable Executable (aka PE) files, most commonly known as .exe and .dll files.

%prep
%setup -q -n pefile-1.2.10-63

# Fix end-of-line encoding of the license file:
%{__sed} -i 's/\r//' COPYING

%build
%{__python} setup.py build


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

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc CHANGES_up_to_1.2.6 COPYING README
%{python_sitelib}/*


%changelog
* Fri May  8 2009 David Malcolm <dmalcolm at redhat.com> - 1.2.10_63-1
- initial packaging



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-pefile/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	9 May 2009 21:12:16 -0000	1.1
+++ .cvsignore	11 May 2009 15:11:16 -0000	1.2
@@ -0,0 +1 @@
+pefile-1.2.10-63.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-pefile/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	9 May 2009 21:12:16 -0000	1.1
+++ sources	11 May 2009 15:11:16 -0000	1.2
@@ -0,0 +1 @@
+2b63c2315b9dbcfe0e4e6c74dc4c029a  pefile-1.2.10-63.tar.gz




More information about the scm-commits mailing list