source: projects/specs/branches/6/p/psmisc/psmisc-vl.spec @ 3396

Revision 3396, 5.1 KB checked in by inagaki, 13 years ago (diff)

update: flex, psmisc

Line 
1Name: psmisc
2Summary:     Utilities for managing processes on your system.
3Summary(ja): システムのプロセスを管理するユーティリティ
4Version: 22.13
5Release: 1%{?_dist_release}
6
7Group: Applications/System
8License: GPLv2+
9URL: http://sourceforge.net/projects/psmisc
10
11Source: ftp://ftp.sf.net/pub/sourceforge/psmisc/psmisc-%{version}.tar.gz
12Patch1: psmisc-22.13-peekfd-segv.patch
13Patch2: psmisc-22.13-fuser-silent.patch
14Patch3: psmisc-22.13-killall-pgid.patch
15Patch4: psmisc-22.13-ppc64.patch
16
17Buildroot: %{_tmppath}/%{name}-%{version}-root
18BuildRequires: gettext
19BuildRequires: ncurses-devel
20BuildRequires: autoconf automake
21
22%description
23The psmisc package contains utilities for managing processes on your
24system: pstree, killall and fuser.  The pstree command displays a tree
25structure of all of the running processes on your system.  The killall
26command sends a specified signal (SIGTERM if nothing is specified) to
27processes identified by name.  The fuser command identifies the PIDs
28of processes that are using specified files or filesystems.
29
30%description -l ja
31psmisc パッケージには pstree, killall, fuser といった,システムの
32プロセスを管理するユーティリティが収められています.pstree コマンドは
33システム上で動作している全プロセスをツリー状に表示します.
34killall コマンドは,指定されたシグナル (何も指定しなければ SIGTERM) を
35名前で指定したプロセスに送ります.
36fuser コマンドは,指定したファイルやファイルシステムを使用している
37プロセスの PID を特定します.
38
39
40%prep
41%setup -q
42%patch1 -p1
43%patch2 -p1
44%patch3 -p1
45%patch4 -p1
46
47%build
48%configure --prefix=%{_prefix}
49make %{?_smp_mflags}
50
51%install
52rm -rf $RPM_BUILD_ROOT
53# The rpm makeinstall macro breaks the build, so we do it the old way
54make install DESTDIR="$RPM_BUILD_ROOT"
55mkdir -p $RPM_BUILD_ROOT%{_syssbindir}
56mv $RPM_BUILD_ROOT%{_bindir}/fuser $RPM_BUILD_ROOT%{_syssbindir}
57
58%ifnarch %ix86 x86_64 ppc ppc64
59rm -f $RPM_BUILD_ROOT/%{_bindir}/peekfd
60rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/peekfd.1*
61%endif
62
63%find_lang %name
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68
69%files -f %{name}.lang
70%defattr(-,root,root)
71%doc AUTHORS ChangeLog COPYING README
72%{_syssbindir}/fuser
73%{_bindir}/killall
74%{_bindir}/pstree
75%{_bindir}/pstree.x11
76%{_bindir}/prtstat
77%{_mandir}/man1/fuser.1*
78%{_mandir}/man1/killall.1*
79%{_mandir}/man1/pstree.1*
80%{_mandir}/man1/prtstat.1*
81%ifarch %ix86 x86_64 ppc ppc64
82%{_bindir}/peekfd
83%{_mandir}/man1/peekfd.1*
84%endif
85
86%changelog
87* Sat Apr  9 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 22.13-1
88- updated to 22.13
89- added Patch1-4 from Fedora
90  * Thu Jan 27 2011 Jan Görig <jgorig@redhat.com> 22.13-7
91  - fix #671135 - peekfd utility doesn't work on ppc64 architecture
92  * Fri Jan 7 2011 Jan Görig <jgorig@redhat.com> 22.13-6
93  - fix #666213 - uninitialized memory leading to `killall -g name` failure
94  * Tue Nov 16 2010 Jan Görig <jgorig@redhat.com> 22.13-5
95  - fix #651794 - incorrect exit code of fuser -m -s
96  * Thu Oct 14 2010 Jan Görig <jgorig@redhat.com> 22.13-3
97  - fix #642800 - peekfd regression
98
99* Mon Aug 18 2008 Shu KONNO <owa@bg.wakwak.com> 22.6-2
100- added psmisc-22.6-types.patch by fedora
101- added psmisc-22.6-pstree-overflow.patch by fedora
102
103* Sat Aug 16 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 22.6-1
104- new upstream release
105- add peekfd to %%files on %%ix86, x86_64, ppc and ppc64
106
107* Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 22.5-2vl5
108- applied new versioning policy, spec in utf-8
109
110* Sat Oct 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 22.5-2vl1
111- based on 22.5-2 from Fedora
112- rebuilt with new toolchains
113
114* Sun Jun 15 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 21.2-4vl1
115- based on 21.2-4 from Redhat9
116- dropped psmisc-17-buildroot.patch and psmisc-19-noroot.patch
117- rebuild with new toolchains
118
119* Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
120- 19-4vl1
121- based on 19-4 from Rawhide
122- use better macros (%%{_syssbindir}, %%{_bindir})
123- added Japanese summary and description
124
125* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
126- automatic rebuild
127
128* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
129- FHS man paths
130- patch makefile to enable non-root builds
131
132* Sat Feb  5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
133- Deal with compressed man pages
134
135* Sun Nov 21 1999 Bernhard Rosenkraenzer <bero@redhat.com>
136- update to v19
137- handle RPM_OPT_FLAGS
138
139* Mon Sep 27 1999 Bill Nottingham <notting@redhat.com>
140- move fuser to /sbin
141
142* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
143- auto rebuild in the new build environment (release 2)
144
145* Sat Mar 13 1999 Michael Maher <mike@redhat.com>
146- updated package
147
148* Fri May 01 1998 Prospector System <bugs@redhat.com>
149- translations modified for de, fr, tr
150
151* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
152- renamed the patch file .patch instead of .spec
153
154* Thu Apr 09 1998 Erik Troan <ewt@redhat.com>
155- updated to psmisc version 17
156- buildrooted
157
158* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
159- updated from version 11 to version 16
160- spec file cleanups
161
162* Tue Jun 17 1997 Erik Troan <ewt@redhat.com>
163- built against glibc
Note: See TracBrowser for help on using the repository browser.