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 | |
---|
14 | %description |
---|
15 | GtkSpell provides word-processor-style highlighting and replacement of |
---|
16 | misspelled words in a GtkTextView widget as you type. Right-clicking a |
---|
17 | misspelled word pops up a menu of suggested replacements. |
---|
18 | |
---|
19 | |
---|
20 | %package devel |
---|
21 | Summary: Development files for GtkSpell. |
---|
22 | Group: Development/Libraries |
---|
23 | Requires: %{name} = %{version}-%{release} |
---|
24 | Requires: aspell-devel,gtk3-devel, enchant-devel |
---|
25 | |
---|
26 | %description devel |
---|
27 | The gtkspell-devel package provides header files and static libraries |
---|
28 | for developing applications which use GtkSpell. |
---|
29 | |
---|
30 | |
---|
31 | %package docs |
---|
32 | Summary: Documentation for %{name} |
---|
33 | Summary(ja): %{name} 用のドキュメント |
---|
34 | Group: Documentation |
---|
35 | Requires: %{name} = %{version}-%{release} |
---|
36 | BuildArch: noarch |
---|
37 | |
---|
38 | %description docs |
---|
39 | This package contains documentation for %{name}. |
---|
40 | |
---|
41 | |
---|
42 | %prep |
---|
43 | %setup -q |
---|
44 | |
---|
45 | |
---|
46 | %build |
---|
47 | %configure --disable-static --enable-vala=yes |
---|
48 | make %{?_smp_mflags} |
---|
49 | |
---|
50 | |
---|
51 | %install |
---|
52 | rm -rf $RPM_BUILD_ROOT |
---|
53 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
54 | find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \; |
---|
55 | |
---|
56 | %find_lang %{name} |
---|
57 | |
---|
58 | |
---|
59 | %clean |
---|
60 | rm -rf $RPM_BUILD_ROOT |
---|
61 | |
---|
62 | |
---|
63 | %post -p /sbin/ldconfig |
---|
64 | |
---|
65 | %postun -p /sbin/ldconfig |
---|
66 | |
---|
67 | |
---|
68 | %files -f %{name}.lang |
---|
69 | %defattr(-,root,root,-) |
---|
70 | %license COPYING |
---|
71 | %doc NEWS README AUTHORS |
---|
72 | %{_libdir}/libgtkspell3-3.so.* |
---|
73 | %{_libdir}/girepository-1.0/GtkSpell-3.0.typelib |
---|
74 | |
---|
75 | %files devel |
---|
76 | %defattr(-,root,root,-) |
---|
77 | %{_includedir}/gtkspell-3.0 |
---|
78 | %{_libdir}/libgtkspell3-3.so |
---|
79 | %{_libdir}/pkgconfig/%{name}-3.0.pc |
---|
80 | %{_datadir}/gir-1.0/GtkSpell-3.0.gir |
---|
81 | %dir %{_datadir}/vala |
---|
82 | %dir %{_datadir}/vala/vapi |
---|
83 | %{_datadir}/vala/vapi/* |
---|
84 | |
---|
85 | %files docs |
---|
86 | %defattr(-,root,root,-) |
---|
87 | %{_datadir}/gtk-doc/html/%{name} |
---|
88 | |
---|
89 | |
---|
90 | %changelog |
---|
91 | * Tue May 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.10-2 |
---|
92 | - added vala support. |
---|
93 | |
---|
94 | * Fri May 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.10-1 |
---|
95 | - new upstream release. |
---|
96 | |
---|
97 | * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1 |
---|
98 | - initial build |
---|
99 | |
---|