diff --git a/xkbcomp.changes b/xkbcomp.changes index 5786e61..cca89e0 100644 --- a/xkbcomp.changes +++ b/xkbcomp.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri May 11 08:45:25 UTC 2012 - vuntz@opensuse.org + +- Split the pkg-config file in a devel subpackage, instead of + removing it: it might be needed by some configure scripts. +- Remove xkbcomp-devel Provides from main subpackage now that we + have a proper devel subpackage. + ------------------------------------------------------------------- Fri May 11 08:22:43 UTC 2012 - coolo@suse.com diff --git a/xkbcomp.spec b/xkbcomp.spec index 9d4a68c..001c8ca 100644 --- a/xkbcomp.spec +++ b/xkbcomp.spec @@ -32,16 +32,21 @@ BuildRequires: pkgconfig(xorg-macros) >= 1.8 BuildRequires: pkgconfig(xproto) >= 7.0.17 # This was part of the xorg-x11 package up to version 7.6 Conflicts: xorg-x11 <= 7.6 -# xkbcomp is 'sort of' a compiler, thus actually a -devel tool. Providing the symbol -# here helps to silence rpmlint and makes it easier in the future, should this ever -# become bigger and require a real split. -Provides: %{name}-devel = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The xkbcomp keymap compiler converts a description of an XKB keymap into one of several output formats. +%package devel +Summary: Utility to compile XKB keyboard description -- Development Files +Group: Development/Libraries/X11 +Requires: %{name} = %{version} + +%description devel +The xkbcomp keymap compiler converts a description of an XKB keymap +into one of several output formats. + %prep %setup -q @@ -51,14 +56,15 @@ make %{?_smp_mflags} %install %make_install -# once we have something real to develop, we can split -devel -rm %{buildroot}%{_libdir}/pkgconfig/xkbcomp.pc %files %defattr(-,root,root) %doc ChangeLog COPYING README %{_bindir}/xkbcomp %{_mandir}/man1/xkbcomp.1%{?ext_man} -#%{_libdir}/pkgconfig/xkbcomp.pc + +%files devel +%defattr(-,root,root) +%{_libdir}/pkgconfig/xkbcomp.pc %changelog