Bug 704635 - Review Request: mingw-gstreamer - MinGW Windows gstreamer library
Summary: Review Request: mingw-gstreamer - MinGW Windows gstreamer library
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: mingw32-gstreamer (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-13 19:44 UTC by Paweł Forysiuk
Modified: 2011-08-02 01:55 UTC (History)
5 users (show)

Fixed In Version: mingw-gstreamer-0.10.35-2.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-02 01:55:57 UTC
Type: ---
Embargoed:
kalevlember: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Paweł Forysiuk 2011-05-13 19:44:47 UTC
Spec URL: http://dl.dropbox.com/u/2448780/mingw-gstreamer.spec
SRPM URL: http://dl.dropbox.com/u/2448780/mingw-gstreamer-0.10.32-1.fc15.src.rpm
Description: MinGW Windows gstreamer library

This is my first package.

Comment 1 Kalev Lember 2011-05-16 17:42:41 UTC
*** Bug 491317 has been marked as a duplicate of this bug. ***

Comment 2 Kalev Lember 2011-07-10 15:37:37 UTC
Taking for review.

Note that you'll still need to find a sponsor. In order to convince a potential sponsor that you understand Fedora packaging guidelines, it would be a good idea to unofficially review at least one other package.

Comment 3 Kalev Lember 2011-07-10 15:47:16 UTC
Koji rawhide scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=3189548

The build failed with:
gstelementfactory.c: In function 'gst_element_factory_create':
gstelementfactory.c:393:8: error: size of array 'Compile_Time_Assertion' is negative
gstelementfactory.c:393:8: error: invalid use of void expression
gstelementfactory.c:393:8: error: incompatible type for argument 1 of '__sync_bool_compare_and_swap'
make[4]: *** [libgstreamer_0.10_la-gstelementfactory.lo] Error 1

This is probably related to mingw32-gcc 4.6 update in rawhide and I'd expect it to be fixed in newer gstreamer releases. Can you update to 0.10.35?

Comment 5 Kalev Lember 2011-07-16 18:23:09 UTC
Fedora review mingw-gstreamer-0.10.35-1.fc15.src.rpm  2011-07-16

+ OK
! needs attention

rpmlint output:
$ rpmlint mingw32-gstreamer \
          mingw32-gstreamer-debuginfo-0.10.35-1.fc15.noarch.rpm \
          mingw-gstreamer-0.10.35-1.fc15.src.rpm
mingw32-gstreamer.noarch: E: incorrect-fsf-address /usr/share/doc/mingw32-gstreamer-0.10.35/COPYING
mingw32-gstreamer-debuginfo.noarch: E: debuginfo-without-sources
mingw-gstreamer.src:59: W: mixed-use-of-spaces-and-tabs (spaces: line 8, tab: line 59)
3 packages and 0 specfiles checked; 2 errors, 1 warnings.

! Please fix the mixed-use-of-spaces-and-tabs warning to make rpmlint happier.
  Other errors and warnings are harmless.
+ The package is named according to Fedora MinGW packaging guidelines
! The spec file name MUST match the base package name.
  The spec file name in the SRPM matches the package base name, but the one
  in dropbox is named 'mingw-gstreamer-0.10.35.spec'. Make sure that the
  spec file is named 'mingw-gstreamer.spec' when you import the package.
+ The package meets the Packaging Guidelines
+ The package is licensed with a Fedora approved license and meets the
  Licensing Guidelines.
+ The license field in the spec file matches the actual license
+ The stated license is the same as the one for the corresponding
  native Fedora package
+ The package contains the license file (COPYING)
+ Spec file is written in American English
+ Spec file is legible
+ Upstream sources match sources in the srpm. md5sum:
  4a0a00edad7a2c83de5211ca679dfaf9  gstreamer-0.10.35.tar.bz2
  4a0a00edad7a2c83de5211ca679dfaf9  Download/gstreamer-0.10.35.tar.bz2
+ The package builds in koji
n/a ExcludeArch bugs filed
+ BuildRequires look sane
+ The spec file MUST handle locales properly
n/a ldconfig in %post and %postun
+ Package does not bundle copies of system libraries
n/a Package isn't relocatable
+ Package owns all directories it creates
+ No duplicate files in %files
+ Permissions are properly set
+ Consistent use of macros
+ The package must contain code or permissible content
n/a Large documentation files should go in -doc subpackage
+ Files marked %doc should not affect package
n/a Header files should be in -devel
    Fedora MinGW guidelines allow headers in main package
n/a Static libraries should be in -static
n/a Library files that end in .so must go in a -devel package
n/a -devel must require the fully versioned base
n/a Packages should not contain libtool .la files
    Fedora MinGW guidelines allow .la files
n/a Packages containing GUI apps must include %{name}.desktop file
+ Directory ownership sane
+ Filenames are valid UTF-8

Issues:
! Would be nice to clean up the rpmlint warning about
  mixed-use-of-spaces-and-tabs
! Make sure you use the name the spec file 'mingw-gstreamer.spec' when
  importing the package.
! The following 3 lines are not needed on F15 and above and can be
  removed, unless you plan to build the package also for F14:
%global _use_internal_dependency_generator 0
%global __find_requires %{_mingw32_findrequires}
%global __find_provides %{_mingw32_findprovides}


Very nice work for first package, keep up the good work!

Comment 6 Paweł Forysiuk 2011-07-16 20:20:15 UTC
Removed unneded macros and fixed use of tabs
Spec URL: 
http://dl.dropbox.com/u/2448780/mingw-gstreamer.spec
SRPM URL:
http://dl.dropbox.com/u/2448780/mingw-gstreamer-0.10.35-2.fc15.src.rpm

Comment 7 Kalev Lember 2011-07-16 20:35:39 UTC
Looks good.

I'll mark the review as APPROVED (fedora-review+ flag), but you'll need a sponsor before you can import the package. I would suggest to do a review of some other package to show sponsors that you understand packaging guidelines and know how to review other packages.

http://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group#Reviewing_packages
http://fedoraproject.org/wiki/Packaging/ReviewGuidelines

Comment 8 Paweł Forysiuk 2011-07-19 14:03:51 UTC
New Package SCM Request
=======================
Package Name: mingw-gstreamer
Short Description: MinGW Windows gstreamer library
Owners: pfor epienbro
Branches: f15
InitialCC:

Comment 9 Gwyn Ciesla 2011-07-19 14:30:07 UTC
Git done (by process-git-requests).

Comment 10 Fedora Update System 2011-07-19 17:09:04 UTC
mingw-gstreamer-0.10.35-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/mingw-gstreamer-0.10.35-2.fc15

Comment 11 Fedora Update System 2011-07-22 19:36:22 UTC
mingw-gstreamer-0.10.35-2.fc15 has been pushed to the Fedora 15 testing repository.

Comment 12 Fedora Update System 2011-08-02 01:55:51 UTC
mingw-gstreamer-0.10.35-2.fc15 has been pushed to the Fedora 15 stable repository.


Note You need to log in before you can comment on or make changes to this bug.