]>
Commit | Line | Data |
---|---|---|
f237efb0 | 1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
bc4c0a0f | 4 | |
5db4a954 | 5 | %define pdir Net |
6 | %define pnam ICQ | |
bc4c0a0f | 7 | %include /usr/lib/rpm/macros.perl |
c055f8b1 | 8 | Summary: Net::ICQ perl module |
faedb605 | 9 | Summary(pl.UTF-8): Moduł perla Net::ICQ |
040ac5c8 | 10 | Name: perl-Net-ICQ |
3b07a9f1 | 11 | Version: 0.16 |
180adce6 | 12 | Release: 8 |
f237efb0 | 13 | # same as perl |
14 | License: GPL v1+ or Artistic | |
040ac5c8 | 15 | Group: Development/Languages/Perl |
eed46fb9 | 16 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
5f0f25da | 17 | # Source0-md5: 0fd10c3daa3aa6e406f0bee4ba22a994 |
bc4c0a0f | 18 | URL: http://search.cpan.org/dist/Net-ICQ/ |
e56f9cff | 19 | BuildRequires: perl-Text-LineEditor |
bc4c0a0f ER |
20 | BuildRequires: perl-devel >= 1:5.8.0 |
21 | BuildRequires: rpm-perlprov >= 4.1-13 | |
e56f9cff | 22 | Requires: perl-Text-LineEditor |
da3d3185 | 23 | BuildArch: noarch |
ac6ff78a | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
040ac5c8 | 25 | |
26 | %description | |
c055f8b1 | 27 | Net::ICQ - simple ICQ client in Perl. |
040ac5c8 | 28 | |
844d4736 | 29 | %description -l pl.UTF-8 |
c055f8b1 | 30 | Net::ICQ - prosty klient ICQ. |
040ac5c8 | 31 | |
32 | %prep | |
688a415d | 33 | %setup -q -n %{pdir}-%{pnam}-%{version} |
040ac5c8 | 34 | |
35 | %build | |
2004d34b | 36 | %{__perl} Makefile.PL \ |
b13761b7 | 37 | INSTALLDIRS=vendor |
de231b3a | 38 | %{__make} |
040ac5c8 | 39 | |
f237efb0 | 40 | %{?with_tests:%{__make} test} |
41 | ||
040ac5c8 | 42 | %install |
43 | rm -rf $RPM_BUILD_ROOT | |
040ac5c8 | 44 | |
f237efb0 | 45 | %{__make} install \ |
46 | DESTDIR=$RPM_BUILD_ROOT | |
040ac5c8 | 47 | |
040ac5c8 | 48 | %clean |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
1aace74d | 53 | %doc Changes README* test*.pl |
2004d34b | 54 | %{perl_vendorlib}/Net/ICQ.pm |
040ac5c8 | 55 | %{_mandir}/man3/* |