SPECS: libstemmer.spec (NEW) - new
adamg
adamg at pld-linux.org
Sat Aug 2 21:58:28 CEST 2008
Author: adamg Date: Sat Aug 2 19:58:28 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
libstemmer.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/libstemmer.spec
diff -u /dev/null SPECS/libstemmer.spec:1.1
--- /dev/null Sat Aug 2 21:58:28 2008
+++ SPECS/libstemmer.spec Sat Aug 2 21:58:23 2008
@@ -0,0 +1,107 @@
+# $Revision$, $Date$
+Summary: The C version of the libstemmer library
+Name: libstemmer
+Version: 20080616
+Release: 1
+License: BSD
+Group: Libraries
+Source0: http://snowball.tartarus.org/dist/%{name}_c.tgz
+# Source0-md5: cffc043e1e1ad7fe4cf7beaa0198d147
+Patch0: %{name}-makefile.patch
+URL: http://snowball.tartarus.org/
+BuildRequires: libtool
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Snowball is a small string processing language designed for creating
+stemming algorithms for use in Information Retrieval. This site
+describes Snowball, and presents several useful stemmers which have
+been implemented using it.
+
+This package containst the C version of the libstemmer library.
+
+%package devel
+Summary: Header files for libstemmer library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libstemmer
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for libstemmer library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libstemmer.
+
+%package static
+Summary: Static libstemmer library
+Summary(pl.UTF-8): Statyczna biblioteka libstemmer
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static libstemmer library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libstemmer.
+
+%package utils
+Summary: The stemwords utility using the libstemmer library
+Summary(pl.UTF-8): Narzędzie stemwords korzystające z biblioteki libstemmer
+Group: Application/Text
+
+%description utils
+The stemwords utility using the libstemmer library
+
+%description utils -l pl.UTF-8
+Narzędzie stemwords korzystające z biblioteki libstemmer.
+
+%prep
+%setup -q -n %{name}_c
+%patch0 -p0
+
+%build
+%{__make} \
+ CFLAGS="%{rpmcflags} -Iinclude -fPIC" \
+ CC="%{__cc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ libdir=%{_libdir} \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_libdir}/*.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/%{name}
+%{_libdir}/*.so
+%{_libdir}/*.la
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%files utils
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/stemwords
+
+%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 2008/08/02 19:58:23 adamg
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list