Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
webdot
webdot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File webdot.spec of Package webdot
# # spec file for package webdot (Version 2.6) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: webdot BuildRequires: apache2-devel ghostscript-fonts-std ghostscript-library graphviz libapr-util1-devel perl-GD tcl-devel %define _prefix /usr Version: 2.6 Release: 242 AutoReqProv: on Requires: tcl graphviz http_daemon ghostscript Summary: A CGI graph server script that uses tcldot from graphviz Group: Productivity/Graphics/Visualization/Graph Source: http://www.graphviz.org/pub/graphviz/%{name}-%{version}.tar.bz2 Patch1: rpm-specifics.diff Url: http://www.graphviz.org/ License: BSD-3-Clause Prefix: %{_prefix} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: filesystem fileutils %define apache_serverroot %(/usr/sbin/apxs2 -q datadir 2>/dev/null || /usr/sbin/apxs -q PREFIX) %define cgibindir %apache_serverroot/cgi-bin %define htmldir %apache_serverroot/htdocs %define httpdconf %(rpm -ql apache2 | grep '/uid\\\.conf$') %define apacheuser %(grep -i '^user ' %{httpdconf} | awk '{print $2}') %define apachegroup nogroup %define cachedir /var/cache/webdot %define tclsh83bin %(rpm -ql tcl | grep '/tclsh$') %description A cgi-bin program that produces clickable graphs in web pages when provided with an href to a .dot file. Uses Tcldot from the graphviz rpm. By default, only requests from localhost are served. Authors: -------- John Ellson <ellson@lucent.com> %prep %setup -q -n %{name}-%{version} %patch1 -p1 %build %install make install \ DESTDIR=$RPM_BUILD_ROOT \ BUILD_DIR=. \ CGI-BIN_DIR=%{cgibindir} \ HTML_DIR=%{htmldir} \ CACHE_DIR=/var/cache \ HTTPD-USER-GROUP=%apacheuser:%apachegroup \ TCLSH_EXECUTABLE=%tclsh83bin \ GS=%(which gs) \ PS2EPSI=%(which ps2epsi) rm -f $RPM_BUILD_ROOT%{cgibindir}/webdot.tcl %files %defattr(-,root,root) %doc COPYING README AUTHORS CHANGES INSTALL %attr(755,root,root) %{cgibindir}/webdot %attr(-,root,root) %{htmldir}/webdot/ %attr(700,%{apacheuser},%{apachegroup}) %{cachedir}/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor