summaryrefslogtreecommitdiffstats
path: root/perl-GStreamer1.spec
blob: 4077b824b01e2b7c42fa18492847d81b47cd2a76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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@fedoraproject.org> - 0.003-2
- fix Source0, comment on review #1203610

* Thu Mar 19 2015 Remi Collet <remi@fedoraproject.org> - 0.003-1
- Specfile autogenerated by cpanspec 1.78.
- cleanup (thanks eseyman)