Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Rings:1-MinimalX
procinfo
procinfo.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File procinfo.spec of Package procinfo
# # spec file for package procinfo # # Copyright (c) 2014 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/ # Name: procinfo Version: 18 Release: 0 Summary: Display System Status Gathered from /proc License: GPL-2.0+ Group: System/Monitoring Url: ftp://ftp.cistron.nl/pub/people/00-OLD/svm/ Source: ftp://ftp.cistron.nl/pub/people/svm/%{name}-%{version}.tar.bz2 Patch0: procinfo-%{version}.dif Patch1: procinfo-uptime.dif Patch2: procinfo-ia64.diff Patch3: procinfo-hz Patch4: procinfo-TERM.dif Patch5: procinfo-26.diff Patch6: procinfo-gccver.diff Patch7: procinfo-irq.dif Patch8: procinfo-loadavg.dif Patch9: procinfo-lsdev.dif Patch10: procinfo-socklist.dif Patch11: procinfo-float.dif Patch12: procinfo-intr.dif Patch13: procinfo-gcc.dif Patch14: procinfo-tickless.dif Patch15: procinfo-termcap.diff Patch16: procinfo-disks.dif Patch17: procinfo-gccver2.dif Patch18: procinfo-man.dif Patch19: procinfo-maxdev.dif Patch20: procinfo-sysconf.dif Patch21: procinfo-ranges.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ncurses-devel Provides: ps:/usr/bin/lsdev %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 %patch5 -p1 %patch6 -p1 %patch7 %patch8 %patch9 %patch10 %patch11 %patch12 %patch13 %patch14 %if %suse_version > 1100 %patch15 -p1 %endif %patch16 %patch17 %patch18 %patch19 %patch20 %patch21 %build CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 ${RPM_OPT_FLAGS} -pipe" export CFLAGS make LDFLAGS= CC="%__cc" %{?_smp_mflags} %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 %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