Summary: On-the-fly spell checking for GtkTextView widgets. Name: gtkspell3 Version: 3.0.10 Release: 2%{?_dist_release} License: GPL Group: System Environment/Libraries URL: http://gtkspell.sourceforge.net/ Source0: https://downloads.sourceforge.net/project/gtkspell/%{version}/gtkspell3-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRequires: aspell-devel, gtk3-devel, gtk-doc, enchant2-devel BuildRequires: vala vala-tools vala-devel BuildRequires: gettext %description GtkSpell provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget as you type. Right-clicking a misspelled word pops up a menu of suggested replacements. %package devel Summary: Development files for GtkSpell. Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: aspell-devel,gtk3-devel, enchant-devel %description devel The gtkspell-devel package provides header files and static libraries for developing applications which use GtkSpell. %package docs Summary: Documentation for %{name} Summary(ja): %{name} 用のドキュメント Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch %description docs This package contains documentation for %{name}. %prep %setup -q %build %configure --disable-static --enable-vala=yes make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \; %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root,-) %license COPYING %doc NEWS README AUTHORS %{_libdir}/libgtkspell3-3.so.* %{_libdir}/girepository-1.0/GtkSpell-3.0.typelib %files devel %defattr(-,root,root,-) %{_includedir}/gtkspell-3.0 %{_libdir}/libgtkspell3-3.so %{_libdir}/pkgconfig/%{name}-3.0.pc %{_datadir}/gir-1.0/GtkSpell-3.0.gir %dir %{_datadir}/vala %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/* %files docs %defattr(-,root,root,-) %{_datadir}/gtk-doc/html/%{name} %changelog * Tue May 05 2020 Tomohiro "Tomo-p" KATO 3.0.10-2 - added vala support. * Fri May 01 2020 Tomohiro "Tomo-p" KATO 3.0.10-1 - new upstream release. * Sun Mar 30 2014 Yoji TOYODA 3.0.4-1 - initial build