LOG Add perl-devel to BuildRequires, spec cleanup

This commit is contained in:
Andrey Bondrov 2012-09-25 09:27:56 +00:00
parent 163624f5cd
commit b09e708ded

View file

@ -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