Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:qmfrederik
libjpeg-turbo
libjpeg-turbo.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libjpeg-turbo.spec of Package libjpeg-turbo
Name : libturbojpeg Version : 2.0.2 Release : 46 URL : https://github.com/libjpeg-turbo/libjpeg-turbo Source0 : libjpeg-turbo-%{version}.tar.gz Summary : A SIMD-accelerated JPEG codec that provides the TurboJPEG API Group : Development/Tools License : BSD-3-Clause IJG Requires: libturbojpeg-lib = %{version}-%{release} Requires: libturbojpeg-license = %{version}-%{release} Requires: libturbojpeg-man = %{version}-%{release} BuildRequires: nasm BuildRequires: cmake BuildRequires: gdb %description libjpeg-turbo is a JPEG image codec that uses SIMD instructions (MMX, SSE2, AVX2, NEON, AltiVec) to accelerate baseline JPEG compression and decompression on x86, x86-64, ARM, and PowerPC systems, as well as progressive JPEG compression on x86 and x86-64 systems. On such systems, libjpeg-turbo is generally 2-6x as fast as libjpeg, all else being equal. On other types of systems, libjpeg-turbo can still outperform libjpeg by a significant amount, by virtue of its highly-optimized Huffman coding routines. In many cases, the performance of libjpeg-turbo rivals that of proprietary high-speed JPEG codecs. libjpeg-turbo implements both the traditional libjpeg API as well as the less powerful but more straightforward TurboJPEG API. libjpeg-turbo also features colorspace extensions that allow it to compress from/decompress to 32-bit and big-endian pixel buffers (RGBX, XBGR, etc.), as well as a full-featured Java interface. libjpeg-turbo was originally based on libjpeg/SIMD, an MMX-accelerated derivative of libjpeg v6b developed by Miyasaka Masaru. The TigerVNC and VirtualGL projects made numerous enhancements to the codec in 2009, and in early 2010, libjpeg-turbo spun off into an independent project, with the goal of making high-speed JPEG compression/decompression technology available to a broader range of users and developers. %package bin Summary: bin components for the libturbojpeg package. Group: Binaries Requires: libturbojpeg-license = %{version}-%{release} %description bin bin components for the libturbojpeg package. %package devel Summary: dev components for the libturbojpeg package. Group: Development Requires: libturbojpeg-lib = %{version}-%{release} Provides: libturbojpeg-devel = %{version}-%{release} %description devel dev components for the libturbojpeg package. %package doc Summary: doc components for the libturbojpeg package. Group: Documentation Requires: libturbojpeg-man = %{version}-%{release} %description doc doc components for the libturbojpeg package. %package lib Summary: lib components for the libturbojpeg package. Group: Libraries Requires: libturbojpeg-license = %{version}-%{release} %description lib lib components for the libturbojpeg package. %package license Summary: license components for the libturbojpeg package. Group: Default %description license license components for the libturbojpeg package. %package man Summary: man components for the libturbojpeg package. Group: Default %description man man components for the libturbojpeg package. %prep %setup -q -n libjpeg-turbo-2.0.2 %build mkdir -p clr-build pushd clr-build export CFLAGS="${RPM_OPT_FLAGS}" export CXXFLAGS="${RPM_OPT_FLAGS}" %cmake -DENABLE_STATIC=false .. make VERBOSE=1 ./tjbench testimages/testimgint.jpg make clean make VERBOSE=1 popd %check cd clr-build; make test %install rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/libturbojpeg cp release/License.rtf %{buildroot}/usr/share/package-licenses/libturbojpeg/release_License.rtf pushd clr-build %make_install popd ## install_append content [ -d %{buildroot}/usr/lib/ ] && mv %{buildroot}/usr/lib/*so* %{buildroot}/usr/lib32 ## install_append end %files %defattr(-,root,root,-) %exclude /usr/lib64/libjpeg.so.62 %exclude /usr/lib64/libjpeg.so.62.3.0 %exclude /usr/lib64/libjpeg.so %exclude /usr/lib64/pkgconfig/libjpeg.pc %files bin %defattr(-,root,root,-) /usr/bin/cjpeg /usr/bin/djpeg /usr/bin/jpegtran /usr/bin/rdjpgcom /usr/bin/tjbench /usr/bin/wrjpgcom %files devel %defattr(-,root,root,-) /usr/include/*.h /usr/lib64/pkgconfig/libturbojpeg.pc /usr/lib64/libturbojpeg.so %files doc %defattr(0644,root,root,0755) %doc /usr/share/doc/libjpeg\-turbo/* %files lib %defattr(-,root,root,-) /usr/lib64/libturbojpeg.so.0 /usr/lib64/libturbojpeg.so.0.2.0 %files license %defattr(0644,root,root,0755) /usr/share/package-licenses/libturbojpeg/release_License.rtf %files man %defattr(0644,root,root,0755) /usr/share/man/man1/cjpeg.1.gz /usr/share/man/man1/djpeg.1.gz /usr/share/man/man1/jpegtran.1.gz /usr/share/man/man1/rdjpgcom.1.gz /usr/share/man/man1/wrjpgcom.1.gz
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor