/specs/gtkspell/gtkspell.spec

http://github.com/repoforge/rpms · Unknown · 78 lines · 61 code · 17 blank · 0 comment · 0 complexity · 404e157f8dca9a04545f959bf8c9c34c MD5 · raw file

  1. # $Id$
  2. # Authority: matthias
  3. ### EL6 ships with gtkspell-2.0.16-1.el6
  4. ### EL5 ships with gtkspell-2.0.11-2.1
  5. ### EL4 ships with gtkspell-2.0.7-2
  6. # ExclusiveDist: el2 el3
  7. Summary: Gtk2 spell checker interface library
  8. Name: gtkspell
  9. Version: 2.0.9
  10. Release: 1%{?dist}
  11. License: GPL
  12. Group: System Environment/Libraries
  13. URL: http://gtkspell.sourceforge.net/
  14. Source: http://gtkspell.sf.net/download/gtkspell-%{version}.tar.gz
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  16. BuildRequires: gtk2-devel, pspell-devel, libtool, gettext, gcc-c++
  17. %description
  18. GtkSpell provides MSWord/MacOSX-style highlighting of misspelled words
  19. in a GtkTextView widget. Right-clicking a misspelled word pops up a
  20. menu of suggested replacements.
  21. %package devel
  22. Summary: Header files, libraries and development documentation for %{name}
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}, pkgconfig
  25. %description devel
  26. This package contains the header files, static libraries and development
  27. documentation for %{name}. If you like to develop programs using %{name},
  28. you will need to install %{name}-devel.
  29. %prep
  30. %setup
  31. %build
  32. %configure
  33. %{__make} %{?_smp_mflags}
  34. %install
  35. %{__rm} -rf %{buildroot}
  36. touch docs/html/index.sgml
  37. %{__make} install DESTDIR="%{buildroot}"
  38. %find_lang %{name}
  39. %post -p /sbin/ldconfig
  40. %postun -p /sbin/ldconfig
  41. %clean
  42. %{__rm} -rf %{buildroot}
  43. %files -f %{name}.lang
  44. %defattr(-, root, root, 0755)
  45. %doc AUTHORS COPYING ChangeLog NEWS README
  46. %{_libdir}/libgtkspell.so.*
  47. %files devel
  48. %defattr(-, root, root, 0755)
  49. %doc %{_datadir}/gtk-doc/html/gtkspell/
  50. %{_includedir}/gtkspell-2.0/
  51. %{_libdir}/libgtkspell.a
  52. %exclude %{_libdir}/libgtkspell.la
  53. %{_libdir}/libgtkspell.so
  54. %{_libdir}/pkgconfig/gtkspell-2.0.pc
  55. %changelog
  56. * Tue Sep 26 2006 Dries Verachtert <dries@ulyssis.org> - 2.0.9-1
  57. - Updated to release 2.0.9.
  58. * Mon Jul 19 2004 Dag Wieers <dag@wieers.com> - 2.0.6-1
  59. - Updated to release 2.0.6.
  60. * Fri Feb 28 2003 Dag Wieers <dag@wieers.com> - 2.0.4-0
  61. - Initial package. (using DAR)