commit gpm for openSUSE:Factory

2020-01-18 Thread root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2020-01-18 12:14:34

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new.26092 (New)


Package is "gpm"

Sat Jan 18 12:14:34 2020 rev:52 rq:764589 version:1.20.7

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2018-04-04 11:00:50.202003927 
+0200
+++ /work/SRC/openSUSE:Factory/.gpm.new.26092/gpm.changes   2020-01-18 
12:16:24.279083356 +0100
@@ -1,0 +2,10 @@
+Wed Jan 15 09:54:37 UTC 2020 - Adam Majer 
+
+- gpm-fno-common.patch: fix compilation in Tumbleweed (bsc#1160873) 
+
+---
+Thu Jan  9 07:43:00 UTC 2020 - Jean Delvare 
+
+- Add back support for the TAOS evaluation module to inputattach.
+
+---

New:

  gpm-fno-common.patch



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.1gPe7X/_old  2020-01-18 12:16:27.039084836 +0100
+++ /var/tmp/diff_new_pack.1gPe7X/_new  2020-01-18 12:16:27.043084838 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gpm
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -62,6 +62,7 @@
 Patch30:gpm-fix_fsf_addess.patch
 #PATCH-FIX-UPSTREAM Fix missing declarations
 Patch31:decls.patch
+Patch32:gpm-fno-common.patch
 BuildRequires:  bison
 BuildRequires:  libtool
 BuildRequires:  lzma
@@ -127,6 +128,7 @@
 %patch29
 %patch30
 %patch31 -p1
+%patch32 -p1
 cp %{S:2} %{S:3} %{S:4} .
 cp %{S:7} COPYING
 


++ gpm-fno-common.patch ++
Index: gpm-1.20.7/src/headers/daemon.h
===
--- gpm-1.20.7.orig/src/headers/daemon.h
+++ gpm-1.20.7/src/headers/daemon.h
@@ -180,7 +180,7 @@ extern struct mouse_features  mouse_tabl
 extern Gpm_Type mice[];
 extern Gpm_Type *repeated_type;
 
-time_t  last_selection_time;
+extern time_t   last_selection_time;
 
 
 
++ inputattach.c ++
--- /var/tmp/diff_new_pack.1gPe7X/_old  2020-01-18 12:16:27.179084911 +0100
+++ /var/tmp/diff_new_pack.1gPe7X/_new  2020-01-18 12:16:27.179084911 +0100
@@ -376,6 +376,9 @@
 { "--elo4002", "-elo6b",   B9600, CS8 | CRTSCTS,   
SERIO_ELO,  1,  0,  0,  NULL },
 { "--elo271-140",  "-elo4b",   B9600, CS8 | CRTSCTS,   
SERIO_ELO,  2,  0,  0,  NULL },
 { "--elo261-280",  "-elo3b",   B9600, CS8 | CRTSCTS,   
SERIO_ELO,  3,  0,  0,  NULL },
+#ifdef SERIO_TAOSEVM
+{ "--taos-evm","-taos",B1200, CS8, 
SERIO_TAOSEVM,  0,  0,  0,  NULL },
+#endif
 { "--dump","-dump",B2400, CS8, 0,  
0,  0,  0,  dump_init },
 { "", "", 0, 0 }
 
@@ -416,6 +419,9 @@
puts("  --ps2serkbd -ps2ser PS/2 via serial keyboard");
puts("  --twiddler  -twid   Handykey Twiddler chording 
keyboard");
puts("  --twiddler-joy  -twidjoy  Handykey Twiddler used as a 
joystick");
+#ifdef SERIO_TAOSEVM
+   puts("  --taos-evm  -taos TAOS evaluation module");
+#endif
puts("");
 return 1;
 }




commit gpm for openSUSE:Factory

2018-04-04 Thread root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2018-04-04 11:00:47

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is "gpm"

Wed Apr  4 11:00:47 2018 rev:51 rq:591538 version:1.20.7

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2017-11-30 12:31:41.847793820 
+0100
+++ /work/SRC/openSUSE:Factory/.gpm.new/gpm.changes 2018-04-04 
11:00:50.202003927 +0200
@@ -1,0 +2,5 @@
+Tue Mar 27 11:41:04 CEST 2018 - ku...@suse.de
+
+- Use %license instead of %doc [bsc#1082318]
+
+---



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.4qApKp/_old  2018-04-04 11:00:53.193895478 +0200
+++ /var/tmp/diff_new_pack.4qApKp/_new  2018-04-04 11:00:53.197895333 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gpm
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 Version:1.20.7
 Release:0
 Summary:Console Mouse Support
-License:GPL-2.0+ and GPL-3.0+
+License:GPL-2.0-or-later AND GPL-3.0-or-later
 Group:  System/Console
 Url:http://linux.schottelius.org/gpm/
 
@@ -87,7 +87,7 @@
 
 %package -n %lname
 Summary:Console mouse support library
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Libraries
 
 %description -n %lname
@@ -97,7 +97,7 @@
 
 %package devel
 Summary:Development files for gpm (Console Mouse Support)
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Development/Libraries/C and C++
 Requires:   %lname = %version
 
@@ -204,7 +204,8 @@
 
 %files
 %defattr(-,root,root)
-%doc COPYING README README.gpm2 README.SUSE TODO
+%license COPYING
+%doc README README.gpm2 README.SUSE TODO
 %doc doc/Announce doc/FAQ doc/README* doc/changelog
 %{_infodir}/*
 %{_mandir}/*/*





commit gpm for openSUSE:Factory

2017-11-30 Thread root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2017-11-30 12:31:40

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is "gpm"

Thu Nov 30 12:31:40 2017 rev:50 rq:545037 version:1.20.7

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2017-09-20 17:04:46.388430662 
+0200
+++ /work/SRC/openSUSE:Factory/.gpm.new/gpm.changes 2017-11-30 
12:31:41.847793820 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:40:02 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.xxyOv4/_old  2017-11-30 12:31:42.807758910 +0100
+++ /var/tmp/diff_new_pack.xxyOv4/_new  2017-11-30 12:31:42.807758910 +0100
@@ -16,6 +16,11 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 Name:   gpm
 %define lname  libgpm2
 Version:1.20.7
@@ -153,11 +158,11 @@
 #install contrib/emacs/t-mouse.el* %%{buildroot}/usr/share/emacs/site-lisp
 #
 # start script
-install -m 755 -d %{buildroot}/var/adm/fillup-templates
+install -m 755 -d %{buildroot}%{_fillupdir}
 install -m 755 -d %{buildroot}/%{_unitdir}
 install -m 755 -d %{buildroot}/usr/sbin
 install -m 755 inputattach %{buildroot}%{_sbindir}
-install -m 644 sysconfig.mouse-%{name} %{buildroot}/var/adm/fillup-templates
+install -m 644 sysconfig.mouse-%{name} %{buildroot}%{_fillupdir}
 install -m 644 %{S:2} %{buildroot}/%{_unitdir}/gpm.service
 ln -sf %{_sbindir}/service %{buildroot}/usr/sbin/rcgpm
 # there were two variables with the same value GPM_PROTOCOL and MOUSETYPE
@@ -208,7 +213,7 @@
 %{_unitdir}/gpm.service
 %{_bindir}/*
 %{_sbindir}/*
-/var/adm/fillup-templates/*
+%{_fillupdir}/*
 %ghost /run/gpm.pid
 
 %files -n %lname





commit gpm for openSUSE:Factory

2017-09-20 Thread root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2017-09-20 17:04:46

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is "gpm"

Wed Sep 20 17:04:46 2017 rev:49 rq:523413 version:1.20.7

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2017-08-24 17:38:33.025437114 
+0200
+++ /work/SRC/openSUSE:Factory/.gpm.new/gpm.changes 2017-09-20 
17:04:46.388430662 +0200
@@ -1,0 +2,5 @@
+Mon Sep 11 18:59:26 UTC 2017 - jeng...@inai.de
+
+- Update description and remove two unnecessary ldconfig calls.
+
+---



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.zaKaPK/_old  2017-09-20 17:04:47.388289912 +0200
+++ /var/tmp/diff_new_pack.zaKaPK/_new  2017-09-20 17:04:47.388289912 +0200
@@ -74,10 +74,11 @@
 %endif
 
 %description
-The gpm (general purpose mouse) daemon tries to be a useful mouse
-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
-provides console cut and paste operations.
+The gpm (general purpose mouse) daemon is a mouse server for
+applications running on the Linux console. It provides cut and paste
+operations. If a gpm-aware program, such as mc (Midnight Commander)
+or w3m (a text-based web browser), is active, they will use to gpm to
+receive mouse events and do custom handling.
 
 %package -n %lname
 Summary:Console mouse support library
@@ -184,14 +185,12 @@
 %service_del_preun gpm.service
 
 %post
-/sbin/ldconfig
 %{fillup_only gpm}
 %service_add_post gpm.service
 %{fillup_only -an mouse}
 %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 
 %postun
-/sbin/ldconfig
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 %service_del_postun gpm.service
 





commit gpm for openSUSE:Factory

2017-08-24 Thread root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2017-08-24 17:38:31

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is "gpm"

Thu Aug 24 17:38:31 2017 rev:48 rq:513698 version:1.20.7

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2017-06-16 10:48:33.616060059 
+0200
+++ /work/SRC/openSUSE:Factory/.gpm.new/gpm.changes 2017-08-24 
17:38:33.025437114 +0200
@@ -1,0 +2,5 @@
+Wed Jul  5 13:10:44 UTC 2017 - sch...@suse.de
+
+- decls.patch: fix missing declarations
+
+---

New:

  decls.patch



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.mWOE1z/_old  2017-08-24 17:38:36.081006932 +0200
+++ /var/tmp/diff_new_pack.mWOE1z/_new  2017-08-24 17:38:36.097004680 +0200
@@ -55,6 +55,8 @@
 Patch29:gpm-do_create_symlink.patch
 #PATCH-FIX-UPSTREAM Copy the current licence text from gpl-2.0+ to gpm.h
 Patch30:gpm-fix_fsf_addess.patch
+#PATCH-FIX-UPSTREAM Fix missing declarations
+Patch31:decls.patch
 BuildRequires:  bison
 BuildRequires:  libtool
 BuildRequires:  lzma
@@ -118,6 +120,7 @@
 %patch28
 %patch29
 %patch30
+%patch31 -p1
 cp %{S:2} %{S:3} %{S:4} .
 cp %{S:7} COPYING
 

++ decls.patch ++
__sigemptyset has been removed from glibc public
API headers in upcoming (2.26) release onwards

Upstream-PR: https://github.com/telmich/gpm/pull/20

Index: gpm-1.20.7/src/daemon/open_console.c
===
--- gpm-1.20.7.orig/src/daemon/open_console.c
+++ gpm-1.20.7/src/daemon/open_console.c
@@ -22,6 +22,7 @@
 #include   /* open and co.  */
 #include/* stat()*/
 #include   /* ioctl */
+#include  /* major */
 
 /* Linux specific (to be outsourced in gpm2 */
 #include/* for serial console check */
Index: gpm-1.20.7/src/prog/gpm-root.y
===
--- gpm-1.20.7.orig/src/prog/gpm-root.y
+++ gpm-1.20.7/src/prog/gpm-root.y
@@ -1196,7 +1196,7 @@ int main(int argc, char **argv)
/* reap your zombies */
childaction.sa_handler=reap_children;
 #if defined(__GLIBC__)
-   __sigemptyset(_mask);
+   sigemptyset(_mask);
 #else /* __GLIBC__ */
childaction.sa_mask=0;
 #endif /* __GLIBC__ */




commit gpm for openSUSE:Factory

2017-06-16 Thread root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2017-06-16 10:48:32

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is "gpm"

Fri Jun 16 10:48:32 2017 rev:47 rq:503236 version:1.20.7

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2016-01-28 17:17:58.0 
+0100
+++ /work/SRC/openSUSE:Factory/.gpm.new/gpm.changes 2017-06-16 
10:48:33.616060059 +0200
@@ -1,0 +2,5 @@
+Mon Jun 12 16:55:57 UTC 2017 - adam.ma...@suse.de
+
+- synced SLE .changes into devel project (bnc#1041340)
+
+---
@@ -24,0 +30,10 @@
+
+---
+Wed May 21 11:06:04 UTC 2014 - jseg...@novell.com
+
+- added necessary macros for systemd files
+
+---
+Tue May 13 10:34:12 UTC 2014 - nadvor...@suse.com
+
+- install gpm.service with mode 644 (bnc#877455)



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.ct5zX3/_old  2017-06-16 10:48:35.515792647 +0200
+++ /var/tmp/diff_new_pack.ct5zX3/_new  2017-06-16 10:48:35.519792084 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gpm
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed





commit gpm for openSUSE:Factory

2016-01-29 Thread h_root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2016-01-28 17:17:57

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is "gpm"

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2015-07-21 13:24:34.0 
+0200
+++ /work/SRC/openSUSE:Factory/.gpm.new/gpm.changes 2016-01-28 
17:17:58.0 +0100
@@ -1,0 +2,14 @@
+Fri Jan 22 16:09:10 CET 2016 - p...@suse.de
+
+- Remove dependency on aaa_base as using %{_sysconfig} instead of
+  hardcoded /etc shuts up rpmlint.
+- Use %{buildroot} and %{optflags} insead of env vars.
+
+---
+Wed Jan 13 10:54:53 CET 2016 - p...@suse.de
+
+- Add %post and %postun entries for libgpm2.
+- Add a current version  of GPL-2.0 with valid FSF address.
+- Add gpm-fix_fsf_addess.patch to get the current FSF address into
+  gpm.h.
+---

New:

  gpl-2.0.txt
  gpm-fix_fsf_addess.patch



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.rkzG4s/_old  2016-01-28 17:17:59.0 +0100
+++ /var/tmp/diff_new_pack.rkzG4s/_new  2016-01-28 17:17:59.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gpm
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,7 @@
 Source4:README.SUSE
 Source5:baselibs.conf
 Source6:inputattach.c
+Source7:gpl-2.0.txt
 Patch0: gpm-DESTDIR.patch
 Patch4: gpm-syn_conf.patch
 Patch6: gpm-conf.patch
@@ -52,6 +53,8 @@
 Patch28:gpm-dependencies.patch
 #PATCH-FIX-UPSTREAM Create the symlink libgpm.so
 Patch29:gpm-do_create_symlink.patch
+#PATCH-FIX-UPSTREAM Copy the current licence text from gpl-2.0+ to gpm.h
+Patch30:gpm-fix_fsf_addess.patch
 BuildRequires:  bison
 BuildRequires:  libtool
 BuildRequires:  lzma
@@ -114,58 +117,60 @@
 %patch26
 %patch28
 %patch29
+%patch30
 cp %{S:2} %{S:3} %{S:4} .
+cp %{S:7} COPYING
 
 %build
 # This package failed when testing with -Wl,-as-needed being default.
 # So we disable it here, if you want to retest, just delete this comment and 
the line below.
-#export SUSE_ASNEEDED=0
+#export SUSE_ASNEEDED=1
 NOCONFIGURE=1 ./autogen.sh
 autoreconf -fi
-CFLAGS="$RPM_OPT_FLAGS -DQUIET_LIBGPM -D_REENTRANT" \
+export CFLAGS="%{optflags} -DQUIET_LIBGPM -D_REENTRANT"
 %configure --disable-static \
-   --sysconfdir=/etc/gpm
-make CC="%{__cc}" %{?_smp_mflags}
-%__cc %{optflags} -o inputattach %{SOURCE6}
+   --sysconfdir=%{_sysconfdir}/gpm
+make CC=gcc %{?_smp_mflags}
+gcc %{optflags} -o inputattach %{SOURCE6}
 
 %install
 make install DESTDIR="%buildroot" ROOT="" 
 #
 # gpm confings
-install -d $RPM_BUILD_ROOT/etc/${file/conf\/gpm-/gpm\/}
+install -d %{buildroot}%{_sysconfdir}/${file/conf\/gpm-/gpm\/}
 for file in conf/gpm-* ; do
-  install -d $RPM_BUILD_ROOT/etc/${file/conf\/gpm-/gpm\/}
-  install -m 644 $file $RPM_BUILD_ROOT/etc/${file/conf\/gpm-/gpm\/}
+  install -d %{buildroot}%{_sysconfdir}/${file/conf\/gpm-/gpm\/}
+  install -m 644 $file %{buildroot}%{_sysconfdir}/${file/conf\/gpm-/gpm\/}
 done
 #
 # lisp
 # an updated version is part of emacs now
-#install -d $RPM_BUILD_ROOT/usr/share/emacs/site-lisp
-#install contrib/emacs/t-mouse.el* $RPM_BUILD_ROOT/usr/share/emacs/site-lisp
+#install -d %%{buildroot}/usr/share/emacs/site-lisp
+#install contrib/emacs/t-mouse.el* %%{buildroot}/usr/share/emacs/site-lisp
 #
 # start script
-install -m 755 -d $RPM_BUILD_ROOT/var/adm/fillup-templates
-install -m 755 -d $RPM_BUILD_ROOT/%{_unitdir}
-install -m 755 -d $RPM_BUILD_ROOT/usr/sbin
+install -m 755 -d %{buildroot}/var/adm/fillup-templates
+install -m 755 -d %{buildroot}/%{_unitdir}
+install -m 755 -d %{buildroot}/usr/sbin
 install -m 755 inputattach %{buildroot}%{_sbindir}
-install -m 644 sysconfig.mouse-%{name} $RPM_BUILD_ROOT/var/adm/fillup-templates
-install -m 644 %{S:2} $RPM_BUILD_ROOT/%{_unitdir}/gpm.service
-ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcgpm
+install -m 644 sysconfig.mouse-%{name} %{buildroot}/var/adm/fillup-templates
+install -m 644 %{S:2} %{buildroot}/%{_unitdir}/gpm.service
+ln -sf %{_sbindir}/service %{buildroot}/usr/sbin/rcgpm
 # there were two variables with the same value GPM_PROTOCOL and MOUSETYPE
 # in SuLi 8.2. The MOUSETYPE variable better conforms with with other
 # variable names MOUSEDEVICE and XMOUSETYPE name scheme, so get rid of
 # the obsolete GPM_PROTOCOL variable
-if grep 

commit gpm for openSUSE:Factory

2015-07-21 Thread h_root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2015-07-21 13:24:33

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is gpm

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2015-04-28 20:41:27.0 
+0200
+++ /work/SRC/openSUSE:Factory/.gpm.new/gpm.changes 2015-07-21 
13:24:34.0 +0200
@@ -1,0 +2,5 @@
+Thu Jul  9 06:54:11 UTC 2015 - wer...@suse.de
+
+- Make libgpm able to handle ncurses ABI 6
+
+---



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.NAYdZx/_old  2015-07-21 13:24:35.0 +0200
+++ /var/tmp/diff_new_pack.NAYdZx/_new  2015-07-21 13:24:35.0 +0200
@@ -122,7 +122,7 @@
 #export SUSE_ASNEEDED=0
 NOCONFIGURE=1 ./autogen.sh
 autoreconf -fi
-CFLAGS=$RPM_OPT_FLAGS -DQUIET_LIBGPM \
+CFLAGS=$RPM_OPT_FLAGS -DQUIET_LIBGPM -D_REENTRANT \
 %configure --disable-static \
--sysconfdir=/etc/gpm
 make CC=%{__cc} %{?_smp_mflags}


++ gpm-weak-wgetch.patch ++
--- /var/tmp/diff_new_pack.NAYdZx/_old  2015-07-21 13:24:35.0 +0200
+++ /var/tmp/diff_new_pack.NAYdZx/_new  2015-07-21 13:24:35.0 +0200
@@ -20,7 +20,7 @@
 ===
 --- src/lib/libcurses.c.orig   2012-10-26 23:21:38.0 +0200
 +++ src/lib/libcurses.c2013-04-16 12:26:55.834390599 +0200
-@@ -41,7 +41,12 @@
+@@ -41,7 +41,16 @@
  #endif /* HAVE_NCURSES_CURSES_H */
  #endif /* HAVE_NCURSES_H */
  
@@ -28,7 +28,11 @@
 +/* If win != NULL, it must have been created by ncurses anyway.
 +   Avoid circular library dependencies.  */
 +#pragma weak wgetch
++#if defined(NCURSES_VERSION_MAJOR)  (NCURSES_VERSION_MAJOR  5)
++#pragma weak _nc_stdscr
++#else
 +#pragma weak stdscr
++#endif
 +
 +#define GET(win) ((win  wgetch) ? wgetch(win) : getch())
  




commit gpm for openSUSE:Factory

2015-04-28 Thread h_root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2015-04-28 20:41:25

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is gpm

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2014-04-08 22:37:04.0 
+0200
+++ /work/SRC/openSUSE:Factory/.gpm.new/gpm.changes 2015-04-28 
20:41:27.0 +0200
@@ -1,0 +2,6 @@
+Tue Apr 14 16:15:49 UTC 2015 - jeng...@inai.de
+
+- Update license: the only GPL3 parts found are in the scripts/
+  directory, which is not packaged.
+
+---



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.NRB4cD/_old  2015-04-28 20:41:28.0 +0200
+++ /var/tmp/diff_new_pack.NRB4cD/_new  2015-04-28 20:41:28.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gpm
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -76,6 +76,7 @@
 
 %package -n %lname
 Summary:Console mouse support library
+License:GPL-2.0+
 Group:  System/Libraries
 
 %description -n %lname
@@ -85,6 +86,7 @@
 
 %package devel
 Summary:Development files for gpm (Console Mouse Support)
+License:GPL-2.0+
 Group:  Development/Libraries/C and C++
 Requires:   %lname = %version
 





commit gpm for openSUSE:Factory

2014-04-08 Thread h_root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2014-04-08 22:37:03

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is gpm

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2013-12-02 17:01:59.0 
+0100
+++ /work/SRC/openSUSE:Factory/.gpm.new/gpm.changes 2014-04-08 
22:37:04.0 +0200
@@ -1,0 +2,15 @@
+Sat Apr  5 18:03:49 UTC 2014 - dims...@opensuse.org
+
+- Install gpm.service without executable bit. The service files are
+  never 'started'. This silences a warning in journal:
+  systemd[1]: Configuration file /usr/lib/systemd/system/gpm.service
+  is marked executable. Please remove executable permission bits.
+  Proceeding anyway
+
+---
+Wed Mar 26 14:03:21 UTC 2014 - jeng...@inai.de
+
+- Implement shlib packaging guidelines: new libgpm2 subpackage
+- Add missing %pre scriptlet
+
+---



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.hW7mK8/_old  2014-04-08 22:37:05.0 +0200
+++ /var/tmp/diff_new_pack.hW7mK8/_new  2014-04-08 22:37:05.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gpm
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
@@ -17,6 +17,7 @@
 
 
 Name:   gpm
+%define lname  libgpm2
 Version:1.20.7
 Release:0
 Summary:Console Mouse Support
@@ -73,10 +74,19 @@
 mc (Midnight Commander) or by w3m, the text-based Web browser. It
 provides console cut and paste operations.
 
+%package -n %lname
+Summary:Console mouse support library
+Group:  System/Libraries
+
+%description -n %lname
+This package provides a library that handles mouse requests and
+delivers them to applications. See the description for the gpm
+package for more information.
+
 %package devel
-Requires:   %{name} = %{version}
 Summary:Development files for gpm (Console Mouse Support)
 Group:  Development/Libraries/C and C++
+Requires:   %lname = %version
 
 %description devel
 Development files for the gpm (general purpose mouse) package.
@@ -137,7 +147,7 @@
 install -m 755 -d $RPM_BUILD_ROOT/usr/sbin
 install -m 755 inputattach %{buildroot}%{_sbindir}
 install -m 644 sysconfig.mouse-%{name} $RPM_BUILD_ROOT/var/adm/fillup-templates
-install -m 755 %{S:2} $RPM_BUILD_ROOT/%{_unitdir}/gpm.service
+install -m 644 %{S:2} $RPM_BUILD_ROOT/%{_unitdir}/gpm.service
 ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcgpm
 # there were two variables with the same value GPM_PROTOCOL and MOUSETYPE
 # in SuLi 8.2. The MOUSETYPE variable better conforms with with other
@@ -157,6 +167,9 @@
 mkdir -p %{buildroot}/run
 touch %{buildroot}/run/gpm.pid
 
+%pre
+%service_add_pre gpm.service
+
 %preun
 %service_del_preun gpm.service
 
@@ -183,10 +196,13 @@
 %{_unitdir}/gpm.service
 %{_bindir}/*
 %{_sbindir}/*
-%{_libdir}/libgpm.so.*
 /var/adm/fillup-templates/*
 %ghost /run/gpm.pid
 
+%files -n %lname
+%defattr(-,root,root)
+%_libdir/libgpm.so.2*
+
 %files devel
 %defattr(-,root,root)
 %{_includedir}/gpm.h

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.hW7mK8/_old  2014-04-08 22:37:05.0 +0200
+++ /var/tmp/diff_new_pack.hW7mK8/_new  2014-04-08 22:37:05.0 +0200
@@ -1 +1 @@
-gpm
+libgpm2


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gpm for openSUSE:Factory

2013-12-02 Thread h_root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2013-12-02 17:01:58

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is gpm

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2013-04-22 14:30:27.0 
+0200
+++ /work/SRC/openSUSE:Factory/.gpm.new/gpm.changes 2013-12-02 
17:01:59.0 +0100
@@ -1,0 +2,12 @@
+Mon Dec  2 11:40:18 UTC 2013 - co...@suse.com
+
+- don't buildrequire systemd, we just need the macros
+
+---
+Mon Oct 28 13:46:46 UTC 2013 - p.drou...@gmail.com
+
+- Add systemd support and drop sysvinit support
+- Change pid directory for new standard one
+- Fix suse-wrong-suse-capitalisation rpmlint warning
+
+---

Old:

  README.SuSE
  rcgpm

New:

  README.SUSE
  gpm.service



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.o6J9ec/_old  2013-12-02 17:02:01.0 +0100
+++ /var/tmp/diff_new_pack.o6J9ec/_new  2013-12-02 17:02:01.0 +0100
@@ -25,9 +25,9 @@
 Url:http://linux.schottelius.org/gpm/
 
 Source0:
http://www.nico.schottelius.org/software/gpm/archives/gpm-%{version}.tar.lzma
-Source2:rcgpm
+Source2:gpm.service
 Source3:sysconfig.mouse-%{name}
-Source4:README.SuSE
+Source4:README.SUSE
 Source5:baselibs.conf
 Source6:inputattach.c
 Patch0: gpm-DESTDIR.patch
@@ -56,9 +56,11 @@
 BuildRequires:  lzma
 BuildRequires:  makeinfo
 BuildRequires:  ncurses-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-PreReq: %install_info_prereq
-PreReq: /bin/sed %insserv_prereq %fillup_prereq
+BuildRequires:  systemd-rpm-macros
+Requires(pre):  %install_info_prereq
+Requires(pre):  /bin/sed
+Requires(pre):  %fillup_prereq
+%{?systemd_requires}
 Provides:   select
 %ifarch ppc64
 # bug437293
@@ -106,7 +108,7 @@
 # This package failed when testing with -Wl,-as-needed being default.
 # So we disable it here, if you want to retest, just delete this comment and 
the line below.
 #export SUSE_ASNEEDED=0
-./autogen.sh
+NOCONFIGURE=1 ./autogen.sh
 autoreconf -fi
 CFLAGS=$RPM_OPT_FLAGS -DQUIET_LIBGPM \
 %configure --disable-static \
@@ -131,12 +133,12 @@
 #
 # start script
 install -m 755 -d $RPM_BUILD_ROOT/var/adm/fillup-templates
-install -m 755 -d $RPM_BUILD_ROOT/etc/init.d
+install -m 755 -d $RPM_BUILD_ROOT/%{_unitdir}
 install -m 755 -d $RPM_BUILD_ROOT/usr/sbin
 install -m 755 inputattach %{buildroot}%{_sbindir}
 install -m 644 sysconfig.mouse-%{name} $RPM_BUILD_ROOT/var/adm/fillup-templates
-install -m 755 rcgpm $RPM_BUILD_ROOT/etc/init.d/gpm
-ln -sf ../../etc/init.d/gpm $RPM_BUILD_ROOT/usr/sbin/rcgpm
+install -m 755 %{S:2} $RPM_BUILD_ROOT/%{_unitdir}/gpm.service
+ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcgpm
 # there were two variables with the same value GPM_PROTOCOL and MOUSETYPE
 # in SuLi 8.2. The MOUSETYPE variable better conforms with with other
 # variable names MOUSEDEVICE and XMOUSETYPE name scheme, so get rid of
@@ -152,38 +154,38 @@
 
 # Do not package static library
 rm -fv $RPM_BUILD_ROOT/%{_libdir}/libgpm.a
-mkdir -p %{buildroot}%{_localstatedir}/run
-touch %{buildroot}%{_localstatedir}/run/gpm.pid
+mkdir -p %{buildroot}/run
+touch %{buildroot}/run/gpm.pid
 
 %preun
-%stop_on_removal gpm
+%service_del_preun gpm.service
 
 %post
 /sbin/ldconfig
-%{fillup_and_insserv gpm}
+%{fillup_only gpm}
+%service_add_post gpm.service
 %{fillup_only -an mouse}
 %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 
 %postun
 /sbin/ldconfig
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
-%restart_on_update gpm
-%{insserv_cleanup}
+%service_del_postun gpm.service
 
 %files
 %defattr(-,root,root)
-%doc COPYING README README.gpm2 README.SuSE TODO
+%doc COPYING README README.gpm2 README.SUSE TODO
 %doc doc/Announce doc/FAQ doc/README* doc/changelog
 %{_infodir}/*
 %{_mandir}/*/*
 %dir %config /etc/gpm
 %config /etc/gpm/*
-%config /etc/init.d/gpm
+%{_unitdir}/gpm.service
 %{_bindir}/*
 %{_sbindir}/*
 %{_libdir}/libgpm.so.*
 /var/adm/fillup-templates/*
-%ghost %{_localstatedir}/run/gpm.pid
+%ghost /run/gpm.pid
 
 %files devel
 %defattr(-,root,root)

++ README.SUSE ++
Dear customer,

gpm is using more and more config files in /etc. Therefore we moved
all config files into /etc/gpm and removed gpm- from config file
names.

For example:
/etc/gpm-root.conf - /etc/gpm/root.conf
/etc/gpm-syn.conf  - /etc/gpm/syn.conf   
...


Have a lot of fun,
Your SuSE team

++ gpm.service ++
[Unit]

commit gpm for openSUSE:Factory

2013-04-22 Thread h_root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2013-04-22 14:30:26

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is gpm, Maintainer is nadvor...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2013-04-17 18:22:47.0 
+0200
+++ /work/SRC/openSUSE:Factory/.gpm.new/gpm.changes 2013-04-22 
14:30:27.0 +0200
@@ -1,0 +2,6 @@
+Mon Apr 22 11:26:44 UTC 2013 - cfarr...@suse.com
+
+- license update: GPL-2.0+ and GPL-3.0+
+  Scripts git-archive-tarbz2.sh and report_success.sh are GPL-3.0+ licensed
+
+---



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.6xNLic/_old  2013-04-22 14:30:31.0 +0200
+++ /var/tmp/diff_new_pack.6xNLic/_new  2013-04-22 14:30:31.0 +0200
@@ -20,7 +20,7 @@
 Version:1.20.7
 Release:0
 Summary:Console Mouse Support
-License:GPL-2.0+
+License:GPL-2.0+ and GPL-3.0+
 Group:  System/Console
 Url:http://linux.schottelius.org/gpm/
 


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gpm for openSUSE:Factory

2013-04-17 Thread h_root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2013-04-17 17:41:05

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is gpm, Maintainer is nadvor...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2013-02-15 18:45:40.0 
+0100
+++ /work/SRC/openSUSE:Factory/.gpm.new/gpm.changes 2013-04-17 
17:41:11.0 +0200
@@ -1,0 +2,21 @@
+Tue Apr 16 15:01:42 CEST 2013 - p...@suse.de
+
+- Add software URL.
+- Remove the patches tarball as upstream doesn't provide it anymore.
+
+---
+Tue Apr 16 12:23:35 CEST 2013 - p...@suse.de
+
+- Update to 1.20.7:
+
+- Adapt patches to changed sources.
+- Add patch to pass the directory for gpm.h when generating
+  dependencies: gpm-dependencies.patch
+- Add patch that enables the creation of the libgpm.so symlink
+  again and installs it: gpm-do_create_symlink.patch
+- Removed patches not needed anymore:
+  gpm-gcc4.3.patch
+  gpm-libtool.patch
+  config-guess-sub-update.patch
+
+---

Old:

  config-guess-sub-update.patch
  gpm-1.20.6-patches.tar.lzma
  gpm-1.20.6.tar.lzma
  gpm-gcc4.3.patch
  gpm-libtool.patch

New:

  gpm-1.20.7.tar.lzma
  gpm-dependencies.patch
  gpm-do_create_symlink.patch



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.sTZyX4/_old  2013-04-17 17:41:29.0 +0200
+++ /var/tmp/diff_new_pack.sTZyX4/_new  2013-04-17 17:41:29.0 +0200
@@ -17,15 +17,14 @@
 
 
 Name:   gpm
-Version:1.20.6
+Version:1.20.7
 Release:0
 Summary:Console Mouse Support
 License:GPL-2.0+
 Group:  System/Console
 Url:http://linux.schottelius.org/gpm/
 
-Source0:gpm-%{version}.tar.lzma
-Source1:gpm-%{version}-patches.tar.lzma
+Source0:
http://www.nico.schottelius.org/software/gpm/archives/gpm-%{version}.tar.lzma
 Source2:rcgpm
 Source3:sysconfig.mouse-%{name}
 Source4:README.SuSE
@@ -45,15 +44,17 @@
 Patch19:gpm-use_getdtablesize.patch
 Patch20:gpm-int_ptr_casts.patch
 Patch21:gpm-close-fds.patch
-Patch22:gpm-gcc4.3.patch
 Patch23:gpm-lib-silent.patch
-Patch24:gpm-libtool.patch
 Patch25:gpm-multilib.patch
 Patch26:gpm-weak-wgetch.patch
-Patch27:config-guess-sub-update.patch
+#PATCH-FIX-UPSTREAM Pass path to gpm.h
+Patch28:gpm-dependencies.patch
+#PATCH-FIX-UPSTREAM Create the symlink libgpm.so
+Patch29:gpm-do_create_symlink.patch
 BuildRequires:  bison
 BuildRequires:  libtool
 BuildRequires:  lzma
+BuildRequires:  makeinfo
 BuildRequires:  ncurses-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 PreReq: %install_info_prereq
@@ -94,18 +95,18 @@
 %patch19
 %patch20
 %patch21
-%patch22
 %patch23
-%patch24
 %patch25
 %patch26
-%patch27
+%patch28
+%patch29
 cp %{S:2} %{S:3} %{S:4} .
 
 %build
 # This package failed when testing with -Wl,-as-needed being default.
 # So we disable it here, if you want to retest, just delete this comment and 
the line below.
-export SUSE_ASNEEDED=0
+#export SUSE_ASNEEDED=0
+./autogen.sh
 autoreconf -fi
 CFLAGS=$RPM_OPT_FLAGS -DQUIET_LIBGPM \
 %configure --disable-static \
@@ -171,8 +172,8 @@
 
 %files
 %defattr(-,root,root)
-%doc BUGS COPYING README README.SuSE TODO doc/changes
-%doc doc/Announce doc/FAQ doc/README*
+%doc COPYING README README.gpm2 README.SuSE TODO
+%doc doc/Announce doc/FAQ doc/README* doc/changelog
 %{_infodir}/*
 %{_mandir}/*/*
 %dir %config /etc/gpm
@@ -186,7 +187,7 @@
 
 %files devel
 %defattr(-,root,root)
-%{_includedir}/*.h
+%{_includedir}/gpm.h
 %{_libdir}/libgpm.so
 
 %changelog

++ gpm-DESTDIR.patch ++
--- /var/tmp/diff_new_pack.sTZyX4/_old  2013-04-17 17:41:29.0 +0200
+++ /var/tmp/diff_new_pack.sTZyX4/_new  2013-04-17 17:41:29.0 +0200
@@ -1,8 +1,15 @@
+---
+ Makefile.in |8 ++--
+ Makefile.include.in |1 +
+ doc/Makefile.in |   31 ++-
+ src/Makefile.in |   19 ++-
+ 4 files changed, 27 insertions(+), 32 deletions(-)
+
 Index: Makefile.in
 ===
 Makefile.in.orig   2009-02-09 10:58:53.0 +0100
-+++ Makefile.in2010-09-07 19:08:40.912655993 +0200
-@@ -87,9 +87,13 @@ install-strip:
+--- Makefile.in.orig   2012-10-26 23:21:38.0 +0200
 Makefile.in2013-04-16 11:42:15.933917724 +0200
+@@ -65,9 +65,13 @@ install-strip:
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) $(STRIP)' 

commit gpm for openSUSE:Factory

2013-02-15 Thread h_root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2013-02-15 18:45:39

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is gpm, Maintainer is nadvor...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2013-01-20 07:47:56.0 
+0100
+++ /work/SRC/openSUSE:Factory/.gpm.new/gpm.changes 2013-02-15 
18:45:40.0 +0100
@@ -1,0 +2,6 @@
+Tue Feb 12 07:56:47 UTC 2013 - sch...@suse.de
+
+- config-guess-sub-update.patch:
+  Update config.guess/sub for aarch64
+
+---

New:

  config-guess-sub-update.patch



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.nRrMZ0/_old  2013-02-15 18:45:42.0 +0100
+++ /var/tmp/diff_new_pack.nRrMZ0/_new  2013-02-15 18:45:42.0 +0100
@@ -50,6 +50,7 @@
 Patch24:gpm-libtool.patch
 Patch25:gpm-multilib.patch
 Patch26:gpm-weak-wgetch.patch
+Patch27:config-guess-sub-update.patch
 BuildRequires:  bison
 BuildRequires:  libtool
 BuildRequires:  lzma
@@ -98,6 +99,7 @@
 %patch24
 %patch25
 %patch26
+%patch27
 cp %{S:2} %{S:3} %{S:4} .
 
 %build

++ config-guess-sub-update.patch ++
 1639 lines (skipped)



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gpm for openSUSE:Factory

2013-01-19 Thread h_root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2013-01-20 07:47:54

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is gpm, Maintainer is nadvor...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/gpm/gpm.changes  2011-10-16 12:49:48.0 
+0200
+++ /work/SRC/openSUSE:Factory/.gpm.new/gpm.changes 2013-01-20 
07:47:56.0 +0100
@@ -1,0 +2,6 @@
+Thu Jan 10 10:41:10 UTC 2013 - jeng...@inai.de
+
+- Remove obsolete/undesired tags/sections
+- Use more robust make install call
+
+---



Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.pWwTgL/_old  2013-01-20 07:47:58.0 +0100
+++ /var/tmp/diff_new_pack.pWwTgL/_new  2013-01-20 07:47:58.0 +0100
@@ -1,7 +1,7 @@
 #
 # 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
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,25 +15,15 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   gpm
-BuildRequires:  bison libtool lzma ncurses-devel
-Url:http://linux.schottelius.org/gpm/
-License:GPL-2.0+
-Group:  System/Console
-Provides:   select
-PreReq: /bin/sed %insserv_prereq %fillup_prereq
-AutoReqProv:on
-# bug437293
-%ifarch ppc64
-Obsoletes:  gpm-64bit
-%endif
-#
 Version:1.20.6
-Release:3
+Release:0
 Summary:Console Mouse Support
+License:GPL-2.0+
+Group:  System/Console
+Url:http://linux.schottelius.org/gpm/
+
 Source0:gpm-%{version}.tar.lzma
 Source1:gpm-%{version}-patches.tar.lzma
 Source2:rcgpm
@@ -60,8 +50,18 @@
 Patch24:gpm-libtool.patch
 Patch25:gpm-multilib.patch
 Patch26:gpm-weak-wgetch.patch
+BuildRequires:  bison
+BuildRequires:  libtool
+BuildRequires:  lzma
+BuildRequires:  ncurses-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 PreReq: %install_info_prereq
+PreReq: /bin/sed %insserv_prereq %fillup_prereq
+Provides:   select
+%ifarch ppc64
+# bug437293
+Obsoletes:  gpm-64bit
+%endif
 
 %description
 The gpm (general purpose mouse) daemon tries to be a useful mouse
@@ -69,18 +69,10 @@
 mc (Midnight Commander) or by w3m, the text-based Web browser. It
 provides console cut and paste operations.
 
-
-
-Authors:
-
-Alessandro Rubini rubini at ipvvis.unipv.it
-Nico Schottelius nico at schottelius.org
-
 %package devel
-License:GPL-2.0+
-Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
 Summary:Development files for gpm (Console Mouse Support)
+Group:  Development/Libraries/C and C++
 
 %description devel
 Development files for the gpm (general purpose mouse) package.
@@ -120,7 +112,7 @@
 %__cc %{optflags} -o inputattach %{SOURCE6}
 
 %install
-%makeinstall ROOT= 
+make install DESTDIR=%buildroot ROOT= 
 #
 # gpm confings
 install -d $RPM_BUILD_ROOT/etc/${file/conf\/gpm-/gpm\/}
@@ -175,9 +167,6 @@
 %restart_on_update gpm
 %{insserv_cleanup}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root)
 %doc BUGS COPYING README README.SuSE TODO doc/changes



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gpm for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package gpm for openSUSE:Factory checked in 
at 2011-12-06 18:15:56

Comparing /work/SRC/openSUSE:Factory/gpm (Old)
 and  /work/SRC/openSUSE:Factory/.gpm.new (New)


Package is gpm, Maintainer is nadvor...@suse.com

Changes:




Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.Vr5ZmF/_old  2011-12-06 18:24:47.0 +0100
+++ /var/tmp/diff_new_pack.Vr5ZmF/_new  2011-12-06 18:24:47.0 +0100
@@ -21,7 +21,7 @@
 Name:   gpm
 BuildRequires:  bison libtool lzma ncurses-devel
 Url:http://linux.schottelius.org/gpm/
-License:GPLv2+
+License:GPL-2.0+
 Group:  System/Console
 Provides:   select
 PreReq: /bin/sed %insserv_prereq %fillup_prereq
@@ -77,7 +77,7 @@
 Nico Schottelius nico at schottelius.org
 
 %package devel
-License:GPLv2+
+License:GPL-2.0+
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
 Summary:Development files for gpm (Console Mouse Support)



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gpm for openSUSE:Factory

2011-10-16 Thread h_root

Hello community,

here is the log from the commit of package gpm for openSUSE:Factory
checked in at Sun Oct 16 12:46:43 CEST 2011.




--- openSUSE:Factory/gpm/gpm.changes2011-10-04 21:33:29.0 +0200
+++ /mounts/work_src_done/STABLE/gpm/gpm.changes2011-10-15 
06:52:06.0 +0200
@@ -1,0 +2,5 @@
+Sat Oct 15 04:47:11 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to make the spec file more reliable
+
+---

calling whatdependson for head-i586




Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.jmHUdn/_old  2011-10-16 12:46:38.0 +0200
+++ /var/tmp/diff_new_pack.jmHUdn/_new  2011-10-16 12:46:38.0 +0200
@@ -19,7 +19,7 @@
 
 
 Name:   gpm
-BuildRequires:  bison lzma ncurses-devel
+BuildRequires:  bison libtool lzma ncurses-devel
 Url:http://linux.schottelius.org/gpm/
 License:GPLv2+
 Group:  System/Console



continue with q...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gpm for openSUSE:Factory

2011-10-04 Thread h_root

Hello community,

here is the log from the commit of package gpm for openSUSE:Factory
checked in at Tue Oct 4 21:33:30 CEST 2011.




--- openSUSE:Factory/gpm/gpm.changes2011-09-23 02:01:51.0 +0200
+++ /mounts/work_src_done/STABLE/gpm/gpm.changes2011-09-30 
17:19:07.0 +0200
@@ -1,0 +2,5 @@
+Fri Sep 30 15:18:56 UTC 2011 - u...@suse.com
+
+- cross-build fix: use %__cc macro
+
+---

calling whatdependson for head-i586




Other differences:
--
++ gpm.spec ++
--- /var/tmp/diff_new_pack.weu0na/_old  2011-10-04 21:33:27.0 +0200
+++ /var/tmp/diff_new_pack.weu0na/_new  2011-10-04 21:33:27.0 +0200
@@ -116,10 +116,7 @@
 CFLAGS=$RPM_OPT_FLAGS -DQUIET_LIBGPM \
 %configure --disable-static \
--sysconfdir=/etc/gpm
-%ifarch %arm
-make CC=gcc -lm
-%endif
-make %{?_smp_mflags}
+make CC=%{__cc} %{?_smp_mflags}
 %__cc %{optflags} -o inputattach %{SOURCE6}
 
 %install



continue with q...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org