[521] | 1 | Summary: The Python Imaging Library |
---|
| 2 | Summary(ja): Python イメージ処理ライブラリ |
---|
| 3 | Name: python-imaging |
---|
[2624] | 4 | Version: 1.1.7 |
---|
[8158] | 5 | Release: 4%{?_dist_release} |
---|
[521] | 6 | License: Distributable |
---|
| 7 | Group: Development/Languages |
---|
| 8 | URL: http://www.pythonware.com/products/pil |
---|
[8158] | 9 | |
---|
[521] | 10 | Source0: http://effbot.org/downloads/Imaging-%{version}.tar.gz |
---|
[8158] | 11 | |
---|
[2627] | 12 | Patch0: Imaging-1.1.7-setup.lib64.patch |
---|
[8158] | 13 | Patch1: Imaging-1.1.7-freetype-2.5.x.patch |
---|
| 14 | |
---|
[521] | 15 | BuildRequires: python-devel >= 2.6 |
---|
| 16 | BuildRequires: libjpeg-devel libpng-devel zlib-devel freetype2-devel |
---|
| 17 | BuildRequires: xorg-x11-devel |
---|
[3807] | 18 | BuildRequires: sane-devel |
---|
[521] | 19 | Requires: python >= 2.6 |
---|
| 20 | Requires: libjpeg >= 6a |
---|
| 21 | Requires: libpng >= 1.0.12 |
---|
| 22 | Requires: zlib >= 1.1.4 |
---|
| 23 | Requires: freetype2 >= 2.1.3 |
---|
| 24 | Provides: Imaging, python-PIL |
---|
| 25 | Obsoletes: Imaging < %{version} |
---|
| 26 | Obsoletes: python-PIL < %{version} |
---|
| 27 | Obsoletes: python-Imaging <= %{version} |
---|
| 28 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[8158] | 29 | |
---|
[3807] | 30 | Distribution: Vine Linux |
---|
| 31 | Vendor: Project Vine |
---|
| 32 | Packager: owa |
---|
[521] | 33 | |
---|
| 34 | %description |
---|
| 35 | The Python Imaging Library (PIL) adds image processing capabilities |
---|
| 36 | to your Python environment. This library provides extensive file |
---|
| 37 | format support, an efficient internal representation, and fairly |
---|
| 38 | powerful image processing capabilities. |
---|
| 39 | %description -l ja |
---|
| 40 | Python Imaging Library (PIL) は Python 環境にイメージ処理能力を加えます. |
---|
| 41 | このライブラリには広範なファイル型式への対応, 効果的な内部表現, そして |
---|
| 42 | 真にパワフルなイメージ処理能力が備わっています. |
---|
| 43 | |
---|
[3807] | 44 | |
---|
[521] | 45 | %prep |
---|
| 46 | %setup -q -n Imaging-%{version} |
---|
| 47 | %ifarch x86_64 |
---|
| 48 | %patch0 -p1 -b .lib64~ |
---|
| 49 | %endif |
---|
[8158] | 50 | %patch1 -p1 -b .ft |
---|
[521] | 51 | |
---|
[3807] | 52 | |
---|
[521] | 53 | %build |
---|
| 54 | python setup.py build_ext -i |
---|
| 55 | python selftest.py |
---|
| 56 | |
---|
[3807] | 57 | |
---|
[521] | 58 | %install |
---|
| 59 | rm -rf $RPM_BUILD_ROOT |
---|
[3807] | 60 | python setup.py install --root=$RPM_BUILD_ROOT |
---|
[521] | 61 | |
---|
[3807] | 62 | mkdir -p $RPM_BUILD_ROOT%{_includedir}/python%{pyver}/PIL |
---|
| 63 | cp -p libImaging/*.h $RPM_BUILD_ROOT%{_includedir}/python%{pyver}/PIL/ |
---|
[521] | 64 | |
---|
[3807] | 65 | mkdir -p $RPM_BUILD_ROOT%{python_sitearch}/Sane |
---|
| 66 | pushd Sane |
---|
| 67 | python setup.py install --root=$RPM_BUILD_ROOT --install-lib=%{python_sitearch}/Sane |
---|
| 68 | install -m644 demo_numarray.py $RPM_BUILD_ROOT%{python_sitearch}/Sane |
---|
| 69 | install -m644 CHANGES README sanedoc.txt $RPM_BUILD_ROOT%{python_sitearch}/Sane |
---|
| 70 | popd |
---|
[521] | 71 | |
---|
[3807] | 72 | |
---|
[521] | 73 | %clean |
---|
| 74 | rm -rf $RPM_BUILD_ROOT |
---|
| 75 | |
---|
| 76 | %files |
---|
| 77 | %defattr(-, root, root) |
---|
| 78 | %doc BUILDME CHANGES CONTENTS README |
---|
| 79 | %doc Docs |
---|
[3807] | 80 | %dir %{python_sitearch}/PIL |
---|
| 81 | %dir %{python_sitearch}/Sane |
---|
| 82 | %{_bindir}/pil*.py |
---|
| 83 | %{_includedir}/python%{pyver}/PIL/*.h |
---|
| 84 | %{python_sitearch}/PIL.pth |
---|
| 85 | %{python_sitearch}/PIL/* |
---|
| 86 | %{python_sitearch}/Sane/* |
---|
[521] | 87 | |
---|
[3807] | 88 | |
---|
[521] | 89 | %changelog |
---|
[8158] | 90 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.7-4 |
---|
| 91 | - rebuild with VineSeed environment |
---|
| 92 | - add Patch0 (Imaging-1.1.7-freetype-2.5.x.patch) |
---|
| 93 | |
---|
[5701] | 94 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.7-3 |
---|
| 95 | - rebuild with python-2.7.2 |
---|
| 96 | |
---|
[3807] | 97 | * Sat May 07 2011 Shu KONNO <owa@bg.wakwak.com> 1.1.7-2 |
---|
| 98 | - install PIL with setup.py |
---|
| 99 | - install Sane with setup.py |
---|
| 100 | - install %{_bindir}/pil*.py |
---|
| 101 | - added BR: sane-devel |
---|
| 102 | |
---|
[2627] | 103 | * Thu Feb 03 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.7-1 |
---|
[2624] | 104 | - new upstream release |
---|
[2627] | 105 | - recreated Patch0 |
---|
[2624] | 106 | |
---|
[521] | 107 | * Wed Feb 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.6-3 |
---|
| 108 | - rebuild for python-2.6 |
---|
| 109 | |
---|
| 110 | * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> python-imaging-1.1.6-2vl5 |
---|
| 111 | - rebuilt with python-2.5.2 |
---|
| 112 | |
---|
| 113 | * Sat Jun 14 2008 Shu KONNO <owa@bg.wakwak.com> python-imaging-1.1.6-1vl5 |
---|
| 114 | - applied new versioning policy and spec in utf-8 |
---|
| 115 | - added BuildRequires: xorg-x11-devel |
---|
| 116 | - fixed typo at Distribution |
---|
| 117 | |
---|
| 118 | * Sat Dec 01 2007 Shu KONNO <owa@bg.wakwak.com> python-imaging-1.1.6-0vl4 |
---|
| 119 | - fixed prereq, buildrequires pkgs |
---|
| 120 | |
---|
| 121 | * Wed Mar 21 2007 Shu KONNO <owa@bg.wakwak.com> python-imaging-1.1.6-0vl2 |
---|
| 122 | - updated Imaging to 1.1.6 |
---|
| 123 | - added BuildRequires: XOrg-devel zlib-devel libjpeg-devel libpng-devel freetype2-devel |
---|
| 124 | |
---|
| 125 | * Sat Oct 14 2006 Shu KONNO <owa@bg.wakwak.com> python-imaging-1.1.5-0vl5 |
---|
| 126 | - added Imaging-1.1.5-setup.lib64.patch |
---|
| 127 | - rebuilt for x86_64 architecture support |
---|
| 128 | |
---|
| 129 | * Wed May 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> python-imaging-1.1.5-0vl4 |
---|
| 130 | - changed Group: |
---|
| 131 | |
---|
| 132 | * Fri Oct 07 2005 Shu KONNO <owa@bg.wakwak.com> python-imaging-1.1.5-0vl3 |
---|
| 133 | - rebuilt |
---|
| 134 | |
---|
| 135 | * Sun May 22 2005 Shu KONNO <owa@bg.wakwak.com> python-imaging-1.1.5-0vl2 |
---|
| 136 | - changed package name 'python-Imaging' to 'python-imaging' |
---|
| 137 | |
---|
| 138 | * Fri May 20 2005 Shu KONNO <owa@bg.wakwak.com> python-Imaging-1.1.5-0vl1 |
---|
| 139 | - changed package name 'Imaging' to 'python-Imaging' |
---|
| 140 | - updated Python Imaging Library (PIL) to 1.1.5 |
---|
| 141 | - rebuilt with python-2.4 |
---|
| 142 | |
---|
| 143 | * Thu May 02 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.3-0vl1 |
---|
| 144 | - updated 1.1.3 |
---|
| 145 | |
---|
| 146 | * Thu Jul 26 2001 Satoshi MACHINO <machino@vinelinux.org> 1.1.2-0vl1 |
---|
| 147 | - updated 1.1.2 |
---|
| 148 | |
---|
| 149 | * Thu Aug 03 2000 MACHINO, Satoshi <mac@netfort.gr.jp> |
---|
| 150 | - Imaging-1.1-0vl1 |
---|
| 151 | - build on VineSeed |
---|
| 152 | |
---|
| 153 | * Sun Mar 7 1999 MATSUMOTO Shoji <vine@flatout.org> |
---|
| 154 | - make spec |
---|