]> git.pld-linux.org Git - packages/sary.git/commitdiff
- pl, cleanup
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 17 Nov 2012 17:55:31 +0000 (18:55 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 17 Nov 2012 17:55:31 +0000 (18:55 +0100)
sary.spec

index 7cab0e4defe74c0e657fad3ec8d47311bf5b7d80..a46bb9f0e9b095154bfc32949ba2bfa4776beb03 100644 (file)
--- 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
This page took 0.121229 seconds and 4 git commands to generate.