From 8785aef2756bd480e628502dd4b850c1fc9e76f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 16 Jul 2005 10:52:54 +0000 Subject: [PATCH] - adapterized, fixed %banner usage Changed files: anyterm.spec -> 1.2 --- anyterm.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/anyterm.spec b/anyterm.spec index 050d946..f95469b 100644 --- a/anyterm.spec +++ b/anyterm.spec @@ -9,18 +9,19 @@ License: GPL Group: Networking/Daemons Source0: http://anyterm.org/download/%{name}-%{version}.tbz2 # Source0-md5: cf841703b7438866e573f5a33137ff6f -Patch0: %{name}-makefile.patch +Patch0: %{name}-makefile.patch URL: http://anyterm.org/ BuildRequires: apache-devel >= 2.0.52-2 BuildRequires: apr-devel BuildRequires: rote-devel >= 0.2.8 +BuildRequires: rpmbuild(macros) >= 1.194 BuildRequires: %{apxs} Requires: apache >= 2.0.52-2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _httpdir /home/services/httpd -%define _pkglibdir %(%{apxs} -q LIBEXECDIR) -%define _sysconfdir /etc/httpd +%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null) +%define _sysconfdir /etc/httpd %description An apache module plus scripts to make a terminal within a web browser. @@ -33,7 +34,7 @@ An apache module plus scripts to make a terminal within a web browser. rm -rf $RPM_BUILD_ROOT cd apachemod %{__make} \ - INCLUDES='-I/usr/include/apr-util' \ + INCLUDES='-I%{_includedir}/apr-util' \ APXS2=apxs \ APR_CONFIG=apr-1-config cd .. @@ -48,7 +49,7 @@ install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}/httpd.conf,%{_pkglibdir},% cat > $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/70_anyterm.conf <