# Conditional build:
%bcond_without tests # do not perform "make test"
#
-%include /usr/lib/rpm/macros.perl
Summary: Shout - Perl glue for libshout streaming source library
Summary(pl.UTF-8): Shout - perlowy interfejs do biblioteki strumieni libshout
Name: perl-Shout
Version: 2.1
-Release: 2
+Release: 18
License: unknown
Group: Development/Languages/Perl
Source0: http://downloads.xiph.org/releases/libshout/Shout-%{version}.tar.gz
%{__make} \
CC="%{__cc}" \
- OPTIMIZE="%{rpmcflags}"
+ OPTIMIZE="%{rpmcflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
%{?with_tests:%{__make} test}
%{perl_vendorarch}/Shout.pm
%dir %{perl_vendorarch}/auto/Shout
%{perl_vendorarch}/auto/Shout/autosplit.ix
-%{perl_vendorarch}/auto/Shout/Shout.bs
%attr(755,root,root) %{perl_vendorarch}/auto/Shout/Shout.so
%{_examplesdir}/%{name}-%{version}
%{_mandir}/man3/Shout.3*