2017-09-11 04:18:21 +00:00
|
|
|
#
|
|
|
|
# spec file for package mwic
|
|
|
|
#
|
2018-05-02 07:19:43 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2017-09-11 04:18:21 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-10-13 11:15:43 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-09-11 04:18:21 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%{!?license: %global license %doc}
|
|
|
|
Name: mwic
|
2018-11-13 19:35:21 +00:00
|
|
|
Version: 0.7.7
|
2017-09-11 04:18:21 +00:00
|
|
|
Release: 0
|
2018-08-08 18:04:09 +00:00
|
|
|
Summary: A spellchecker with grouping support
|
2017-09-11 04:18:21 +00:00
|
|
|
License: MIT
|
|
|
|
Group: Productivity/Office/Other
|
|
|
|
Url: http://jwilk.net/software/mwic
|
2017-09-24 13:20:11 +00:00
|
|
|
Source: https://github.com/jwilk/mwic/releases/download/%{version}/mwic-%{version}.tar.gz
|
|
|
|
Source1: https://github.com/jwilk/mwic/releases/download/%{version}/mwic-%{version}.tar.gz.asc
|
|
|
|
Source2: %{name}.keyring
|
2017-09-11 04:18:21 +00:00
|
|
|
BuildRequires: python3-devel >= 3.2
|
2018-10-13 11:15:43 +00:00
|
|
|
BuildRequires: python3-docutils
|
2017-09-11 04:18:21 +00:00
|
|
|
Requires: python3-pyenchant
|
|
|
|
Requires: python3-regex
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2018-08-08 18:04:09 +00:00
|
|
|
mwic is a spell-checker that groups possible misspellings and shows
|
|
|
|
them in their contexts. This is useful for checking technical
|
|
|
|
documents that often contain words that are not included in standard
|
|
|
|
dictionaries.
|
2017-09-11 04:18:21 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2017-10-17 19:41:27 +00:00
|
|
|
sed -i '1s%^#!.*%#!/usr/bin/python3%' mwic
|
2017-09-11 04:18:21 +00:00
|
|
|
|
|
|
|
%install
|
2017-09-24 13:20:11 +00:00
|
|
|
make DESTDIR=%{buildroot} PREFIX=/usr -C doc
|
|
|
|
%{make_install} PREFIX=/usr
|
2017-09-11 04:18:21 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc doc/changelog
|
|
|
|
%license doc/LICENSE
|
|
|
|
%{_bindir}/mwic
|
2017-09-24 13:20:11 +00:00
|
|
|
%{_prefix}/share/mwic
|
2017-09-11 04:18:21 +00:00
|
|
|
%{_mandir}/man1/mwic.1%{?ext_man}
|
|
|
|
|
|
|
|
%changelog
|