Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
5540651ed7
!19 [sync] PR-18: enable test
From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2023-03-13 02:39:10 +00:00
zhangpan
3da5071d2a enable test
(cherry picked from commit f489695faa774093d836b194074b09a3ba351c7e)
2023-03-11 17:28:01 +08:00
openeuler-ci-bot
ad5fa82cf7
!9 Drop intltoolize from autogen.sh
From: @kouwq 
Reviewed-by: @dou33 
Signed-off-by: @dou33
2022-09-07 02:39:38 +00:00
Kou Wenqi
37990b29e6 Drop intltool requirement from autogen.sh
intltool is not used by libxklavier.
2022-09-06 17:09:10 +08:00
openeuler-ci-bot
683db154b2 !2 modify buildrequire
Merge pull request !2 from jinjin/master
2020-03-21 23:34:31 +08:00
yanglijin
11b78b7788 modify buildrequires 2020-03-21 10:28:14 -04:00
dogsheng
8274210cb6 Package init 2019-12-25 15:56:28 +08:00
dogsheng
9b03da6751 Package init 2019-12-13 15:43:30 +08:00
openeuler-ci-bot
448b9abdf5 !1 package init
Merge pull request !1 from duyyb/next_openeuler
2019-12-13 14:01:43 +08:00
duyyb
d184910ddb package init 2019-12-13 11:42:41 +08:00
2 changed files with 70 additions and 44 deletions

View File

@ -0,0 +1,32 @@
From 4590ef4cb64b9a2fc45b82bd06a6358ff3aed1f3 Mon Sep 17 00:00:00 2001
From: Michael Biebl <biebl@debian.org>
Date: Thu, 20 Oct 2016 19:14:14 +0200
Subject: [PATCH] autogen.sh: Drop intltool requirement
intltool is not used by libxklavier.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98363
---
autogen.sh | 6 ------
1 file changed, 6 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index c0b4dcf..279d1e9 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -13,12 +13,6 @@ if test -z $GTKDOCIZE; then
exit 1
fi
-INTLTOOLIZE=`which intltoolize`
-if test -z $INTLTOOLIZE; then
- echo "*** No intltoolize found, please install the intltool package ***"
- exit 1
-fi
-
AUTORECONF=`which autoreconf`
if test -z $AUTORECONF; then
echo "*** No autoreconf found, please install it ***"
--
2.9.3

View File

@ -1,28 +1,28 @@
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: 20
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
Patch9001: autogen.sh-Drop-intltool-requirement.patch
BuildRequires: make 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
@ -33,24 +33,27 @@ This package is the development files for %{name}.
%configure --with-xkb-base='%{_datadir}/X11/xkb' --with-xkb-bin-base='%{_bindir}'
%make_build
%check
make check
%install
%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 +62,14 @@ This package is the development files for %{name}.
%{_datadir}/gtk-doc/*
%changelog
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.4-16
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:modify the location of COPYING.LIB
* Sat Mar 11 2023 zhangpan <zhangpan103@h-partners.com> - 5.4-20
- enable test
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.4-15
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add requires
* Tue Sep 6 2022 kouwenqi <kouwenqi@kylinos.cn> - 5.4-19
- Drop intltool requirement from autogen.sh
* Fri Aug 30 2019 shenyangyang <shenyangyang4@huawei.com> - 5.4-14
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add requires
* Sat Mar 21 2020 yanglijin <yanglijin@huawei.com> - 5.4-18
- modify buildrequires
* Thu Aug 15 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.4-13
* Wed Dec 11 2019 duyeyu <duyeyu@huawei.com> - 5.4-17
- Package init