8761fb
Name:           gtkspell3
8761fb
Version:        3.0.3
f94a59
Release:        4%{?dist}
8761fb
Summary:        On-the-fly spell checking for GtkTextView widgets
8761fb
8761fb
License:        GPLv2+
8761fb
URL:            http://gtkspell.sourceforge.net/
8761fb
Source0:        http://downloads.sourceforge.net/gtkspell/gtkspell3-%{version}.tar.gz
8761fb
8761fb
BuildRequires:  enchant-devel
8761fb
BuildRequires:  gettext
8761fb
BuildRequires:  gobject-introspection-devel
8761fb
BuildRequires:  gtk3-devel
8761fb
BuildRequires:  intltool
8761fb
BuildRequires:  vala-devel
8761fb
BuildRequires:  vala-tools
8761fb
BuildRequires:  iso-codes-devel
8761fb
8761fb
Requires:       iso-codes
8761fb
8761fb
%description
8761fb
GtkSpell provides word-processor-style highlighting and replacement of
8761fb
misspelled words in a GtkTextView widget as you type. Right-clicking a
8761fb
misspelled word pops up a menu of suggested replacements.
8761fb
8761fb
%package        devel
8761fb
Summary:        Development files for %{name}
8761fb
Requires:       %{name}%{?_isa} = %{version}-%{release}
8761fb
Obsoletes:      %{name}-vala < 3.0.2-2
8761fb
8761fb
%description devel
8761fb
The %{name}-devel package contains libraries and header files for
8761fb
developing applications that use GtkSpell API version 3.0.
8761fb
8761fb
%prep
8761fb
%setup -q
8761fb
8761fb
%build
8761fb
%configure --disable-static --enable-vala
8761fb
make %{?_smp_mflags} V=1
8761fb
8761fb
%install
8761fb
make install DESTDIR=$RPM_BUILD_ROOT
8761fb
8761fb
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
8761fb
8761fb
%find_lang gtkspell3
8761fb
8761fb
%post -p /sbin/ldconfig
8761fb
%postun -p /sbin/ldconfig
8761fb
8761fb
%files -f gtkspell3.lang
8761fb
%doc AUTHORS COPYING README
8761fb
%{_libdir}/girepository-1.0/GtkSpell-3.0.typelib
8761fb
%{_libdir}/libgtkspell3-3.so.*
8761fb
8761fb
%files devel
8761fb
%doc %{_datadir}/gtk-doc/
8761fb
%{_includedir}/gtkspell-3.0/
8761fb
%{_libdir}/libgtkspell3-3.so
8761fb
%{_libdir}/pkgconfig/gtkspell3-3.0.pc
8761fb
%{_datadir}/gir-1.0/GtkSpell-3.0.gir
8761fb
%{_datadir}/vala/vapi/gtkspell3-3.0.vapi
8761fb
%{_datadir}/vala/vapi/gtkspell3-3.0.deps
8761fb
8761fb
%changelog
f94a59
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.0.3-4
f94a59
- Mass rebuild 2014-01-24
f94a59
f94a59
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.0.3-3
f94a59
- Mass rebuild 2013-12-27
f94a59
8761fb
* Tue Jun 04 2013 Sandro Mani <manisandro@gmail.com> - 3.0.3-2
8761fb
- Add iso-codes requires and iso-codes-devel BR
8761fb
8761fb
* Tue Jun 04 2013 Sandro Mani <manisandro@gmail.com> - 3.0.3-1
8761fb
- Update to 3.0.3
8761fb
8761fb
* Thu Mar 07 2013 Sandro Mani <manisandro@gmail.com> - 3.0.2-2
8761fb
- Merge -vala into -devel package
8761fb
8761fb
* Wed Mar 06 2013 Sandro Mani <manisandro@gmail.com> - 3.0.2-1
8761fb
- Update to 3.0.2
8761fb
- Adds vala bindings
8761fb
8761fb
* Sat Feb 09 2013 Sandro Mani <manisandro@gmail.com> - 3.0.1-1
8761fb
- Update to 3.0.1
8761fb
8761fb
* Thu Nov 15 2012 Kalev Lember <kalevlember@gmail.com> - 3.0.0-1
8761fb
- Initial gtkspell3 packaging, based on Fedora's gtkspell package