diff --git a/libxklavier.spec b/libxklavier.spec index 827b5d3..4ae7f70 100644 --- a/libxklavier.spec +++ b/libxklavier.spec @@ -1,26 +1,28 @@ -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 +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 -BuildRequires: libX11-devel libxml2-devel iso-codes-devel glib2-devel libxkbfile-devel -BuildRequires: libXi-devel gdb gobject-introspection-devel -Requires: iso-codes +BuildRequires: libX11-devel libxml2-devel iso-codes-devel +BuildRequires: glib2-devel libxkbfile-devel libXi-devel +BuildRequires: gdb gobject-introspection-devel +Requires: iso-codes %description -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. +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). -%package devel -Summary: Libxklavier development files -Requires: %{name} = %{version}-%{release} libxml2-devel +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} +Requires: libxml2-devel -%description devel -This package contains all necessary include files and libraries needed to develop -applications that require these. +%description devel +This package is the development files for %{name}. %package_help @@ -35,20 +37,20 @@ applications that require these. %make_install %delete_la_and_a -%post -/sbin/ldconfig -%postun -/sbin/ldconfig +%ldconfig_scriptlets %files %defattr(-,root,root) -%doc AUTHORS ChangeLog COPYING.LIB -%{_libdir}/{girepository-1.0/Xkl-1.0.typelib,libxklavier.so.*} +%license COPYING.LIB +%doc AUTHORS ChangeLog +%{_libdir}/%{name}.so.* +%{_libdir}/girepository-1.0/Xkl-1.0.typelib %files devel %defattr(-,root,root) -%{_includedir}/libxklavier/*.h -%{_libdir}/{pkgconfig/libxklavier.pc,libxklavier.so} +%{_includedir}/%{name}/*.h +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/%{name}.pc %{_datadir}/gir-1.0/Xkl-1.0.gir %files help @@ -57,5 +59,23 @@ applications that require these. %{_datadir}/gtk-doc/* %changelog -* Wed Dec 11 2019 duyeyu - 5.4-17 +* 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 - Package init