Accepting request 51438 from Base:System
Accepted submit request 51438 from user coolo OBS-URL: https://build.opensuse.org/request/show/51438 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpm?expand=0&rev=25
This commit is contained in:
commit
23d8497e36
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 26 16:44:52 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Own gpm pid file but %ghost it
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 8 19:59:58 CEST 2010 - pth@suse.de
|
Wed Sep 8 19:59:58 CEST 2010 - pth@suse.de
|
||||||
|
|
||||||
|
10
gpm.spec
10
gpm.spec
@ -112,7 +112,7 @@ cp %{S:2} %{S:3} %{S:4} .
|
|||||||
export SUSE_ASNEEDED=0
|
export SUSE_ASNEEDED=0
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
CFLAGS="$RPM_OPT_FLAGS -DQUIET_LIBGPM" \
|
CFLAGS="$RPM_OPT_FLAGS -DQUIET_LIBGPM" \
|
||||||
%configure \
|
%configure --disable-static \
|
||||||
--sysconfdir=/etc/gpm
|
--sysconfdir=/etc/gpm
|
||||||
%ifarch %arm
|
%ifarch %arm
|
||||||
make CC="gcc -lm"
|
make CC="gcc -lm"
|
||||||
@ -155,8 +155,9 @@ if grep "^GPM_PROTOCOL=" /etc/sysconfig/mouse 1>/dev/null 2>/dev/null ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Do not package static library
|
# Do not package static library
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/libgpm.a
|
rm -fv $RPM_BUILD_ROOT/%{_libdir}/libgpm.a
|
||||||
|
mkdir -p %{buildroot}%{_localstatedir}/run
|
||||||
|
touch %{buildroot}%{_localstatedir}/run/gpm.pid
|
||||||
%preun
|
%preun
|
||||||
%stop_on_removal gpm
|
%stop_on_removal gpm
|
||||||
|
|
||||||
@ -181,13 +182,14 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc doc/Announce doc/FAQ doc/README*
|
%doc doc/Announce doc/FAQ doc/README*
|
||||||
%{_infodir}/*
|
%{_infodir}/*
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%dir /etc/gpm
|
%dir %config /etc/gpm
|
||||||
%config /etc/gpm/*
|
%config /etc/gpm/*
|
||||||
%config /etc/init.d/gpm
|
%config /etc/init.d/gpm
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_libdir}/libgpm.so.*
|
%{_libdir}/libgpm.so.*
|
||||||
/var/adm/fillup-templates/*
|
/var/adm/fillup-templates/*
|
||||||
|
%ghost %{_localstatedir}/run/gpm.pid
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user