mirror of
https://abf.rosa.ru/djam/perl-Authen-Htpasswd.git
synced 2025-02-23 08:32:51 +00:00
rebuild using %perl_convert_version
SILENT: svn-revision: 406255
This commit is contained in:
parent
e456ff7952
commit
3547a3b12c
1 changed files with 15 additions and 20 deletions
|
@ -1,24 +1,22 @@
|
|||
%define module Authen-Htpasswd
|
||||
%define name perl-%{module}
|
||||
%define modprefix Authen
|
||||
%define version 0.16.1
|
||||
%define up_version 0.161
|
||||
%define release %mkrel 1
|
||||
%define upstream_name Authen-Htpasswd
|
||||
%define upstream_version 0.161
|
||||
|
||||
Name: perl-%{upstream_name}
|
||||
Version: %perl_convert_version %{upstream_version}
|
||||
Release: %mkrel 1
|
||||
|
||||
Summary: Interface to read and modify Apache .htpasswd files
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
License: Artistic/GPL
|
||||
Group: Development/Perl
|
||||
URL: http://search.cpan.org/dist/%{module}/
|
||||
Source: http://www.cpan.org/modules/by-module/Authen/%{module}-%{up_version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/%{upstream_name}/
|
||||
Source0: http://www.cpan.org/modules/by-module/Authen/%{upstream_name}-%{upstream_version}.tar.gz
|
||||
|
||||
BuildRequires: perl(Class::Accessor::Fast)
|
||||
BuildRequires: perl(Digest)
|
||||
BuildRequires: perl(IO::LockedFile)
|
||||
BuildRequires: perl(Crypt::PasswdMD5)
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
|
||||
|
||||
%description
|
||||
This module provides a convenient, object-oriented interface to Apache-style
|
||||
|
@ -27,7 +25,7 @@ well as plain (cleartext) passwords. It requires Crypt::PasswdMD5 for MD5 and
|
|||
Digest::SHA1 for SHA1.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{module}-%{up_version}
|
||||
%setup -q -n %{upstream_name}-%{upstream_version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
|
@ -40,14 +38,11 @@ make test
|
|||
rm -rf %{buildroot}
|
||||
%makeinstall_std
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
%{_mandir}/*/*
|
||||
%{perl_vendorlib}/%{modprefix}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
|
||||
%{perl_vendorlib}/Authen
|
||||
|
|
Loading…
Add table
Reference in a new issue