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
|
||||
|
||||
|
61
ftop.spec
61
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.
|
||||
|
||||
Name: ftop
|
||||
Version: 1.0
|
||||
Release: 0
|
||||
Summary: Open File Monitoring
|
||||
Source: http://ftop.googlecode.com/files/ftop-%{version}.tar.bz2
|
||||
Patch1: ftop-ncurses.patch
|
||||
Patch2: ftop-fix_buffer_overflow.patch
|
||||
Patch3: ftop-fix_printf_format.patch
|
||||
URL: http://code.google.com/p/ftop/
|
||||
Group: System/Monitoring
|
||||
License: GNU General Public License version 3 (GPL v3)
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: gcc make glibc-devel
|
||||
BuildRequires: autoconf automake libtool pkgconfig
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: ftop
|
||||
Version: 1.0
|
||||
Release: 0
|
||||
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
|
||||
Patch1: ftop-ncurses.patch
|
||||
Patch2: ftop-fix_buffer_overflow.patch
|
||||
Patch3: ftop-fix_printf_format.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: make
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
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 CPPFLAGS="$CFLAGS"
|
||||
%configure
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
%__rm -rf "%{buildroot}"
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -49,4 +67,3 @@ export CPPFLAGS="$CFLAGS"
|
||||
%doc %{_mandir}/man1/ftop.1%{ext_man}
|
||||
|
||||
%changelog
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
|
Loading…
Reference in New Issue
Block a user