Summary: Simple Web Indexing System for Humans - Enhanced Summary(pl): Prosty system indeksowania stron WWW - wersja rozszerzona Name: swish-e Version: 2.4.2 Release: 1 License: GPL Group: Applications/Text Source0: http://swish-e.org/Download/%{name}-%{version}.tar.gz # Source0-md5: 1606e2f55034540f88c1748eeaae5274 URL: http://swish-e.org/ #Icon: swish-e.xpm BuildRequires: libxml2-devel BuildRequires: pcre-devel BuildRequires: zlib-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Swish-e is Simple Web Indexing System for Humans - Enhanced Swish-e can quickly and easily index directories of files or remote web sites and search the generated indexes. Swish-e is extremely fast in both indexing and searching, highly configurable, and can be seamlessly integrated with existing web sites to maintain a consistent design. Swish-e can index web pages, but can just as easily index text files, mailing list archives, or data stored in a relational database. Swish-e key features are: - Emacs/Gnus mail index in cooordination with nnir.el - Fast - many factors that affect speed, but a search on this server that returns a thousand documents takes only a few seconds. - Flexible - a number of configuration options provide you a high degree of control over what is indexed and how. - Powerful - the AND, OR and NOT operators are supported, words can be truncated (using *), and searches can be limited to particular fields (META tag fields, TITLEs, etc.) - Free - nothing, zip, zero. - It's made for Web sites - In indexing HTML files, SWISH-E can ignore data in most tags while giving higher relevance to information in header and title tags. Titles are extracted from HTML files and appear in the search results. SWISH can automatically search your whole Web site for you in one pass, if it's under one directory. You can also limit your search to words in HTML titles, comments, emphasized tags, and META tags. In addition, 8-bit HTML characters can be indexed, converted, and searched. - It creates portable indexes - Index files consist of only one file, so they can be transported around and easily maintained. - You can fix the source - We encourage people to send in patches and suggestions on how to make SWISH-E better. You may want to join the SWISH-E Discussion. %description -l pl Swish-e jest prostym systemem indeksującym www dla ludzi - wersja rozszerzona. Swish-e może zgrabnie i łatwo indeksować katalogi plików lub zdalne strony www i przeszukiwać wygenerowane indeksy. Swish-e jest ekstremalnie szybki zarówno w indeksowaniu i wyszukiwaniu, mocno konfigurowalny, i może być łatwo zintegrowany z istrnijącymi stronami www w celu konfiguracji jego wyglądu. Swish-e może indeksować nie tylko strony www, ale także pliki tekstowe, archiwa list pocztowych lub dane przechowywane w relacyjnych bazach danych. Kluczowymi właściwościami swish-a są: - Zgodne z Emacs/Gnus indeksowanie poczty w połączeniu z nnir.el - Szybki - wiele współczynników ma wpływ na prędkość, ale wyszukiwanie na serwerze zwracające tysiące dokumentów zabiera tylko kilka sekund. - Elastyczny - duża liczba opcji konfiguracyjnych udostępnia wysoki stopień możliwości określenia co i jak ma być indeksowane. - Potężny - operatory AND, OR i NOT są obsługiwane, słowa mogą być obcinane(korzystając z *), i wyszukiwanie ograniczane do konkretnych pól(tagi META, tytuły, itepe) - Wolny - bezpłatny, darmowy, za friko. - Stworzony dla stron WWW - indeksuje pliki HTML, może ignorować dane w większości tagów, przyznając większą wagę informacją w nagłówkach i tytułach. Tytuły mogą być wyodrębniane z plików HTML i pojawiać się w rezultatach wyszukiwania. SWISH może automatycznie przeszukać całą stronę WWW w jednym przejściu, jeżeli jest w jednym katalogu. Można także ograniczyć wyszukiwanie do słów w tytułach HTML, komentarzach i tagach META. Dodatkowo - 8-bitowe znaki HTML mogą być indeksowane, przekształcane i przeszukiwane. - Tworzy przenośne indeksy - są zawarte w tylko jednym pliku, więc mogą być łatwo transportowane i zarządzane. - Możesz poprawić źródła - wszyscy są proszeni o wysyłanie patchy i uwag jak ulepszyć SWISH-E. Możesz się też przyłączyć do dyskusji na temat SWISH-E. %package doc Summary: Documentation for swish-e Summary(pl): Dokumentacja dla swish-e Group: Documentation %description doc SWISH-E documentation and examples %description doc -l pl Dokumentacja i przykłady dla SWISH-E %package perl Summary: SWISH-E - PERL Scripts and Modules Summary(pl): SWISH-E - Skrypty i moduły dla PERL-a Group: Applications/Text Requires: %{name} = %{version}-%{release} %description perl PERL SWISH-E language bindings and scripts. %description perl -l pl Skrypty i moduły perlowe dla SWISH-E. %package devel Summary: Header files for swish-e Summary(pl): Pliki nagłówkowe dla swish-e Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Header files for swish-e. %description devel -l pl Pliki nagłówkowe dla swish-e. %package static Summary: Static library for swish-e Summary(pl): Biblioteka statyczna dla swish-e Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static Static library for swish-e. %description static -l pl Biblioteka statyczna dla swish-e. %prep %setup -q %build %configure \ --with-pcre %{__make} %{__make} test %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT mv $RPM_BUILD_ROOT%{_docdir}/%{name} %{name}-doc %clean rm -r $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/%{name} %attr(755,root,root) %{_libdir}/libswish-e.so.* %dir %{_libdir}/swish-e %attr(755,root,root) %{_libdir}/swish-e/swishspider %{_mandir}/man?/* %files doc %defattr(644,root,root,755) %doc %{name}-doc/* %files perl %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/swish-filter-test %{_libdir}/%{name}/perl %attr(755,root,root) %{_libdir}/%{name}/*.pl %attr(755,root,root) %{_libdir}/%{name}/*.cgi %{_datadir}/swish-e %files devel %defattr(644,root,root,755) %{_includedir}/* %attr(755,root,root) %{_libdir}/libswish-e.so %{_libdir}/libswish-e.la %files static %defattr(644,root,root,755) %{_libdir}/libswish-e.a