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

69 lines
1.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package prctl (Version 1.3)
#
# Copyright (c) 2008 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/
#
# norootforbuild
Name: prctl
Summary: A utility to perform process operations
Version: 1.5
Release: 1
Group: System/Monitoring
License: GPL v2 or later
URL: http://sourceforge.net/projects/prctl
Source0: prctl-%{version}.tar.gz
Patch0: prctl-1.5-Makefile.patch
Patch1: prctl-1.5-warnings.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: licenses
Requires: licenses
%description
The prctl utility allows a user to control certain process behaviors in
the runtime environment.
%prep
%setup -q
%patch0 -p1 -b .makefile
%patch1 -p0 -b .warnings
%build
%{configure}
%install
%{makeinstall}
%{__ln_s} -f %{_datadir}/doc/licenses/GPL-2.0.txt COPYING
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root)
%doc COPYING ChangeLog
%{_bindir}/%{name}
%doc %{_mandir}/man1/%{name}.1.*
%changelog
* 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.