]> git.pld-linux.org Git - packages/perl-Net-Gadu.git/blame - perl-Net-Gadu.spec
- release 7 (by relup.sh)
[packages/perl-Net-Gadu.git] / perl-Net-Gadu.spec
CommitLineData
f9bb2552 1#
2# Conditional build:
3%bcond_with tests # perform "make test" (uses network!)
4#
e8c18537 5%include /usr/lib/rpm/macros.perl
37ca2a94 6Summary: Net::Gadu Perl module - interface for libgadu.so library
bd22146d 7Summary(pl.UTF-8): Moduł Perla Net::Gadu - interfejs do biblioteki libgadu.so
e8c18537 8Name: perl-Net-Gadu
9546e9fb 9Version: 1.9
0b9c50d5 10Release: 7
bc3c33b7 11License: LGPL
e8c18537 12Group: Development/Languages/Perl
095b997e 13Source0: http://www.hakore.com/perl/Net-Gadu-%{version}.tar.gz
9546e9fb 14# Source0-md5: 22e934da730031dac40fc57b0195319c
095b997e 15URL: http://www.hakore.com/perl/perlgadu.html
3afd3ca7 16BuildRequires: libgadu-devel >= 1:20020807
2631a408 17BuildRequires: perl-devel >= 1:5.8.0
18BuildRequires: rpm-perlprov
e8c18537
ŁJM
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Net::Gadu module is intended to make it easy to add Gadu-Gadu
23communication support to your scripts. It uses libgadu library (a part
24of Ekg project - http://dev.null.pl/ekg/).
25
6a992097
JR
26%description -l pl.UTF-8
27Moduł Net::Gadu pozwala na zastosowanie w swoich skryptach komunikacji
28bazującej na protokole Gadu-Gadu. Wykorzystuje bibliotekę libgadu.so,
29ktora jest częścią projektu Ekg (http://dev.null.pl/ekg/).
e8c18537
ŁJM
30
31%prep
c9bbe5c5 32%setup -q -n Net-Gadu-%{version}
e8c18537
ŁJM
33
34%build
c7cbe536 35%{__perl} Makefile.PL \
03f95ad1 36 INSTALLDIRS=vendor
f9bb2552 37%{__make} \
498acc5a 38 CC="%{__cc}" \
f9bb2552 39 OPTIMIZE="%{rpmcflags}"
40
41%{?with_tests:%{__make} test}
e8c18537
ŁJM
42
43%install
44rm -rf $RPM_BUILD_ROOT
45
f9bb2552 46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
20f7624e 48
e8c18537
ŁJM
49install ex/ex1 example.pl
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
20f7624e 56%doc Changes README example.pl contrib
c7cbe536 57%dir %{perl_vendorarch}/auto/Net/Gadu
58%{perl_vendorarch}/auto/Net/Gadu/autosplit.ix
c7cbe536 59%attr(755,root,root) %{perl_vendorarch}/auto/Net/Gadu/Gadu.so
60%{perl_vendorarch}/Net/Gadu.pm
20f7624e 61%{_mandir}/man3/Net::Gadu.3pm*
This page took 0.117907 seconds and 4 git commands to generate.