There is a useful web search engine called Mnogosearch: I was involved in
early Linux testing with it, years ago, and would like to have RPM's
available for RHEL/Fedora.

The source repository is at www.mnogosearch.org: there are RPM's
discoverable at rpmbone.net, and I'm happy to test and submit the attached
one. It's modified from the OpenSuSE one for version 3.2.43, updated to
version 3.3.7.
%{?dist: %{expand: %%define dist_%dist 1}}

Summary:     A fast WWW search engine for websites
Name:        mnogosearch
Version:     3.3.7
Release:     0%{?dist:.%{dist}}%{?pext}
License:     GPL
Group:       Applications/Internet
Source0:     http://www.%{name}.org/Download/%{name}-%{version}.tar.gz
URL:         http://www.%{name}.org/
Buildroot:   /var/tmp/%{name}-root
Vendor:      Lavtech.Com Corp.
Packager:    Peter Pramberger <[EMAIL PROTECTED]>
Provides:    %{name}%{?pext}
Requires:    mysql openssl readline unixODBC
%if 0%{?dist_el3}
Requires:    rh-postgresql-libs
%else
Requires:    postgresql-libs
%endif
Prereq:      coreutils glibc
BuildPrereq: coreutils glibc-devel gcc make
BuildPrereq: mysql-devel openssl-devel
BuildPrereq: readline-devel unixODBC-devel
%if 0%{?dist_el3}
BuildPrereq: rh-postgresql-devel
%else
BuildPrereq: postgresql-devel
%endif
ExclusiveOS: linux

%description
mnoGoSearch (formerly known as UdmSearch) is a full-featured Web
search engine which you can use to build search engines over HTTP,
HTTPS, FTP, and NTTP servers, local files, and database big text
fields. It supports Oracle, MySQL, PostgreSQL, miniSQL, Solid,
Virtuoso, InterBase, SAPDB, iODBC, EasySoft ODBC, and unixODBC
database backends. mnoGoSearch is also known to work with MS SQL,
SyBase, and Oracle through ODBC. It has text/html and text/plain
built-in support, and external parsers support for other document
types. An automatic language/charset guesser for more 70 language/
charset combinations is included, along with basic authorization
support, and you may index password-protected intranet HTTP servers
with proxy authorization support.


%package devel
Summary:     Development tools for %{name}
Group:       Development/Libraries
Provides:    %{name}-devel%{?pext}
Requires:    %{name} = %{version}-%{release} %{name}%{?pext}

%description devel
The %{name}-devel package contains the static libraries and
header files for developing software using %{name}.


%prep
%setup -q


%build
%configure \
        CFLAGS="${RPM_OPT_FLAGS}"                       \
%ifarch x86_64
        LDFLAGS="-L%{_libdir}/mysql"                    \
%endif
        --sysconfdir=%{_sysconfdir}/%{name}             \
        --localstatedir=%{_localstatedir}/cache/%{name} \
        --datadir=%{_datadir}/%{name}                   \
        --enable-shared                                 \
        --enable-static                                 \
        --enable-syslog                                 \
        --with-openssl=%{_prefix}                       \
        --with-zlib                                     \
        --with-readline                                 \
        --with-mysql=%{_prefix}                         \
        --with-pgsql=%{_prefix}                         \
        --with-unixODBC=%{_prefix}

%{__make} \
        all


%install
[ -n "${RPM_BUILD_ROOT}" -a "${RPM_BUILD_ROOT}" != "/" ] && %{__rm} -rf 
${RPM_BUILD_ROOT}
%{__mkdir_p} 
${RPM_BUILD_ROOT}%{_localstatedir}/cache/%{name}/{cache,raw,splitter,tree}
%{__mkdir_p} ${RPM_BUILD_ROOT}%{_localstatedir}/www/icons

%{__make} \
        DESTDIR=${RPM_BUILD_ROOT} \
        install

%{__install} -m 0644 misc/*.gif ${RPM_BUILD_ROOT}%{_localstatedir}/www/icons
%{__rm} -rf  ${RPM_BUILD_ROOT}%{_prefix}/doc


%post
ldconfig


%postun
ldconfig


%clean
[ -n "${RPM_BUILD_ROOT}" -a "${RPM_BUILD_ROOT}" != "/" ] && %{__rm} -rf 
${RPM_BUILD_ROOT}


%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO
%doc doc/*.html doc/*.xml doc/*.css doc/*.dsl
%doc %dir doc/samples
%attr(755,root,root) %dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/*
%{_bindir}/*
%{_libdir}/*.so*
%{_sbindir}/*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%{_mandir}/man1/*
%{_mandir}/man5/*
%attr(755,root,root) %dir %{_localstatedir}/cache/%{name}
%attr(755,root,root) %dir %{_localstatedir}/cache/%{name}/*
%{_localstatedir}/www/icons/*

%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.*a


%changelog
* Wed Jul 30 2008 [EMAIL PROTECTED] 3.3.7-0
- Update version (3.3.7)

* Fri Oct 19 2007 [EMAIL PROTECTED] 3.2.43-8
- new version (3.2.43)

* Thu Oct 11 2007 [EMAIL PROTECTED] 3.2.42-8
- new version (3.2.42)
- removed Oracle support

* Thu Dec 14 2006 [EMAIL PROTECTED] 3.2.40-7
- new version (3.2.40)

* Thu Sep 07 2006 [EMAIL PROTECTED]
- new version (3.2.39)

* Fri Nov 18 2005 [EMAIL PROTECTED]
- fixed directory permissions in config directory

* Wed Nov 16 2005 [EMAIL PROTECTED]
- created

_______________________________________________
suggest mailing list
suggest@lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/suggest

Reply via email to