Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37717815
en ru br
ALT Linux repos
5.0: 0.1.2-alt1

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin