Name: gtkspell3 Version: 3.0.0 Release: 1%{?dist} Summary: On-the-fly spell checking for GtkTextView widgets License: GPLv2+ URL: http://gtkspell.sourceforge.net/ Source0: http://downloads.sourceforge.net/gtkspell/gtkspell3-%{version}.tar.gz BuildRequires: enchant-devel BuildRequires: gettext BuildRequires: gobject-introspection-devel BuildRequires: gtk3-devel BuildRequires: intltool %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 %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use GtkSpell API version 3.0. %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} V=1 %install make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %find_lang gtkspell3 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f gtkspell3.lang %doc AUTHORS COPYING README %{_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 %doc %{_datadir}/gtk-doc/ %changelog * Thu Nov 15 2012 Kalev Lember - 3.0.0-1 - Initial gtkspell3 packaging, based on Fedora's gtkspell package