|
|
@ -1,12 +1,12 @@
|
|
|
|
%?mingw_package_header
|
|
|
|
%{?mingw_package_header}
|
|
|
|
|
|
|
|
|
|
|
|
# Build the programs like cjpeg, etc.
|
|
|
|
# Build the programs like cjpeg, etc.
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=467401#c7
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=467401#c7
|
|
|
|
%global build_programs 0
|
|
|
|
%global build_programs 0
|
|
|
|
|
|
|
|
|
|
|
|
Name: mingw-libjpeg-turbo
|
|
|
|
Name: mingw-libjpeg-turbo
|
|
|
|
Version: 2.0.2
|
|
|
|
Version: 2.0.3
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: MinGW Windows Libjpeg-turbo library
|
|
|
|
Summary: MinGW Windows Libjpeg-turbo library
|
|
|
|
|
|
|
|
|
|
|
|
License: wxWidgets
|
|
|
|
License: wxWidgets
|
|
|
@ -73,7 +73,7 @@ Provides: mingw64-libjpeg-static = 8a-2%{?dist}
|
|
|
|
Static version of the MinGW Windows cross compiled Libjpeg-turbo library.
|
|
|
|
Static version of the MinGW Windows cross compiled Libjpeg-turbo library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%?mingw_debug_package
|
|
|
|
%{?mingw_debug_package}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
@ -86,22 +86,22 @@ Static version of the MinGW Windows cross compiled Libjpeg-turbo library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%mingw_make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%mingw_make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
# Remove manual pages and docs which duplicate Fedora native.
|
|
|
|
# Remove manual pages and docs which duplicate Fedora native.
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{mingw32_mandir}
|
|
|
|
rm -rf %{buildroot}%{mingw32_mandir}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{mingw64_mandir}
|
|
|
|
rm -rf %{buildroot}%{mingw64_mandir}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{mingw32_docdir}
|
|
|
|
rm -rf %{buildroot}%{mingw32_docdir}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{mingw64_docdir}
|
|
|
|
rm -rf %{buildroot}%{mingw64_docdir}
|
|
|
|
|
|
|
|
|
|
|
|
# The CMake build system also installed some docs
|
|
|
|
# The CMake build system also installed some docs
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{mingw32_prefix}/doc
|
|
|
|
rm -rf %{buildroot}%{mingw32_prefix}/doc
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{mingw64_prefix}/doc
|
|
|
|
rm -rf %{buildroot}%{mingw64_prefix}/doc
|
|
|
|
|
|
|
|
|
|
|
|
# Remove win32 native binaries if wanted
|
|
|
|
# Remove win32 native binaries if wanted
|
|
|
|
%if %build_programs == 0
|
|
|
|
%if %build_programs == 0
|
|
|
|
rm -f $RPM_BUILD_ROOT%{mingw32_bindir}/*.exe
|
|
|
|
rm -f %{buildroot}%{mingw32_bindir}/*.exe
|
|
|
|
rm -f $RPM_BUILD_ROOT%{mingw64_bindir}/*.exe
|
|
|
|
rm -f %{buildroot}%{mingw64_bindir}/*.exe
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Fix perms
|
|
|
|
# Fix perms
|
|
|
@ -156,6 +156,9 @@ chmod -x README.md
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Sep 16 2019 Sandro Mani <manisandro@gmail.com> - 2.0.3-1
|
|
|
|
|
|
|
|
- Update to 2.0.3
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|