2007-01-15 23:33:22 +00:00
|
|
|
#
|
2011-03-22 17:01:31 +00:00
|
|
|
# spec file for package prctl
|
2007-01-15 23:33:22 +00:00
|
|
|
#
|
2024-02-21 15:11:09 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-15 23:33:22 +00:00
|
|
|
#
|
2008-10-23 02:44:40 +00:00
|
|
|
# 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.
|
|
|
|
|
2024-02-21 15:11:09 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:33:22 +00:00
|
|
|
#
|
|
|
|
|
2008-10-23 02:44:40 +00:00
|
|
|
|
|
|
|
Name: prctl
|
2014-04-29 08:55:35 +00:00
|
|
|
Version: 1.6
|
2013-04-16 04:54:50 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A utility to perform process operations
|
2024-02-21 15:11:09 +00:00
|
|
|
License: GPL-2.0-or-later
|
2013-04-16 04:54:50 +00:00
|
|
|
Group: System/Monitoring
|
2024-02-21 15:11:09 +00:00
|
|
|
URL: http://sourceforge.net/projects/prctl
|
2013-04-16 04:54:50 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/project/prctl/prctl/%{version}/prctl-%{version}.tar.gz
|
2011-03-22 17:01:02 +00:00
|
|
|
Source1: COPYING
|
2010-11-20 11:33:49 +00:00
|
|
|
Patch0: prctl-1.5-Makefile.patch
|
|
|
|
Patch1: prctl-1.5-warnings.patch
|
2008-10-23 02:44:40 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:33:22 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The prctl utility allows a user to control certain process behaviors in
|
|
|
|
the runtime environment.
|
|
|
|
|
|
|
|
%prep
|
2010-11-20 11:33:49 +00:00
|
|
|
%setup -q
|
2013-04-16 04:54:50 +00:00
|
|
|
cp %{SOURCE1} .
|
2024-02-21 15:11:09 +00:00
|
|
|
%patch -P 0 -p1 -b .makefile
|
|
|
|
%patch -P 1 -b .warnings
|
2007-01-15 23:33:22 +00:00
|
|
|
|
|
|
|
%build
|
2015-08-02 18:16:04 +00:00
|
|
|
%configure
|
|
|
|
make
|
2007-01-15 23:33:22 +00:00
|
|
|
|
|
|
|
%install
|
2015-08-02 18:16:04 +00:00
|
|
|
make DESTDIR=%{buildroot} install
|
2007-01-15 23:33:22 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2024-02-21 15:12:48 +00:00
|
|
|
%doc ChangeLog
|
|
|
|
%license COPYING
|
2010-11-20 11:33:49 +00:00
|
|
|
%{_bindir}/%{name}
|
2015-08-02 18:16:04 +00:00
|
|
|
%{_mandir}/man1/%{name}.1.*
|
2007-01-15 23:33:22 +00:00
|
|
|
|
2008-10-23 02:44:40 +00:00
|
|
|
%changelog
|