[libjpeg-turbo/f19] New upstream version

Petr Hracek phracek at fedoraproject.org
Thu Apr 17 13:25:13 UTC 2014


commit b72ed47a43694c2a96be8a27e8731f1f75043e66
Author: Petr Hracek <phracek at redhat.com>
Date:   Wed Apr 16 12:14:20 2014 +0200

    New upstream version

 .gitignore                       |    1 +
 libjpeg-turbo-header-files.patch |   12 +++++++++
 libjpeg-turbo.spec               |   48 ++++++++++++--------------------------
 sources                          |    2 +-
 4 files changed, 29 insertions(+), 34 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3d3684d..3a9d861 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ libjpeg-turbo-1.0.0.tar.gz
 /libjpeg-turbo-1.2.90-20130204svn922.tar.gz
 /libjpeg-turbo-1.2.90.tar.gz
 /libjpeg-turbo-1.3.0.tar.gz
+/libjpeg-turbo-1.3.1.tar.gz
diff --git a/libjpeg-turbo-header-files.patch b/libjpeg-turbo-header-files.patch
new file mode 100644
index 0000000..95b7a31
--- /dev/null
+++ b/libjpeg-turbo-header-files.patch
@@ -0,0 +1,12 @@
+diff --git a/Makefile.am b/Makefile.am
+index c8e8b93..0496879 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,6 +1,6 @@
+ lib_LTLIBRARIES = libjpeg.la
+ libjpeg_la_LDFLAGS = -version-info ${LIBTOOL_CURRENT}:${SO_MINOR_VERSION}:${SO_AGE} -no-undefined
+-include_HEADERS = jerror.h jmorecfg.h jpeglib.h
++include_HEADERS = jerror.h jmorecfg.h jpegint.h jconfig.h jpeglib.h
+ 
+ if WITH_TURBOJPEG
+ lib_LTLIBRARIES += libturbojpeg.la
diff --git a/libjpeg-turbo.spec b/libjpeg-turbo.spec
index 072ab0e..5fcdb28 100644
--- a/libjpeg-turbo.spec
+++ b/libjpeg-turbo.spec
@@ -1,6 +1,6 @@
 Name:		libjpeg-turbo
-Version:	1.3.0
-Release:	2%{?dist}
+Version:	1.3.1
+Release:	1%{?dist}
 Summary:	A MMX/SSE2 accelerated library for manipulating JPEG image files
 
 Group:		System Environment/Libraries
@@ -25,8 +25,7 @@ Provides:	libjpeg%{_isa} = 6b-47%{?dist}
 %endif
 
 Patch0:		libjpeg-turbo12-noinst.patch
-Patch1:		libjpeg-turbo-CVE-2013-6629.patch
-Patch2:		libjpeg-turbo-CVE-2013-6630.patch
+Patch3:     libjpeg-turbo-header-files.patch
 
 %description
 The libjpeg-turbo package contains a library of functions for manipulating
@@ -35,12 +34,9 @@ JPEG images.
 %package devel
 Summary:	Headers for the libjpeg-turbo library
 Group:		Development/Libraries
-Obsoletes:	libjpeg-devel < 6b-47
-Provides:	libjpeg-devel = 6b-47%{?dist}
-%if "%{?_isa}" != ""
-Provides:	libjpeg-devel%{_isa} = 6b-47%{?dist}
-%endif
 Requires:	libjpeg-turbo%{?_isa} = %{version}-%{release}
+Obsoletes:	libjpeg-turbo-static < 1.3.1
+Provides:   libjpeg-turbo-static = 1.3.1%{?dist}
 
 %description devel
 This package contains header files necessary for developing programs which
@@ -60,20 +56,6 @@ can perform various useful transformations on JPEG files. Rdjpgcom
 displays any text comments included in a JPEG file. Wrjpgcom inserts
 text comments into a JPEG file.
 
-%package static
-Summary:	Static version of the libjpeg-turbo library
-Group:		Development/Libraries
-Obsoletes:	libjpeg-static < 6b-47
-Provides:	libjpeg-static = 6b-47%{?dist}
-%if "%{?_isa}" != ""
-Provides:	libjpeg-static%{_isa} = 6b-47%{?dist}
-%endif
-Requires:	libjpeg-turbo-devel%{?_isa} = %{version}-%{release}
-
-%description static
-The libjpeg-turbo-static package contains static library for manipulating
-JPEG images.
-
 %package -n turbojpeg
 Summary:	TurboJPEG library
 Group:		System Environment/Libraries
@@ -94,13 +76,12 @@ will manipulate JPEG files using the TurboJPEG library.
 %setup -q
 
 %patch0 -p1 -b .noinst
-%patch1 -p1 -b .CVE-2013-6629
-%patch2 -p1 -b .CVE-2013-6630
+%patch3 -p1 -b .header-files
 
 %build
 autoreconf -fiv
 
-%configure
+%configure --disable-static
 
 make %{?_smp_mflags}
 
@@ -114,9 +95,6 @@ chmod -x README-turbo.txt
 # Remove unwanted files
 rm -f $RPM_BUILD_ROOT/%{_libdir}/lib{,turbo}jpeg.la
 
-# Don't distribute libjpegturbo.a
-rm -f $RPM_BUILD_ROOT/%{_libdir}/libturbojpeg.a
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -137,6 +115,7 @@ make test
 %files devel
 %defattr(-,root,root,-)
 %doc coderules.txt jconfig.txt libjpeg.txt structure.txt example.c
+%{_includedir}/jpegint.h
 %{_includedir}/jconfig.h
 %{_includedir}/jerror.h
 %{_includedir}/jmorecfg.h
@@ -157,10 +136,6 @@ make test
 %{_mandir}/man1/rdjpgcom.1*
 %{_mandir}/man1/wrjpgcom.1*
 
-%files static
-%defattr(-,root,root,-)
-%{_libdir}/libjpeg.a
-
 %files -n turbojpeg
 %{_libdir}/libturbojpeg.so.0*
 
@@ -169,6 +144,13 @@ make test
 %{_libdir}/libturbojpeg.so
 
 %changelog
+* Wed Apr 16 2014 Petr Hracek <phracek at redhat.com> - 1.3.1-1
+- New upstream version
+- Remove upstreamed patches, add missing jpegint.h
+- Clean up SPEC file
+- Disable --static subpackage
+- Remove libjpeg obsolency, removed in Fedora 13
+
 * Thu Dec 19 2013 Petr Hracek <phracek at redhat.com> - 1.3.0-2
 - Apply fixes CVE-2013-6629, CVE-2013-6630 (#20131737)
 
diff --git a/sources b/sources
index 230c149..e1e9636 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e1e65cc711a1ade1322c06ad4a647741  libjpeg-turbo-1.3.0.tar.gz
+2c3a68129dac443a72815ff5bb374b05  libjpeg-turbo-1.3.1.tar.gz


More information about the scm-commits mailing list