SPECS: webdot.spec - updated to 2.6 - use system datadir and cgi-b...
qboosh
qboosh at pld-linux.org
Sat Sep 3 22:40:03 CEST 2005
Author: qboosh Date: Sat Sep 3 20:40:03 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 2.6
- use system datadir and cgi-bin dir
---- Files affected:
SPECS:
webdot.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/webdot.spec
diff -u SPECS/webdot.spec:1.5 SPECS/webdot.spec:1.6
--- SPECS/webdot.spec:1.5 Mon Aug 29 20:40:12 2005
+++ SPECS/webdot.spec Sat Sep 3 22:39:56 2005
@@ -2,14 +2,15 @@
Summary: A CGI graph server script that uses tcldot utility
Summary(pl): Skrypt serwerowy CGI do grafów używający narzędzia tcldot
Name: webdot
-Version: 1.10.2
+Version: 2.6
Release: 1
Group: Applications/Graphics
License: BSD-like
Source0: http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
-# Source0-md5: ae561fa9963b81a8f543fc1ec8cb5505
+# Source0-md5: dbf6712c9a5fd069defeeb58d081ee86
Patch0: %{name}-status.patch
URL: http://www.graphviz.org/
+Requires: FHS >= 2.3-12
# it wants to open "Times" font by filename
Requires: fonts-TTF-microsoft
Requires: graphviz-tcl
@@ -19,9 +20,8 @@
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define httpdir /home/services/httpd
-%define htmldir %{httpdir}/html
-%define cgibindir %{httpdir}/cgi-bin
+%define appdir %{_datadir}/webdot
+%define cgibindir %{_prefix}/lib/cgi-bin
%define cachedir /var/cache/webdot
%define tcldotlib /usr/%{_lib}/graphviz/libtcldot.so
@@ -42,8 +42,8 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{cgibindir},%{htmldir},%{cachedir}}
-cp -r html/webdot $RPM_BUILD_ROOT%{htmldir}
+install -d $RPM_BUILD_ROOT{%{cgibindir},%{appdir},%{cachedir}}
+cp -r html/webdot/* $RPM_BUILD_ROOT%{appdir}
cat > $RPM_BUILD_ROOT%{cgibindir}/webdot <<'EOF'
#!/usr/bin/tclsh
@@ -62,7 +62,7 @@
%defattr(644,root,root,755)
%doc AUTHORS CHANGES COPYING README
%attr(755,root,root) %{cgibindir}/webdot
-%{htmldir}/webdot
+%{appdir}
%attr(770,root,http) %{cachedir}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -71,6 +71,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2005/09/03 20:39:56 qboosh
+- updated to 2.6
+- use system datadir and cgi-bin dir
+
Revision 1.5 2005/08/29 18:40:12 qboosh
- updated Source URL
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/webdot.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list