Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ioguix:check_pgactivity
colplot
colplot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File colplot.spec of Package colplot
# # spec file for package colplot # # Copyright (c) 2017 SUSE LINUX 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/ # Name: colplot Version: 5.2.0 Release: 0 Summary: Data Visualization Companion for Collectl License: Artistic-1.0 and GPL-2.0+ Group: System/Monitoring Url: http://collectl-utils.sourceforge.net Source0: https://sourceforge.net/projects/collectl/files/Colplot/%{name}-%{version}.src.tar.gz Patch1: colplot-apache-Check-for-mod_access_compat.c.patch BuildArch: noarch BuildRequires: apache-rpm-macros Requires: apache2 Requires: collectl Requires: gnuplot %description Colplot is a web-based plotting utility that uses gnuplot to generate plots against collectl-generated files that have been generated in plot format. %prep %setup -q %patch1 -p1 %build %install mkdir -p %{buildroot}%{_sysconfdir} mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_datadir}/collectl/plotfiles mkdir -p %{buildroot}%{_mandir}/man1 install -m 644 colplot.conf %{buildroot}%{_sysconfdir} install -m 755 colplot %{buildroot}%{_bindir} install -m 644 colplotlib.ph %{buildroot}%{_datadir}/collectl/ install -m 644 colplotlib.defs %{buildroot}%{_datadir}/collectl/ install -m 644 tiny.ph %{buildroot}%{_datadir}/collectl/ install -m 644 oneperpage.ph %{buildroot}%{_datadir}/collectl/ install -m 644 colplot-apache.conf %{buildroot}%{_datadir}/collectl/ install -m 644 plotfiles/* %{buildroot}%{_datadir}/collectl/plotfiles install -m 644 -D man1/*.1* %{buildroot}%{_mandir}/man1 # compress any uncompressed man pages gzip %{buildroot}%{_mandir}/man1/colplot.1 www=%{apache_serverroot}/htdocs confd=%{apache_sysconfdir}/conf.d mkdir -p %{buildroot}/$www/colplot ln -sf %{_bindir}/colplot %{buildroot}/$www/colplot/index.cgi install -m 644 colplot-help.html FAQ-colplot.html %{buildroot}/$www/colplot mkdir -p %{buildroot}/$confd sed -i -e "s:/var/www/html:/srv/www/htdocs:" \ -e "s:/var/www:/srv/www/htdocs:" \ %{buildroot}%{_datadir}/collectl/colplot-apache.conf cp %{buildroot}%{_datadir}/collectl/colplot-apache.conf \ %{buildroot}/$confd/colplot-apache.conf tmpfile=$(mktemp /tmp/colplot-XXXXX) tr -d '\r' < %{buildroot}/%{_bindir}/colplot > $tmpfile cat $tmpfile > %{buildroot}/%{_bindir}/colplot rm $tmpfile %files %defattr(-,root,root) %doc FAQ-colplot.html ARTISTIC GPL README RELEASE-colplot %dir %{apache_sysconfdir} %dir %{apache_sysconfdir}/conf.d %config %{apache_sysconfdir}/conf.d/colplot-apache.conf %config %{_sysconfdir}/colplot.conf %{apache_serverroot}/htdocs/colplot %{_bindir}/colplot %dir %{_datadir}/collectl %dir %{_datadir}/collectl/plotfiles %{_datadir}/collectl/colplot-apache.conf %{_datadir}/collectl/colplotlib.defs %{_datadir}/collectl/colplotlib.ph %{_datadir}/collectl/oneperpage.ph %{_datadir}/collectl/plotfiles/client-20061010.cpu %{_datadir}/collectl/plotfiles/client-20061010.dsk %{_datadir}/collectl/plotfiles/client-20061010.net %{_datadir}/collectl/plotfiles/client-20061010.tab %{_datadir}/collectl/plotfiles/hadesn2-20081204.env %{_datadir}/collectl/plotfiles/hadesn2-20081204.tab %{_datadir}/collectl/plotfiles/ibdln269-20070125.cpu %{_datadir}/collectl/plotfiles/ibdln269-20070125.dsk %{_datadir}/collectl/plotfiles/ibdln269-20070125.net %{_datadir}/collectl/plotfiles/ibdln269-20070125.tab %{_datadir}/collectl/plotfiles/server-20061010.cpu %{_datadir}/collectl/plotfiles/server-20061010.dsk %{_datadir}/collectl/plotfiles/server-20061010.net %{_datadir}/collectl/plotfiles/server-20061010.tab %{_datadir}/collectl/tiny.ph %{_mandir}/man1/colplot.1.gz %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