[packages/sary] - pl, cleanup
qboosh
qboosh at pld-linux.org
Sat Nov 17 18:55:35 CET 2012
commit 181c3df88532f35dfb863e5aec34346d364abb35
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Nov 17 18:55:31 2012 +0100
- pl, cleanup
sary.spec | 32 +++++++++++++++++++++++---------
1 file changed, 23 insertions(+), 9 deletions(-)
---
diff --git a/sary.spec b/sary.spec
index 7cab0e4..a46bb9f 100644
--- a/sary.spec
+++ b/sary.spec
@@ -7,33 +7,42 @@ Summary(pl.UTF-8): Biblioteka tablic sufiksowych
Name: sary
Version: 1.2.0
Release: 1
-License: LGPL
+License: LGPL v2+
Group: Libraries
Source0: http://sary.sourceforge.net/%{name}-%{version}.tar.gz
# Source0-md5: 10b9a803025c5f428014a7f1ff849ecc
Patch0: %{name}-link.patch
URL: http://sary.sourceforge.net/
-BuildRequires: glib2-devel
-BuildRequires: autoconf
-BuildRequires: automake
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake >= 1.4
+BuildRequires: glib2-devel >= 2.0.0
BuildRequires: libtool
+BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
sary is a suffix array library and tools.
+
It provides fast full-text search facilities for text files
on the order of 10 to 100 MB using a data structure called
a suffix array. It can also search specific fields in a text
file by assigning index points to those fields.
-#%description -l pl.UTF-8
+%description -l pl.UTF-8
+sary to biblioteka oraz narzędzia do tablic sufiksowych.
+
+Zapewnia szybkie funkcje do przeszukiwania pełnotekstowego dla
+plików tekstowych rzędu wielkości od 10 do 100 MB przy użyciu
+struktury danych zwanej tablicą sufiksową. Potrafi także
+wyszukiwać konkretnych pól w pliku tekstowym przypisując punkty
+indeksu do tych pól.
%package devel
Summary: Header files for sary library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki sary
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: glib2-devel
+Requires: glib2-devel >= 2.0.0
%description devel
Header files for sary library.
@@ -76,6 +85,9 @@ rm -rf $RPM_BUILD_ROOT
%{__rm} -rf devel-doc
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/docs devel-doc
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libsary.la
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -85,15 +97,17 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/mksary
+%attr(755,root,root) %{_bindir}/sary
%attr(755,root,root) %{_libdir}/libsary.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libsary.so.10
-%{_mandir}/man1/*.1*
+%{_mandir}/man1/mksary.1*
+%{_mandir}/man1/sary.1*
%files devel
%defattr(644,root,root,755)
%doc devel-doc/*
-%{_libdir}/libsary.so
+%attr(755,root,root) %{_libdir}/libsary.so
%{_includedir}/sary
%{_includedir}/sary.h
%{_pkgconfigdir}/sary.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sary.git/commitdiff/181c3df88532f35dfb863e5aec34346d364abb35
More information about the pld-cvs-commit
mailing list