From: Krzysztof Goliński Date: Fri, 6 Nov 2009 22:18:41 +0000 (+0000) Subject: - new X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgeany-plugin-spellcheck.git;a=commitdiff_plain;h=dfe5a9c2c203fa380c0d8098a7f981a62506aa19 - new Changed files: geany-plugin-spellcheck.spec -> 1.1 --- dfe5a9c2c203fa380c0d8098a7f981a62506aa19 diff --git a/geany-plugin-spellcheck.spec b/geany-plugin-spellcheck.spec new file mode 100644 index 0000000..954b279 --- /dev/null +++ b/geany-plugin-spellcheck.spec @@ -0,0 +1,66 @@ +Summary: geany spell check plugin +Summary(pl.UTF-8): wtyczka dla geany sprawdzająca pisownię +Name: geany-plugin-spellcheck +Version: 0.4 +Release: 1 +License: GPL v2 +Group: Libraries +Source0: http://plugins.geany.org/spellcheck/spellcheck-%{version}.tar.bz2 +# Source0-md5: f03dca77cf65ea02c3fca9cff8cf4828 +URL: http://plugins.geany.org/spellcheck/ +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: geany-devel >= 0.16 +BuildRequires: gettext +BuildRequires: gtk+2-devel >= 2:2.8 +BuildRequires: intltool +BuildRequires: libtool +BuildRequires: rpmbuild(macros) >= 1.198 +Requires: enchant +Requires: enchant-backend +Requires: geany >= 0.16 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + + +%description +This plugin checks the content of the current document in Geany with +the spell check library Enchant. You can also select a certain text +passage, then the plugin will only check the selected text. + +%description -l pl.UTF-8 +Ta wtyczka sprawdza treść bieżącego dokumentu w Geany, wykorzystując +bibliotekę do sprawdzania pisowni enchant. Możesz również wybrać +fragment tekstu, wtedy wtyczka sprawdzi jedynie zaznaczony tekst. + +%clean +rm -rf $RPM_BUILD_ROOT + +%prep +%setup -q -n spellcheck-%{version} + +%build +%{__libtoolize} +%{__aclocal} +%{__autoheader} +%{__automake} +%{__autoconf} + +%configure + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} +mv $RPM_BUILD_ROOT%{_docdir}/geany-plugins/spellcheck/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/ +rm -r $RPM_BUILD_ROOT%{_docdir}/geany-plugins + +%find_lang geanyspellcheck + +%files -f geanyspellcheck.lang +%defattr(644,root,root,755) +%{_libdir}/geany/* +%doc AUTHORS COPYING ChangeLog NEWS README