Ship /lib/kbd in separate subpackage

This commit is contained in:
vcrhonek 2010-06-24 10:32:53 +00:00
parent fa0c7ab02b
commit 0ee47b3f88

View File

@ -1,6 +1,6 @@
Name: kbd Name: kbd
Version: 1.15 Version: 1.15
Release: 10%{?dist} Release: 11%{?dist}
Summary: Tools for configuring the console (keyboard, virtual terminals, etc.) Summary: Tools for configuring the console (keyboard, virtual terminals, etc.)
Group: System Environment/Base Group: System Environment/Base
@ -22,12 +22,21 @@ Patch6: kbd-1.15-defkeymap.patch
BuildRequires: bison, flex, gettext BuildRequires: bison, flex, gettext
Conflicts: util-linux < 2.11r-9 Conflicts: util-linux < 2.11r-9
Requires: initscripts >= 5.86-1 Requires: initscripts >= 5.86-1
Requires: %{name}-misc = %{version}-%{release}
%description %description
The %{name} package contains tools for managing a Linux The %{name} package contains tools for managing a Linux
system's console's behavior, including the keyboard, the screen system's console's behavior, including the keyboard, the screen
fonts, the virtual terminals and font files. fonts, the virtual terminals and font files.
%package misc
Summary: Data for kbd package
BuildArch: noarch
%description misc
The %{name}-misc package contains data for kbd package - console fonts,
keymaps etc. Please note that %{name}-misc is not helpful without kbd.
%prep %prep
%setup -q -a 1 -a 2 -a 3 %setup -q -a 1 -a 2 -a 3
%patch0 -p1 -b .po %patch0 -p1 -b .po
@ -104,9 +113,15 @@ rm -rf $RPM_BUILD_ROOT
/bin/* /bin/*
%{_bindir}/* %{_bindir}/*
%{_mandir}/*/* %{_mandir}/*/*
%files misc
%defattr(-,root,root,-)
/lib/kbd /lib/kbd
%changelog %changelog
* Thu Jun 24 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.15-11
- Ship /lib/kbd in separate subpackage
* Mon Jun 14 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.15-10 * Mon Jun 14 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.15-10
- Fix name referring to default keymap - Fix name referring to default keymap