Bug 1096796

Summary: Review Request: mingw-SDL2 - MinGW Windows port of SDL2 cross-platform multimedia library
Product: [Fedora] Fedora Reporter: Marcel Wysocki <maci>
Component: Package ReviewAssignee: Erik van Pienbroek <erik-fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: erik-fedora, package-review
Target Milestone: ---Flags: erik-fedora: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mingw-SDL2-2.0.3-3.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-29 23:27:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1096807, 1096809    

Description Marcel Wysocki 2014-05-12 12:44:45 UTC
Spec URL: https://raw.githubusercontent.com/maci0/rpmbuild/master/SPECS/mingw-SDL2.spec
SRPM URL: https://github.com/maci0/rpmbuild/raw/master/SRPMS/mingw-SDL2-2.0.3-1.fc20.src.rpm
Description: MinGW Windows port of SDL2 cross-platform multimedia library
Fedora Account System Username: maci

Koji URL: http://koji.fedoraproject.org/koji/taskinfo?taskID=6841944

This was mostly a copy of the existing mingw-SDL package

Comment 1 Erik van Pienbroek 2014-05-12 16:51:27 UTC
Taking for review

The fedora-review flag needs to be set by the person doing the review. You don't have to set it yourself.

The manual Requires tags (for pkgconfig and mingw32/64-win-iconv) are redundant because they get added automatically during the build (by the /usr/lib/rpm/mingw-find-requires.sh script). Therefore these can be removed.

Package looks good otherwise

Comment 2 Michael Cronenworth 2014-05-12 17:05:28 UTC
He could drop the BR on binutils, too.

Comment 3 Erik van Pienbroek 2014-05-12 17:21:32 UTC
Indeed, good catch :)

Comment 4 Marcel Wysocki 2014-05-13 16:24:37 UTC
Update:
* Tue May 13 2014 Marcel Wysocki <maci> - 2.0.3-2
- Removed redundant BuildRequires

Spec URL: https://raw.githubusercontent.com/maci0/rpmbuild/master/SPECS/mingw-SDL2.spec
SRPM URL: https://github.com/maci0/rpmbuild/raw/master/SRPMS/mingw-SDL2-2.0.3-2.fc20.src.rpm

Koji URL: http://koji.fedoraproject.org/koji/taskinfo?taskID=6846469

Comment 5 Erik van Pienbroek 2014-05-16 13:53:34 UTC
$ rpmlint mingw-SDL2.spec 
0 packages and 1 specfiles checked; 0 errors, 0 warnings.

$ rpmlint mingw-SDL2-2.0.3-2.fc21.src.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

$ rpmlint mingw32-SDL2-2.0.3-2.fc21.noarch.rpm mingw64-SDL2-2.0.3-2.fc21.noarch.rpm
mingw32-SDL2.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/mingw32-SDL2/COPYING.txt
mingw32-SDL2.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/mingw32-SDL2/README.txt
mingw64-SDL2.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/mingw64-SDL2/README.txt
mingw64-SDL2.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/mingw64-SDL2/COPYING.txt
2 packages and 0 specfiles checked; 0 errors, 4 warnings.


$ rpm --query --requires mingw32-SDL2
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
mingw32-crt
mingw32-filesystem >= 95
mingw32(gdi32.dll)
mingw32(iconv.dll)
mingw32(imm32.dll)
mingw32(kernel32.dll)
mingw32(msvcrt.dll)
mingw32(ole32.dll)
mingw32(oleaut32.dll)
mingw32-pkg-config
mingw32(shell32.dll)
mingw32(user32.dll)
mingw32(version.dll)
mingw32(winmm.dll)
rpmlib(PayloadIsXz) <= 5.2-1

$ rpm --query --requires mingw64-SDL2
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
mingw64-crt
mingw64-filesystem >= 95
mingw64(gdi32.dll)
mingw64(iconv.dll)
mingw64(imm32.dll)
mingw64(kernel32.dll)
mingw64(msvcrt.dll)
mingw64(ole32.dll)
mingw64(oleaut32.dll)
mingw64-pkg-config
mingw64(shell32.dll)
mingw64(user32.dll)
mingw64(version.dll)
mingw64(winmm.dll)
rpmlib(PayloadIsXz) <= 5.2-1


$ rpm --query --provides mingw32-SDL2
mingw32-SDL2 = 2.0.3-2.fc21
mingw32(sdl2.dll)

$ rpm --query --provides mingw64-SDL2
mingw64-SDL2 = 2.0.3-2.fc21
mingw64(sdl2.dll)


$ wget --quiet http://www.libsdl.org/release/SDL2-2.0.3.tar.gz -O - | md5sum
fe6c61d2e9df9ef570e7e80c6e822537  -
$ md5sum SDL2-2.0.3.tar.gz 
fe6c61d2e9df9ef570e7e80c6e822537  SDL2-2.0.3.tar.gz


+ OK
! Needs to be looked into
/ Not applicable

[!] Compliant with generic Fedora Packaging Guidelines
[+] Source package name is prefixed with 'mingw-'
[+] Spec file starts with %{?mingw_package_header}
[+] BuildRequires: mingw32-filesystem >= 95 is in the .spec file
[+] BuildRequires: mingw64-filesystem >= 95 is in the .spec file
[+] Spec file contains %package sections for both mingw32 and mingw64 packages
[+] Binary mingw32 and mingw64 packages are noarch
[+] Spec file contains %{?mingw_debug_package} after the %description section
[+] Uses one of the macros %mingw_configure, %mingw_cmake, or %mingw_cmake_kde4
    to configure the package
[+] Uses the macro %mingw_make to build the package
[+] Uses the macro %mingw_make to install the package
[/] If package contains translations, the %mingw_find_lang macro must be used
[+] No binary package named mingw-$pkgname is generated
[+] Libtool .la files are not bundled
[+] .def files are not bundled
[+] Man pages which duplicate native package are not bundled
[+] Info files which duplicate native package are not bundled
[+] Provides of the binary mingw32 and mingw64 packages are equal
[+] Requires of the binary mingw32 and mingw64 packages are equal


The rpmlint warnings still need to be resolved. This can be done
by adding a 'BuildRequires: dos2unix' and adding the command
'dos2unix COPYING.txt README.txt' after the %setup line

Please fix this before importing the package in Fedora

===================================================
 The package mingw-libSDL2 is APPROVED by epienbro
===================================================

Comment 6 Marcel Wysocki 2014-05-16 17:05:57 UTC
New Package SCM Request
=======================
Package Name: mingw-SDL2
Short Description: MinGW Windows port of SDL2 cross-platform multimedia library
Upstream URL: http://www.libsdl.org/
Owners: maci
Branches: f19 f20 epel7
InitialCC:

Comment 7 Gwyn Ciesla 2014-05-16 17:42:02 UTC
Git done (by process-git-requests).

Comment 8 Fedora Update System 2014-05-19 10:19:15 UTC
mingw-SDL2-2.0.3-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/mingw-SDL2-2.0.3-3.fc20

Comment 9 Fedora Update System 2014-05-19 10:19:24 UTC
mingw-SDL2-2.0.3-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mingw-SDL2-2.0.3-3.fc19

Comment 10 Fedora Update System 2014-05-21 02:29:16 UTC
Package mingw-SDL2-2.0.3-3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mingw-SDL2-2.0.3-3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6496/mingw-SDL2-2.0.3-3.fc20
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2014-05-29 23:27:25 UTC
mingw-SDL2-2.0.3-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2014-05-29 23:28:33 UTC
mingw-SDL2-2.0.3-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.