diff --git a/.gitignore b/.gitignore index fbd9edc..95d7d9d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /qtwebsockets-opensource-src-5.5.0.tar.xz /qtwebsockets-opensource-src-5.5.1.tar.xz /qtwebsockets-opensource-src-5.6.0.tar.xz +/qtwebsockets-opensource-src-5.7.1.tar.xz diff --git a/mingw-qt5-qtwebsockets.spec b/mingw-qt5-qtwebsockets.spec index c14f84a..ac65dda 100644 --- a/mingw-qt5-qtwebsockets.spec +++ b/mingw-qt5-qtwebsockets.spec @@ -1,4 +1,4 @@ -%?mingw_package_header +%{?mingw_package_header} %global qt_module qtwebsockets #%%global pre rc1 @@ -16,10 +16,11 @@ %global release_version %(echo %{version} | awk -F. '{print $1"."$2}') Name: mingw-qt5-%{qt_module} -Version: 5.6.0 +Version: 5.7.1 Release: 1%{?pre:.%{pre}}%{?snapshot_date:.git%{snapshot_date}.%{snapshot_rev}}%{?dist} Summary: Qt5 for Windows - QtWebsockets component +# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details License: GPLv3 with exceptions or LGPLv2 with exceptions Group: Development/Libraries URL: http://www.qtsoftware.com/ @@ -79,11 +80,11 @@ This is the Windows version of Qt, for use in conjunction with the Fedora Windows cross-compiler. -%?mingw_debug_package +%{?mingw_debug_package} %prep -%setup -q -n %{source_folder} +%autosetup -p1 -n %{source_folder} %if 0%{?snapshot_date} # Make sure the syncqt tool is run because we're using a git snapshot @@ -98,10 +99,10 @@ mkdir .git %install -%mingw_make install INSTALL_ROOT=$RPM_BUILD_ROOT +%mingw_make install INSTALL_ROOT=%{buildroot} # .prl files aren't interesting for us -find $RPM_BUILD_ROOT -name "*.prl" -delete +find %{buildroot} -name "*.prl" -delete # Create a list of .dll.debug files which need to be excluded from the main packages # We do this to keep the %%files section as clean/readable as possible (otherwise every @@ -109,13 +110,13 @@ find $RPM_BUILD_ROOT -name "*.prl" -delete # Note: the .dll.debug files aren't created yet at this point (as it happens after # the %%install section). Therefore we have to assume that all .dll files will # eventually get a .dll.debug counterpart -find $RPM_BUILD_ROOT%{mingw32_prefix} | grep .dll | grep -v .dll.a | sed s@"^$RPM_BUILD_ROOT"@"%%exclude "@ | sed s/".dll\$"/".dll.debug"/ > mingw32-qt5-%{qt_module}.excludes -find $RPM_BUILD_ROOT%{mingw64_prefix} | grep .dll | grep -v .dll.a | sed s@"^$RPM_BUILD_ROOT"@"%%exclude "@ | sed s/".dll\$"/".dll.debug"/ > mingw64-qt5-%{qt_module}.excludes +find %{buildroot}%{mingw32_prefix} | grep .dll | grep -v .dll.a | sed s@"^%{buildroot}"@"%%exclude "@ | sed s/".dll\$"/".dll.debug"/ > mingw32-qt5-%{qt_module}.excludes +find %{buildroot}%{mingw64_prefix} | grep .dll | grep -v .dll.a | sed s@"^%{buildroot}"@"%%exclude "@ | sed s/".dll\$"/".dll.debug"/ > mingw64-qt5-%{qt_module}.excludes # Win32 %files -n mingw32-qt5-%{qt_module} -f mingw32-qt5-%{qt_module}.excludes -%doc LGPL_EXCEPTION.txt LICENSE.LGPLv21 LICENSE.LGPLv3 README.md +%license LGPL_EXCEPTION.txt LICENSE.LGPLv21 LICENSE.LGPLv3 %{mingw32_bindir}/Qt5WebSockets.dll %{mingw32_includedir}/qt5/QtWebSockets/ %{mingw32_libdir}/cmake/Qt5WebSockets/ @@ -128,7 +129,7 @@ find $RPM_BUILD_ROOT%{mingw64_prefix} | grep .dll | grep -v .dll.a | sed s@"^$RP # Win64 %files -n mingw64-qt5-%{qt_module} -f mingw64-qt5-%{qt_module}.excludes -%doc LGPL_EXCEPTION.txt LICENSE.LGPLv21 LICENSE.LGPLv3 README.md +%license LGPL_EXCEPTION.txt LICENSE.LGPLv21 LICENSE.LGPLv3 %{mingw64_bindir}/Qt5WebSockets.dll %{mingw64_includedir}/qt5/QtWebSockets/ %{mingw64_libdir}/cmake/Qt5WebSockets/ @@ -141,6 +142,9 @@ find $RPM_BUILD_ROOT%{mingw64_prefix} | grep .dll | grep -v .dll.a | sed s@"^$RP %changelog +* Sat Feb 04 2017 Sandro Mani - 5.7.1-1 +- Update to 5.7.1 + * Sun Apr 10 2016 Erik van Pienbroek - 5.6.0-1 - Update to 5.6.0 diff --git a/sources b/sources index 041e842..197aa4a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -266d9b8b0fca6839a57ed2b17f4a8984 qtwebsockets-opensource-src-5.6.0.tar.xz +SHA512 (qtwebsockets-opensource-src-5.7.1.tar.xz) = 3cca317d71513a0b11d5b46d6caee44d77a7f65eff09dbd6c180ad682a0271924e05efc28e6d31c9e982b6ab0b3fe1370606eea372e2fefd4525237496d2c7c9