procinfo/procinfo.spec

70 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: procinfo
Version: 18
Release: 4mamba
Summary: A tool for gathering and displaying system information
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: ftp://ftp.cistron.nl/pub/people/00-OLD/sandervm
Source: ftp://ftp.cistron.nl/pub/people/00-OLD/sandervm/%{name}-%{version}.tar.gz
Patch0: %{name}-17-lsdev.patch
Patch1: %{name}-17-uptime.patch
Patch2: %{name}-18.makeinstall.patch
Patch3: %{name}-18-maxdev.patch
Patch4: %{name}-18-mharris-use-sysconf.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libncurses-devel
## AUTOBUILDREQ-END
%description
The procinfo command gets system data from the /proc directory (a Linux kernel filesystem), formats it and displays it on standard output.
You can use procinfo to acquire information about your system from the kernel as it is running.
Install procinfo if you'd like to use it to gather and display system data.
%prep
%setup -q
%patch0 -p1 -b .lsdev
%patch1 -p1 -b .uptime
%patch2 -p1 -b .makeinstall
%patch3 -p1 -b .maxdev
%patch4 -p1 -b .mharris-use-sysconf
%build
%make LDLIBS=-lncurses LDFLAGS=
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeoldinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/procinfo
%{_bindir}/lsdev
%{_bindir}/socklist
%{_mandir}/man8/procinfo.*
%{_mandir}/man8/lsdev.*
%{_mandir}/man8/socklist.*
%doc README CHANGES
%changelog
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 18-4mamba
- automatic rebuild by autodist
* Tue Sep 30 2008 Tiziana Ferro <tiziana.ferro@email.it> 18-3mamba
- update buildrequirements list
- format descripion
* Tue Sep 13 2005 Davide Madrisan <davide.madrisan@qilinux.it> 18-2qilnx
- specfile fixes
* Wed Apr 09 2003 Mirko Cortillaro <mirko.cortillaro@qinet.it> 18-1qilnx
- first build