Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:babelworx:python
python-pyexiv2
python-pyexiv2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pyexiv2.spec of Package python-pyexiv2
# Copyright (c) 2009 oc2pus # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments to toni@links2linux.de # norootforbuild %define _prefix /usr %define _mod_name pyexiv2 Name: python-pyexiv2 Summary: Python binding to exiv2 Group: Development/Languages/Python License: GPL Version: 0.1.3 Release: 0.pm.1 URL: http://tilloy.net/dev/pyexiv2/ Source0: http://tilloy.net/dev/pyexiv2/releases/%{_mod_name}-%{version}.tar.bz2 Source90: %{_mod_name}-rpmlintrc # https://bugs.launchpad.net/pyexiv2/+bug/249513 Patch0: %{_mod_name}-multilib.patch # https://bugs.launchpad.net/pyexiv2/+bug/249835 Patch1: %{_mod_name}-packager.patch Patch2: %{_mod_name}-return-random-data.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires %if %suse_version > 1100 BuildRequires: boost-devel %else BuildRequires: boost1_36-devel %endif BuildRequires: gcc-c++ BuildRequires: libexiv2-devel BuildRequires: python-devel BuildRequires: scons Requires: licenses %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, ...). %debug_package %prep %setup -q -n %{_mod_name}-%{version} %patch0 -p1 #%patch1 -p1 # https://bugzilla.redhat.com/show_bug.cgi?id=496050#c17 %patch2 -p1 %build %install %if %suse_version <= 1100 %__sed -i -e 's|boost_python|boost_python-mt-1_36|g' \ src/SConscript export CXXFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/boost-1_36" %else export CXXFLAGS="$RPM_OPT_FLAGS" %endif export LDFLAGS="$RPM_OPT_FLAGS" scons install \ DESTDIR=%{buildroot} %__chmod 755 %{buildroot}%{py_sitedir}/%{_mod_name}.py ln -sf %{_datadir}/doc/licenses/md5/$(md5sum COPYING | %__sed 's/ .*//') COPYING %clean [ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}" %files %defattr(-,root,root,-) %doc README ChangeLog COPYING %doc doc %{py_sitedir}/lib%{_mod_name}.so %{py_sitedir}/%{_mod_name}.py %changelog * Mon Jan 11 2010 Ciaran Farrell <cfarrell1980@gmail.com> - 0.1.3-0.pm.1 - update to 0.1.3 * Wed Mar 04 2009 Toni Graffy <toni@links2linux.de> - 0.1.2-0.pm.1 - initial build for packman - spec based on fedora-spec from Jesse Keating <jkeating@redhat.com>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor