]> git.pld-linux.org Git - packages/perl-Net-SOCKS.git/blame - perl-Net-SOCKS.spec
use generic url
[packages/perl-Net-SOCKS.git] / perl-Net-SOCKS.spec
CommitLineData
a84186b1 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
20f191fa
ER
4
5%define pdir Net
6%define pnam SOCKS
e6bec9f0 7%include /usr/lib/rpm/macros.perl
02fd6bbb 8Summary: Net::SOCKS perl module
816f1f83 9Summary(pl.UTF-8): Moduł perla Net::SOCKS
dc1a6bdf 10Name: perl-Net-SOCKS
11Version: 0.03
e976ad49 12Release: 10
a84186b1 13# same as perl
14License: GPL v1+ or Artistic
dc1a6bdf 15Group: Development/Languages/Perl
e9074151 16Source0: http://www.cpan.org/modules/by-module/Net/SOCKS-%{version}.tar.gz
524e9131 17# Source0-md5: 81f63a1fb252d211a083909fbdc1611b
3ac59288 18Patch0: %{name}-paths.patch
20f191fa 19URL: http://search.cpan.org/dist/Net-SOCKS/
0c2ff6ec 20BuildRequires: perl-devel >= 1:5.8.0
20f191fa 21BuildRequires: rpm-perlprov >= 4.1-13
366ce867 22BuildArch: noarch
535c6525 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
dc1a6bdf 24
25%description
02fd6bbb 26Net::SOCKS - a SOCKS client.
dc1a6bdf 27
908cc2c5 28%description -l pl.UTF-8
02fd6bbb 29Net::SOCKS - klient SOCKS.
dc1a6bdf 30
31%prep
32%setup -q -n SOCKS-%{version}
b376984b 33%patch0 -p1
dc1a6bdf 34
35%build
d096e946 36%{__perl} Makefile.PL \
7039000f 37 INSTALLDIRS=vendor
af04d276 38%{__make}
dc1a6bdf 39
a84186b1 40%{?with_tests:%{__make} test}
41
dc1a6bdf 42%install
43rm -rf $RPM_BUILD_ROOT
562c1cc2 44install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
dc1a6bdf 45
a84186b1 46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
20f191fa 48cp -p example $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
dc1a6bdf 49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
562c1cc2 55%doc Changes README TODO example
d096e946 56%{perl_vendorlib}/Net/SOCKS.pm
57%{perl_vendorlib}/auto/Net/SOCKS
dc1a6bdf 58%{_mandir}/man3/*
562c1cc2 59%dir %{_examplesdir}/%{name}-%{version}
60%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*
This page took 0.065942 seconds and 4 git commands to generate.