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