Witam, Popełniłem speca geany-plugin-spellcheck.spec (http://plugins.geany.org/spellcheck/), jak wskazuje nazwa, wtyczka do sprawdzania pisowni.
Mam jeden problem z zapisaniem zależności. Chodzi o: ,,For the plugin to work at all, you need to have the Enchant library installed together with at least one backend (Aspell, Myspell, Hunspell, ...)'' Czyli jak zapisać, że wymagany jest tylko jeden z poniższych (coś a la alternatywa logiczna): Requires: enchant-aspell #Requires: enchant-ispell #Requires: enchant-myspell Pozdrawiam, Krzysztof Goliński
# $Revision: 1.4 $, $Date: 2009/08/31 22:44:21 $ 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: atk-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: geany-devel >= 0.16 BuildRequires: glib-devel BuildRequires: intltool BuildRequires: libtool BuildRequires: pango-devel BuildRequires: rpmbuild(macros) >= 1.198 Requires: enchant Requires: enchant-aspell #Requires: enchant-ispell #Requires: enchant-myspell 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 %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[email protected]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log:$
_______________________________________________ pld-devel-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl
