Package python-module-pyexiv2: Specfile

Name: python-module-pyexiv2
Version: 0.3.2
Release: alt1.1.M60P.1

Summary: A python binding to exiv2, the C++ library for manipulation of EXIF and IPTC image metadata
License: GPLv2+
Group: Development/Python

%setup_python_module pyexiv2

Url: http://tilloy.net/dev/pyexiv2/
Source0: http://launchpad.net/pyexiv2/0.3.x/0.3/+download/pyexiv2-%version.tar.bz2
Patch1: pyexiv2-0.1.3-overridecxx.patch
Packager: Victor Forsiuk <force@altlinux.org>

# Automatically added by buildreq on Tue Jun 08 2010
BuildRequires: boost-python-devel flex gcc-c++ python-modules-email scons
BuildRequires: libexiv2-devel >= 0.19

%description
Pyexiv2 is a python binding to exiv2, the C++ library for manipulation of EXIF
and IPTC image metadata. It is a python module that allows your python scripts
to read and write metadata (EXIF, IPTC, thumbnail) embedded in image files
(JPEG, TIFF, ...).

It is designed as a high level interface to the functionalities offered by exiv2
(and is built on top of it). Using python's built-in data types and standard
modules, it provides easy manipulation of image metadata.

%prep
%setup -n %modulename-%version
%patch1 -p1

%build
scons -j %__nprocs CXXFLAGS="%optflags"

%install
# Why CXXFLAGS here?? scons will try to recompile sources when CXXFLAGS value
# differ from used for compilation...
scons install DESTDIR=%buildroot CXXFLAGS="%optflags"

%files
%python_sitelibdir/*
%doc doc/*

%changelog
* Sat Feb 18 2012 Sergey V Turchin <zerg@altlinux.org> 0.3.2-alt1.1.M60P.1
- rebuild with new exiv2

* Fri Nov 04 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.3.2-alt1.1
- Rebuild with Python-2.7

* Wed Nov 02 2011 Yuri N. Sedunov <aris@altlinux.org> 0.3.2-alt1
- 0.3.2
- built against libexiv2.so.11

* Wed Jul 27 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.0-alt1.2
- Rebuilt with Boost 1.47.0

* Fri Mar 25 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.0-alt1.1
- Rebuilt with Boost 1.46.1 and for debuginfo

* Fri Mar 04 2011 Victor Forsiuk <force@altlinux.org> 0.3.0-alt1
- 0.3.0

* Thu Dec 16 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.2-alt1.1
- Rebuilt with Boost 1.45.0

* Tue Jun 08 2010 Victor Forsiuk <force@altlinux.org> 0.2.2-alt1
- 0.2.2

* Tue Jan 05 2010 Victor Forsyuk <force@altlinux.org> 0.1.3-alt1.2
- Rebuild with libexiv2.so.6.

* Sat Nov 21 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.3-alt1.1
- Rebuilt with python 2.6

* Sat Jul 25 2009 Victor Forsyuk <force@altlinux.org> 0.1.3-alt1
- 0.1.3 (for libexiv2 0.18.x).

* Sat Nov 01 2008 Fr. Br. George <george@altlinux.ru> 0.1.2-alt1
- Initial build from scratch