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