]> git.pld-linux.org Git - packages/python-PIL.git/commitdiff
- adapterized and made spec %%debug ready or added using %%rpm*flags macros
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 2 May 2001 21:51:28 +0000 (21:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-PIL.spec -> 1.14

python-PIL.spec

index 3c0d6cb070b958e0c0e0b448a02b45cbf33db33a..1c03f9292c34a64ba60758e8e9fcf6288c7e023a 100644 (file)
@@ -6,12 +6,13 @@
 Summary:       Python's own image processing library 
 Name:          python-%{module}
 Version:       1.1.1
-Release: 1
+Release:       1
 Copyright:     distributable
 Group:         Development/Languages/Python
+Group(de):     Entwicklung/Sprachen/Python
 Group(pl):     Programowanie/Jêzyki/Python
 Source0:       http://www.pythonware.com/downloads/%{module}-%{version}.tar.gz
-Patch0:        Imaging-libver.patch
+Patch0:                Imaging-libver.patch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Requires:      python >= 1.5
 BuildRequires: python-devel >= 1.5
@@ -22,10 +23,10 @@ BuildRequires:      libjpeg-devel >= 6a
 BuildRequires: libpng >= 1.0.8
 
 %description
-The Python Imaging Library (PIL) adds image processing capabilities 
-to your Python interpreter.
-This library provides extensive file format support, an efficient
-internal representation, and powerful image processing capabilities.
+The Python Imaging Library (PIL) adds image processing capabilities to
+your Python interpreter. This library provides extensive file format
+support, an efficient internal representation, and powerful image
+processing capabilities.
 
 %description -l pl
 
@@ -36,7 +37,7 @@ internal representation, and powerful image processing capabilities.
 %build
 cd libImaging
 %configure
-%{__make} "OPT=$RPM_OPT_FLAGS"
+%{__make} "OPT=%{rpmcflags}"
 cd ..
 %{__make} -f Makefile.pre.in boot
 %{__make}
@@ -55,6 +56,7 @@ for f in os.listdir("."):
 END
 
 %install
+rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{python_sitepkgsdir}/%{module}
 install -d $RPM_BUILD_ROOT/%{_includedir}/%{python_dir}
 echo %{module} > $RPM_BUILD_ROOT%{python_sitepkgsdir}/%{module}.pth
@@ -73,6 +75,7 @@ gzip -9nf  README FORMATS CHANGES
 rm -rf $RPM_BUILD_ROOT
 
 %files
+%defattr(644,root,root,755)
 %doc {README,FORMATS,CHANGES}.gz
 %attr(644,root,root) %{python_sitepkgsdir}/%{module}/*
 %{python_sitepkgsdir}/PIL
This page took 0.028272 seconds and 4 git commands to generate.