Группа :: Разработка/Python
Пакет: python-module-pyexiv2
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Version: 0.1.3
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: GPLv2+
Group: Development/Python
Url: http://tilloy.net/dev/pyexiv2/
Packager: Fr. Br. George <george at altlinux.ru>
# Automatically added by buildreq on Sun Jul 26 2009
BuildRequires: boost-python-devel gcc-c++ scons
BuildRequires: libexiv2-devel >= 0.18
%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
%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 ChangeLog unittest
%changelog
…
Полный changelog можно просмотреть здесь
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: GPLv2+
Group: Development/Python
Url: http://tilloy.net/dev/pyexiv2/
Packager: Fr. Br. George <george at altlinux.ru>
# Automatically added by buildreq on Sun Jul 26 2009
BuildRequires: boost-python-devel gcc-c++ scons
BuildRequires: libexiv2-devel >= 0.18
%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
%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 ChangeLog unittest
%changelog
…
Полный changelog можно просмотреть здесь