gtkspell3-vl.spec 2.3 KB

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