1 Summary: A another one web indexing and searching system for a small domain or intranet
2 Summary(pl): Kolejny System indeksowania i przeszukiwania www dla ma³ych domen i intranetu
7 Group: Networking/Utilities
8 Group(de): Netzwerkwesen/Werkzeuge
9 Group(pl): Sieciowe/Narzêdzia
10 Source0: http://www.mnogosearch.ru/download/%{name}-%{version}.tar.gz
11 Patch0: %{name}-DESTDIR.patch
12 URL: http://www.mnogosearch.ru/
13 BuildRequires: postgresql-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _sysconfdir /etc/http/%{name}
18 %define _localstatedir /var/lib/mnogosearch
21 The mnogosearch system is a complete world wide web indexing and
22 searching system for a small domain or intranet. This system is not
23 meant to replace the need for powerful internet-wide search systems
24 like Lycos, Infoseek, Webcrawler and AltaVista. Instead it is meant to
25 cover the search needs for a single company, campus, or even a
26 particular sub section of a web site. Features:
29 - http: (and ftp: - via proxy) URL schemaa
33 As opposed to some WAIS-based or web-server based search engines,
34 ht://Dig can span several web servers at a site. The type of these
35 different web servers doesn't matter as long as they understand the
39 Mnogosearch jest kompletnym systemem indeksuj±cym i przeszukuj±cym www
40 dla ma³ych domen oraz intranetu. System nie zosta³ opracowany jako
41 wielki system typu Lycos, Infoseek WebCrawler i AltaVista. Natomiast
42 nadeje siê do zastosowania w pojedyñczej firmie, kampusie lub
43 jakiejkolwiek stronie www.
45 W odró¿nieniu do innych bazuj±cych na WAIS-sie lub serwerch www
46 systemach, mnogosearch mo¿e ³±czyæ kilka serwerów www w jednym
47 miejscu. Typ serwera nie ma znaczenia, dopóki pracuje on zgodnie z
51 Summary: Include files and libraries for htdig
52 Summary(pl): Pliki nag³ówkowe dla htdig
53 Group: Development/Libraries
54 Group(de): Entwicklung/Libraries
55 Group(fr): Development/Librairies
56 Group(pl): Programowanie/Biblioteki
57 Requires: %{name} = %{version}
60 The ht://Dig system is a complete world wide web indexing and
61 searching system for a small domain or intranet. This system is not
62 meant to replace the need for powerful internet-wide search systems
63 like Lycos, Infoseek, Webcrawler and AltaVista. Instead it is meant to
64 cover the search needs for a single company, campus, or even a
65 particular sub section of a web site.
67 As opposed to some WAIS-based or web-server based search engines,
68 ht://Dig can span several web servers at a site. The type of these
69 different web servers doesn't matter as long as they understand the
72 This package contains devlopment files.
75 Summary: mnogosearch w/ pgsql storage-support
76 Summary(pl): mnogosearch z pgsqlem jako metod± przechowywania danych
77 Group: Networking/Utilities
78 Group(de): Netzwerkwesen/Werkzeuge
79 Group(pl): Sieciowe/Narzêdzia
80 Requires: %{name} = %{version}
83 The ht://Dig system is a complete world wide web indexing and
84 searching system for a small domain or intranet. This system is not
85 meant to replace the need for powerful internet-wide search systems
86 like Lycos, Infoseek, Webcrawler and AltaVista. Instead it is meant to
87 cover the search needs for a single company, campus, or even a
88 particular sub section of a web site.
90 As opposed to some WAIS-based or web-server based search engines,
91 ht://Dig can span several web servers at a site. The type of these
92 different web servers doesn't matter as long as they understand the
95 This package contains pgsql storage support.
98 Summary: htdig static libraries
99 Summary(pl): Biblioteki statyczne htdig
100 Group: Development/Libraries
101 Group(de): Entwicklung/Libraries
102 Group(fr): Development/Librairies
103 Group(pl): Programowanie/Biblioteki
104 Requires: %{name}-devel = %{version}
107 The ht://Dig system is a complete world wide web indexing and
108 searching system for a small domain or intranet. This system is not
109 meant to replace the need for powerful internet-wide search systems
110 like Lycos, Infoseek, Webcrawler and AltaVista. Instead it is meant to
111 cover the search needs for a single company, campus, or even a
112 particular sub section of a web site. As opposed to some WAIS-based or
113 web-server based search engines, ht://Dig can span several web servers
114 at a site. The type of these different web servers doesn't matter as
115 long as they understand the HTTP 1.0 protocol. This package contains
116 static libraries of htdig.
123 libtoolize --copy --force
129 --enable-syslog=LOG_LOCAL6 \
130 --with-image-dir=/home/httpd/html/%{name} \
131 --with-cgi-bin-dir=/home/httpd/cgi-bin \
132 --with-search-dir=/home/httpd/html \
133 --with-config-dir=%{_sysconfdir}/http/%{name} \
136 --enable-linux-pthreads \
137 --enable-charset-guesser \
138 --enable-news-extension \
144 # enable automatic Russian charset guesser :-]
145 # wy uze www.linux.ru procitacli sewodnja?
147 # --with-msql[=DIR] Include mSQL support. DIR is the mSQL base
148 # --with-iodbc[=DIR] Include iODBC support. DIR is the iODBC base
149 # --with-unixODBC[=DIR] Include unixODBC support. DIR is the unixODBC base
150 # --with-solid[=DIR] Include Solid support. DIR is the Solid base
151 # --with-openlink[=DIR] Include OpenLink ODBC support.
152 # --with-easysoft[=DIR] Include EasySoft ODBC support.
153 # --with-sapdb[=DIR] Include SAPDB support. DIR is the SAPDB base
154 # --with-ibase[=DIR] Include InterBase support. DIR is the InterBase
155 # --with-oracle7[=DIR] Include Oracle 7.3 support. DIR is the Oracle
156 # --with-oracle8[=DIR] Include Oracle8 support. DIR is the Oracle
157 # --with-oracle8i[=DIR] Include Oracle8i support. DIR is the Oracle
161 # FIXME: add selection of storage method, spliting into %{name}-common & %{name}-$DB_NAME
166 rm -rf $RPM_BUILD_ROOT
167 install -d $RPM_BUILD_ROOT{/var/lib/mnogosearch,/etc/cron.daily} \
168 $RPM_BUILD_ROOT/home/httpd/html/%{name}
170 %{__make} DESTDIR=$RPM_BUILD_ROOT install
172 ln -sf ../..%{_bindir}/rundig \
173 $RPM_BUILD_ROOT/etc/cron.daily/{%name}-dbgen
175 ln -sf ../../../..%{_defaultdocdir}/%{name}-%{version} \
176 $RPM_BUILD_ROOT/home/httpd/html/%{name}/mnogodoc
178 install etc/search.htm-dist $RPM_BUILD_ROOT/home/httpd/html/search.html
180 ln -sf $RPM_BUILD_ROOT%{_bindir}/search.cgi $RPM_BUILD_ROOT/home/httpd/cgi-bin/search.cgi
183 rm -rf $RPM_BUILD_ROOT
186 # Only run this if installing for the first time
187 #if [ "$1" = 1 ]; then
188 # for i in `grep '^ServerName' /etc/httpd/httpd.conf | sort -u | awk '{print $2}'`; do echo -n http://$i/; echo -n " "; done > /tmp/htdig.tmp
189 # SERVERNAMES="`cat /tmp/htdig.tmp`"
190 # [ -z "$SERVERNAMES" ] && SERVERNAMES="`hostname -f`"
191 # [ -z "$SERVERNAMES" ] && SERVERNAMES="localhost"
192 # SERVERNAME=`grep '^ServerName' /etc/httpd/httpd.conf | uniq -d | awk '{print $2}'`
193 # grep -v -e local_urls -e local_user_urls -e start_url /etc/htdig/htdig.conf > /tmp/htdig.tmp
194 # mv -f /tmp/htdig.tmp /etc/htdig/htdig.conf
195 # echo "start_url:$SERVERNAMES
196 #local_urls: $SERVERNAMES
197 #local_user_urls: http://$SERVERNAME/=/home/,/public_html/" >> /etc/htdig/htdig.conf
202 %defattr(644,root,root,755)
203 %doc COPYING README doc/*
204 %dir /var/lib/%{name}
205 # maybe user== nobody ?
206 %attr (755,http,http) /home/httpd/cgi-bin/*
207 %attr (755,root,root) %{_bindir}/*
208 %attr (755,root,root) %{_libdir}/%{name}/*so
209 %attr (755,root,root) %{_libdir}/%{name}/*la
210 /home/httpd/html/%{name}/*
211 %{_datadir}/%{name}/*
212 %config(noreplace) %{_sysconfdir}/html/%{name}/*
213 %config(missingok noreplace) %verify(not size mtime md5) /home/httpd/html/search.html
214 #%config(missingok) %{_sysconfdir}/cron.daily/htdig-dbgen
217 #%defattr(644,root,root,755)
218 #%{_includedir}/%{name}/*
221 #%defattr(644,root,root,755)
222 #%{_libdir}/%{name}/*.a