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