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