Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
asterisk-perl
> asterisk-perl.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File asterisk-perl.spec of Package asterisk-perl
Summary: C implementation of the Primary Rate ISDN specification Name: asterisk-perl Version: 0.10 Release: 10 License: GPL Group: System Environment/Libraries URL: http://asterisk.gnuinter.net/ Source0: http://asterisk.gnuinter.net/files/%{name}-%{version}.tar.gz Buildroot: %{_tmppath}/%{name}-%{version} Requires: asterisk perl %description asterisk-perl is a collection of perl modules to be used with the Asterisk PBX. %prep %setup -q -n %{name}-%{version} %build CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{_prefix}" %{__make} %{?_smp_mflags} %install %__make DESTDIR=%{buildroot} install ### Clean up buildroot %{__rm} -rf %{buildroot}%{perl_archlib} \ %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist %clean [ "%{buildroot}" != '/' ] && rm -rf %{buildroot} %post %postun %files %defattr(-,root,root) %dir %{perl_vendorlib}/Asterisk %{perl_vendorlib}/Asterisk.pm %{perl_vendorlib}/Asterisk/AGI.pm %{perl_vendorlib}/Asterisk/Manager.pm %{perl_vendorlib}/Asterisk/Outgoing.pm %{perl_vendorlib}/Asterisk/QCall.pm %{perl_vendorlib}/Asterisk/Voicemail.pm %{_mandir}/man3/Asterisk::AGI.3pm* %{_mandir}/man3/Asterisk::Manager.3pm* %{_mandir}/man3/Asterisk::Outgoing.3pm* %{_mandir}/man3/Asterisk::Voicemail.3pm* %changelog * Thu Apr 30 2009 Carsten Schoene <cs@linux-administrator.com> - 0.10-10 - change from perl_sitelib to perl_vendorlib * Wed Oct 29 2008 Carsten Schoene <cs@linux-administrator.com> - 0.10-1 - update to 0.10 * Thu Jun 7 2007 Doug Pedley <admin@trixbox.org> - 0.09-1 - Initial RPM