mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 01:15:33 +00:00
71 lines
1.7 KiB
Text
71 lines
1.7 KiB
Text
%define _prefix /usr
|
|
|
|
Summary: %{name}
|
|
Name: kmflcomp
|
|
Version: 0.6
|
|
Release: 1
|
|
Vendor: SIL <doug_rintoul@sil.org>
|
|
Packager: Doug Rintoul <doug_rintoul@sil.org>
|
|
Group: Applications/System
|
|
License: GPL
|
|
Source0: %{name}-%{version}.tar.gz
|
|
# Url: (none)
|
|
BuildRoot: /var/tmp/kmflcomp
|
|
BuildArch: i586
|
|
# Requires: (none)
|
|
# Conflicts: (none)
|
|
# Provides: (none)
|
|
# Obsoletes: (none)
|
|
|
|
%description
|
|
Compile Keyman-style keyboard layout files to a binary format for use by the KMFL keystroke interpreter.
|
|
|
|
%package devel
|
|
Summary: Development libraries and headers to use %{name} in an application
|
|
Group: Development/Libraries
|
|
# Requires: (none)
|
|
# Buildrequires: (none)
|
|
# Conflicts: (none)
|
|
# Provides: (none)
|
|
# Obsoletes: (none)
|
|
|
|
|
|
%description devel
|
|
Library to compile Keyman-style keyboard layout files
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
[ ! -f Makefile ] || make distclean
|
|
%configure
|
|
make
|
|
|
|
%install
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%makeinstall
|
|
for doc in ABOUT-NLS AUTHORS README COPYING INSTALL NEWS TODO ChangeLog; do
|
|
rm -f $RPM_BUILD_ROOT%{_prefix}/doc/kmflcomp/$doc;
|
|
done;
|
|
|
|
%clean
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/kmflcomp
|
|
%{_libdir}/libkmflcomp.so.0.0.0
|
|
%{_libdir}/libkmflcomp.so.0
|
|
|
|
|
|
%doc AUTHORS COPYING ChangeLog README INSTALL NEWS TODO
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/kmfl/kmfl.h
|
|
%{_includedir}/kmfl/kmflcomp.h
|
|
%{_libdir}/libkmflcomp.la
|
|
%{_libdir}/libkmflcomp.a
|
|
%{_libdir}/libkmflcomp.so
|
|
|