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