SPECS: hunspell.spec (NEW) - new, based on fedora spec - http://cv...

glen glen at pld-linux.org
Sun Mar 4 15:41:01 CET 2007


Author: glen                         Date: Sun Mar  4 14:41:01 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, based on fedora spec - http://cvs.fedora.redhat.com/viewcvs/devel/hunspell/

---- Files affected:
SPECS:
   hunspell.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/hunspell.spec
diff -u /dev/null SPECS/hunspell.spec:1.1
--- /dev/null	Sun Mar  4 15:41:01 2007
+++ SPECS/hunspell.spec	Sun Mar  4 15:40:53 2007
@@ -0,0 +1,115 @@
+# $Revision$, $Date$
+Summary:	Hunspell is a spell checker and morphological analyzer library
+Name:		hunspell
+Version:	1.1.4
+Release:	0.3
+Source0:	http://dl.sourceforge.net/hunspell/%{name}-%{version}.tar.gz
+# Source0-md5:	4cf2dfb89dd58392ad5a1183c69eb628
+License:	LGPL
+Group:		Libraries
+URL:		http://hunspell.sourceforge.net/
+Patch0:		%{name}-sharedlibs.patch
+Patch1:		%{name}-defaultdictfromlang.patch
+Patch2:		%{name}-capi.patch
+BuildRequires:	libtool
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Hunspell is a spell checker and morphological analyzer library and
+program designed for languages with rich morphology and complex word
+compounding or character encoding. Hunspell interfaces: Ispell-like
+terminal interface using Curses library, Ispell pipe interface,
+OpenOffice.org UNO module.
+
+# NOTE: munch,unmunch collide with myspell-devel
+%package tools
+Summary:	hunspell tools
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description tools
+This package contains munch and unmunch programs.
+
+%package devel
+Summary:	Files for developing with hunspell
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Includes and definitions for developing with hunspell
+
+%package static
+Summary:	Static hunspell library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static hunspell library.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+rm -f $RPM_BUILD_ROOT%{_bindir}/example
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc README README.myspell AUTHORS AUTHORS.myspell license.hunspell license.myspell THANKS
+%attr(755,root,root) %{_bindir}/hunmorph
+%attr(755,root,root) %{_bindir}/hunspell
+%attr(755,root,root) %{_bindir}/hunstem
+%attr(755,root,root) %{_libdir}/libhunspell.so.*.*.*
+%{_mandir}/man1/hunspell.1*
+%{_mandir}/man4/hunspell.4*
+%lang(hu) %{_mandir}/hu/man1/hunspell.1*
+%lang(hu) %{_mandir}/hu/man4/hunspell.4*
+
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/munch
+%attr(755,root,root) %{_bindir}/unmunch
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libhunspell.so
+%{_libdir}/libhunspell.la
+%{_includedir}/%{name}
+%{_pkgconfigdir}/hunspell.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libhunspell.a
+%{_libdir}/libparsers.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/03/04 14:40:53  glen
+- new, based on fedora spec - http://cvs.fedora.redhat.com/viewcvs/devel/hunspell/
+
================================================================


More information about the pld-cvs-commit mailing list