Summary: Another one web indexing and searching system for a small domain or intranet
Summary(pl): Kolejny system indeksowania i przeszukiwania WWW dla ma³ych domen i intranetu
Name: mnogosearch
-Version: 3.2.34
-Release: 3
+Version: 3.2.40
+Release: 1
License: GPL v2+
Group: Networking/Utilities
#Source0Download: http://www.mnogosearch.ru/download.html
Source0: http://www.mnogosearch.ru/Download/%{name}-%{version}.tar.gz
-# Source0-md5: 1706fcba5abde4bbea794379a9f672d0
+# Source0-md5: 80515ca73111a1ac66fc496646beb39e
Source1: %{name}-dbgen
Patch0: %{name}-acfixes.patch
+Patch1: %{name}-as_needed-fix.patch
URL: http://www.mnogosearch.ru/
BuildRequires: autoconf
BuildRequires: automake
%prep
%setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
%build
find . -type d -name CVS | xargs rm -rf
# enable automatic Russian charset guesser :-]
# wy uze www.linux.ru procitacli sewodnja?
-# --with-solid[=DIR] Include Solid support. DIR is the Solid base
+# --with-solid[=DIR] Include Solid support. DIR is the Solid base
# --with-openlink[=DIR] Include OpenLink ODBC support.
# --with-easysoft[=DIR] Include EasySoft ODBC support.
-# --with-sapdb[=DIR] Include SAPDB support. DIR is the SAPDB base
-# --with-ibase[=DIR] Include InterBase support. DIR is the InterBase
-# --with-ctlib[=DIR] Include Ct-Lib support.
-# --with-freetds[=DIR] Include FreeTDS Ct-Lib support.
-# --with-oracle7[=DIR] Include Oracle 7.3 support. DIR is the Oracle
-# --with-oracle8[=DIR] Include Oracle8 support. DIR is the Oracle
+# --with-sapdb[=DIR] Include SAPDB support. DIR is the SAPDB base
+# --with-ibase[=DIR] Include InterBase support. DIR is the InterBase
+# --with-ctlib[=DIR] Include Ct-Lib support.
+# --with-freetds[=DIR] Include FreeTDS Ct-Lib support.
+# --with-oracle7[=DIR] Include Oracle 7.3 support. DIR is the Oracle
+# --with-oracle8[=DIR] Include Oracle8 support. DIR is the Oracle
# --with-oracle8i[=DIR] Include Oracle8i support. DIR is the Oracle
#
# FIXME: add selection of storage method, spliting into %{name}-common & %{name}-$DB_NAME
DESTDIR=$RPM_BUILD_ROOT \
doc_FILES='$(HTML_ALL)'
-ln -sf %{_defaultdocdir}/%{name}-%{version}/html \
+ln -sf %{_docdir}/%{name}-%{version}/html \
$RPM_BUILD_ROOT%{htmldir}/mnogodoc
mv -f $RPM_BUILD_ROOT%{_bindir}/*.cgi \
%post
cat << EOF
-Please see docs (%{_defaultdocdir}/%{name}-%{version}),
+Please see docs (%{_docdir}/%{name}-%{version}),
then read how to setup db connection, and put line like this
"pgsql://user:password@/dbname/" into %{_sysconfdir}, then setup database
using "indexer -Ecreate" command.