]>
Commit | Line | Data |
---|---|---|
dfe5a9c2 KG |
1 | Summary: geany spell check plugin |
2 | Summary(pl.UTF-8): wtyczka dla geany sprawdzająca pisownię | |
3 | Name: geany-plugin-spellcheck | |
4 | Version: 0.4 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: Libraries | |
8 | Source0: http://plugins.geany.org/spellcheck/spellcheck-%{version}.tar.bz2 | |
9 | # Source0-md5: f03dca77cf65ea02c3fca9cff8cf4828 | |
10 | URL: http://plugins.geany.org/spellcheck/ | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: geany-devel >= 0.16 | |
14 | BuildRequires: gettext | |
15 | BuildRequires: gtk+2-devel >= 2:2.8 | |
16 | BuildRequires: intltool | |
17 | BuildRequires: libtool | |
18 | BuildRequires: rpmbuild(macros) >= 1.198 | |
19 | Requires: enchant | |
20 | Requires: enchant-backend | |
21 | Requires: geany >= 0.16 | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | ||
25 | %description | |
26 | This plugin checks the content of the current document in Geany with | |
27 | the spell check library Enchant. You can also select a certain text | |
28 | passage, then the plugin will only check the selected text. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Ta wtyczka sprawdza treść bieżącego dokumentu w Geany, wykorzystując | |
32 | bibliotekę do sprawdzania pisowni enchant. Możesz również wybrać | |
33 | fragment tekstu, wtedy wtyczka sprawdzi jedynie zaznaczony tekst. | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %prep | |
39 | %setup -q -n spellcheck-%{version} | |
40 | ||
41 | %build | |
42 | %{__libtoolize} | |
43 | %{__aclocal} | |
44 | %{__autoheader} | |
45 | %{__automake} | |
46 | %{__autoconf} | |
47 | ||
48 | %configure | |
49 | ||
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} | |
58 | mv $RPM_BUILD_ROOT%{_docdir}/geany-plugins/spellcheck/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/ | |
59 | rm -r $RPM_BUILD_ROOT%{_docdir}/geany-plugins | |
60 | ||
61 | %find_lang geanyspellcheck | |
62 | ||
63 | %files -f geanyspellcheck.lang | |
64 | %defattr(644,root,root,755) | |
65 | %{_libdir}/geany/* | |
66 | %doc AUTHORS COPYING ChangeLog NEWS README |