Lines Matching +full:- +full:denable_shared

1 %global _docdir %{_defaultdocdir}/%{name}-%{version}
24 #-->%if 1
28 %if "%{_prefix}" == "/opt/libjpeg-turbo"
32 #-->%else
34 #-->%endif
36 Summary: A SIMD-accelerated JPEG codec that provides both the libjpeg and TurboJPEG APIs
42 #-->Source0: http://prdownloads.sourceforge.net/@CMAKE_PROJECT_NAME@/@CMAKE_PROJECT_NAME@-%{version…
44 License: BSD-style
45 BuildRoot: %{_blddir}/%{name}-buildroot-%{version}-%{release}
48 Provides: %{name} = %{version}-%{release}, @CMAKE_PROJECT_NAME@ = %{version}-%{release}, libturbojp…
50 Provides: %{name} = %{version}-%{release}, @CMAKE_PROJECT_NAME@ = %{version}-%{release}, libturbojp…
54 libjpeg-turbo is a JPEG image codec that uses SIMD instructions (MMX, SSE2,
56 on x86, x86-64, ARM, and PowerPC systems, as well as progressive JPEG
57 compression on x86 and x86-64 systems. On such systems, libjpeg-turbo is
58 generally 2-6x as fast as libjpeg, all else being equal. On other types of
59 systems, libjpeg-turbo can still outperform libjpeg by a significant amount, by
60 virtue of its highly-optimized Huffman coding routines. In many cases, the
61 performance of libjpeg-turbo rivals that of proprietary high-speed JPEG codecs.
63 libjpeg-turbo implements both the traditional libjpeg API as well as the less
64 powerful but more straightforward TurboJPEG API. libjpeg-turbo also features
65 colorspace extensions that allow it to compress from/decompress to 32-bit and
66 big-endian pixel buffers (RGBX, XBGR, etc.), as well as a full-featured Java
69 libjpeg-turbo was originally based on libjpeg/SIMD, an MMX-accelerated
72 early 2010, libjpeg-turbo spun off into an independent project, with the goal
73 of making high-speed JPEG compression/decompression technology available to a
76 #-->%prep
77 #-->%setup -q -n @CMAKE_PROJECT_NAME@-%{version}
79 #-->%build
80 #-->cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=@CMAKE_BUILD_TYPE@ \
81 #--> -DBUILD=%{release} \
82 #--> -DCMAKE_INSTALL_BINDIR=%{_bindir} \
83 #--> -DCMAKE_INSTALL_DATAROOTDIR=%{_datarootdir} \
84 #--> -DCMAKE_INSTALL_DOCDIR=%{_docdir} \
85 #--> -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \
86 #--> -DCMAKE_INSTALL_JAVADIR=%{_javadir} \
87 #--> -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
88 #--> -DCMAKE_INSTALL_MANDIR=%{_mandir} \
89 #--> -DCMAKE_INSTALL_PREFIX=%{_prefix} \
90 #--> -DCMAKE_POSITION_INDEPENDENT_CODE=@CMAKE_POSITION_INDEPENDENT_CODE@ \
91 #--> -DENABLE_SHARED=@ENABLE_SHARED@ -DENABLE_STATIC=@ENABLE_STATIC@ \
92 #--> -DSO_MAJOR_VERSION=@SO_MAJOR_VERSION@ \
93 #--> -DSO_MINOR_VERSION=@SO_MINOR_VERSION@ \
94 #--> -DJPEG_LIB_VERSION=@JPEG_LIB_VERSION@ \
95 #--> -DREQUIRE_SIMD=@REQUIRE_SIMD@ \
96 #--> -DWITH_12BIT=@WITH_12BIT@ -DWITH_ARITH_DEC=@WITH_ARITH_DEC@ \
97 #--> -DWITH_ARITH_ENC=@WITH_ARITH_ENC@ -DWITH_JAVA=@WITH_JAVA@ \
98 #--> -DWITH_JPEG7=@WITH_JPEG7@ -DWITH_JPEG8=@WITH_JPEG8@ \
99 #--> -DWITH_MEM_SRCDST=@WITH_MEM_SRCDST@ -DWITH_SIMD=@WITH_SIMD@ \
100 #--> -DWITH_TURBOJPEG=@WITH_TURBOJPEG@ .
101 #-->make DESTDIR=$RPM_BUILD_ROOT
105 rm -rf $RPM_BUILD_ROOT
107 /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
109 #-->%if 0
111 # This is only needed to support in-tree RPM generation via 'make rpm'. When
120 if [ "$1" = "" -o ! -d "$1" ]; then
124 if [ "$2" = "" -o -e "$2" ]; then
128 if [ "$3" = "" -o -e "$3" ]; then
132 mkdir -p $3
135 mkdir -p $2
146 #-->%endif
149 if [ "%{_prefix}" = "@CMAKE_INSTALL_DEFAULT_PREFIX@" -a "$LJT_DOCDIR" = "@CMAKE_INSTALL_DEFAULT_PRE…
150 ln -fs %{_docdir} $RPM_BUILD_ROOT/$LJT_DOCDIR
153 %post -p /sbin/ldconfig
155 %postun -p /sbin/ldconfig
158 rm -rf $RPM_BUILD_ROOT
161 %defattr(-,root,root)