]> git.pld-linux.org Git - packages/gtkspell3.git/blame - gtkspell3.spec
GtkSpell API version 3.0
[packages/gtkspell3.git] / gtkspell3.spec
CommitLineData
85efd45e
ER
1# TODO
2# - gtk+2 bindings possible besides gtk+3 as well
da6b5562 3Summary: GTK+ Spell Checker Interface Library
680575c5 4Summary(pl.UTF-8): Biblioteka z interfejsem do narzędzia sprawdzającego pisownię dla GTK+
85efd45e
ER
5Name: gtkspell3
6Version: 3.0.1
7Release: 1
60100baa 8License: GPL
60100baa 9Group: X11/Libraries
10Source0: http://gtkspell.sourceforge.net/download/%{name}-%{version}.tar.gz
85efd45e 11# Source0-md5: 861c7188dbcc89dc24744d47102c4b18
60100baa 12URL: http://gtkspell.sourceforge.net/
516b0cf1 13BuildRequires: autoconf >= 2.57
2b19a29c 14BuildRequires: automake
fa9f2026 15BuildRequires: docbook-dtd42-xml
9269cfa5 16BuildRequires: enchant-devel >= 0.4.0
d465e0cf 17BuildRequires: gettext-devel
85efd45e 18BuildRequires: gtk+3-devel
4c95f4ea 19BuildRequires: gtk-doc >= 1.6
9269cfa5 20BuildRequires: intltool >= 0.35.0
2b19a29c 21BuildRequires: libtool
9269cfa5 22BuildRequires: pango-devel >= 1:1.13.3
e2cc735d 23BuildRequires: pkgconfig
60100baa 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
60100baa 26%description
2b19a29c
JB
27GtkSpell provides MSWord/MacOSX-style highlighting of misspelled words
28in a GtkTextView widget. Right-clicking a misspelled word pops up a
29menu of suggested replacements.
30
c5b299db
JR
31%description -l pl.UTF-8
32GtkSpell udostępnia podobne do MS Worda lub MacOSX podświetlanie
33błędnie napisanych słów w widgecie GtkTextView. Kliknięcie prawym
34przyciskiem na błędne słowo otwiera menu z sugerowanymi poprawkami.
60100baa 35
36%package devel
85efd45e 37Summary: Header files for GtkSpell API version 3.0
680575c5 38Summary(pl.UTF-8): Pliki nagłówkowe dla gtkspella
60100baa 39Group: X11/Development/Libraries
85efd45e 40Requires: %{name} = %{version}-%{release}
9269cfa5 41Requires: enchant-devel >= 0.4.0
85efd45e 42Requires: gtk+3-devel
60100baa 43
44%description devel
85efd45e 45Header files for GtkSpell API version 3.0.
60100baa 46
c5b299db
JR
47%description devel -l pl.UTF-8
48Pliki nagłówkowe dla gtkspella.
60100baa 49
50%package static
85efd45e 51Summary: Static libraries for GtkSpell
680575c5 52Summary(pl.UTF-8): Biblioteki statyczne dla gtkspella
60100baa 53Group: X11/Development/Libraries
85efd45e 54Requires: %{name}-devel = %{version}-%{release}
60100baa 55
56%description static
85efd45e 57Static libraries for GtkSpell.
60100baa 58
c5b299db 59%description static -l pl.UTF-8
60100baa 60Biblioteki statyczne dla gtkspella.
61
c3ac37ae 62%package apidocs
85efd45e 63Summary: GtkSpell API documentation
c3ac37ae
MB
64Summary(pl.UTF-8): Dokumentacja API gtkspell
65Group: Documentation
66Requires: gtk-doc-common
67
68%description apidocs
85efd45e 69GtkSpell API documentation.
c3ac37ae
MB
70
71%description apidocs -l pl.UTF-8
72Dokumentacja 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
91rm -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
104rm -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
This page took 0.092482 seconds and 4 git commands to generate.