1 |
# $Id: Net-OpenVPN-Manage.spec,v 1.1 2013/05/07 02:46:35 unnilennium Exp $ |
# $Id: Net-OpenVPN-Manage.spec,v 1.2 2013/11/11 17:50:15 vip-ire Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
10 |
name: perl-Net-OpenVPN-Manage |
name: perl-Net-OpenVPN-Manage |
11 |
summary: Net-OpenVPN-Manage - Manage an OpenVPN process via it's management port |
summary: Net-OpenVPN-Manage - Manage an OpenVPN process via it's management port |
12 |
version: 0.02 |
version: 0.02 |
13 |
release: 1%{?dist} |
release: 2%{?dist} |
14 |
license: Artistic |
license: Artistic |
15 |
group: Applications/CPAN |
group: Applications/CPAN |
16 |
url: http://www.cpan.org |
url: http://www.cpan.org |
19 |
prefix: %(echo %{_prefix}) |
prefix: %(echo %{_prefix}) |
20 |
source: http://search.cpan.org/dist/M/ME/MEYEAARD/Net-OpenVPN-Manage-0.02.tar.gz |
source: http://search.cpan.org/dist/M/ME/MEYEAARD/Net-OpenVPN-Manage-0.02.tar.gz |
21 |
|
|
22 |
|
BuildRequires: perl(ExtUtils::MakeMaker) |
23 |
|
|
24 |
%description |
%description |
25 |
This module connects to the OpenVPN management interface, executes |
This module connects to the OpenVPN management interface, executes |
26 |
commands on the interface and returns the results or errors that result. |
commands on the interface and returns the results or errors that result. |
49 |
%install |
%install |
50 |
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
51 |
|
|
52 |
%{makeinstall} `%{__perl} -MExtUtils::MakeMaker -e ' print \$ExtUtils::MakeMaker::VERSION <= 6.05 ? qq|PREFIX=%{buildroot}%{_prefix}| : qq|DESTDIR=%{buildroot}| '` |
%{makeinstall} INSTALLDIRS=vendor `%{__perl} -MExtUtils::MakeMaker -e ' print \$ExtUtils::MakeMaker::VERSION <= 6.05 ? qq|PREFIX=%{buildroot}%{_prefix}| : qq|DESTDIR=%{buildroot}| '` |
53 |
|
|
54 |
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress |
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress |
55 |
|
|
115 |
%defattr(-,root,root) |
%defattr(-,root,root) |
116 |
|
|
117 |
%changelog |
%changelog |
118 |
|
* Tue Nov 12 2013 Daniel Berteaud <daniel@firewall-services.com> 0.02-2 |
119 |
|
- Fix INSTALLDIRS so libs are found in @INC |
120 |
|
|
121 |
* Fri Mar 6 2009 root@smedev |
* Fri Mar 6 2009 root@smedev |
122 |
- Initial build. |
- Initial build. |