Package init
This commit is contained in:
commit
629b9a9329
BIN
libxklavier-5.4.tar.bz2
Normal file
BIN
libxklavier-5.4.tar.bz2
Normal file
Binary file not shown.
74
libxklavier.spec
Normal file
74
libxklavier.spec
Normal file
@ -0,0 +1,74 @@
|
||||
Name: libxklavier
|
||||
Version: 5.4
|
||||
Release: 15
|
||||
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
|
||||
BuildRequires: glib2-devel libxkbfile-devel libXi-devel
|
||||
BuildRequires: 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).
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: libxml2-devel
|
||||
|
||||
%description devel
|
||||
This package is the development files for %{name}.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%configure --with-xkb-base='%{_datadir}/X11/xkb' --with-xkb-bin-base='%{_bindir}'
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la_and_a
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog COPYING.LIB
|
||||
%{_libdir}/%{name}.so.*
|
||||
%{_libdir}/girepository-1.0/Xkl-1.0.typelib
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/%{name}/*.h
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_datadir}/gir-1.0/Xkl-1.0.gir
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS README
|
||||
%{_datadir}/gtk-doc/*
|
||||
|
||||
%changelog
|
||||
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.4-15
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:add requires
|
||||
|
||||
* Fri Aug 30 2019 shenyangyang <shenyangyang4@huawei.com> - 5.4-14
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:add requires
|
||||
|
||||
* Thu Aug 15 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.4-13
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user