michael@423: ## michael@423: ## top.spec -- OpenPKG RPM Package Specification michael@423: ## Copyright (c) 2000-2009 OpenPKG Foundation e.V. michael@423: ## michael@423: ## Permission to use, copy, modify, and distribute this software for michael@423: ## any purpose with or without fee is hereby granted, provided that michael@423: ## the above copyright notice and this permission notice appear in all michael@423: ## copies. michael@423: ## michael@423: ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED michael@423: ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF michael@423: ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. michael@423: ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR michael@423: ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, michael@423: ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT michael@423: ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF michael@423: ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND michael@423: ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, michael@423: ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT michael@423: ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF michael@423: ## SUCH DAMAGE. michael@423: ## michael@423: michael@423: # package version michael@423: %define V_dist 3.8beta1 michael@423: %define V_opkg 3.8b1 michael@423: michael@423: # package information michael@423: Name: top michael@423: Summary: Full-Screen Process Display michael@423: URL: http://www.unixtop.org/ michael@423: Vendor: William LeFebvre michael@423: Packager: OpenPKG Foundation e.V. michael@423: Distribution: OpenPKG Community michael@423: Class: EVAL michael@423: Group: Monitoring michael@423: License: Freely Redistributable michael@423: Version: %{V_opkg} michael@424: Release: 20120800 michael@423: michael@423: # list of sources michael@423: Source0: http://www.unixtop.org/dist/top-%{V_dist}.tar.gz michael@423: michael@423: # build information michael@423: Prefix: %{l_prefix} michael@423: BuildRoot: %{l_buildroot} michael@423: BuildPreReq: OpenPKG, openpkg >= 20040130 michael@423: PreReq: OpenPKG, openpkg >= 20040130 michael@423: AutoReq: no michael@423: AutoReqProv: no michael@423: michael@423: %description michael@423: Top is a full-screen display of the currently running system michael@423: processes. michael@423: michael@423: %track michael@423: prog top = { michael@423: version = %{V_dist} michael@423: url = http://www.unixtop.org/download/ michael@423: regex = top-(__VER__)\.tar\.gz michael@423: } michael@423: michael@423: %prep michael@423: %setup -q -n top-%{V_dist} michael@424: mkdir asm michael@424: cat > asm/page.h <