You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-cvs@tcl.apache.org by da...@apache.org on 2002/02/05 01:45:55 UTC
cvs commit: tcl-websh websh.spec
davidw 02/02/04 16:45:55
Modified: . websh.spec
Log:
* websh.spec: Fix-ups to make websh.spec work better - generates RPM's
now on my system.
Revision Changes Path
1.2 +11 -9 tcl-websh/websh.spec
Index: websh.spec
===================================================================
RCS file: /home/cvs/tcl-websh/websh.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- websh.spec 14 Dec 2001 17:10:17 -0000 1.1
+++ websh.spec 5 Feb 2002 00:45:55 -0000 1.2
@@ -3,11 +3,11 @@
Summary: Tcl scripting for the web, both a CGI and Apache module.
Name: websh
-Version: 0.4.0
+Version: 4.0.0
Release: 1
Copyright: Freely distributable and usable
Group: System Environment/Daemons
-Source: http://websh.com/
+Source: http://tcl.apache.org/websh/download/%{name}-%{version}.tar.gz
URL: http://websh.com/
Packager: David N. Welton <da...@dedasys.com>
BuildRoot: %{_tmppath}/%{name}-root
@@ -26,22 +26,24 @@
%setup -n %{name}
%build
-./src/configure
-cd src
-make
+cd src/unix
+./configure --with-tclinclude=/usr/include/tcl8.3 --with-tcl=/usr/lib/tcl8.3/ --prefix=/usr --with-httpdinclude=/usr/include/apache-1.3/
+make mod_websh.so
%install
-cd src
-make install
+cd src/unix
+make install DESTDIR=$RPM_BUILD_ROOT
+mkdir $RPM_BUILD_ROOT/usr/lib/apache/
+cp mod_websh4.00.so $RPM_BUILD_ROOT/usr/lib/apache/
%clean
-cd src
+cd src/unix
make clean
%files
%defattr(-,root,root)
%doc doc
-%{_libdir}/apache/mod_websh.so
+%{_libdir}/apache/mod_websh4.00.so
%changelog
* Fri Dec 14 2001 David N. Welton <da...@dedasys.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: websh-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-cvs-help@tcl.apache.org