From f6aed3aee0c89d07bf7ad81d3c4599eb03c9b2f1 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Wed, 18 Nov 2009 14:10:40 +0100 Subject: Updated eurephia.spec to work with 0.9.6_beta and openvpn-2.1_rc21 OpenVPN version is now set through a macro. And did also a cosmetic change as well. --- eurephia.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/eurephia.spec b/eurephia.spec index 5df49cf..51b64a6 100644 --- a/eurephia.spec +++ b/eurephia.spec @@ -1,7 +1,8 @@ %define betatag beta +%define ovpnver 2.1_rc21 Name: eurephia -Version: 0.9.5 +Version: 0.9.6 Release: 1%{?betatag:.%{betatag}}%{?dist} Summary: An advanced and flexible OpenVPN user authentication plug-in @@ -9,7 +10,7 @@ Group: Applications/Internet License: GPLv2 URL: http://www.eurephia.net/ Source0: http://downloads.sourceforge.net/project/eurephia/eurephia/Beta%20releases/%{name}-%{version}%{?betatag:_%{betatag}}.tar.bz2 -Source1: http://openvpn.net/release/openvpn-2.1_rc20.tar.gz +Source1: http://openvpn.net/release/openvpn-%{ovpnver}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}{?betatag:_%{betatag}}-root-%(%{__id_u} -n) BuildRequires: cmake libxml2-devel libxslt-devel sqlite-devel >= 3.0.0 @@ -70,11 +71,11 @@ will provide some information about the password hash salt. %prep -%setup -q -b1 -n openvpn-2.1_rc20 +%setup -q -b1 -n openvpn-%{ovpnver} %setup -q -b0 -n %{name}-%{version}%{?betatag:_%{betatag}} %build -CFLAGS="%optflags" ./configure --prefix %{_prefix} --bin-dir %{_bindir} --xslt-path %{_datadir}/eurephia/xslt --plug-in-dir %{_libdir}/eurephia --plug-in --openvpn-src ../openvpn-2.1_rc20 --fw-iptables --db-sqlite3 --sqlite3-path %{_localstatedir}/lib/eurephia --eurephiadm +CFLAGS="%{optflags}" ./configure --prefix %{_prefix} --bin-dir %{_bindir} --xslt-path %{_datadir}/eurephia/xslt --plug-in-dir %{_libdir}/eurephia --plug-in --openvpn-src ../openvpn-%{ovpnver} --fw-iptables --db-sqlite3 --sqlite3-path %{_localstatedir}/lib/eurephia --eurephiadm make VERBOSE=1 %install @@ -120,6 +121,9 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/saltdecode %changelog +* Wed Nov 18 2009 David Sommerseth - 0.9.6-1.beta +- Updated for eurephia-0.9.6_beta and using openvpn-2.1_rc21 source tree + * Tue Oct 6 2009 David Sommerseth - 0.9.5-1.beta - Initial eurephia spec file -- cgit