Updated to 1.5.0

This commit is contained in:
Алзим 2016-06-08 14:56:09 +03:00
parent 93616e8dab
commit 0bb3ee78d3
2 changed files with 8 additions and 9 deletions

View file

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