automatic version update by autodist [release 2.0.0-1mamba;Wed Sep 12 2018]

This commit is contained in:
Automatic Build System 2024-01-06 04:42:37 +01:00
parent 641d88f820
commit bfbf2390c2

View File

@ -1,5 +1,5 @@
Name: libjpeg-turbo
Version: 1.5.3
Version: 2.0.0
Release: 1mamba
Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files
Group: System/Libraries
@ -126,41 +126,45 @@ mv %{name}-%{version} %{name}-7
%build
cd %{name}-6b
%configure
%cmake -d build
%make
cd ..
cd ../..
cd %{name}-7
%configure \
--with-jpeg7
%cmake -d build \
-DWITH_JPEG7=TRUE
%make
cd ..
cd ../..
%cmake -d build \
-DWITH_JPEG8=TRUE
%configure \
--with-jpeg8
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd %{name}-6b
%makeinstall \
%makeinstall -C build \
docdir=%{_docdir}/libjpeg-devel-%{version} \
exampledir=%{_docdir}/libjpeg-devel-%{version}
cd ..
cd %{name}-7
%makeinstall \
%makeinstall -C build \
docdir=%{_docdir}/libjpeg-devel-%{version} \
exampledir=%{_docdir}/libjpeg-devel-%{version}
cd ..
# install last for devel and utils to depend on latest library
%makeinstall \
%makeinstall -C build \
docdir=%{_docdir}/libjpeg-devel-%{version} \
exampledir=%{_docdir}/libjpeg-devel-%{version}
%ifarch x86_64_disabled
# x86_64 lib64 support
cd build
make clean
CC=%{_target_platform}-gcc \
CFLAGS="%{optflags} -m32" \
@ -201,13 +205,11 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
%{_includedir}/turbojpeg.h
%{_libdir}/libjpeg.so
%{_libdir}/libturbojpeg.so
%{_libdir}/libjpeg.la
%{_libdir}/libturbojpeg.la
%{_libdir}/pkgconfig/libjpeg.pc
%{_libdir}/pkgconfig/libturbojpeg.pc
#%dir %{_docdir}/%{name}-%{version}
#%{_docdir}/%{name}-%{version}/*
%doc coderules.txt jconfig.txt libjpeg.txt structure.txt example.c change.log
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/*
%doc coderules.txt jconfig.txt libjpeg.txt structure.txt change.log
%files -n libjpeg-static
%defattr(-,root,root)
@ -250,16 +252,17 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
%files -n lib32-libjpeg-turbo-devel
%defattr(-,root,root)
%{_prefix}/lib/libjpeg.a
%{_prefix}/lib/libjpeg.la
%{_prefix}/lib/libjpeg.so
%{_prefix}/lib/libturbojpeg.a
%{_prefix}/lib/libturbojpeg.la
%{_prefix}/lib/libturbojpeg.so
%{_prefix}/lib/pkgconfig/libjpeg.pc
%{_prefix}/lib/pkgconfig/libturbojpeg.pc
%endif
%changelog
* Wed Sep 12 2018 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic version update by autodist
* Thu Dec 21 2017 Automatic Build System <autodist@mambasoft.it> 1.5.3-1mamba
- automatic version update by autodist