2 # - gtk+2 bindings possible besides gtk+3 as well
3 Summary: GTK+ Spell Checker Interface Library
4 Summary(pl.UTF-8): Biblioteka z interfejsem do narzędzia sprawdzającego pisownię dla GTK+
10 Source0: http://gtkspell.sourceforge.net/download/%{name}-%{version}.tar.gz
11 # Source0-md5: 861c7188dbcc89dc24744d47102c4b18
12 URL: http://gtkspell.sourceforge.net/
13 BuildRequires: autoconf >= 2.57
14 BuildRequires: automake
15 BuildRequires: docbook-dtd42-xml
16 BuildRequires: enchant-devel >= 0.4.0
17 BuildRequires: gettext-devel
18 BuildRequires: gtk+3-devel
19 BuildRequires: gtk-doc >= 1.6
20 BuildRequires: intltool >= 0.35.0
21 BuildRequires: libtool
22 BuildRequires: pango-devel >= 1:1.13.3
23 BuildRequires: pkgconfig
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 GtkSpell provides MSWord/MacOSX-style highlighting of misspelled words
28 in a GtkTextView widget. Right-clicking a misspelled word pops up a
29 menu of suggested replacements.
31 %description -l pl.UTF-8
32 GtkSpell udostępnia podobne do MS Worda lub MacOSX podświetlanie
33 błędnie napisanych słów w widgecie GtkTextView. Kliknięcie prawym
34 przyciskiem na błędne słowo otwiera menu z sugerowanymi poprawkami.
37 Summary: Header files for GtkSpell API version 3.0
38 Summary(pl.UTF-8): Pliki nagłówkowe dla gtkspella
39 Group: X11/Development/Libraries
40 Requires: %{name} = %{version}-%{release}
41 Requires: enchant-devel >= 0.4.0
45 Header files for GtkSpell API version 3.0.
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe dla gtkspella.
51 Summary: Static libraries for GtkSpell
52 Summary(pl.UTF-8): Biblioteki statyczne dla gtkspella
53 Group: X11/Development/Libraries
54 Requires: %{name}-devel = %{version}-%{release}
57 Static libraries for GtkSpell.
59 %description static -l pl.UTF-8
60 Biblioteki statyczne dla gtkspella.
63 Summary: GtkSpell API documentation
64 Summary(pl.UTF-8): Dokumentacja API gtkspell
66 Requires: gtk-doc-common
69 GtkSpell API documentation.
71 %description apidocs -l pl.UTF-8
72 Dokumentacja API gtkspell.
75 %setup -q -n %{name}-%{version}
85 --disable-silent-rules \
87 --with-html-dir=%{_gtkdocdir}
91 rm -rf $RPM_BUILD_ROOT
93 DESTDIR=$RPM_BUILD_ROOT \
94 pkgconfigdir=%{_pkgconfigdir}
96 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkspell3-3.la
98 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ak
99 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/son
104 rm -rf $RPM_BUILD_ROOT
106 %post -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
109 %files -f %{name}.lang
110 %defattr(644,root,root,755)
111 %doc AUTHORS ChangeLog README
112 %attr(755,root,root) %{_libdir}/libgtkspell3-3.so.*.*.*
113 %attr(755,root,root) %ghost %{_libdir}/libgtkspell3-3.so.0
114 %{_libdir}/girepository-1.0/GtkSpell-3.0.typelib
117 %defattr(644,root,root,755)
118 %{_libdir}/libgtkspell3-3.so
119 %{_includedir}/gtkspell-3.0
120 %{_pkgconfigdir}/gtkspell3-3.0.pc
121 %{_datadir}/gir-1.0/GtkSpell-3.0.gir
124 %defattr(644,root,root,755)
125 %{_libdir}/libgtkspell3-3.a
128 %defattr(644,root,root,755)
129 %{_gtkdocdir}/gtkspell3