Accepting request 149237 from Base:System

- Remove obsolete/undesired tags/sections
- Use more robust make install call (forwarded request 147893 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/149237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpm?expand=0&rev=35
This commit is contained in:
Stephan Kulow 2013-01-20 06:47:54 +00:00 committed by Git OBS Bridge
commit 45842e9acc
2 changed files with 24 additions and 29 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 10 10:41:10 UTC 2013 - jengelh@inai.de
- Remove obsolete/undesired tags/sections
- Use more robust make install call
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 15 04:47:11 UTC 2011 - coolo@suse.com Sat Oct 15 04:47:11 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package gpm # spec file for package gpm
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,25 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: gpm Name: gpm
BuildRequires: bison libtool lzma ncurses-devel Version: 1.20.6
Url: http://linux.schottelius.org/gpm/ Release: 0
Summary: Console Mouse Support
License: GPL-2.0+ License: GPL-2.0+
Group: System/Console Group: System/Console
Provides: select Url: http://linux.schottelius.org/gpm/
PreReq: /bin/sed %insserv_prereq %fillup_prereq
AutoReqProv: on
# bug437293
%ifarch ppc64
Obsoletes: gpm-64bit
%endif
#
Version: 1.20.6
Release: 3
Summary: Console Mouse Support
Source0: gpm-%{version}.tar.lzma Source0: gpm-%{version}.tar.lzma
Source1: gpm-%{version}-patches.tar.lzma Source1: gpm-%{version}-patches.tar.lzma
Source2: rcgpm Source2: rcgpm
@ -60,8 +50,18 @@ Patch23: gpm-lib-silent.patch
Patch24: gpm-libtool.patch Patch24: gpm-libtool.patch
Patch25: gpm-multilib.patch Patch25: gpm-multilib.patch
Patch26: gpm-weak-wgetch.patch Patch26: gpm-weak-wgetch.patch
BuildRequires: bison
BuildRequires: libtool
BuildRequires: lzma
BuildRequires: ncurses-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq PreReq: %install_info_prereq
PreReq: /bin/sed %insserv_prereq %fillup_prereq
Provides: select
%ifarch ppc64
# bug437293
Obsoletes: gpm-64bit
%endif
%description %description
The gpm (general purpose mouse) daemon tries to be a useful mouse The gpm (general purpose mouse) daemon tries to be a useful mouse
@ -69,18 +69,10 @@ server for applications running on the Linux console. It can be used by
mc (Midnight Commander) or by w3m, the text-based Web browser. It mc (Midnight Commander) or by w3m, the text-based Web browser. It
provides console cut and paste operations. provides console cut and paste operations.
Authors:
--------
Alessandro Rubini <rubini at ipvvis.unipv.it>
Nico Schottelius <nico at schottelius.org>
%package devel %package devel
License: GPL-2.0+
Group: Development/Libraries/C and C++
Requires: %{name} = %{version} Requires: %{name} = %{version}
Summary: Development files for gpm (Console Mouse Support) Summary: Development files for gpm (Console Mouse Support)
Group: Development/Libraries/C and C++
%description devel %description devel
Development files for the gpm (general purpose mouse) package. Development files for the gpm (general purpose mouse) package.
@ -120,7 +112,7 @@ make CC="%{__cc}" %{?_smp_mflags}
%__cc %{optflags} -o inputattach %{SOURCE6} %__cc %{optflags} -o inputattach %{SOURCE6}
%install %install
%makeinstall ROOT="" make install DESTDIR="%buildroot" ROOT=""
# #
# gpm confings # gpm confings
install -d $RPM_BUILD_ROOT/etc/${file/conf\/gpm-/gpm\/} install -d $RPM_BUILD_ROOT/etc/${file/conf\/gpm-/gpm\/}
@ -175,9 +167,6 @@ touch %{buildroot}%{_localstatedir}/run/gpm.pid
%restart_on_update gpm %restart_on_update gpm
%{insserv_cleanup} %{insserv_cleanup}
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc BUGS COPYING README README.SuSE TODO doc/changes %doc BUGS COPYING README README.SuSE TODO doc/changes