commit c9a49ad4a05b43cccaa965011bea12b814a7d61f Author: Mario Blättermann <mario.blaettermann@xxxxxxxxx> Date: Wed Jul 18 21:51:19 2012 +0200 Initial commit .gitignore | 1 + perl-GStreamer-Interfaces.spec | 67 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..d725444 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/GStreamer-Interfaces-0.06.tar.gz diff --git a/perl-GStreamer-Interfaces.spec b/perl-GStreamer-Interfaces.spec new file mode 100644 index 0000000..129cf19 --- /dev/null +++ b/perl-GStreamer-Interfaces.spec @@ -0,0 +1,67 @@ +Name: perl-GStreamer-Interfaces +Version: 0.06 +Release: 2%{?dist} +Summary: Perl interface to the GStreamer Interfaces library +License: LGPLv2+ +Group: Development/Libraries +URL: http://search.cpan.org/dist/GStreamer-Interfaces/ +Source0: http://www.cpan.org/authors/id/T/TS/TSCH/GStreamer-Interfaces-%{version}.tar.gz +BuildRequires: perl(ExtUtils::Depends) >= 0.205 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::PkgConfig) >= 1.07 +BuildRequires: perl(Glib) >= 1.180 +BuildRequires: perl(GStreamer) >= 0.06 +BuildRequires: gstreamer-plugins-base-devel +BuildRequires: perl-Glib-devel +BuildRequires: perl(Test::More) +Requires: perl(ExtUtils::Depends) >= 0.205 +Requires: perl(ExtUtils::PkgConfig) >= 1.07 +Requires: perl(Glib) >= 1.180 +Requires: perl(GStreamer) >= 0.06 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +GStreamer::Interfaces provides access to some of the interfaces in the +GStreamer Interfaces library. Currently, that's GStreamer::PropertyProbe +and GStreamer::XOverlay. + +%prep +%setup -q -n GStreamer-Interfaces-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc ChangeLog.pre-git LICENSE NEWS README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/GStreamer* +%{_mandir}/man3/* + +%changelog + +* Fri Jul 13 2012 Mario Blättermann <mariobl@xxxxxxxxxxxxxxxxx> 0.06-2 +- Removed BuildRoot line +- Changed license to LGPLv2+ +- Enabled checks by adding Test::More to BR +- Changed summary +- Removed defattr line from files + +* Fri Jun 15 2012 Mario Blättermann <mariobl@xxxxxxxxxxxxxxxxx> 0.06-1 +- Specfile autogenerated by cpanspec 1.78. +- Added extra BuildRequires diff --git a/sources b/sources index e69de29..b627717 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +aa9583a484fa6829935b360887ecda45 GStreamer-Interfaces-0.06.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel