mirror of
https://abf.rosa.ru/djam/perl-Asterisk-LDAP.git
synced 2025-02-23 18:33:00 +00:00
LOG Add perl-devel to BuildRequires, spec cleanup
This commit is contained in:
parent
163624f5cd
commit
b09e708ded
1 changed files with 6 additions and 12 deletions
|
@ -1,9 +1,9 @@
|
|||
%define upstream_name Asterisk-LDAP
|
||||
%define upstream_version 0.6.0
|
||||
|
||||
Name: perl-%{upstream_name}
|
||||
Version: %perl_convert_version %{upstream_version}
|
||||
Release: %mkrel 8
|
||||
Name: perl-%{upstream_name}
|
||||
Version: %perl_convert_version %{upstream_version}
|
||||
Release: 9
|
||||
|
||||
Summary: Methods for generating Asterisk configuration from LDAP
|
||||
License: GPL+ or Artistic
|
||||
|
@ -11,8 +11,8 @@ Group: Development/Perl
|
|||
Url: http://projects.alkaloid.net/e107_plugins/content/content.php?content.6
|
||||
Source0: http://projects.alkaloid.net/dist/asterisk-ldap-%{upstream_version}.tar.bz2
|
||||
|
||||
Buildarch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
|
||||
BuildRequires: perl-devel
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This module should make it simple to write scripts that customize Asterisk's
|
||||
|
@ -28,23 +28,17 @@ chmod -R 755 examples
|
|||
chmod 644 COPYING ChangeLog INSTALL LICENSE README* TODO asterisk.schema
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
%makeinstall_std
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc examples COPYING ChangeLog INSTALL LICENSE README* TODO asterisk.schema
|
||||
%{perl_vendorlib}/Asterisk
|
||||
%{_mandir}/*/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat May 28 2011 Funda Wang <fwang@mandriva.org> 0.6.0-8mdv2011.0
|
||||
+ Revision: 680479
|
||||
|
|
Loading…
Add table
Reference in a new issue