File gtkspell.spec of Package gtkspell
#
# spec file for package gtkspell (Version 2.0.14)
#
# Copyright (c) 2008 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: aspell-devel enchant-devel fdupes gnome-doc-utils gtk-doc gtk2-devel intltool libstdc++-devel
Summary: GTK2 Spell Checker Interface Library
Version: 2.0.14
Release: 17
License: GPL v2 or later
Group: System/Libraries
Source: gtkspell-%{version}.tar.bz2
Patch0: %{name}-locale.patch
Url: http://gtkspell.sf.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{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: GPL v2 or later
Summary: Static libraries and header files from gtkspell
Group: Development/Libraries/X11
Requires: %{name} = %{version}
Requires: gtk2-devel glib2-devel pango-devel atk-devel aspell-devel
Requires: enchant-devel
%description devel
Static libraries and header files from gtkspell.
Authors:
--------
Evan Martin <martine@cs.washington.edu>
%package doc
License: GPL v2 or later
Summary: GTK2 Spell Checker Interface Library
Group: System/Libraries
Requires: %{name} = %{version}
Requires: gtk2-devel glib2-devel pango-devel atk-devel aspell-devel
%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
* Mon Sep 29 2008 pgajdos@suse.cz
- fixed [bnc#389339]
* locale.patch
* Mon Aug 18 2008 lmichnovic@suse.cz
- update to version 2.0.14
* Additional translations (see po/ChangeLog).
* Changed bug reporting address at configure.ac:AC_INIT
* undo/redo in the calling application (Liviu Andronic)
* gtkspell_get_suggestions_menu() (Liviu Andronic)
* Tue Aug 12 2008 lmichnovic@suse.cz
- added intltool into BuildReq
* Tue Aug 12 2008 lmichnovic@suse.cz
- update to version 2.0.13
* Additional translations (see po/ChangeLog).
* Enchant support (support for pspell/aspell dropped)
- obsoletes *-enchant.patch *-gcc-err-fix.patch
- version 2.0.12:
* Make debug, quiet and build_suggestion_menu static in
gtkspell.c to prevent exporting them.
* One additional translation (see po/ChangeLog).
* Move spell-checking library from Libs to Libs.private in
gtkspell-2.0.pc
* Update autogen.sh to use intltool
* Fix warnings with -Wstrict-prototypes by Richard Laager
* Fri Feb 01 2008 lmichnovic@suse.cz
- enabled enchant support in gtkspell (*-enchant.patch)
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage
- s#%%run_ldconfig#/sbin/ldconfig/ in %%post and %%postun.
* Wed Feb 07 2007 sbrabec@suse.cz
- Do not build unusable static libraries (#238552).
* Fri Jan 12 2007 sbrabec@suse.cz
- More spec file cleanups.
* Mon Jan 08 2007 lmichnovic@suse.cz
- changed prefix because GNOME moved to /usr
* Thu Dec 14 2006 maw@suse.de
- Do some specfile cleanup.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Sep 19 2005 pnemec@suse.cz
- fix gcc 4.1 warning
* Tue Aug 02 2005 ro@suse.de
- use gtk2-devel-packages in nfb
* Tue May 31 2005 ltinkl@suse.cz
- update to 2.0.11
* Tue Apr 12 2005 ltinkl@suse.cz
- update to 2.0.10
* Wed Oct 27 2004 ltinkl@suse.cz
- update to version 2.0.8
* Sat Apr 24 2004 sndirsch@suse.de
- fixed neededforbuild (using x-devel-packages now)
* Wed Jan 28 2004 ltinkl@suse.cz
- update to 2.0.5
* Sun Jan 11 2004 adrian@suse.de
- build as user
* Fri Dec 05 2003 ro@suse.de
- fix typo in specfile (run_ldconfig on own line)
* Tue Jul 22 2003 hhetter@suse.de
- really prefix to /opt/gnome
* Mon Jul 14 2003 sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Fri Jun 06 2003 ltinkl@suse.cz
- initial version (2.0.4)