]> git.pld-linux.org Git - packages/perl-RADIUS-UserFile.git/blame - perl-RADIUS-UserFile.spec
use generic url
[packages/perl-RADIUS-UserFile.git] / perl-RADIUS-UserFile.spec
CommitLineData
1e1fea8b 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
c36ea284 4
8808cfe9 5%define pdir RADIUS
6%define pnam UserFile
c36ea284 7%include /usr/lib/rpm/macros.perl
7b1c73bd 8Summary: RADIUS::UserFile perl module
641fccf4 9Summary(pl.UTF-8): Moduł perla RADIUS::UserFile
a3c22a36 10Name: perl-RADIUS-UserFile
70b9d238 11Version: 1.01
7ee21a32 12Release: 4
1e1fea8b 13# same as perl
14License: GPL v1+ or Artistic
a3c22a36 15Group: Development/Languages/Perl
87daeb5e 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
4d18f664 17# Source0-md5: e3fd8852d4440aa950098a28f6b788fc
29def9e9 18Patch0: %{name}-paths.patch
c36ea284 19URL: http://search.cpan.org/dist/RADIUS-UserFile/
ddfa3701 20BuildRequires: perl-Tie-IxHash
c36ea284 21BuildRequires: perl-devel >= 1:5.8.0
c6d3cd8d 22BuildRequires: rpm-perlprov >= 4.1-13
bbd45ce0 23BuildArch: noarch
6762ad02 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
a3c22a36 25
26%description
7b1c73bd 27RADIUS::UserFile - module for manipulating a RADIUS users file.
a3c22a36 28
0a4b4561
JR
29%description -l pl.UTF-8
30RADIUS::UserFile - moduł do operowania na bazie danych użytkowników
ddfa3701 31RADIUS-a.
a3c22a36 32
33%prep
043e4958 34%setup -q -n %{pdir}-%{pnam}-%{version}
cf212e77 35%patch0 -p0
a3c22a36 36
37%build
c6d3cd8d 38%{__perl} Makefile.PL \
39efa0cd 39 INSTALLDIRS=vendor
d3b8f754 40%{__make}
a3c22a36 41
1e1fea8b 42%{?with_tests:%{__make} test}
43
a3c22a36 44%install
45rm -rf $RPM_BUILD_ROOT
29def9e9 46install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
a3c22a36 47
1e1fea8b 48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
c36ea284 50cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
a3c22a36 51
a3c22a36 52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
ddfa3701 57%doc Changes README BUGS
c6d3cd8d 58%{perl_vendorlib}/RADIUS/UserFile.pm
a3c22a36 59%{_mandir}/man3/*
29def9e9 60%{_examplesdir}/%{name}-%{version}
This page took 0.466531 seconds and 4 git commands to generate.