Sophie

Sophie

distrib > Mageia > 1 > x86_64 > by-pkgid > d64c5860991c08c7eeb6fc5591aa42bf > files > 3

sk1libs-0.9.1-1.mga1.src.rpm

Name:		sk1libs
Version:	0.9.1
Release:	%mkrel 1
Summary:	Set of Python Non-GUI Extensions for sK1 Project
License:	GPLv2+ and LGPLv2+
Group:		Graphics
URL:		http://sk1project.org/
Source0:	http://sk1project.org/downloads/%{name}/%{name}-%{version}.tar.gz
# Fix / kludge for Tcl 8.6 (good old interp->result) - AdamW 2008/12
Patch0:		sk1libs-math-fix.diff
BuildRequires:	freetype2-devel
BuildRequires:	lcms-devel
BuildRequires:	jpeg-devel
BuildRequires:	python-devel
BuildRequires:	zlib-devel
Requires:	python-imaging
Requires:	python-lcms


%description
sk1libs is a set of python non-GUI extensions for sK1 Project. The package
includes multiplatform non-GUI extensions which are usually native extensions.

%prep
%setup -q
%patch0 -p1 -b .mfix
sed -i -e 's,tcl8.5,tcl%{tcl_version},g' setup.py
sed -i -e 's,tk8.5,tk%{tcl_version},g' setup.py

%build
%{__python} ./setup.py build

%install
rm -fr %{buildroot}
%{__python} setup.py install --root=%{buildroot} --compile --optimize=2


%files
%{py_platsitedir}/*



%changelog

* Fri Feb 03 2012 doktor5000 <doktor5000> 0.9.1-1.mga1
+ Revision: 204254
+ rebuild (emptylog)

* Mon Jan 30 2012 doktor5000 <doktor5000> 0.9.1-1.mga2
+ Revision: 203129
-  don't own %%{py_platsitedir}
- remove useless macros (oname, distname, dirname)
- remove obsolete BuildRoot, %%clean section and empty %%defattr
- remove useless implicit provide
- small cosmetics (reordered preamble according to spec policy)
- imported package sk1libs, provided by Herbert Poetzel
  (mga#3545) needed for uniconvertor


* Sun Jan 08 2012 Herbert Poetzl <herbert@13thfloor.at> 0.9.1
- initial release