3 %bcond_without tests # do not perform "make test"
6 Summary: User - API for locating user information regardless of OS
7 Summary(pl.UTF-8): User - API do znajdowania informacji o użytkowniku niezależnie od systemu operacyjnego
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/User/%{pdir}-%{version}.tar.gz
15 # Source0-md5: 53193e6c37b6d9efb726caf59a8aead7
16 URL: http://search.cpan.org/dist/User/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This module is allows applications to retrieve per-user
26 %description -l pl.UTF-8
27 Ten moduł pozwala aplikacjom na pozyskanie informacji o użytkowniku.
30 %setup -q -n %{pdir}-%{version}
33 %{__perl} Makefile.PL \
37 %{?with_tests:%{__make} test}
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{perl_vendorlib}/User.pm