]> git.pld-linux.org Git - packages/enchant.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 30 Oct 2003 18:50:01 +0000 (18:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    enchant.spec -> 1.1

enchant.spec [new file with mode: 0644]

diff --git a/enchant.spec b/enchant.spec
new file mode 100644 (file)
index 0000000..1c50f1b
--- /dev/null
@@ -0,0 +1,193 @@
+Summary:       libenchant - generic spell checking library
+Summary(pl):   libenchant - ogólna biblioteka sprawdzania pisowni
+Name:          enchant
+Version:       1.1.1
+Release:       1
+License:       LGPL
+Group:         Libraries
+Source0:       http://dl.sourceforge.net/abiword/%{name}-%{version}.tar.gz
+# Source0-md5: 491d6aa3e93f6f0f6bf6108efbb54d73
+URL:           http://www.abisource.com/enchant/
+BuildRequires: aspell-devel >= 0.50.0
+BuildRequires: glib2-devel >= 2.0
+#BuildRequires:        libuspell-devel >= 1.1.0
+BuildRequires: pkgconfig
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This project aims to provide an efficient, extensible abstraction for
+dealing with different spell checking libraries. Enchant is meant to
+provide a generic interface into various existing spell checking
+libraries. These include, but are not limited to: Aspell/Pspell,
+Ispell, Hspell, Uspell.
+
+Enchant is also meant to be used in a cross-platform environment. Part
+of this means that Enchant wants to limit its number of external
+dependencies to 0, or as close is as humanly possible. Also, any
+enchant consumer (i.e. a Word Processor) should not need to know about
+what backend providers Enchant knows about. In fact, Enchant shouldn't
+even need to know this information itself. To accomplish this, all of
+Enchant's providers are dynamically loaded modules.
+
+Enchant is also meant to be used in a multi-user environment, such as
+Unix. It is preferable to have both a $USER and a $GLOBAL location for
+both provider modules and for dictionaries themselves, when possible.
+Enchant's module location algorithm takes this into account, and gives
+preference to the $USER resources, when found.
+
+%description -l pl
+Celem projektu jest dostarczenie wydajnej i rozszerzalnej abstrakcji
+do obs³ugi ró¿nych bibliotek kontroli pisowni. Enchant ma dostarczaæ
+ogólny interfejs do ró¿nych istniej±cych bibliotek. Obejmuj± one (ale
+nie s± ograniczone do): Aspella/Pspella, Ispella, Hspella, Uspella.
+
+Enchant ma byæ tak¿e u¿ywany w ¶rodowisku wieloplatformowym. Oznacza
+to miêdzy innymi, ¿e Enchant ma mieæ ograniczon± liczbê zewnêtrznych
+zale¿no¶ci do zera lub najbli¿ej jak to mo¿liwe. Tak¿e dowolny klient
+enchanta (czyli procesor tekstu) nie powinien potrzebowaæ wiedzy,
+jakie backendy s± dostêpne dla Enchanta. W rzeczywisto¶ci nawet
+Enchant nie powinien potrzebowaæ takiej informacji. Aby to osi±gn±æ,
+wszystkie backendy Enchanta s± dynamicznie ³adowanymi modu³ami.
+
+Enchant ma byæ tak¿e u¿ywany w ¶rodowisku wielou¿ytkownikowym, takim
+jak Unix. Preferuje siê, ¿eby istnia³y zarówno specyficzne dla
+u¿ytkownika jak i globalne lokalizacje zarówno dla modu³ów jak i
+samych s³owników, je¶li to mo¿liwe. Algorytm poszukiwania modu³ów
+Enchanta bierze to pod uwagê i preferuje zasoby u¿ytkownika, je¶li
+takie znajdzie.
+
+%package devel
+Summary:       Header files for enchant library
+Summary(pl):   Pliki nag³ówkowe biblioteki enchant
+Group:         Development/Libraries
+Requires:      %{name} = %{version}
+Requires:      glib2-devel >= 2.0
+
+%description devel
+Header files for enchant library.
+
+%description devel -l pl
+Pliki nag³ówkowe biblioteki enchant.
+
+%package static
+Summary:       Static enchant library
+Summary(pl):   Statyczna biblioteka enchant
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+Static enchant library.
+
+%description static -l pl
+Statyczna biblioteka enchant.
+
+%package aspell
+Summary:       aspell provider module for Enchant
+Summary(pl):   Modu³ obs³uguj±cy aspella dla Enchanta
+Group:         Libraries
+Requires:      %{name} = %{version}
+Requires:      aspell >= 0.50.0
+
+%description aspell
+aspell provider module for Enchant.
+
+%description aspell -l pl
+Modu³ obs³uguj±cy aspella dla Enchanta.
+
+%package ispell
+Summary:       ispell provider module for Enchant
+Summary(pl):   Modu³ obs³uguj±cy ispella dla Enchanta
+Group:         Libraries
+Requires:      %{name} = %{version}
+
+%description ispell
+ispell provider module for Enchant.
+
+%description ispell -l pl
+Modu³ obs³uguj±cy ispella dla Enchanta.
+
+%package myspell
+Summary:       myspell provider module for Enchant
+Summary(pl):   Modu³ obs³uguj±cy myspella dla Enchanta
+Group:         Libraries
+Requires:      %{name} = %{version}
+
+%description myspell
+myspell provider module for Enchant.
+
+%description myspell -l pl
+Modu³ obs³uguj±cy myspella dla Enchanta.
+
+%package uspell
+Summary:       uspell provider module for Enchant
+Summary(pl):   Modu³ obs³uguj±cy uspella dla Enchanta
+Group:         Libraries
+Requires:      %{name} = %{version}
+
+%description uspell
+uspell provider module for Enchant.
+
+%description uspell -l pl
+Modu³ obs³uguj±cy uspella dla Enchanta.
+
+%prep
+%setup -q
+
+%build
+%configure \
+       --with-ispell-dir=/usr/lib/ispell
+# --with-myspell-dir=/some/where
+# --with-uspell-dir=/some/where
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+# useless - modules loaded through libgmodule
+rm -f $RPM_BUILD_ROOT%{_libdir}/enchant/*.{la,a}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS MAINTAINERS NEWS README TODO
+%attr(755,root,root) %{_bindir}/enchant
+%attr(755,root,root) %{_bindir}/enchant-lsmod
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%dir %{_libdir}/enchant
+%{_mandir}/man1/enchant.1*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/enchant
+%{_pkgconfigdir}/*.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%files aspell
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/enchant/libenchant_aspell.so*
+
+%files ispell
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/enchant/libenchant_ispell.so*
+
+%files myspell
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/enchant/libenchant_myspell.so*
+
+#%files uspell
+#%defattr(644,root,root,755)
+#%attr(755,root,root) %{_libdir}/enchant/libenchant_uspell.so*
This page took 0.120013 seconds and 4 git commands to generate.