From: JinWang An Date: Tue, 8 Dec 2020 04:12:48 +0000 (+0900) Subject: Bump to procps-ng 3.3.16 X-Git-Tag: accepted/tizen/6.5/base/20230714.002638^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b82fc702a6d97c50924f69ed29fa73edd8339063;p=platform%2Fupstream%2Fprocps-ng.git Bump to procps-ng 3.3.16 Change-Id: I8850dce4aad0deab1edc7c5504665a514969945b Signed-off-by: JinWang An --- diff --git a/packaging/procps-ng.changes b/packaging/procps-ng.changes new file mode 100644 index 0000000..91644d1 --- /dev/null +++ b/packaging/procps-ng.changes @@ -0,0 +1,10 @@ +* Wed Jan 15 2014 Maciej Wereski upstream/3.3.9@c15ea27 +- Update to 3.3.9 + +* Fri Oct 25 2013 Aleksander Zdyb accepted/tizen/20130913.024110@348be71 +- Fixed group (Aleksander Zdyb ) +- resetting manifest requested domain to floor (Alexandru Cornea ) + +* Sat Mar 30 2013 Anas Nashif upstream/3.3.7@c48817a +- Replace old procps + diff --git a/packaging/procps-ng.manifest b/packaging/procps-ng.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/procps-ng.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/procps-ng.spec b/packaging/procps-ng.spec new file mode 100644 index 0000000..d5050b1 --- /dev/null +++ b/packaging/procps-ng.spec @@ -0,0 +1,108 @@ +Name: procps-ng +Version: 3.3.16 +Release: 1 +License: GPL-2.0+ and LGPL-2.0+ +Summary: System and process monitoring utilities +Url: https://sourceforge.net/projects/procps-ng/ +Group: Base/Utilities +Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz +Source1001: procps-ng.manifest + +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gettext-devel +BuildRequires: libtool +BuildRequires: ncurses-devel + +Provides: procps = %{version} +Obsoletes: procps < 3.3.4-1 + +Provides: /sbin/sysctl +Provides: /bin/ps + +%description +The procps package contains a set of system utilities that provide +system information. Procps includes ps, free, skill, pkill, pgrep, +snice, tload, top, uptime, vmstat, w, watch and pwdx. The ps command +displays a snapshot of running processes. The top command provides +a repetitive update of the statuses of running processes. The free +command displays the amounts of free and used memory on your +system. The skill command sends a terminate command (or another +specified signal) to a specified set of processes. The snice +command is used to change the scheduling priority of specified +processes. The tload command prints a graph of the current system +load average to a specified tty. The uptime command displays the +current time, how long the system has been running, how many users +are logged on, and system load averages for the past one, five, +and fifteen minutes. The w command displays a list of the users +who are currently logged on and what they are running. The watch +program watches a running program. The vmstat command displays +virtual memory statistics about processes, memory, paging, block +I/O, traps, and CPU activity. The pwdx command reports the current +working directory of a process or processes. + +%package devel +Summary: System and process monitoring utilities +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version} +Provides: procps-devel = %{version} +Obsoletes: procps-devel < 3.3.4-1 + +%description devel +System and process monitoring utilities development headers + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +CFLAGS+=" -fPIE" +LDFLAGS+=" -pie" + +%autogen + +%configure --prefix=/ \ + --exec-prefix=/ \ + --docdir=/unwanted \ + --disable-static \ + --disable-w-from \ + --disable-kill \ + --disable-rpath + +make %{?_smp_mflags} + +%check + make check || exit 0 + + +%install +%make_install + +mkdir -p %{buildroot}%{_sysconfdir}/sysctl.d +rm -rf %{buildroot}/unwanted +%remove_docs + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%manifest %{name}.manifest +%license COPYING COPYING.LIB +%{_libdir}/libprocps.so.* +%{_bindir}/* +%{_sbindir}/* +%{_datadir}/locale/* +%{_sysconfdir}/sysctl.d +%exclude %{_sysconfdir}/sysctl.conf + +%files devel +%manifest %{name}.manifest +%{_libdir}/libprocps.so +%{_includedir}/proc +%{_libdir}/pkgconfig/libprocps.pc + +%changelog