diff --git a/libxklavier.spec b/libxklavier.spec index 4ae7f70..827b5d3 100644 --- a/libxklavier.spec +++ b/libxklavier.spec @@ -1,28 +1,26 @@ -Name: libxklavier -Version: 5.4 -Release: 16 -Summary: A library providing high-level API for X Keyboard Extension -License: LGPLv2+ -URL: https://www.freedesktop.org/wiki/Software/LibXklavier -Source0: http://people.freedesktop.org/~svu/%{name}-%{version}.tar.bz2 +Name: libxklavier +Version: 5.4 +Release: 17 +Summary: Library with X keyboard related functions +License: LGPLv2+ +URL: https://www.freedesktop.org/wiki/Software/LibXklavier +Source0: http://people.freedesktop.org/~svu/%{name}-%{version}.tar.bz2 -BuildRequires: libX11-devel libxml2-devel iso-codes-devel -BuildRequires: glib2-devel libxkbfile-devel libXi-devel -BuildRequires: gdb gobject-introspection-devel -Requires: iso-codes +BuildRequires: libX11-devel libxml2-devel iso-codes-devel glib2-devel libxkbfile-devel +BuildRequires: libXi-devel gdb gobject-introspection-devel +Requires: iso-codes %description -Libxklavier is a library providing high-level API for X Keyboard Extension -known as XKB. This library is indended to support XFree86 and other commercial -X servers. It is useful for creating XKB-related software (layout indicators etc). +This package is a library that provides a high-level API for X keyboard extensions, called XKB. +This library can support XFree86 and other commercial X servers. -%package devel -Summary: Development files for %{name} -Requires: %{name} = %{version}-%{release} -Requires: libxml2-devel +%package devel +Summary: Libxklavier development files +Requires: %{name} = %{version}-%{release} libxml2-devel -%description devel -This package is the development files for %{name}. +%description devel +This package contains all necessary include files and libraries needed to develop +applications that require these. %package_help @@ -37,20 +35,20 @@ This package is the development files for %{name}. %make_install %delete_la_and_a -%ldconfig_scriptlets +%post +/sbin/ldconfig +%postun +/sbin/ldconfig %files %defattr(-,root,root) -%license COPYING.LIB -%doc AUTHORS ChangeLog -%{_libdir}/%{name}.so.* -%{_libdir}/girepository-1.0/Xkl-1.0.typelib +%doc AUTHORS ChangeLog COPYING.LIB +%{_libdir}/{girepository-1.0/Xkl-1.0.typelib,libxklavier.so.*} %files devel %defattr(-,root,root) -%{_includedir}/%{name}/*.h -%{_libdir}/%{name}.so -%{_libdir}/pkgconfig/%{name}.pc +%{_includedir}/libxklavier/*.h +%{_libdir}/{pkgconfig/libxklavier.pc,libxklavier.so} %{_datadir}/gir-1.0/Xkl-1.0.gir %files help @@ -59,23 +57,5 @@ This package is the development files for %{name}. %{_datadir}/gtk-doc/* %changelog -* Mon Oct 21 2019 openEuler Buildteam - 5.4-16 -- Type:enhancement -- Id:NA -- SUG:NA -- DESC:modify the location of COPYING.LIB - -* Fri Sep 6 2019 openEuler Buildteam - 5.4-15 -- Type:enhancement -- ID:NA -- SUG:NA -- DESC:add requires - -* Fri Aug 30 2019 shenyangyang - 5.4-14 -- Type:enhancement -- ID:NA -- SUG:NA -- DESC:add requires - -* Thu Aug 15 2019 openEuler Buildteam - 5.4-13 +* Wed Dec 11 2019 duyeyu - 5.4-17 - Package init