]> git.pld-linux.org Git - packages/swish-e.git/blame - swish-e.spec
- release 2
[packages/swish-e.git] / swish-e.spec
CommitLineData
321a2811 1%include /usr/lib/rpm/macros.perl
7ace2bef 2Summary: Simple Web Indexing System for Humans - Enhanced
2e3a5650 3Summary(pl.UTF-8): Prosty system indeksowania stron WWW - wersja rozszerzona
7ace2bef 4Name: swish-e
9c95dcdc 5Version: 2.4.6
e1191c9b 6Release: 2
c7f841ac 7License: GPL/LGPL
7ace2bef 8Group: Applications/Text
1f095d04 9Source0: http://swish-e.org/distribution/%{name}-%{version}.tar.gz
9c95dcdc 10# Source0-md5: eb762cba20ea0908141d44b1a31cdd39
7ace2bef 11URL: http://swish-e.org/
12#Icon: swish-e.xpm
13BuildRequires: libxml2-devel
14BuildRequires: pcre-devel
321a2811 15BuildRequires: rpm-perlprov
7ace2bef 16BuildRequires: zlib-devel
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
2a83819e 20Swish-e is Simple Web Indexing System for Humans - Enhanced.
7ace2bef 21
22Swish-e can quickly and easily index directories of files or remote
23web sites and search the generated indexes.
24
25Swish-e is extremely fast in both indexing and searching, highly
26configurable, and can be seamlessly integrated with existing web sites
27to maintain a consistent design. Swish-e can index web pages, but can
28just as easily index text files, mailing list archives, or data stored
29in a relational database.
30
31Swish-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
179b291f
JR
55%description -l pl.UTF-8
56Swish-e jest prostym systemem indeksującym WWW dla ludzi - w wersji
2a83819e 57rozszerzonej.
7ace2bef 58
179b291f
JR
59Swish-e może zgrabnie i łatwo indeksować katalogi plików lub zdalne
60strony WWW i przeszukiwać wygenerowane indeksy.
7ace2bef 61
179b291f
JR
62Swish-e jest ekstremalnie szybki zarówno w indeksowaniu i
63wyszukiwaniu, mocno konfigurowalny, i może być łatwo zintegrowany z
64istniejącymi stronami WWW w celu konfiguracji jego wyglądu. Swish-e
65może indeksować nie tylko strony WWW, ale także pliki tekstowe,
7ace2bef 66archiwa list pocztowych lub dane przechowywane w relacyjnych bazach
67danych.
68
179b291f
JR
69Kluczowymi 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
2a83819e 91 SWISH-E.
7ace2bef 92
93%package doc
94Summary: Documentation for swish-e
2e3a5650 95Summary(pl.UTF-8): Dokumentacja dla swish-e
7ace2bef 96Group: Documentation
97
98%description doc
99SWISH-E documentation and examples
100
179b291f
JR
101%description doc -l pl.UTF-8
102Dokumentacja i przykłady dla SWISH-E
7ace2bef 103
df4fa865 104%package perl
a0e7357a 105Summary: SWISH-E - Perl Scripts and Modules
2e3a5650 106Summary(pl.UTF-8): SWISH-E - Skrypty i moduły dla Perla
7ace2bef 107Group: Applications/Text
108Requires: %{name} = %{version}-%{release}
109
df4fa865 110%description perl
a0e7357a 111Perl SWISH-E language bindings and scripts.
7ace2bef 112
179b291f
JR
113%description perl -l pl.UTF-8
114Skrypty i moduły perlowe dla SWISH-E.
7ace2bef 115
116%package devel
117Summary: Header files for swish-e
2e3a5650 118Summary(pl.UTF-8): Pliki nagłówkowe dla swish-e
7ace2bef 119Group: Development/Libraries
120Requires: %{name} = %{version}-%{release}
121
122%description devel
123Header files for swish-e.
124
179b291f
JR
125%description devel -l pl.UTF-8
126Pliki nagłówkowe dla swish-e.
7ace2bef 127
128%package static
129Summary: Static library for swish-e
2e3a5650 130Summary(pl.UTF-8): Biblioteka statyczna dla swish-e
7ace2bef 131Group: Development/Libraries
132Requires: %{name}-devel = %{version}-%{release}
133
134%description static
135Static library for swish-e.
136
179b291f 137%description static -l pl.UTF-8
7ace2bef 138Biblioteka statyczna dla swish-e.
139
140%prep
141%setup -q
142
143%build
144%configure \
145 --with-pcre
146%{__make}
147%{__make} test
148
321a2811 149cd perl
5dde3b59 150echo skip | \
321a2811 151%{__perl} Makefile.PL \
152 INSTALLDIRS=vendor \
153 CCFLAGS="%{rpmcflags} -I../src" \
1f095d04
JR
154 LIBS="%{rpmldflags} -L../src/.libs -lswish-e" \
155 SWISHINC=../src \
156 SWISHLIBS=-L../src/.libs \
157 SWISHVERSION=%{version} \
158 SWISHBINDIR=../src
321a2811 159
160%{__make}
1f095d04 161%{__make} test
321a2811 162cd ..
163
7ace2bef 164%install
165rm -rf $RPM_BUILD_ROOT
9d4b338a 166
7ace2bef 167%{__make} install \
168 DESTDIR=$RPM_BUILD_ROOT
169
170mv $RPM_BUILD_ROOT%{_docdir}/%{name} %{name}-doc
171
2058b294 172%{__make} -C perl install \
321a2811 173 DESTDIR=$RPM_BUILD_ROOT \
174 PREFIX=%{_prefix}
321a2811 175
7ace2bef 176%clean
321a2811 177rm -rf $RPM_BUILD_ROOT
7ace2bef 178
df4fa865 179%post -p /sbin/ldconfig
7ace2bef 180%postun -p /sbin/ldconfig
181
182%files
183%defattr(644,root,root,755)
184%attr(755,root,root) %{_bindir}/%{name}
2a83819e 185%attr(755,root,root) %{_libdir}/libswish-e.so.*.*.*
0e6e719f 186%attr(755,root,root) %ghost %{_libdir}/libswish-e.so.2
9d4b338a
JB
187%dir %{_prefix}/lib/swish-e
188%attr(755,root,root) %{_prefix}/lib/swish-e/swishspider
7ace2bef 189%{_mandir}/man?/*
190
191%files doc
192%defattr(644,root,root,755)
193%doc %{name}-doc/*
194
195%files perl
196%defattr(644,root,root,755)
197%attr(755,root,root) %{_bindir}/swish-filter-test
9d4b338a
JB
198%{_prefix}/lib/%{name}/perl
199%attr(755,root,root) %{_prefix}/lib/%{name}/*.pl
200%attr(755,root,root) %{_prefix}/lib/%{name}/*.cgi
7ace2bef 201%{_datadir}/swish-e
321a2811 202%dir %{perl_vendorarch}/SWISH
203%{perl_vendorarch}/SWISH/*.pm
204%dir %{perl_vendorarch}/auto/SWISH
205%dir %{perl_vendorarch}/auto/SWISH/API
206%{perl_vendorarch}/auto/SWISH/API/*.bs
207%attr(755,root,root) %{perl_vendorarch}/auto/SWISH/API/*.so
7ace2bef 208
209%files devel
210%defattr(644,root,root,755)
1f095d04 211%attr(755,root,root) %{_bindir}/swish-config
7ace2bef 212%attr(755,root,root) %{_libdir}/libswish-e.so
213%{_libdir}/libswish-e.la
9d4b338a 214%{_includedir}/*.h
1f095d04 215%{_pkgconfigdir}/*
7ace2bef 216
217%files static
218%defattr(644,root,root,755)
219%{_libdir}/libswish-e.a
This page took 0.113777 seconds and 4 git commands to generate.