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 | |
---|
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 | |
---|
18 | |
---|
19 | %package devel |
---|
20 | Summary: Development files for GtkSpell. |
---|
21 | Group: Development/Libraries |
---|
22 | Requires: %{name} = %{version}-%{release} |
---|
23 | Requires: aspell-devel,gtk3-devel, enchant-devel |
---|
24 | |
---|
25 | %description devel |
---|
26 | The gtkspell-devel package provides header files and static libraries |
---|
27 | for developing applications which use GtkSpell. |
---|
28 | |
---|
29 | |
---|
30 | %package docs |
---|
31 | Summary: Documentation for %{name} |
---|
32 | Summary(ja): %{name} 用のドキュメント |
---|
33 | Group: Documentation |
---|
34 | Requires: %{name} = %{version}-%{release} |
---|
35 | BuildArch: noarch |
---|
36 | |
---|
37 | %description docs |
---|
38 | This package contains documentation for %{name}. |
---|
39 | |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q |
---|
43 | |
---|
44 | %build |
---|
45 | %configure --disable-static |
---|
46 | make %{?_smp_mflags} |
---|
47 | |
---|
48 | %install |
---|
49 | rm -rf $RPM_BUILD_ROOT |
---|
50 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
51 | find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \; |
---|
52 | |
---|
53 | %find_lang %{name} |
---|
54 | |
---|
55 | %clean |
---|
56 | rm -rf $RPM_BUILD_ROOT |
---|
57 | |
---|
58 | %post -p /sbin/ldconfig |
---|
59 | |
---|
60 | %postun -p /sbin/ldconfig |
---|
61 | |
---|
62 | %files -f %{name}.lang |
---|
63 | %defattr(-,root,root,-) |
---|
64 | %doc NEWS README AUTHORS COPYING |
---|
65 | %{_libdir}/libgtkspell3-3.so.* |
---|
66 | %{_libdir}/girepository-1.0/GtkSpell-3.0.typelib |
---|
67 | |
---|
68 | %files devel |
---|
69 | %defattr(-,root,root,-) |
---|
70 | %{_includedir}/gtkspell-3.0 |
---|
71 | %{_libdir}/libgtkspell3-3.so |
---|
72 | %{_libdir}/pkgconfig/%{name}-3.0.pc |
---|
73 | %{_datadir}/gir-1.0/GtkSpell-3.0.gir |
---|
74 | |
---|
75 | %files docs |
---|
76 | %defattr(-,root,root,-) |
---|
77 | %{_datadir}/gtk-doc/html/%{name} |
---|
78 | |
---|
79 | |
---|
80 | %changelog |
---|
81 | * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1 |
---|
82 | - initial build |
---|
83 | |
---|