rpms/python-exif/F-8 EXIF, NONE, 1.1 python-exif.spec, 1.4, 1.5 setup.py, 1.2, 1.3

Terje Røsten (terjeros) fedora-extras-commits at redhat.com
Mon Feb 11 09:17:03 UTC 2008


Author: terjeros

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

Modified Files:
	python-exif.spec setup.py 
Added Files:
	EXIF 
Log Message:
Sync with rawhide.




--- NEW FILE EXIF ---
#! /bin/bash
#

PY_DIR=$(python -c "from distutils.sysconfig import get_python_lib as py_dir; print py_dir()")

python $PY_DIR/EXIF.py


Index: python-exif.spec
===================================================================
RCS file: /cvs/extras/rpms/python-exif/F-8/python-exif.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- python-exif.spec	19 Jan 2008 21:31:12 -0000	1.4
+++ python-exif.spec	11 Feb 2008 09:16:04 -0000	1.5
@@ -5,14 +5,15 @@
 
 Summary: Python module to extract EXIF information
 Name:    python-exif
-# Remember to update setup.py 
+# Remember to update setup.py
 Version: 1.0.7
-Release: 2%{?dist}
+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
+Source2: EXIF
 BuildArch: noarch
 BuildRequires: python-devel
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -23,8 +24,9 @@
 %prep
 %setup -q -n EXIFpy_%{version}
 %{__cp} %{SOURCE1} .
+%{__cp} %{SOURCE2} .
 %{__chmod} 0644 EXIF.py
-%{__sed} -e '/^# ===== CODE START ==== #/q' EXIF.py > COPYING
+%{__sed} -e "/^# ----- See 'changes.txt'/q" EXIF.py > COPYING
 %{__chmod} 0644 COPYING
 
 %build
@@ -40,10 +42,14 @@
 
 %files
 %defattr(-, root, root, -)
-%doc COPYING
+%doc COPYING changes.txt
+%{_bindir}/EXIF
 %{python_sitelib}/EXIF*
 
 %changelog
+* Mon Feb 11 2008 Terje Rosten <terjeros at phys.ntnu.no> - 1.0.7-3
+- add script and changes.txt
+
 * Sat Jan 19 2008 Terje Rosten <terjeros at phys.ntnu.no> - 1.0.7-2
 - Improve setup.py
 


Index: setup.py
===================================================================
RCS file: /cvs/extras/rpms/python-exif/F-8/setup.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- setup.py	19 Jan 2008 21:31:12 -0000	1.2
+++ setup.py	11 Feb 2008 09:16:04 -0000	1.3
@@ -12,6 +12,7 @@
       url         = 'http://sourceforge.net/projects/exif-py/',
       license     = 'BSD license',
       py_modules  = ['EXIF'],
+      scripts     = ['EXIF'],
       classifiers = ['Development Status :: 5 - Production/Stable',
                      'Intended Audience :: Developers',
                      'License :: OSI Approved :: BSD License',




More information about the fedora-extras-commits mailing list