- Adding missing requires

- Passing OPTFLAGS to make
- UsrMove
This commit is contained in:
Jaromir Capik 2013-03-06 15:34:45 +01:00
parent 7b282cba3b
commit a67b04b296

View File

@ -1,7 +1,7 @@
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: 27%{?dist} Release: 28%{?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/
@ -23,6 +23,7 @@ Requires(postun): systemd-units
%define LIBVER 2.1.0 %define LIBVER 2.1.0
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 Requires: linuxconsoletools
Requires: %{name}-libs = %{version}-%{release}
%description %description
Gpm provides mouse support to text-based Linux applications like the Gpm provides mouse support to text-based Linux applications like the
@ -41,6 +42,7 @@ the gpm system calls and library functions.
%package devel %package devel
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
Summary: Development files for the gpm library Summary: Development files for the gpm library
Group: Development/Libraries Group: Development/Libraries
@ -78,7 +80,7 @@ autoreconf
%build %build
%configure %configure
make %{?_smp_mflags} make CFLAGS="%{optflags}" %{?_smp_mflags}
%install %install
@ -105,6 +107,9 @@ rm -rf %{buildroot}%{_bindir}
rm -rf %{buildroot}%{_mandir} rm -rf %{buildroot}%{_mandir}
%endif %endif
# UsrMove
mv -f %{buildroot}/lib %{buildroot}/usr/
%post %post
%ifnarch s390 s390x %ifnarch s390 s390x
%systemd_post gpm.service %systemd_post gpm.service
@ -146,7 +151,7 @@ fi
%{_infodir}/* %{_infodir}/*
%ifnarch s390 s390x %ifnarch s390 s390x
%config(noreplace) %{_sysconfdir}/gpm-* %config(noreplace) %{_sysconfdir}/gpm-*
/lib/systemd/system/gpm.service /usr/lib/systemd/system/gpm.service
%{_sbindir}/* %{_sbindir}/*
%{_bindir}/* %{_bindir}/*
%{_mandir}/man?/* %{_mandir}/man?/*
@ -163,6 +168,11 @@ fi
%{_libdir}/libgpm.a %{_libdir}/libgpm.a
%changelog %changelog
* Wed Mar 06 2013 Jaromir Capik <jcapik@redhat.com> - 1.20.6-28
- Adding missing requires
- Passing OPTFLAGS to make
- UsrMove
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20.6-27 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20.6-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild