]> git.pld-linux.org Git - packages/perl-Shout.git/blame - perl-Shout.spec
rebuild with perl 5.32
[packages/perl-Shout.git] / perl-Shout.spec
CommitLineData
bdb2a94a
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
bdb2a94a 5Summary: Shout - Perl glue for libshout streaming source library
be5f902e 6Summary(pl.UTF-8): Shout - perlowy interfejs do biblioteki strumieni libshout
bdb2a94a
JB
7Name: perl-Shout
8Version: 2.1
8c398476 9Release: 16
bdb2a94a
JB
10License: unknown
11Group: Development/Languages/Perl
12Source0: http://downloads.xiph.org/releases/libshout/Shout-%{version}.tar.gz
13# Source0-md5: 7171eb8f9e60d6c5cc6c469ba0f32dc9
14URL: http://icecast.org/
15BuildRequires: libshout-devel >= 2.1
16BuildRequires: perl-devel >= 1:5.8.0
17BuildRequires: pkgconfig
18BuildRequires: rpm-perlprov >= 4.1-13
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22This module is an object-oriented interface to libshout, an Ogg Vorbis
23and MP3 streaming library that allows applications to easily
24communicate and broadcast to an Icecast streaming media server. It
25handles the socket connections, metadata communication, and data
26streaming for the calling application, and lets developers focus on
27feature sets instead of implementation details.
28
30acec80
JR
29%description -l pl.UTF-8
30Ten moduł jest zorientowanym obiektowo interfejsem do libshout -
31biblioteki strumieni Ogg Vorbis i MP3 umożliwiającej aplikacjom łatwe
32komunikowanie się i rozgłaszanie do serwera strumieni multimedialnych
33Icecast. Obsługuje połączenia przez gniazda, komunikację z metadanymi,
34strumienie danych dla aplikacji wywołującej oraz pozwala programistom
35skupić się na możliwościach zamiast szczegółach implementacji.
bdb2a94a
JB
36
37%prep
38%setup -q -n Shout-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43
44%{__make} \
fb621d69 45 CC="%{__cc}" \
f9a0cb40 46 OPTIMIZE="%{rpmcflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
bdb2a94a
JB
47
48%{?with_tests:%{__make} test}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
57install example*.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc Changes
65%{perl_vendorarch}/Shout.pm
66%dir %{perl_vendorarch}/auto/Shout
67%{perl_vendorarch}/auto/Shout/autosplit.ix
bdb2a94a
JB
68%attr(755,root,root) %{perl_vendorarch}/auto/Shout/Shout.so
69%{_examplesdir}/%{name}-%{version}
70%{_mandir}/man3/Shout.3*
This page took 0.120337 seconds and 4 git commands to generate.