Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
procinfo
procinfo.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File procinfo.spec of Package procinfo
# # spec file for package procinfo # # Copyright (c) 2011 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: procinfo BuildRequires: ncurses-devel Url: ftp://ftp.cistron.nl/pub/people/00-OLD/svm/ License: GPL-2.0+ Group: System/Monitoring AutoReqProv: on Version: 18 Release: 202 Summary: Display System Status Gathered from /proc Provides: ps:/usr/bin/lsdev Source: ftp://ftp.cistron.nl/pub/people/svm/%{name}-%{version}.tar.bz2 Patch0: procinfo-%{version}.dif Patch1: procinfo-ia64.diff Patch2: procinfo-hz Patch3: procinfo-TERM.dif Patch4: procinfo-26.diff Patch5: procinfo-gccver.diff Patch6: procinfo-irq.dif Patch7: procinfo-loadavg.dif Patch8: procinfo-lsdev.dif Patch9: procinfo-socklist.dif Patch10: procinfo-float.dif Patch11: procinfo-intr.dif Patch12: procinfo-gcc.dif Patch13: procinfo-tickless.dif Patch14: procinfo-termcap.diff Patch15: procinfo-disks.dif Patch16: procinfo-gccver2.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The "procinfo" command gathers some system data from the /proc directory and prints it nicely formatted on the standard output device. Authors: -------- Sander van Malssen <svm@kozmix.cistron.nl> %prep %setup -q %patch0 %patch1 %patch2 %patch3 %patch4 -p1 %patch5 -p1 %patch6 %patch7 %patch8 %patch9 %patch10 %patch11 %patch12 %patch13 %if %suse_version > 1100 %patch14 -p1 %endif %patch15 %patch16 %build CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 ${RPM_OPT_FLAGS} -pipe" export CFLAGS make LDFLAGS= CC="%__cc" %check # TERM=vt100 LANG=POSIX unset ${!LC_*} export TERM LANG # ./procinfo -ai > output ! grep "can't parse" output cat output %install make prefix=$RPM_BUILD_ROOT/usr install %clean rm -rf $RPM_BUILD_ROOT %files %defattr (-,root,root,755) %doc README CHANGES %{_bindir}/procinfo %{_bindir}/lsdev %{_bindir}/socklist %{_mandir}/man8/procinfo.8* %{_mandir}/man8/lsdev.8* %{_mandir}/man8/socklist.8* %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