diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-31 09:07:04 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-31 09:07:04 -0400 |
commit | e982ee233f57425122146e3b501f9cc538d20100 (patch) | |
tree | ef1eecd164ae304780373c42f10c8313555ac0c1 | |
parent | 2d49c8fede3b767318af23c623174b395b180c9d (diff) | |
download | phoronix-test-suite-upstream-e982ee233f57425122146e3b501f9cc538d20100.tar.gz phoronix-test-suite-upstream-e982ee233f57425122146e3b501f9cc538d20100.tar.xz phoronix-test-suite-upstream-e982ee233f57425122146e3b501f9cc538d20100.zip |
documentation: Add short-description.txt message to documentation
-rw-r--r-- | documentation/short-description.txt | 1 | ||||
-rw-r--r-- | pts-core/scripts/build-package-deb.php | 2 | ||||
-rw-r--r-- | pts-core/scripts/build-package-rpm.php | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/documentation/short-description.txt b/documentation/short-description.txt new file mode 100644 index 0000000..23de23d --- /dev/null +++ b/documentation/short-description.txt @@ -0,0 +1 @@ +The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available for the Linux operating system. This software is designed to effectively carry out both qualitative and quantitative benchmarks in a clean, reproducible, and easy-to-use manner. The Phoronix Test Suite consists of a lightweight processing core (pts-core) with each benchmark consisting of an XML-based profile with related resource scripts. The process from the benchmark installation, to the actual benchmarking, to the parsing of important hardware and software components is heavily automated and completely repeatable, asking users only for confirmation of actions. diff --git a/pts-core/scripts/build-package-deb.php b/pts-core/scripts/build-package-deb.php index f05879d..ab2f296 100644 --- a/pts-core/scripts/build-package-deb.php +++ b/pts-core/scripts/build-package-deb.php @@ -52,7 +52,7 @@ $control_file .= "Architecture: all\n"; $control_file .= "Depends: php5-cli, php5-gd\n"; $control_file .= "Recommends: build-essential\n"; $control_file .= "Maintainer: Phoronix Media <trondheim-pts@phoronix-test-suite.com>\n"; -$control_file .= "Description: The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available for Linux and is designed to carry out qualitative and quantitative benchmarks in a clean, reproducible, and easy-to-use manner.\n"; +$control_file .= "Description: " . @file_get_contents("documentation/short-description.txt") . "\n"; file_put_contents("/tmp/pts-deb-builder/DEBIAN/control", $control_file); shell_exec("dpkg --build /tmp/pts-deb-builder ../phoronix-test-suite_" . PTS_VERSION . "_all.deb"); diff --git a/pts-core/scripts/build-package-rpm.php b/pts-core/scripts/build-package-rpm.php index 0052233..10f6618 100644 --- a/pts-core/scripts/build-package-rpm.php +++ b/pts-core/scripts/build-package-rpm.php @@ -53,7 +53,7 @@ $spec_file .= "Requires: php-cli, php-gd\n"; $spec_file .= "BuildArch: noarch\n"; $spec_file .= "BuildRoot: %{_tmppath}/%{name}-%{version}-root\n"; $spec_file .= "%description\n"; -$spec_file .= "The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available for Linux and is designed to carry out qualitative and quantitative benchmarks in a clean, reproducible, and easy-to-use manner.\n"; +$spec_file .= @file_get_contents("documentation/short-description.txt") . "\n"; $spec_file .= "%prep\n"; $spec_file .= "%setup -q\n"; $spec_file .= "%build\n"; |