rpms/python-exif/F-7 python-exif.spec, NONE, 1.1 setup.py, NONE, 1.1 sources, 1.1, 1.2

Terje Røsten (terjeros) fedora-extras-commits at redhat.com
Wed Aug 8 20:08:17 UTC 2007


Author: terjeros

Update of /cvs/extras/rpms/python-exif/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9095

Modified Files:
	sources 
Added Files:
	python-exif.spec setup.py 
Log Message:
Importing python-exif: fc7.




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

%define oname exif-py

Summary: Python module to extract EXIF information
Name: python-exif
Version: 1.0.2
Release: 3%{?dist}
License: BSD
Group: Development/Libraries
URL: http://sourceforge.net/projects/%{oname}/
Source0: http://downloads.sourceforge.net/%{oname}/EXIFpy_%{version}.tar.gz
Source1: setup.py
BuildArch: noarch
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Python Library to extract EXIF information in digital camera image files

%prep
%setup -q -c -T -a 0
%{__cp} %{SOURCE1} .
%{__chmod} 0644 EXIF.py
%{__sed} -e '/^# ===== CODE START ==== #/q' EXIF.py > COPYING
%{__chmod} 0644 COPYING

%build
CFLAGS="%{optflags}" %{__python} setup.py build

%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%{__chmod} 0755 %{buildroot}%{python_sitelib}/EXIF.py

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, -)
%doc COPYING
%{python_sitelib}/EXIF.py*

%changelog
* Mon Aug 06 2007 Terje Rosten <terjeros at phys.ntnu.no> - 1.0.2-3
- Tagging...

* Mon Aug 06 2007 Terje Rosten <terjeros at phys.ntnu.no> - 1.0.2-2
- Fix typo in url
- Add python-devel to buildreq
- Add license to setup.py
- Strip code from %%doc file
- Fix typo in sitelib macro

* Sat Aug 04 2007 Terje Rosten <terjeros at phys.ntnu.no> - 1.0.2-1
- Initial build



--- NEW FILE setup.py ---
# Copyright 2007 Terje Rosten <terjeros at phys.ntnu.no>
# License: BSD
from distutils.core import setup
setup(name='EXIF',
      version='1.0.2',
      py_modules=['EXIF'],
      )




Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-exif/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Aug 2007 22:32:55 -0000	1.1
+++ sources	8 Aug 2007 20:07:44 -0000	1.2
@@ -0,0 +1 @@
+7df9f94e98b6ff5da872105a11069356  EXIFpy_1.0.2.tar.gz




More information about the fedora-extras-commits mailing list