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