]> git.pld-linux.org Git - packages/python-PIL.git/commitdiff
- BR: freetype-devel, lcms-devel
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 4 Dec 2010 06:29:33 +0000 (06:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- pl for -sane and -tk

Changed files:
    python-PIL.spec -> 1.74

python-PIL.spec

index 1580c437b3ac9a36b8dc8b2cb821a75a6ef80c31..669fb99a98674b098294e9bbe892045275bb4cc4 100644 (file)
@@ -10,7 +10,7 @@ Name:         python-%{module}
 Version:       1.1.7
 Release:       3
 Epoch:         1
-License:       distributable
+License:       BSD-like
 Group:         Libraries/Python
 Source0:       http://effbot.org/downloads/Imaging-%{version}.tar.gz
 # Source0-md5: fc14a54e1ce02a0225be8854bfba478e
@@ -19,15 +19,20 @@ Patch1:             %{name}-viewer.patch
 Patch2:                python-imaging-1.1.6-sane-types.patch
 Patch3:                python-imaging-giftrans.patch
 URL:           http://www.pythonware.com/products/pil/
+BuildRequires: freetype-devel >= 2.3.9
+BuildRequires: lcms-devel >= 1.1.5
 BuildRequires: libjpeg-devel >= 6a
-BuildRequires: python
+BuildRequires: python >= 1:2.5
 BuildRequires: python-devel >= 1:2.5
 %{?with_tk:BuildRequires:      python-tkinter}
 BuildRequires: rpm-pythonprov
 BuildRequires: sane-backends-devel
 %{?with_tk:BuildRequires:      tk-devel}
-BuildRequires: zlib-devel
+BuildRequires: zlib-devel >= 1.2.3
 %pyrequires_eq python-libs
+Requires:      freetype >= 2.3.9
+Requires:      lcms >= 1.1.5
+Requires:      zlib >= 1.2.3
 Obsoletes:     python-Imaging
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,11 +44,12 @@ processing capabilities.
 
 %description -l pl.UTF-8
 Python Imaging Library (PIL) dodaje możliwość przetwarzania obrazu do
-interpretera Pythona. Biblioteka daje wsparcie dla wielu formatów
-plików, wydajną reprezentację wewnętrzną i duże możliwości obróbki
+interpretera Pythona. Biblioteka ma obsługę wielu formatów plików,
+wydajną reprezentację wewnętrzną i duże możliwości obróbki.
 
 %package sane
 Summary:       Python Module for using scanners
+Summary(pl.UTF-8):     Moduły Pythona do używania skanerów
 Group:         Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
@@ -52,8 +58,14 @@ This package contains the sane module for Python which provides access
 to various raster scanning devices such as flatbed scanners and
 digital cameras.
 
+%description sane -l pl.UTF-8
+Ten pakiet zawiera moduł sane dla Pythona, dający dostęp do wielu
+rastrowych urządzeń skanujących, takich jak skanery płaskie i aparaty
+cyfrowe.
+
 %package tk
 Summary:       Tk interface for python-imaging
+Summary(pl.UTF-8):     Interfejs Tk do modułów python-imaging
 Group:         Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      python-tkinter
@@ -62,6 +74,9 @@ Conflicts:    %{name} < 1:1.1.6-6
 %description tk
 This package contains a Tk interface for python-imaging.
 
+%description tk -l pl.UTF-8
+Ten pakiet zawiera interfejs Tk do modułów python-imaging.
+
 %package devel
 Summary:       Python's own image processing library header files
 Summary(pl.UTF-8):     Pliki nagłówkowe do biblioteki obróbki obrazu w Pythonie
@@ -125,11 +140,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README CHANGES*
+%doc CHANGES README
 %{py_sitedir}/%{module}.pth
 %dir %{py_sitedir}/%{module}
 %{py_sitedir}/%{module}/*.py[co]
-%attr(755,root,root) %{py_sitedir}/%{module}/*.so
+%attr(755,root,root) %{py_sitedir}/%{module}/_imaging*.so
 %if "%{py_ver}" > "2.4"
 %{py_sitedir}/%{module}/%{module}-*.egg-info
 %endif
@@ -161,4 +176,5 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%{py_incdir}/*.h
+%{py_incdir}/ImPlatform.h
+%{py_incdir}/Imaging.h
This page took 0.035935 seconds and 4 git commands to generate.