--- /dev/null
+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