File gtkspell.spec of Package gtkspell

#
# spec file for package gtkspell (Version 2.0.15)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           gtkspell
BuildRequires:  enchant-devel fdupes gnome-doc-utils-devel gtk-doc gtk2-devel intltool libstdc++-devel
Summary:        GTK2 Spell Checker Interface Library
Version:        2.0.15
Release:        9
License:        GPLv2+
Group:          System/Libraries
Source:         gtkspell-%{version}.tar.bz2
Patch0:         %{name}-locale.patch
Url:            http://gtkspell.sf.net/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Recommends:     %{name}-lang = %{version}

%description
GtkSpell provides MSWord-style and MacOSX-style highlighting of
misspelled words in a GtkTextView widget. Right-clicking a misspelled
word opens a menu of suggested replacements.



Authors:
--------
    Evan Martin <martine@cs.washington.edu>

%package      devel
License:        GPLv2+
Summary:        Static libraries and header files from gtkspell
Group:          Development/Libraries/X11
Requires:       %{name} = %{version}
Requires:       gtk2-devel glib2-devel pango-devel atk-devel
Requires:       enchant-devel

%description devel
Static libraries and header files from gtkspell.



Authors:
--------
    Evan Martin <martine@cs.washington.edu>

%package      doc
License:        GPLv2+
Summary:        GTK2 Spell Checker Interface Library
Group:          System/Libraries
Requires:       %{name} = %{version}

%description doc
GtkSpell provides MSWord-style and MacOSX-style highlighting of
misspelled words in a GtkTextView widget. Right-clicking a misspelled
word opens a menu of suggested replacements.



Authors:
--------
    Evan Martin <martine@cs.washington.edu>

%lang_package
%prep
%setup -q %{name}-%{version}
%patch0

%build
autoreconf -f -i
%configure\
	--disable-static
make %{?jobs:-j%jobs}

%install
%makeinstall
%find_lang %{name}

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT;

%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README
%{_libdir}/*.so.*

%files lang -f %{name}.lang

%files devel
%defattr(-, root, root)
%{_includedir}/gtkspell-2.0
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc

%files doc
%defattr(-, root, root)
%{_datadir}/gtk-doc/html/*

%changelog
openSUSE Build Service is sponsored by