* installation of the JPEG library is set up. jconfig.h can be
@@ -1091,6 +1095,10 @@
#ifdef JPEG_INTERNALS
- #include "jpegint.h" /* fetch private declarations */
- #include "jerror.h" /* fetch error codes too */
+ #include <jpegint.h> /* fetch private declarations */
+ #include <jerror.h> /* fetch error codes too */
+#endif
+
+#ifdef __cplusplus
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(pl): Biblioteka do manipulacji plikami w formacie jpeg
Summary(tr): jpeg resimlerini iþleme kitaplýðý
Name: libjpeg
Version: 6b
-Release: 17
+Release: 18
License: distributable
Group: Libraries
Group(de): Libraries
+Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
Source0: ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v%{version}.tar.gz
istemciler içerir.
%package devel
-Summary: headers for developing programs using libjpeg
+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(pl): Pliki nag³ówkowe libjpeg
Static libraries for developing programs using libjpeg.
%description -l pl static
-Statyczna bibliteka libjpeg.
+Statyczna biblioteka libjpeg.
%prep
%setup -q -n jpeg-%{version}
install jversion.h $RPM_BUILD_ROOT%{_includedir}
+# remove HAVE_STD{DEF,LIB}_H
+# (not necessary but may generate warnings confusing autoconf)
+(cd $RPM_BUILD_ROOT%{_includedir}
+grep -v 'HAVE_STD..._H' jconfig.h > jconfig.h.new
+mv -f jconfig.h.new jconfig.h
+)
+
gzip -9nf {libjpeg,structure}.doc
%post -p /sbin/ldconfig