Ship the turbojpeg library (#744258)
Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
parent
b8730936e2
commit
21ef12c725
@ -1,6 +1,6 @@
|
|||||||
Name: libjpeg-turbo
|
Name: libjpeg-turbo
|
||||||
Version: 1.1.1
|
Version: 1.1.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files
|
Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -25,7 +25,7 @@ Patch0: libjpeg-turbo11-noinst_jpgtest.patch
|
|||||||
|
|
||||||
%description
|
%description
|
||||||
The libjpeg-turbo package contains a library of functions for manipulating
|
The libjpeg-turbo package contains a library of functions for manipulating
|
||||||
JPEG images
|
JPEG images.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Headers for the libjpeg-turbo library
|
Summary: Headers for the libjpeg-turbo library
|
||||||
@ -39,7 +39,7 @@ Requires: libjpeg-turbo%{?_isa} = %{version}-%{release}
|
|||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains header files necessary for developing programs which
|
This package contains header files necessary for developing programs which
|
||||||
will manipulate JPEG files using the libjpeg-turbo library
|
will manipulate JPEG files using the libjpeg-turbo library.
|
||||||
|
|
||||||
%package utils
|
%package utils
|
||||||
Summary: Utilities for manipulating JPEG images
|
Summary: Utilities for manipulating JPEG images
|
||||||
@ -67,7 +67,22 @@ Requires: libjpeg-turbo-devel%{_isa} = %{version}-%{release}
|
|||||||
|
|
||||||
%description static
|
%description static
|
||||||
The libjpeg-turbo-static package contains static library for manipulating
|
The libjpeg-turbo-static package contains static library for manipulating
|
||||||
JPEG images
|
JPEG images.
|
||||||
|
|
||||||
|
%package -n turbojpeg
|
||||||
|
Summary: TurboJPEG library
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
|
%description -n turbojpeg
|
||||||
|
The turbojpeg package contains the TurboJPEG shared library.
|
||||||
|
|
||||||
|
%package -n turbojpeg-devel
|
||||||
|
Summary: Headers for the TurboJPEG library
|
||||||
|
Group: Development/Libraries
|
||||||
|
|
||||||
|
%description -n turbojpeg-devel
|
||||||
|
This package contains header files necessary for developing programs which
|
||||||
|
will manipulate JPEG files using the TurboJPEG library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -91,9 +106,8 @@ chmod -x README-turbo.txt
|
|||||||
# Remove unwanted files
|
# Remove unwanted files
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/lib{,turbo}jpeg.la
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/lib{,turbo}jpeg.la
|
||||||
|
|
||||||
# Don't distribute libjpegturbo because it is unversioned
|
# Don't distribute libjpegturbo.a
|
||||||
rm -f $RPM_BUILD_ROOT/%{_includedir}/turbojpeg.h
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libturbojpeg.a
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/libturbojpeg.{so,a}
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -134,7 +148,16 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libjpeg.a
|
%{_libdir}/libjpeg.a
|
||||||
|
|
||||||
|
%files -n turbojpeg
|
||||||
|
%{_libdir}/libturbojpeg.so
|
||||||
|
|
||||||
|
%files -n turbojpeg-devel
|
||||||
|
%{_includedir}/turbojpeg.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 7 2011 Orion Poplawski <orion cora nwra com> 1.1.1-2
|
||||||
|
- Ship the turbojpeg library (#744258)
|
||||||
|
|
||||||
* Mon Jul 11 2011 Adam Tkac <atkac redhat com> 1.1.1-1
|
* Mon Jul 11 2011 Adam Tkac <atkac redhat com> 1.1.1-1
|
||||||
- update to 1.1.1
|
- update to 1.1.1
|
||||||
- ljt11-rh688712.patch merged
|
- ljt11-rh688712.patch merged
|
||||||
|
Loading…
Reference in New Issue
Block a user