gtkspell3/gtkspell3.spec
2019-12-14 15:06:21 +08:00

61 lines
1.8 KiB
RPMSpec

Name: gtkspell3
Version: 3.0.10
Release: 2
Summary: Word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget
License: GPLv2+
URL: http://gtkspell.sourceforge.net/
Source0: http://downloads.sourceforge.net/gtkspell/gtkspell3-%{version}.tar.xz
BuildRequires: enchant2-devel gettext gobject-introspection-devel gtk3-devel intltool vala-devel vala-tools iso-codes-devel
Requires: iso-codes
%description
GtkSpell is a library and is mostly of interest to GTK programmers.
The 3.x version includes python bindings through GObject-introspection
typelibs as well as Vala bindings. C++ bindings are available through
the gtkspellmm package. Python bindings for the legacy 2.x version are
availble in GnomePythonExtras.
%package devel
Summary: Development files for gtkspell3
Requires: gtkspell3 = %{version}-%{release}
%description devel
Development files for gtkspell3.
%package help
Summary: Documentation for gtkspell3
BuildArch: noarch
Requires: gtkspell3 = %{version}-%{release}
%description help
Documentation for gtkspell3.
%prep
%autosetup -n gtkspell3-%{version}
%build
%configure --enable-vala
%make_build V=1
%install
%make_install
%delete_la_and_a
%find_lang gtkspell3
%files -f gtkspell3.lang
%doc AUTHORS README COPYING
%{_libdir}/girepository-1.0/GtkSpell-3.0.typelib
%{_libdir}/libgtkspell3-3.so.*
%files devel
%{_includedir}/gtkspell-3.0/
%{_libdir}/libgtkspell3-3.so
%{_libdir}/pkgconfig/gtkspell3-3.0.pc
%{_datadir}/gir-1.0/GtkSpell-3.0.gir
%{_datadir}/vala/vapi/{gtkspell3-3.0.vapi,gtkspell3-3.0.deps}
%files help
%doc %{_datadir}/gtk-doc/
%changelog
* Sat Dec 14 2019 Ling Yang <lingyang2@huawei.com> - 3.0.10-2
- Package init