]> git.pld-linux.org Git - packages/swish-e.git/blob - swish-e.spec
38e85d926ebbd1458aaed4c50c0e2af19c124628
[packages/swish-e.git] / swish-e.spec
1 Summary:        Simple Web Indexing System for Humans - Enhanced
2 Summary(pl):    Prosty system indeksowania stron WWW - wersja rozszerzona
3 Name:           swish-e
4 Version:        2.4.2
5 Release:        1
6 License:        GPL/LGPL
7 Group:          Applications/Text
8 Source0:        http://swish-e.org/Download/%{name}-%{version}.tar.gz
9 # Source0-md5:  1606e2f55034540f88c1748eeaae5274
10 URL:            http://swish-e.org/
11 #Icon:          swish-e.xpm
12 BuildRequires:  libxml2-devel
13 BuildRequires:  pcre-devel
14 BuildRequires:  zlib-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Swish-e is Simple Web Indexing System for Humans - Enhanced
19
20 Swish-e can quickly and easily index directories of files or remote
21 web sites and search the generated indexes.
22
23 Swish-e is extremely fast in both indexing and searching, highly
24 configurable, and can be seamlessly integrated with existing web sites
25 to maintain a consistent design. Swish-e can index web pages, but can
26 just as easily index text files, mailing list archives, or data stored
27 in a relational database.
28
29 Swish-e key features are:
30 - Emacs/Gnus mail index in cooordination with nnir.el
31 - Fast - many factors that affect speed, but a search on this server
32   that returns a thousand documents takes only a few seconds.
33 - Flexible - a number of configuration options provide you a high
34   degree of control over what is indexed and how.
35 - Powerful - the AND, OR and NOT operators are supported, words can be
36   truncated (using *), and searches can be limited to particular fields
37   (META tag fields, TITLEs, etc.)
38 - Free - nothing, zip, zero.
39 - It's made for Web sites - In indexing HTML files, SWISH-E can ignore
40   data in most tags while giving higher relevance to information in
41   header and title tags. Titles are extracted from HTML files and appear
42   in the search results. SWISH can automatically search your whole Web
43   site for you in one pass, if it's under one directory. You can also
44   limit your search to words in HTML titles, comments, emphasized tags,
45   and META tags. In addition, 8-bit HTML characters can be indexed,
46   converted, and searched.
47 - It creates portable indexes - Index files consist of only one file,
48   so they can be transported around and easily maintained.
49 - You can fix the source - We encourage people to send in patches and
50   suggestions on how to make SWISH-E better. You may want to join the
51   SWISH-E Discussion.
52
53 %description -l pl
54 Swish-e jest prostym systemem indeksuj±cym www dla ludzi - wersja
55 rozszerzona.
56
57 Swish-e mo¿e zgrabnie i ³atwo indeksowaæ katalogi plików lub zdalne
58 strony www i przeszukiwaæ wygenerowane indeksy.
59
60 Swish-e jest ekstremalnie szybki zarówno w indeksowaniu i
61 wyszukiwaniu, mocno konfigurowalny, i mo¿e byæ ³atwo zintegrowany z
62 istrnij±cymi stronami www w celu konfiguracji jego wygl±du. Swish-e
63 mo¿e indeksowaæ nie tylko strony www, ale tak¿e pliki tekstowe,
64 archiwa list pocztowych lub dane przechowywane w relacyjnych bazach
65 danych.
66
67 Kluczowymi w³a¶ciwo¶ciami swish-a s±:
68 - Zgodne z Emacs/Gnus indeksowanie poczty w po³±czeniu z nnir.el
69 - Szybki - wiele wspó³czynników ma wp³yw na prêdko¶æ, ale wyszukiwanie
70   na serwerze zwracaj±ce tysi±ce dokumentów zabiera tylko kilka sekund.
71 - Elastyczny - du¿a liczba opcji konfiguracyjnych udostêpnia wysoki
72   stopieñ mo¿liwo¶ci okre¶lenia co i jak ma byæ indeksowane.
73 - Potê¿ny - operatory AND, OR i NOT s± obs³ugiwane, s³owa mog± byæ
74   obcinane(korzystaj±c z *), i wyszukiwanie ograniczane do konkretnych
75   pól(tagi META, tytu³y, itepe)
76 - Wolny - bezp³atny, darmowy, za friko.
77 - Stworzony dla stron WWW - indeksuje pliki HTML, mo¿e ignorowaæ dane
78   w wiêkszo¶ci tagów, przyznaj±c wiêksz± wagê informacj± w nag³ówkach i
79   tytu³ach. Tytu³y mog± byæ wyodrêbniane z plików HTML i pojawiaæ siê w
80   rezultatach wyszukiwania. SWISH mo¿e automatycznie przeszukaæ ca³±
81   stronê WWW w jednym przej¶ciu, je¿eli jest w jednym katalogu. Mo¿na
82   tak¿e ograniczyæ wyszukiwanie do s³ów w tytu³ach HTML, komentarzach i
83   tagach META. Dodatkowo - 8-bitowe znaki HTML mog± byæ indeksowane,
84   przekszta³cane i przeszukiwane.
85 - Tworzy przeno¶ne indeksy - s± zawarte w tylko jednym pliku, wiêc
86   mog± byæ ³atwo transportowane i zarz±dzane.
87 - Mo¿esz poprawiæ ¼ród³a - wszyscy s± proszeni o wysy³anie patchy i
88   uwag jak ulepszyæ SWISH-E. Mo¿esz siê te¿ przy³±czyæ do dyskusji na
89   temat SWISH-E.
90
91 %package doc
92 Summary:        Documentation for swish-e
93 Summary(pl):    Dokumentacja dla swish-e
94 Group:          Documentation
95
96 %description doc
97 SWISH-E documentation and examples
98
99 %description doc -l pl
100 Dokumentacja i przyk³ady dla SWISH-E
101
102 %package   perl
103 Summary:        SWISH-E - PERL Scripts and Modules
104 Summary(pl):    SWISH-E - Skrypty i modu³y dla PERL-a
105 Group:          Applications/Text
106 Requires:       %{name} = %{version}-%{release}
107
108 %description    perl
109 PERL SWISH-E language bindings and scripts.
110
111 %description    perl  -l pl
112 Skrypty i modu³y perlowe dla SWISH-E.
113
114 %package devel
115 Summary:        Header files for swish-e
116 Summary(pl):    Pliki nag³ówkowe dla swish-e
117 Group:          Development/Libraries
118 Requires:       %{name} = %{version}-%{release}
119
120 %description devel
121 Header files for swish-e.
122
123 %description devel -l pl
124 Pliki nag³ówkowe dla swish-e.
125
126 %package static
127 Summary:        Static library for swish-e
128 Summary(pl):    Biblioteka statyczna dla swish-e
129 Group:          Development/Libraries
130 Requires:       %{name}-devel = %{version}-%{release}
131
132 %description static
133 Static library for swish-e.
134
135 %description static -l pl
136 Biblioteka statyczna dla swish-e.
137
138 %prep
139 %setup -q
140
141 %build
142 %configure \
143         --with-pcre
144 %{__make}
145 %{__make} test
146
147 %install
148 rm -rf $RPM_BUILD_ROOT
149 %{__make} install \
150         DESTDIR=$RPM_BUILD_ROOT
151
152 mv $RPM_BUILD_ROOT%{_docdir}/%{name} %{name}-doc
153
154 %clean
155 rm -r $RPM_BUILD_ROOT
156
157 %post   -p /sbin/ldconfig
158 %postun -p /sbin/ldconfig
159
160 %files
161 %defattr(644,root,root,755)
162 %attr(755,root,root) %{_bindir}/%{name}
163 %attr(755,root,root) %{_libdir}/libswish-e.so.*
164 %dir %{_libdir}/swish-e
165 %attr(755,root,root) %{_libdir}/swish-e/swishspider
166 %{_mandir}/man?/*
167
168 %files doc
169 %defattr(644,root,root,755)
170 %doc %{name}-doc/*
171
172 %files perl
173 %defattr(644,root,root,755)
174 %attr(755,root,root) %{_bindir}/swish-filter-test
175 %{_libdir}/%{name}/perl
176 %attr(755,root,root) %{_libdir}/%{name}/*.pl
177 %attr(755,root,root) %{_libdir}/%{name}/*.cgi
178 %{_datadir}/swish-e
179
180 %files devel
181 %defattr(644,root,root,755)
182 %{_includedir}/*
183 %attr(755,root,root) %{_libdir}/libswish-e.so
184 %{_libdir}/libswish-e.la
185
186 %files static
187 %defattr(644,root,root,755)
188 %{_libdir}/libswish-e.a
This page took 0.368328 seconds and 2 git commands to generate.