SHA256
1
0
forked from pool/gpm

- 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

OBS-URL: https://build.opensuse.org/package/show/Base:System/gpm?expand=0&rev=25
This commit is contained in:
Philipp Thomas
2013-04-16 11:33:36 +00:00
committed by Git OBS Bridge
parent 4482c29adb
commit e34d9fc588
13 changed files with 204 additions and 114 deletions

View File

@@ -17,7 +17,7 @@
Name: gpm
Version: 1.20.6
Version: 1.20.7
Release: 0
Summary: Console Mouse Support
License: GPL-2.0+
@@ -45,15 +45,17 @@ Patch18: gpm-glibc210.patch
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 +96,18 @@ Development files for the gpm (general purpose mouse) package.
%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 +173,8 @@ touch %{buildroot}%{_localstatedir}/run/gpm.pid
%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 +188,7 @@ touch %{buildroot}%{_localstatedir}/run/gpm.pid
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_includedir}/gpm.h
%{_libdir}/libgpm.so
%changelog