commit 21314301c353dcb9487bef14aab6e23df78e84ba Author: Remi Collet <remi@xxxxxxxxxxxxxxxxx> Date: Thu Mar 19 23:29:26 2015 +0100 import from review #1203610 .gitignore | 1 + perl-GStreamer1.spec | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 75 insertions(+) --- diff --git a/.gitignore b/.gitignore index e69de29..0e35967 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/GStreamer1-0.003.tar.gz diff --git a/perl-GStreamer1.spec b/perl-GStreamer1.spec new file mode 100644 index 0000000..4077b82 --- /dev/null +++ b/perl-GStreamer1.spec @@ -0,0 +1,73 @@ +# spec file for perl-GStreamer1 +# +# Copyright (c) 2015 Remi Collet +# License: CC-BY-SA +# http://creativecommons.org/licenses/by-sa/4.0/ +# +# Please, preserve the changelog entries +# + +Name: perl-GStreamer1 +Version: 0.003 +Release: 2%{?dist} +Summary: Bindings for GStreamer 1.0, the open source multimedia framework +# Full text of the License in the headers is enough, +# But https://rt.cpan.org/Ticket/Display.html?id=102878 +License: BSD +URL: http://search.cpan.org/dist/GStreamer1/ +Source0: http://search.cpan.org/CPAN/authors/id/T/TM/TMURRAY/GStreamer1-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(Devel::CheckLib) +BuildRequires: perl(Glib::Object::Introspection) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::More) +BuildRequires: gstreamer1-devel +BuildRequires: gstreamer1-plugins-base + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# For Gst-1.0.typelib and GstApp-1.0.typelib +Requires: gstreamer1 +Requires: gstreamer1-plugins-base + +%{?perl_default_filter} + + +%description +GStreamer1 implements a framework that allows for processing and encoding +of multimedia sources in a manner similar to a shell pipeline. + + +%prep +%setup -q -n GStreamer1-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + + +%install +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +%{_fixperms} %{buildroot}/* + + +%check +make test + + +%files +%doc CHANGELOG dist.ini +%{perl_vendorlib}/GStreamer1* +%{_mandir}/man3/GStreamer1* + + +%changelog +* Thu Mar 19 2015 Remi Collet <remi@xxxxxxxxxxxxxxxxx> - 0.003-2 +- fix Source0, comment on review #1203610 + +* Thu Mar 19 2015 Remi Collet <remi@xxxxxxxxxxxxxxxxx> - 0.003-1 +- Specfile autogenerated by cpanspec 1.78. +- cleanup (thanks eseyman) \ No newline at end of file diff --git a/sources b/sources index e69de29..a543930 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f23024341f2279bbfc7d2d3c027533ed GStreamer1-0.003.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