]>
Commit | Line | Data |
---|---|---|
85efd45e ER |
1 | # TODO |
2 | # - gtk+2 bindings possible besides gtk+3 as well | |
da6b5562 | 3 | Summary: GTK+ Spell Checker Interface Library |
680575c5 | 4 | Summary(pl.UTF-8): Biblioteka z interfejsem do narzędzia sprawdzającego pisownię dla GTK+ |
85efd45e ER |
5 | Name: gtkspell3 |
6 | Version: 3.0.1 | |
7 | Release: 1 | |
60100baa | 8 | License: GPL |
60100baa | 9 | Group: X11/Libraries |
10 | Source0: http://gtkspell.sourceforge.net/download/%{name}-%{version}.tar.gz | |
85efd45e | 11 | # Source0-md5: 861c7188dbcc89dc24744d47102c4b18 |
60100baa | 12 | URL: http://gtkspell.sourceforge.net/ |
516b0cf1 | 13 | BuildRequires: autoconf >= 2.57 |
2b19a29c | 14 | BuildRequires: automake |
fa9f2026 | 15 | BuildRequires: docbook-dtd42-xml |
9269cfa5 | 16 | BuildRequires: enchant-devel >= 0.4.0 |
d465e0cf | 17 | BuildRequires: gettext-devel |
85efd45e | 18 | BuildRequires: gtk+3-devel |
4c95f4ea | 19 | BuildRequires: gtk-doc >= 1.6 |
9269cfa5 | 20 | BuildRequires: intltool >= 0.35.0 |
2b19a29c | 21 | BuildRequires: libtool |
9269cfa5 | 22 | BuildRequires: pango-devel >= 1:1.13.3 |
e2cc735d | 23 | BuildRequires: pkgconfig |
60100baa | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
60100baa | 26 | %description |
2b19a29c JB |
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. | |
30 | ||
c5b299db JR |
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. | |
60100baa | 35 | |
36 | %package devel | |
85efd45e | 37 | Summary: Header files for GtkSpell API version 3.0 |
680575c5 | 38 | Summary(pl.UTF-8): Pliki nagłówkowe dla gtkspella |
60100baa | 39 | Group: X11/Development/Libraries |
85efd45e | 40 | Requires: %{name} = %{version}-%{release} |
9269cfa5 | 41 | Requires: enchant-devel >= 0.4.0 |
85efd45e | 42 | Requires: gtk+3-devel |
60100baa | 43 | |
44 | %description devel | |
85efd45e | 45 | Header files for GtkSpell API version 3.0. |
60100baa | 46 | |
c5b299db JR |
47 | %description devel -l pl.UTF-8 |
48 | Pliki nagłówkowe dla gtkspella. | |
60100baa | 49 | |
50 | %package static | |
85efd45e | 51 | Summary: Static libraries for GtkSpell |
680575c5 | 52 | Summary(pl.UTF-8): Biblioteki statyczne dla gtkspella |
60100baa | 53 | Group: X11/Development/Libraries |
85efd45e | 54 | Requires: %{name}-devel = %{version}-%{release} |
60100baa | 55 | |
56 | %description static | |
85efd45e | 57 | Static libraries for GtkSpell. |
60100baa | 58 | |
c5b299db | 59 | %description static -l pl.UTF-8 |
60100baa | 60 | Biblioteki statyczne dla gtkspella. |
61 | ||
c3ac37ae | 62 | %package apidocs |
85efd45e | 63 | Summary: GtkSpell API documentation |
c3ac37ae MB |
64 | Summary(pl.UTF-8): Dokumentacja API gtkspell |
65 | Group: Documentation | |
66 | Requires: gtk-doc-common | |
67 | ||
68 | %description apidocs | |
85efd45e | 69 | GtkSpell API documentation. |
c3ac37ae MB |
70 | |
71 | %description apidocs -l pl.UTF-8 | |
72 | Dokumentacja API gtkspell. | |
73 | ||
60100baa | 74 | %prep |
85efd45e | 75 | %setup -q -n %{name}-%{version} |
60100baa | 76 | |
77 | %build | |
c3ac37ae | 78 | %{__gtkdocize} |
60100baa | 79 | %{__libtoolize} |
71b90ce3 | 80 | %{__aclocal} |
60100baa | 81 | %{__autoconf} |
09860407 | 82 | %{__autoheader} |
60100baa | 83 | %{__automake} |
d51a94e7 | 84 | %configure \ |
85efd45e | 85 | --disable-silent-rules \ |
b9821767 | 86 | --enable-gtk-doc \ |
87 | --with-html-dir=%{_gtkdocdir} | |
60100baa | 88 | %{__make} |
89 | ||
90 | %install | |
91 | rm -rf $RPM_BUILD_ROOT | |
60100baa | 92 | %{__make} install \ |
93 | DESTDIR=$RPM_BUILD_ROOT \ | |
94 | pkgconfigdir=%{_pkgconfigdir} | |
95 | ||
85efd45e ER |
96 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkspell3-3.la |
97 | ||
98 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ak | |
99 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/son | |
673523c2 | 100 | |
516b0cf1 | 101 | %find_lang %{name} |
102 | ||
60100baa | 103 | %clean |
104 | rm -rf $RPM_BUILD_ROOT | |
105 | ||
2b19a29c JB |
106 | %post -p /sbin/ldconfig |
107 | %postun -p /sbin/ldconfig | |
108 | ||
516b0cf1 | 109 | %files -f %{name}.lang |
60100baa | 110 | %defattr(644,root,root,755) |
09860407 | 111 | %doc AUTHORS ChangeLog README |
85efd45e ER |
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 | |
60100baa | 115 | |
116 | %files devel | |
117 | %defattr(644,root,root,755) | |
85efd45e ER |
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 | |
60100baa | 122 | |
123 | %files static | |
124 | %defattr(644,root,root,755) | |
85efd45e | 125 | %{_libdir}/libgtkspell3-3.a |
c3ac37ae MB |
126 | |
127 | %files apidocs | |
128 | %defattr(644,root,root,755) | |
85efd45e | 129 | %{_gtkdocdir}/gtkspell3 |