]>
Commit | Line | Data |
---|---|---|
12923585 | 1 | # |
2 | # Conditional build: | |
3 | %bcond_with tests # perform "make test" (requires X server) | |
4 | # | |
12923585 | 5 | %define pdir GStreamer |
6 | %define pnam Interfaces | |
7 | Summary: Perl gstreamer base plugins bindings | |
1b9632b6 | 8 | Summary(pl.UTF-8): Wiązania podstawowych wtyczek gstreamera dla Perla |
12923585 | 9 | Name: perl-GStreamer-Interfaces |
e6059b96 JB |
10 | Version: 0.07 |
11 | Release: 1 | |
e47fb19d | 12 | License: LGPL v2.1+ |
12923585 | 13 | Group: Development/Languages/Perl |
e6059b96 JB |
14 | Source0: https://downloads.sourceforge.net/gtk2-perl/%{pdir}-%{pnam}-%{version}.tar.gz |
15 | # Source0-md5: ccb354c9e6f05a25d825e439b3e04c01 | |
12923585 | 16 | URL: http://gtk2-perl.sourceforge.net/ |
9d03a5ad | 17 | BuildRequires: gstreamer0.10-plugins-base-devel >= 0.10.9 |
12923585 | 18 | BuildRequires: perl-ExtUtils-Depends >= 0.205 |
19 | BuildRequires: perl-ExtUtils-PkgConfig >= 1.07 | |
5141a54c | 20 | BuildRequires: perl-GStreamer-devel >= 0.09 |
e6059b96 | 21 | BuildRequires: perl-Glib-devel >= 1.180 |
12923585 | 22 | BuildRequires: perl-devel >= 1:5.8.0 |
23 | BuildRequires: rpm-perlprov >= 4.1-13 | |
508f7b79 | 24 | BuildRequires: rpmbuild(macros) >= 1.745 |
e47fb19d JB |
25 | Requires: perl-GStreamer >= 0.09 |
26 | Requires: perl-Glib >= 1.180 | |
12923585 | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
e6059b96 JB |
30 | This module provides Perl access to GStreamer base plugins library. |
31 | ||
32 | Note: this module is deprecated and no longer maintained. | |
12923585 | 33 | |
8e71c3ee JR |
34 | %description -l pl.UTF-8 |
35 | Ten moduł daje dostęp z poziomu Perla do podstawowych wtyczek | |
e6059b96 JB |
36 | GStreamera. |
37 | ||
38 | Uwaga: ten moduł jest przestarzały i nie jest już utrzymywany. | |
39 | ||
40 | %package devel | |
41 | Summary: Development files for Perl GStreamer-Interfaces bindings | |
42 | Summary(pl.UTF-8): Pliki programistyczne wiązań GStreamer-Interfaces dla Perla | |
43 | Group: Development/Languages/Perl | |
44 | Requires: %{name} = %{version}-%{release} | |
45 | Requires: gstreamer0.10-plugins-base-devel >= 0.10.9 | |
46 | BuildRequires: perl-GStreamer-devel >= 0.09 | |
47 | BuildRequires: perl-Glib-devel >= 1.180 | |
48 | ||
49 | %description devel | |
50 | Development files for Perl GStreamer-Interfaces bindings. | |
51 | ||
52 | %description devel -l pl.UTF-8 | |
53 | Pliki programistyczne wiązań GStreamer-Interfaces dla Perla. | |
12923585 | 54 | |
55 | %prep | |
56 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
57 | ||
58 | %build | |
59 | %{__perl} Makefile.PL \ | |
60 | INSTALLDIRS=vendor | |
61 | ||
62 | %{__make} \ | |
c94d1a39 | 63 | CC="%{__cc}" \ |
12923585 | 64 | OPTIMIZE="%{rpmcflags}" |
65 | ||
66 | %{?with_tests:%{__make} test} | |
67 | ||
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
e47fb19d | 71 | %{__make} pure_install \ |
12923585 | 72 | DESTDIR=$RPM_BUILD_ROOT |
73 | ||
12923585 | 74 | %clean |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
2c111b51 | 79 | %doc NEWS README |
3208c82e JB |
80 | %{perl_vendorarch}/GStreamer/Interfaces.pm |
81 | %dir %{perl_vendorarch}/GStreamer/Interfaces | |
d6b1a9e4 | 82 | %dir %{perl_vendorarch}/auto/GStreamer/Interfaces |
d6b1a9e4 | 83 | %attr(755,root,root) %{perl_vendorarch}/auto/GStreamer/Interfaces/Interfaces.so |
e47fb19d | 84 | %{_mandir}/man3/GStreamer::Interfaces*.3pm* |
e6059b96 JB |
85 | |
86 | %files devel | |
87 | %defattr(644,root,root,755) | |
88 | %{perl_vendorarch}/GStreamer/Interfaces/Install |