gtkspell3-vl.spec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Summary: On-the-fly spell checking for GtkTextView widgets.
  2. Name: gtkspell3
  3. Version: 3.0.4
  4. Release: 1%{?_dist_release}
  5. License: GPL
  6. Group: System Environment/Libraries
  7. URL: http://gtkspell.sourceforge.net/
  8. Source0: http://gtkspell.sourceforge.net/download/%{name}-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
  10. BuildRequires: aspell-devel, gtk3-devel, gtk-doc, enchant-devel
  11. BuildRequires: gettext
  12. %description
  13. GtkSpell provides word-processor-style highlighting and replacement of
  14. misspelled words in a GtkTextView widget as you type. Right-clicking a
  15. misspelled word pops up a menu of suggested replacements.
  16. %package devel
  17. Summary: Development files for GtkSpell.
  18. Group: Development/Libraries
  19. Requires: %{name} = %{version}-%{release}
  20. Requires: aspell-devel,gtk3-devel, enchant-devel
  21. %description devel
  22. The gtkspell-devel package provides header files and static libraries
  23. for developing applications which use GtkSpell.
  24. %package docs
  25. Summary: Documentation for %{name}
  26. Summary(ja): %{name} 用のドキュメント
  27. Group: Documentation
  28. Requires: %{name} = %{version}-%{release}
  29. BuildArch: noarch
  30. %description docs
  31. This package contains documentation for %{name}.
  32. %prep
  33. %setup -q
  34. %build
  35. %configure --disable-static
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make DESTDIR=$RPM_BUILD_ROOT install
  40. find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
  41. %find_lang %{name}
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %post -p /sbin/ldconfig
  45. %postun -p /sbin/ldconfig
  46. %files -f %{name}.lang
  47. %defattr(-,root,root,-)
  48. %doc NEWS README AUTHORS COPYING
  49. %{_libdir}/libgtkspell3-3.so.*
  50. %{_libdir}/girepository-1.0/GtkSpell-3.0.typelib
  51. %files devel
  52. %defattr(-,root,root,-)
  53. %{_includedir}/gtkspell-3.0
  54. %{_libdir}/libgtkspell3-3.so
  55. %{_libdir}/pkgconfig/%{name}-3.0.pc
  56. %{_datadir}/gir-1.0/GtkSpell-3.0.gir
  57. %files docs
  58. %defattr(-,root,root,-)
  59. %{_datadir}/gtk-doc/html/%{name}
  60. %changelog
  61. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1
  62. - initial build