]> git.pld-linux.org Git - packages/geany-plugin-spellcheck.git/blob - geany-plugin-spellcheck.spec
- improved file flow: %clean just after %install
[packages/geany-plugin-spellcheck.git] / geany-plugin-spellcheck.spec
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:  enchant-devel
14 BuildRequires:  geany-devel >= 0.16
15 BuildRequires:  gettext-devel
16 BuildRequires:  gtk+2-devel >= 2:2.8
17 BuildRequires:  intltool
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig
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
37 %prep
38 %setup -q -n spellcheck-%{version}
39
40 %build
41 %{__libtoolize}
42 %{__aclocal}
43 %{__autoheader}
44 %{__automake}
45 %{__autoconf}
46
47 %configure
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
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files -f geanyspellcheck.lang
66 %defattr(644,root,root,755)
67 %{_libdir}/geany/*
68 %doc AUTHORS COPYING ChangeLog NEWS README
This page took 0.062553 seconds and 3 git commands to generate.