mirror of
https://abf.rosa.ru/djam/perl-Authen-Htpasswd.git
synced 2025-02-23 16:42:52 +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 upstream_name Authen-Htpasswd
|
||||||
%define name perl-%{module}
|
%define upstream_version 0.161
|
||||||
%define modprefix Authen
|
|
||||||
%define version 0.16.1
|
Name: perl-%{upstream_name}
|
||||||
%define up_version 0.161
|
Version: %perl_convert_version %{upstream_version}
|
||||||
%define release %mkrel 1
|
Release: %mkrel 1
|
||||||
|
|
||||||
Summary: Interface to read and modify Apache .htpasswd files
|
Summary: Interface to read and modify Apache .htpasswd files
|
||||||
Name: %{name}
|
|
||||||
Version: %{version}
|
|
||||||
Release: %{release}
|
|
||||||
License: Artistic/GPL
|
License: Artistic/GPL
|
||||||
Group: Development/Perl
|
Group: Development/Perl
|
||||||
URL: http://search.cpan.org/dist/%{module}/
|
URL: http://search.cpan.org/dist/%{upstream_name}/
|
||||||
Source: http://www.cpan.org/modules/by-module/Authen/%{module}-%{up_version}.tar.gz
|
Source0: http://www.cpan.org/modules/by-module/Authen/%{upstream_name}-%{upstream_version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: perl(Class::Accessor::Fast)
|
BuildRequires: perl(Class::Accessor::Fast)
|
||||||
BuildRequires: perl(Digest)
|
BuildRequires: perl(Digest)
|
||||||
BuildRequires: perl(IO::LockedFile)
|
BuildRequires: perl(IO::LockedFile)
|
||||||
BuildRequires: perl(Crypt::PasswdMD5)
|
BuildRequires: perl(Crypt::PasswdMD5)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module provides a convenient, object-oriented interface to Apache-style
|
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.
|
Digest::SHA1 for SHA1.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{module}-%{up_version}
|
%setup -q -n %{upstream_name}-%{upstream_version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
@ -40,14 +38,11 @@ make test
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
%makeinstall_std
|
%makeinstall_std
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README
|
%doc README
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%{perl_vendorlib}/%{modprefix}
|
%{perl_vendorlib}/Authen
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue