SHA256
1
0
forked from pool/ftop

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:
Martin Caj 2014-09-08 07:25:31 +00:00 committed by Git OBS Bridge
parent 592e8d626c
commit 663017e887
2 changed files with 44 additions and 22 deletions

View File

@ -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

View File

@ -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 # Please submit bugfixes or comments via http://bugs.opensuse.org/
Version: 1.0 #
Release: 0
Summary: Open File Monitoring
Source: http://ftop.googlecode.com/files/ftop-%{version}.tar.bz2 Name: ftop
Patch1: ftop-ncurses.patch Version: 1.0
Patch2: ftop-fix_buffer_overflow.patch Release: 0
Patch3: ftop-fix_printf_format.patch Summary: Open File Monitoring
URL: http://code.google.com/p/ftop/ License: GPL-3.0
Group: System/Monitoring Group: System/Monitoring
License: GNU General Public License version 3 (GPL v3) Url: http://code.google.com/p/ftop/
BuildRoot: %{_tmppath}/build-%{name}-%{version} Source: http://ftop.googlecode.com/files/ftop-%{version}.tar.bz2
BuildRequires: ncurses-devel Patch1: ftop-ncurses.patch
BuildRequires: gcc make glibc-devel Patch2: ftop-fix_buffer_overflow.patch
BuildRequires: autoconf automake libtool pkgconfig 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 %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: