diff --git a/mingw-libjpeg-turbo.spec b/mingw-libjpeg-turbo.spec index ed41418..f75cd75 100644 --- a/mingw-libjpeg-turbo.spec +++ b/mingw-libjpeg-turbo.spec @@ -6,7 +6,7 @@ Name: mingw-libjpeg-turbo Version: 2.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: MinGW Windows Libjpeg-turbo library License: wxWidgets @@ -47,6 +47,7 @@ Provides: mingw32-libjpeg = 7-4 %description -n mingw32-libjpeg-turbo MinGW Windows cross compiled Libjpeg-turbo library. + %package -n mingw32-libjpeg-turbo-static Summary: Static version of the MinGW Windows Libjpeg-turbo library Requires: mingw32-libjpeg-turbo = %{version}-%{release} @@ -56,6 +57,22 @@ Provides: mingw32-libjpeg-static = 7-4 %description -n mingw32-libjpeg-turbo-static Static version of the MinGW Windows cross compiled Libjpeg-turbo library. + +%package -n mingw32-turbojpeg +Summary: MinGW Windows turbojpeg library + +%description -n mingw32-turbojpeg +MinGW Windows cross compiled turbojpeg library. + + +%package -n mingw32-turbojpeg-static +Summary: Static version of the MinGW Windows turbojpeg library +Requires: mingw32-turbojpeg = %{version}-%{release} + +%description -n mingw32-turbojpeg-static +Static version of the MinGW Windows turbojpeg library. + + # Win64 %package -n mingw64-libjpeg-turbo Summary: MinGW Windows Libjpeg-turbo library @@ -65,6 +82,7 @@ Provides: mingw64-libjpeg = 8a-2%{?dist} %description -n mingw64-libjpeg-turbo MinGW Windows cross compiled Libjpeg-turbo library. + %package -n mingw64-libjpeg-turbo-static Summary: Static version of the MinGW Windows Libjpeg-turbo library Requires: mingw64-libjpeg-turbo = %{version}-%{release} @@ -75,6 +93,21 @@ Provides: mingw64-libjpeg-static = 8a-2%{?dist} Static version of the MinGW Windows cross compiled Libjpeg-turbo library. +%package -n mingw64-turbojpeg +Summary: MinGW Windows turbojpeg library + +%description -n mingw64-turbojpeg +MinGW Windows cross compiled turbojpeg library. + + +%package -n mingw64-turbojpeg-static +Summary: Static version of the MinGW Windows turbojpeg library +Requires: mingw64-turbojpeg = %{version}-%{release} + +%description -n mingw64-turbojpeg-static +Static version of the MinGW Windows turbojpeg library. + + %{?mingw_debug_package} @@ -118,20 +151,24 @@ chmod -x README.md %{mingw32_bindir}/*.exe %endif %{mingw32_bindir}/libjpeg-62.dll -%{mingw32_bindir}/libturbojpeg.dll %{mingw32_includedir}/jconfig.h %{mingw32_includedir}/jerror.h %{mingw32_includedir}/jmorecfg.h %{mingw32_includedir}/jpeglib.h -%{mingw32_includedir}/turbojpeg.h %{mingw32_libdir}/cmake/libjpeg-turbo/ %{mingw32_libdir}/libjpeg.dll.a -%{mingw32_libdir}/libturbojpeg.dll.a %{mingw32_libdir}/pkgconfig/libjpeg.pc -%{mingw32_libdir}/pkgconfig/libturbojpeg.pc %files -n mingw32-libjpeg-turbo-static %{mingw32_libdir}/libjpeg.a + +%files -n mingw32-turbojpeg +%{mingw32_bindir}/libturbojpeg.dll +%{mingw32_includedir}/turbojpeg.h +%{mingw32_libdir}/libturbojpeg.dll.a +%{mingw32_libdir}/pkgconfig/libturbojpeg.pc + +%files -n mingw32-turbojpeg-static %{mingw32_libdir}/libturbojpeg.a # Win64 @@ -158,8 +195,20 @@ chmod -x README.md %{mingw64_libdir}/libjpeg.a %{mingw64_libdir}/libturbojpeg.a +%files -n mingw64-turbojpeg +%{mingw64_bindir}/libturbojpeg.dll +%{mingw64_includedir}/turbojpeg.h +%{mingw64_libdir}/libturbojpeg.dll.a +%{mingw64_libdir}/pkgconfig/libturbojpeg.pc + +%files -n mingw64-turbojpeg-static +%{mingw64_libdir}/libturbojpeg.a + %changelog +* Mon May 10 2021 Sandro Mani - 2.1.0-2 +- Split off turbojpeg library + * Mon Apr 26 2021 Sandro Mani - 2.1.0-1 - Update to 2.1.0