From 5e0a2e5b085446bdd5de1641e445f04a887d93b1 Mon Sep 17 00:00:00 2001 From: Jaromir Capik Date: Fri, 4 Jan 2013 11:51:47 +0100 Subject: [PATCH] - Removing bundled 'inputattach' tool (#875604) - ...gonna be shipped separately (linuxconsoletools) --- gpm.spec | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/gpm.spec b/gpm.spec index 4d3faf4..50c957c 100644 --- a/gpm.spec +++ b/gpm.spec @@ -1,14 +1,13 @@ Summary: A mouse server for the Linux console Name: gpm Version: 1.20.6 -Release: 25%{?dist} +Release: 26%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://www.nico.schottelius.org/software/gpm/ +#URL2 : http://freecode.com/projects/gpm Source: http://www.nico.schottelius.org/software/gpm/archives/%{name}-%{version}.tar.lzma Source1: gpm.service -Source2: inputattach.c -Source3: serio-ids.h Patch1: gpm-1.20.6-multilib.patch Patch2: gpm-1.20.1-lib-silent.patch Patch3: gpm-1.20.3-gcc4.3.patch @@ -22,8 +21,8 @@ Requires(preun): systemd-units info Requires(postun): systemd-units # this defines the library version that this package builds. %define LIBVER 2.1.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) BuildRequires: sed gawk texinfo bison ncurses-devel autoconf automake libtool libcap-ng-devel +Requires: linuxconsoletools %description Gpm provides mouse support to text-based Linux applications like the @@ -80,12 +79,9 @@ autoreconf %build %configure make %{?_smp_mflags} -%__cc $RPM_OPT_FLAGS -o inputattach %{SOURCE2} %{SOURCE3} %install -rm -rf %{buildroot} - %makeinstall chmod 0755 %{buildroot}/%{_libdir}/libgpm.so.%{LIBVER} @@ -96,7 +92,6 @@ rm -f %{buildroot}%{_datadir}/emacs/site-lisp/t-mouse.el %ifnarch s390 s390x mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d mkdir -p %{buildroot}/lib/systemd/system/ -install -m 755 inputattach %{buildroot}%{_sbindir} install -m 644 conf/gpm-* %{buildroot}%{_sysconfdir} # Systemd mkdir -p %{buildroot}/lib/systemd/system @@ -110,9 +105,6 @@ rm -rf %{buildroot}%{_bindir} rm -rf %{buildroot}%{_mandir} %endif -%clean -rm -rf %{buildroot} - %post %ifnarch s390 s390x %systemd_post gpm.service @@ -149,7 +141,6 @@ fi %postun libs -p /sbin/ldconfig %files -%defattr(-,root,root,-) %doc BUGS COPYING README TODO %doc doc/README* doc/FAQ doc/Announce doc/changes/* %{_infodir}/* @@ -162,19 +153,20 @@ fi %endif %files libs -%defattr(-,root,root,-) %{_libdir}/libgpm.so.* %files devel -%defattr(-,root,root,-) %{_includedir}/* %{_libdir}/libgpm.so %files static -%defattr(-,root,root,-) %{_libdir}/libgpm.a %changelog +* Wed Jan 03 2013 Jaromir Capik - 1.20.6-26 +- Removing bundled 'inputattach' tool (#875604) +- ...gonna be shipped separately (linuxconsoletools) + * Mon Sep 17 2012 Václav Pavlín - 1.20.6-25 - Scriptlets replaced with new systemd macros (#850134)