Merge pull request #2 from alzim/libjpeg-turbo:rosa2016.1

Updated to 1.5.0
This commit is contained in:
dsilakov 2016-08-26 13:51:42 +04:00
commit 26da190879
2 changed files with 9 additions and 10 deletions

View file

@ -1,2 +1,2 @@
sources:
libjpeg-turbo-1.4.0.tar.gz: a9ed7a99a6090e0848836c5df8e836f300a098b9
libjpeg-turbo-1.5.0.tar.gz: 9adc21b927e48e4c6889e77079f6c1f3eecf98ab

View file

@ -12,12 +12,12 @@
Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files
Name: libjpeg-turbo
Epoch: 1
Version: 1.4.0
Release: 2
Version: 1.5.0
Release: 1
License: wxWidgets Library License
Group: System/Libraries
Url: http://sourceforge.net/projects/libjpeg-turbo
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Url: http://www.libjpeg-turbo.org
Source0: https://sourceforge.net/projects/libjpeg-turbo/files/%{version}/%{name}-%{version}.tar.gz
# These two allow automatic lossless rotation of JPEG images from a digital
# camera which have orientation markings in the EXIF data. After rotation
# the orientation markings are reset to avoid duplicate rotation when
@ -48,7 +48,7 @@ This package contains the library needed to run programs dynamically
linked with libjpeg.
%files -n %{libname}
%doc change.log ChangeLog.txt README README-turbo.txt
%doc change.log
%{_libdir}/libjpeg.so.%{major}*
#----------------------------------------------------------------------------
@ -100,6 +100,8 @@ library.
%{_libdir}/libjpeg.so
%{_libdir}/libturbojpeg.so
%{_includedir}/*.h
%{_libdir}/pkgconfig/libjpeg.pc
%{_libdir}/pkgconfig/libturbojpeg.pc
#----------------------------------------------------------------------------
@ -152,8 +154,6 @@ have orientation markings in the EXIF data.
%prep
%setup -q
%patch0 -p0
# Fix perms
chmod -x README-turbo.txt
cp %{SOURCE2} jpegexiforient.c
cp %{SOURCE3} exifautotran
@ -193,5 +193,4 @@ install -m755 exifautotran -D %{buildroot}%{_bindir}/exifautotran
install -m644 jpegint.h -D %{buildroot}%{_includedir}/jpegint.h
# cleanup
rm -f %{buildroot}%{_docdir}/*
rm -rf %{buildroot}%{_docdir}/*