summaryrefslogtreecommitdiffstats
path: root/eurephia.spec
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2009-11-18 14:10:40 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-07-30 11:02:54 +0200
commitf6aed3aee0c89d07bf7ad81d3c4599eb03c9b2f1 (patch)
tree7b287b82217ddc24c418e4b609b1eb9690a826a7 /eurephia.spec
parent6c78790a638c7ebaccd32fc749e48ec77b8a0583 (diff)
downloadeurephia-f6aed3aee0c89d07bf7ad81d3c4599eb03c9b2f1.tar.gz
eurephia-f6aed3aee0c89d07bf7ad81d3c4599eb03c9b2f1.tar.xz
eurephia-f6aed3aee0c89d07bf7ad81d3c4599eb03c9b2f1.zip
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.
Diffstat (limited to 'eurephia.spec')
-rw-r--r--eurephia.spec12
1 files 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 <dazo@users.sourceforge.net> - 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 <dazo@users.sourceforge.net> - 0.9.5-1.beta
- Initial eurephia spec file