auto-import changelog data from gpm-1.19.3-27.src.rpm
Wed Jan 29 2003 Bill Nottingham <notting@redhat.com> 1.19.13-27 - ship libraries on s390/s390x Wed Jan 22 2003 Tim Powers <timp@redhat.com> - rebuilt Mon Jan 13 2003 Bill Nottingham <notting@redhat.com> 1.19.13-25 - don't automatically enable the repeater when '-M' is in use Fri Nov 22 2002 Tim Powers <timp@redhat.com> - remove unpackaged files from the buildroot
This commit is contained in:
parent
7be0cef9fc
commit
a19f9c16c9
49
gpm.spec
49
gpm.spec
@ -1,10 +1,9 @@
|
||||
Summary: A mouse server for the Linux console.
|
||||
Name: gpm
|
||||
Version: 1.19.3
|
||||
Release: 23
|
||||
Release: 27
|
||||
License: GPL
|
||||
Group: System Environment/Daemons
|
||||
ExcludeArch: s390 s390x
|
||||
Source: ftp://ftp.systemy.it/pub/develop/%{name}-%{version}.tar.gz
|
||||
Source1: gpm.init
|
||||
Patch0: gpm-nops.patch
|
||||
@ -16,6 +15,7 @@ Patch6: gpm-1.19.2-limits.patch
|
||||
Patch7: gpm-1.19.3-serialconsole.patch
|
||||
Patch8: gpm-1.19.3-devfs.patch
|
||||
Patch9: gpm-1.19.3-noworldwrite.patch
|
||||
Patch10: gpm-1.19.3-norepeater.patch
|
||||
|
||||
Prereq: /sbin/chkconfig /sbin/ldconfig /sbin/install-info
|
||||
Requires: pam >= 0.72-22 bash >= 2.0
|
||||
@ -56,6 +56,7 @@ mouse button.
|
||||
%patch7 -p1 -b .serialconsole
|
||||
%patch8 -p1 -b .devfs
|
||||
%patch9 -p1 -b .noworldwrite
|
||||
%patch10 -p1 -b .repeater
|
||||
|
||||
%build
|
||||
autoconf
|
||||
@ -73,9 +74,12 @@ PATH=/sbin:$PATH:/usr/sbin:$PATH
|
||||
mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp
|
||||
%makeinstall lispdir=%{buildroot}%{_datadir}/emacs/site-lisp
|
||||
|
||||
%ifnarch s390 s390x
|
||||
install -m644 doc/gpm-root.1 %{buildroot}%{_mandir}/man1
|
||||
install -m644 gpm-root.conf %{buildroot}%{_sysconfdir}
|
||||
install -s -m755 hltest %{buildroot}%{_bindir}
|
||||
%endif
|
||||
|
||||
make t-mouse.el t-mouse.elc
|
||||
cp t-mouse.el* %{buildroot}%{_datadir}/emacs/site-lisp
|
||||
|
||||
@ -87,8 +91,10 @@ cp t-mouse.el* %{buildroot}%{_datadir}/emacs/site-lisp
|
||||
popd
|
||||
}
|
||||
|
||||
%ifnarch s390 s390x
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
|
||||
install -m 755 $RPM_SOURCE_DIR/gpm.init %{buildroot}%{_sysconfdir}/rc.d/init.d/gpm
|
||||
%endif
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
|
||||
cat >$RPM_BUILD_ROOT/etc/sysconfig/gpm <<EOF
|
||||
@ -97,44 +103,59 @@ OPTIONS=""
|
||||
DEVICE="/dev/mouse"
|
||||
EOF
|
||||
|
||||
# remove stuff from the buildroot that we aren't shipping
|
||||
rm -f $RPM_BUILD_ROOT%{_bindir}/disable-paste
|
||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/mouse-test.1*
|
||||
%ifarch s390 s390x
|
||||
rm -f $RPM_BUILD_ROOT/usr/sbin/gpm $RPM_BUILD_ROOT/%{_bindir}/*
|
||||
rm -rf $RPM_BUILD_ROOT/%{_mandir}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
%ifnarch s390 s390x
|
||||
/sbin/chkconfig --add gpm
|
||||
%endif
|
||||
/sbin/ldconfig
|
||||
/sbin/install-info %{_infodir}/gpm.info.gz %{_infodir}/dir
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info %{_infodir}/gpm.info.gz --delete %{_infodir}/dir
|
||||
%ifnarch s390 s390x
|
||||
service gpm stop >/dev/null 2>&1
|
||||
/sbin/chkconfig --del gpm
|
||||
%endif
|
||||
fi
|
||||
|
||||
%postun
|
||||
%ifnarch s390 s390x
|
||||
if [ "$1" -ge "1" ]; then
|
||||
service gpm condrestart >/dev/null 2>&1
|
||||
fi
|
||||
%endif
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%ifnarch s390 s390x
|
||||
%config %{_sysconfdir}/gpm-root.conf
|
||||
|
||||
%config %{_sysconfdir}/rc.d/init.d/gpm
|
||||
%{_bindir}/mev
|
||||
%{_bindir}/gpm-root
|
||||
%{_bindir}/hltest
|
||||
/usr/sbin/gpm
|
||||
%{_datadir}/emacs/site-lisp/t-mouse.el
|
||||
%{_datadir}/emacs/site-lisp/t-mouse.elc
|
||||
%{_infodir}/gpm.info*
|
||||
%{_mandir}/man1/mev.1*
|
||||
%{_mandir}/man1/gpm-root*
|
||||
%{_mandir}/man7/gpm-types*
|
||||
%{_mandir}/man8/gpm*
|
||||
/usr/sbin/gpm
|
||||
%endif
|
||||
%{_datadir}/emacs/site-lisp/t-mouse.el
|
||||
%{_datadir}/emacs/site-lisp/t-mouse.elc
|
||||
%{_infodir}/gpm.info*
|
||||
%{_libdir}/libgpm.so.*
|
||||
%config %{_sysconfdir}/rc.d/init.d/gpm
|
||||
%config %{_sysconfdir}/sysconfig/gpm
|
||||
|
||||
%files devel
|
||||
@ -144,6 +165,18 @@ fi
|
||||
%{_libdir}/libgpm.so
|
||||
|
||||
%changelog
|
||||
* Wed Jan 29 2003 Bill Nottingham <notting@redhat.com> 1.19.13-27
|
||||
- ship libraries on s390/s390x
|
||||
|
||||
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Mon Jan 13 2003 Bill Nottingham <notting@redhat.com> 1.19.13-25
|
||||
- don't automatically enable the repeater when '-M' is in use
|
||||
|
||||
* Fri Nov 22 2002 Tim Powers <timp@redhat.com>
|
||||
- remove unpackaged files from the buildroot
|
||||
|
||||
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
||||
- automated rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user