SHA256
1
0
forked from pool/prctl
prctl/prctl.spec

65 lines
1.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package prctl (Version 1.3)
#
# Copyright (c) 2004 SUSE LINUX AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
Name: prctl
Summary: A utility to perform process operations
Version: 1.3
Release: 354
Group: System/Monitoring
License: GPL
Source: ftp://ftp.hp.com/pub/linux/prctl/prctl-%{version}.tar.gz
Patch: prctl-%{version}.dif
Patch1: warn.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The prctl utility allows a user to control certain process behaviors in
the runtime environment.
Authors:
--------
Khalid Aziz <khalid_aziz@hp.com>
%prep
%setup
%patch
%patch1
%build
CFLAGS=$RPM_OPT_FLAGS \
./configure --prefix=/usr --infodir=%{_infodir} --mandir=%{_mandir}
make
%install
make install prefix=$RPM_BUILD_ROOT/usr infodir=$RPM_BUILD_ROOT%{_infodir} \
mandir=$RPM_BUILD_ROOT%{_mandir}
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
/usr/bin/prctl
%doc %{_mandir}/man1/prctl.1.gz
%changelog -n prctl
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Apr 18 2004 - schwab@suse.de
- Pacify autobuild.
* Sun Jan 11 2004 - adrian@suse.de
- build as user
* Sat Dec 29 2001 - schwab@suse.de
- Initial version 1.3.