Group :: Development/Python
RPM: python-module-pyexiv2
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Version: 0.1.2
Release: alt1
%setup_python_module pyexiv2
Name: %packagename
Summary: A python binding to exiv2, the C++ library for manipulation of EXIF and IPTC image metadata
Source0: http://tilloy.net/dev/pyexiv2/releases/%modulename-%version.tar.bz2
License: GPL
Group: Development/Python
Url: http://tilloy.net/dev/pyexiv2/index.htm
Packager: Fr. Br. George <george at altlinux.ru>
# Automatically added by buildreq on Sat Nov 01 2008
BuildRequires: boost-python-devel gcc-c++ libexiv2-devel scons
%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 -q -n %modulename
%build
scons
%install
mkdir -p %buildroot%python_sitelibdir
install build/libpyexiv2.so %buildroot%python_sitelibdir
install src/pyexiv2.py %buildroot%python_sitelibdir
## This doesn't work in scons 1.0.0
## scons --install-sandbox=%buildroot install
%files
%python_sitelibdir/*%{modulename}*
%doc doc/* README todo ChangeLog unittest
%changelog
…
Full changelog you can see here
Release: alt1
%setup_python_module pyexiv2
Name: %packagename
Summary: A python binding to exiv2, the C++ library for manipulation of EXIF and IPTC image metadata
Source0: http://tilloy.net/dev/pyexiv2/releases/%modulename-%version.tar.bz2
License: GPL
Group: Development/Python
Url: http://tilloy.net/dev/pyexiv2/index.htm
Packager: Fr. Br. George <george at altlinux.ru>
# Automatically added by buildreq on Sat Nov 01 2008
BuildRequires: boost-python-devel gcc-c++ libexiv2-devel scons
%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 -q -n %modulename
%build
scons
%install
mkdir -p %buildroot%python_sitelibdir
install build/libpyexiv2.so %buildroot%python_sitelibdir
install src/pyexiv2.py %buildroot%python_sitelibdir
## This doesn't work in scons 1.0.0
## scons --install-sandbox=%buildroot install
%files
%python_sitelibdir/*%{modulename}*
%doc doc/* README todo ChangeLog unittest
%changelog
…
Full changelog you can see here