From 092debc2c0ee04959a9995c15bb4a8c18932059f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 19 Mar 2015 10:12:26 +0100 Subject: perl-GStreamer1: new package --- Makefile | 4 +++ perl-GStreamer1.spec | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 Makefile create mode 100644 perl-GStreamer1.spec diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1e65467 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../common/Makefile + diff --git a/perl-GStreamer1.spec b/perl-GStreamer1.spec new file mode 100644 index 0000000..5745473 --- /dev/null +++ b/perl-GStreamer1.spec @@ -0,0 +1,70 @@ +# 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: 1%{?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://www.cpan.org/modules/by-module/GStreamer1/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 - 0.003-1 +- Specfile autogenerated by cpanspec 1.78. +- cleanup (thanks eseyman) \ No newline at end of file -- cgit