Accepting request 247410 from home:dsterba:branches:server:monitoring
SR: update license, otherwise just spec cleaning, intended to go to Factory - clean spec OBS-URL: https://build.opensuse.org/request/show/247410 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/ftop?expand=0&rev=3
This commit is contained in:
parent
07cef419a2
commit
db147df162
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 3 14:47:11 CEST 2014 - dsterba@suse.cz
|
||||||
|
|
||||||
|
- clean spec
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 15 21:17:32 UTC 2010 - pascal.bleser@opensuse.org
|
Tue Jun 15 21:17:32 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
43
ftop.spec
43
ftop.spec
@ -1,20 +1,41 @@
|
|||||||
# norootforbuild
|
#
|
||||||
|
# spec file for package ftop
|
||||||
|
#
|
||||||
|
# Copyright (c) 2014 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: ftop
|
Name: ftop
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Open File Monitoring
|
Summary: Open File Monitoring
|
||||||
|
License: GPL-3.0
|
||||||
|
Group: System/Monitoring
|
||||||
|
Url: http://code.google.com/p/ftop/
|
||||||
Source: http://ftop.googlecode.com/files/ftop-%{version}.tar.bz2
|
Source: http://ftop.googlecode.com/files/ftop-%{version}.tar.bz2
|
||||||
Patch1: ftop-ncurses.patch
|
Patch1: ftop-ncurses.patch
|
||||||
Patch2: ftop-fix_buffer_overflow.patch
|
Patch2: ftop-fix_buffer_overflow.patch
|
||||||
Patch3: ftop-fix_printf_format.patch
|
Patch3: ftop-fix_printf_format.patch
|
||||||
URL: http://code.google.com/p/ftop/
|
BuildRequires: autoconf
|
||||||
Group: System/Monitoring
|
BuildRequires: automake
|
||||||
License: GNU General Public License version 3 (GPL v3)
|
BuildRequires: gcc
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: gcc make glibc-devel
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: autoconf automake libtool pkgconfig
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ftop is to files what top is to processes. The progress of all open files and
|
Ftop is to files what top is to processes. The progress of all open files and
|
||||||
@ -34,13 +55,10 @@ items are displayed in order from most to least active.
|
|||||||
export CFLAGS="%{optflags} -Wall -DHAVE_LIBCURSES=1"
|
export CFLAGS="%{optflags} -Wall -DHAVE_LIBCURSES=1"
|
||||||
export CPPFLAGS="$CFLAGS"
|
export CPPFLAGS="$CFLAGS"
|
||||||
%configure
|
%configure
|
||||||
%__make %{?jobs:-j%{jobs}}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
|
|
||||||
%clean
|
|
||||||
%__rm -rf "%{buildroot}"
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -49,4 +67,3 @@ export CPPFLAGS="$CFLAGS"
|
|||||||
%doc %{_mandir}/man1/ftop.1%{ext_man}
|
%doc %{_mandir}/man1/ftop.1%{ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
# vim: set sw=4 ts=4 et nu:
|
|
||||||
|
Loading…
Reference in New Issue
Block a user