File libkmfl0.spec of Package libkmfl0
#
# spec file for package libkmfl0
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libkmfl0
Version: 0.9.12
Release: 0
Summary: KMFL Engine
License: GPL-2.0+
Group: System/Libraries
Url: http://kmfl.sourceforge.net/
Source0: http://download.sourceforge.net/kmfl/libkmfl-%{version}.tar.gz
BuildRequires: kmflcomp-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
KMFL (Keyboard Mapping for Linux) engine.
%package -n libkmfl-devel
Summary: KMFL Development Files
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description -n libkmfl-devel
Development files for KMFL engine.
%prep
%setup -qn libkmfl-%{version}
%build
%configure --disable-static
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
rm -rf %{buildroot}{%{_prefix}/doc,%{_libdir}/libkmfl.*a}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%files -n libkmfl-devel
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING
%{_includedir}/kmfl/libkmfl.h
%{_libdir}/*.so
%changelog