]> git.pld-linux.org Git - packages/libjpeg.git/commitdiff
- release 13, libjpeg-6b-13
authorkloczek <kloczek@pld-linux.org>
Wed, 19 Jan 2000 04:17:09 +0000 (04:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added installing jversion.h (this file is needed by jerror.h),
- added BuildRequire: libtool and copying /usr/share/libtool/config.sub to
  jpeg source directory in %build,
- strip only shared libraries (with --strip-unneeded) in %install.

Changed files:
    libjpeg.spec -> 1.23

libjpeg.spec

index b880b459650fdaf295157d34650cd8c4ecc37f07..cacc0d8e24df6e8064e861eaba4ecf415931e4e2 100644 (file)
@@ -1,17 +1,18 @@
-Summary:       Library for handling different jpeg files.
+Summary:       Library for handling different jpeg files
 Summary(de):   Library zum Verarbeiten verschiedener jpeg-Dateien
 Summary(fr):   Bibliothèque pour gérer différents fichiers jpeg
 Summary(pl):   Biblioteki do manipulacji plikami w ró¿nych formatach jpeg
 Summary(tr):   jpeg resimlerini iþleme kitaplýðý
 Name:          libjpeg
 Version:       6b
-Release:       12
+Release:       13
 Copyright:     distributable
 Group:         Libraries
 Group(pl):     Biblioteki
 Source:                ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v%{version}.tar.gz
 Patch0:                libjpeg-DESTDIR.patch
 Patch1:                libjpeg-arm.patch
+BuildRequires: libtool
 Buildroot:     /tmp/%{name}-%{version}-root
 
 %description
@@ -36,8 +37,8 @@ Bu paket, jpeg 
 Summary:       headers for developing programs using libjpeg
 Summary(de):   Header und statische Libraries zum Entwickeln von Programmen mit libjpeg
 Summary(fr):   Bibliothèques statiques et en-têtes pour développer avec libjpeg
-Summary(tr):   libjpeg için geliþtirme kitaplýklarý ve baþlýk dosyalarý
 Summary(pl):   Pliki nag³ówkowe libjpeg
+Summary(tr):   libjpeg için geliþtirme kitaplýklarý ve baþlýk dosyalarý
 Group:         Development/Libraries
 Group(pl):     Programowanie/Biblioteki
 Requires:      %{name} = %{version}
@@ -111,6 +112,7 @@ Statyczna bibliteka libjpeg.
 %patch1 -p1
 
 %build
+cp -f /usr/share/libtool/config.sub .
 LDFLAGS="-s"; export LDFLAGS
 %configure \
        --enable-shared \
@@ -126,7 +128,9 @@ install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir},%{_bindir},%{_mandir}/man1}
 make DESTDIR=$RPM_BUILD_ROOT \
        install install-headers install-lib
 
-strip $RPM_BUILD_ROOT/{%{_libdir}/lib*so.*.*,%{_bindir}/*}
+install jversion.h $RPM_BUILD_ROOT%{_includedir}
+
+strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
 
 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
        {libjpeg,structure}.doc
This page took 0.038032 seconds and 4 git commands to generate.