2010-06-28 12:42:53 +00:00
|
|
|
Name: libjpeg-turbo
|
2011-03-01 13:46:26 +00:00
|
|
|
Version: 1.1.0
|
|
|
|
Release: 1%{?dist}
|
2010-06-28 12:42:53 +00:00
|
|
|
Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: wxWidgets
|
|
|
|
URL: http://sourceforge.net/projects/libjpeg-turbo
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: autoconf, automake, libtool
|
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
BuildRequires: nasm
|
|
|
|
%endif
|
|
|
|
|
2010-07-01 02:00:00 +00:00
|
|
|
# moved this from -utils, in an attempt to get it to better override
|
|
|
|
# libjpeg in rawhide -- Rex
|
2010-07-02 11:33:48 +00:00
|
|
|
Obsoletes: libjpeg < 6b-47
|
|
|
|
# add provides (even if it not needed) to workaround bad packages, like
|
|
|
|
# java-1.6.0-openjdk (#rh607554) -- atkac
|
|
|
|
Provides: libjpeg = 6b-47
|
2010-07-01 02:00:00 +00:00
|
|
|
|
2011-03-01 13:46:26 +00:00
|
|
|
Patch0: libjpeg-turbo11-noinst_jpgtest.patch
|
|
|
|
|
2010-06-28 12:42:53 +00:00
|
|
|
%description
|
|
|
|
The libjpeg-turbo package contains a library of functions for manipulating
|
|
|
|
JPEG images
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Headers for the libjpeg-turbo library
|
|
|
|
Group: Development/Libraries
|
|
|
|
Obsoletes: libjpeg-devel < 6b-47
|
|
|
|
Provides: libjpeg-devel = 6b-47
|
2010-07-02 12:16:08 +00:00
|
|
|
%if "%{?_isa}" != ""
|
|
|
|
Provides: libjpeg-devel%{_isa} = 6b-47
|
|
|
|
%endif
|
2010-06-28 12:42:53 +00:00
|
|
|
Requires: libjpeg-turbo%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains header files necessary for developing programs which
|
|
|
|
will manipulate JPEG files using the libjpeg-turbo library
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
Summary: Utilities for manipulating JPEG images
|
|
|
|
Group: Applications/Multimedia
|
2010-06-30 17:10:16 +00:00
|
|
|
Requires: libjpeg-turbo%{?_isa} = %{version}-%{release}
|
2010-06-28 12:42:53 +00:00
|
|
|
|
|
|
|
%description utils
|
|
|
|
The libjpeg-turbo-utils package contains simple client programs for
|
|
|
|
accessing the libjpeg functions. It contains cjpeg, djpeg, jpegtran,
|
|
|
|
rdjpgcom and wrjpgcom. Cjpeg compresses an image file into JPEG format.
|
|
|
|
Djpeg decompresses a JPEG file into a regular image file. Jpegtran
|
|
|
|
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.
|
|
|
|
|
2010-09-13 09:00:52 +00:00
|
|
|
%package static
|
|
|
|
Summary: Static version of the libjpeg-turbo library
|
|
|
|
Group: Development/Libraries
|
|
|
|
Obsoletes: libjpeg-static < 6b-47
|
|
|
|
Provides: libjpeg-static = 6b-47
|
|
|
|
%if "%{?_isa}" != ""
|
|
|
|
Provides: libjpeg-static%{_isa} = 6b-47
|
|
|
|
%endif
|
|
|
|
Requires: libjpeg-turbo-devel%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description static
|
|
|
|
The libjpeg-turbo-static package contains static library for manipulating
|
|
|
|
JPEG images
|
|
|
|
|
2010-06-28 12:42:53 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
2011-03-01 13:46:26 +00:00
|
|
|
%patch0 -p1 -b .noinst_jpgtest
|
|
|
|
|
2010-06-28 12:42:53 +00:00
|
|
|
%build
|
|
|
|
autoreconf -fiv
|
|
|
|
|
2010-09-13 09:00:52 +00:00
|
|
|
%configure
|
2010-06-28 12:42:53 +00:00
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# Fix perms
|
|
|
|
chmod -x README-turbo.txt
|
|
|
|
|
|
|
|
# Remove unwanted files
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/lib{,turbo}jpeg.la
|
|
|
|
|
|
|
|
# Don't distribute libjpegturbo because it is unversioned
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_includedir}/turbojpeg.h
|
2010-09-13 09:00:52 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libturbojpeg.{so,a}
|
2010-06-28 12:42:53 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README README-turbo.txt change.log ChangeLog.txt LGPL.txt LICENSE.txt
|
|
|
|
%{_libdir}/libjpeg.so.62.0.0
|
|
|
|
%{_libdir}/libjpeg.so.62
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2011-01-17 18:40:36 +00:00
|
|
|
%doc coderules.txt jconfig.txt libjpeg.txt structure.txt example.c
|
2010-06-28 12:42:53 +00:00
|
|
|
%{_includedir}/jconfig.h
|
|
|
|
%{_includedir}/jerror.h
|
|
|
|
%{_includedir}/jmorecfg.h
|
|
|
|
%{_includedir}/jpeglib.h
|
|
|
|
%{_libdir}/libjpeg.so
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
%defattr(-,root,root,-)
|
2011-01-17 18:40:36 +00:00
|
|
|
%doc usage.txt wizard.txt
|
2010-06-28 12:42:53 +00:00
|
|
|
%{_bindir}/cjpeg
|
|
|
|
%{_bindir}/djpeg
|
|
|
|
%{_bindir}/jpegtran
|
|
|
|
%{_bindir}/rdjpgcom
|
|
|
|
%{_bindir}/wrjpgcom
|
|
|
|
%{_mandir}/man1/cjpeg.1*
|
|
|
|
%{_mandir}/man1/djpeg.1*
|
|
|
|
%{_mandir}/man1/jpegtran.1*
|
|
|
|
%{_mandir}/man1/rdjpgcom.1*
|
|
|
|
%{_mandir}/man1/wrjpgcom.1*
|
|
|
|
|
2010-09-13 09:00:52 +00:00
|
|
|
%files static
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libjpeg.a
|
|
|
|
|
2010-06-28 12:42:53 +00:00
|
|
|
%changelog
|
2011-03-01 13:46:26 +00:00
|
|
|
* Tue Mar 01 2011 Adam Tkac <atkac redhat com> 1.1.0-1
|
|
|
|
- update to 1.1.0
|
|
|
|
|
2011-02-08 07:24:19 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.90-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-17 18:40:36 +00:00
|
|
|
* Mon Jan 17 2011 Adam Tkac <atkac redhat com> 1.0.90-1
|
|
|
|
- update to 1.0.90
|
|
|
|
- libjpeg-turbo10-rh639672.patch merged
|
|
|
|
|
2010-10-29 14:17:26 +00:00
|
|
|
* Fri Oct 29 2010 Adam Tkac <atkac redhat com> 1.0.1-3
|
|
|
|
- add support for arithmetic coded files into decoder (#639672)
|
|
|
|
|
2010-09-29 21:40:23 +00:00
|
|
|
* Wed Sep 29 2010 jkeating - 1.0.1-2
|
|
|
|
- Rebuilt for gcc bug 634757
|
|
|
|
|
2010-09-13 09:00:52 +00:00
|
|
|
* Mon Sep 13 2010 Adam Tkac <atkac redhat com> 1.0.1-1
|
|
|
|
- update to 1.0.1
|
|
|
|
- libjpeg-turbo10-rh617469.patch merged
|
|
|
|
- add -static subpkg (#632859)
|
|
|
|
|
2010-08-04 08:53:27 +00:00
|
|
|
* Wed Aug 04 2010 Adam Tkac <atkac redhat com> 1.0.0-3
|
|
|
|
- fix huffman decoder to handle broken JPEGs well (#617469)
|
|
|
|
|
2010-07-02 12:16:08 +00:00
|
|
|
* Fri Jul 02 2010 Adam Tkac <atkac redhat com> 1.0.0-2
|
|
|
|
- add libjpeg-devel%%{_isa} provides to -devel subpkg to satisfy imlib-devel
|
|
|
|
deps
|
|
|
|
|
2010-07-02 11:33:48 +00:00
|
|
|
* Fri Jul 02 2010 Adam Tkac <atkac redhat com> 1.0.0-1
|
|
|
|
- update to 1.0.0
|
|
|
|
- patches merged
|
|
|
|
- libjpeg-turbo-programs.patch
|
|
|
|
- libjpeg-turbo-nosimd.patch
|
|
|
|
- add libjpeg provides to the main package to workaround problems with broken
|
|
|
|
java-1.6.0-openjdk package
|
|
|
|
|
|
|
|
* Fri Jul 02 2010 Adam Tkac <atkac redhat com> 0.0.93-13
|
2010-07-02 09:00:08 +00:00
|
|
|
- remove libjpeg provides from -utils subpkg
|
|
|
|
|
|
|
|
* Wed Jun 30 2010 Rex Dieter <rdieter@fedoraproject.org> 0.0.93-12
|
2010-07-01 02:00:00 +00:00
|
|
|
- move Obsoletes: libjpeg to main pkg
|
|
|
|
|
2010-06-30 17:10:16 +00:00
|
|
|
* Wed Jun 30 2010 Rex Dieter <rdieter@fedoraproject.org> 0.0.93-11
|
|
|
|
- -utils: Requires: %%name ...
|
|
|
|
|
2010-06-30 06:59:44 +00:00
|
|
|
* Wed Jun 30 2010 Adam Tkac <atkac redhat com> 0.0.93-10
|
|
|
|
- add Provides = libjpeg to -utils subpackage
|
|
|
|
|
2010-06-28 12:42:53 +00:00
|
|
|
* Mon Jun 28 2010 Adam Tkac <atkac redhat com> 0.0.93-9
|
|
|
|
- merge review related fixes (#600243)
|
|
|
|
|
|
|
|
* Wed Jun 16 2010 Adam Tkac <atkac redhat com> 0.0.93-8
|
|
|
|
- merge review related fixes (#600243)
|
|
|
|
|
|
|
|
* Mon Jun 14 2010 Adam Tkac <atkac redhat com> 0.0.93-7
|
|
|
|
- obsolete -static libjpeg subpackage (#600243)
|
|
|
|
|
|
|
|
* Mon Jun 14 2010 Adam Tkac <atkac redhat com> 0.0.93-6
|
|
|
|
- improve package description a little (#600243)
|
|
|
|
- include example.c as %%doc in the -devel subpackage
|
|
|
|
|
|
|
|
* Fri Jun 11 2010 Adam Tkac <atkac redhat com> 0.0.93-5
|
|
|
|
- don't use "fc12" disttag in obsoletes/provides (#600243)
|
|
|
|
|
|
|
|
* Thu Jun 10 2010 Adam Tkac <atkac redhat com> 0.0.93-4
|
|
|
|
- fix compilation on platforms without MMX/SSE (#600243)
|
|
|
|
|
|
|
|
* Thu Jun 10 2010 Adam Tkac <atkac redhat com> 0.0.93-3
|
|
|
|
- package review related fixes (#600243)
|
|
|
|
|
|
|
|
* Wed Jun 09 2010 Adam Tkac <atkac redhat com> 0.0.93-2
|
|
|
|
- package review related fixes (#600243)
|
|
|
|
|
|
|
|
* Fri Jun 04 2010 Adam Tkac <atkac redhat com> 0.0.93-1
|
|
|
|
- initial package
|