Browse Source

* procinfo: rebuild; import patches from Fedora

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5963 ec354946-7b23-47d6-9f5a-488ba84defc7
shaolin 12 years ago
parent
commit
fd1c080ecb
1 changed files with 31 additions and 8 deletions
  1. 31 8
      p/procinfo/procinfo-vl.spec

+ 31 - 8
p/procinfo/procinfo-vl.spec

@@ -2,8 +2,8 @@ Summary: A tool for gathering and displaying system information.
 Summary(ja): システム情報をまとめて表示するツール
 Name: procinfo
 Version: 18
-Release: 15%{?_dist_release}
-License: GPL
+Release: 16%{?_dist_release}
+License: GPL+
 Group: Applications/System
 Source: ftp://ftp.cistron.nl/pub/people/svm/%{name}-%{version}.tar.bz2
 Patch0: procinfo-14-misc.patch
@@ -13,11 +13,24 @@ Patch6: procinfo-17-lsdev.patch
 Patch7: procinfo-18-acct.patch
 Patch8: procinfo-18-mharris-use-sysconf.patch
 Patch9: procinfo-18-maxdev.patch
+Patch10: procinfo-18-ranges.patch
+Patch11: procinfo-18-cpu-steal.patch
+Patch12: procinfo-18-intr.patch
+Patch13: procinfo-18-intrprint.patch
+Patch14: procinfo-18-version.patch
+Patch15: procinfo-18-man-comment.patch
+Patch16: procinfo-18-socklist.patch
+Patch17: procinfo-18-idle-overflow.patch
+
 ## Vine Patch(es)
-Patch10: procinfo-17-bindir.patch
+Patch100: procinfo-17-bindir.patch
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: libtermcap-devel
+BuildRequires: ncurses-devel
 
-Buildroot: %{_tmppath}/%{name}-%{version}-root
-BuildPrereq: libtermcap-devel
+Vendor: Project Vine
+Distribution: Vine Linux
 
 %description
 The procinfo command gets system data from the /proc directory (the
@@ -28,7 +41,6 @@ kernel as it is running.
 Install procinfo if you'd like to use it to gather and display system
 data.
 
-#'
 %description -l ja
 procinfo コマンドはシステムの情報を /proc ディレクトリ
 (カーネルファイルシステム) から取得し,整形して標準出力に
@@ -47,13 +59,21 @@ procinfo コマンドはシステムの情報を /proc ディレクトリ
 %patch7 -p1 -b .acct
 %patch8 -p1 -b .mharris-use-sysconf
 %patch9 -p1 -b .maxdev
+%patch10 -p1 -b .ranges
+%patch11 -p1 -b .steal
+%patch12 -p1 -b .intr
+%patch13 -p1 -b .intrprint
+%patch14 -p1 -b .version
+%patch15 -p1 -b .mancomment
+%patch16 -p0 -b .socklist
+%patch17 -p1 -b .idle
 
 ## Vine Patch(es)
-%patch10 -p1 -b .bindir
+%patch100 -p1 -b .bindir
 
 
 %build
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
+make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -I/usr/include/ncurses" LDFLAGS= LDLIBS=-lncurses
 
 
 %install
@@ -82,6 +102,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 18-16
+- rebuild; import patch10 to patch17 from Fedora
+
 * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 18-15vl5
 - applied new versioning policy, spec in utf-8