source: projects/specs/branches/6/h/hyperestraier/hyperestraier-vl.spec @ 3674

Revision 3674, 6.3 KB checked in by iwaim, 13 years ago (diff)

hyperestraier-1.4.13-6

Line 
1Summary: a full-text search system for communities
2Summary(ja): 全文検索システム
3Name: hyperestraier
4Version: 1.4.13
5Release: 6%{?_dist_release}
6License: LGPL 2.1
7URL: http://hyperestraier.sourceforge.net/index.html
8Group: Applications/Text
9Source0: http://hyperestraier.sourceforge.net/%{name}-%{version}.tar.gz
10# extra filters
11Source10: estfxgunzip
12Source11: estfxmantohtml
13Patch0: hyperestraier-1.4.13-perl-vendordir.patch
14
15Buildroot: %{_tmppath}/%{name}-%{version}-root
16BuildRequires: qdbm-devel >= 1.8.75
17BuildRequires: zlib-devel >= 1.2.1
18BuildRequires: mecab-devel >= 0.92
19BuildRequires: perl
20Requires: qdbm >= 1.8.75
21Requires: zlib >= 1.2.1
22Requires: mecab >= 0.92
23Requires: mecab-ipadic >= 2.7.0
24
25Vendor: Project Vine
26Distribution: Vine Linux
27
28Packager: inagaki
29
30%description
31Hyper Estraier is a full-text search system. You can search lots of documents
32for some documents including specified words. If you run a web site, it is
33useful as your own search engine for pages in your site. Also, it is useful
34as search utilities of mail boxes and file servers.
35
36The characteristic of Hyper Estraier is the following.
37
38    * High performance of search
39    * High scalability of target documents
40    * Perfect recall ratio by N-gram method
41    * High precision by hybrid mechanism of N-gram and morphological analyzer
42    * Phrase search, regular expressions, attribute search, and similarity search
43    * Multilingualism with Unicode
44    * Independent of file format and repository
45    * Intelligent web crawler
46    * Simple and powerful API
47    * Supporting P2P architecture
48
49Hyper Estraier is an open-source software released under the terms of the
50GNU Lesser General Public License. It works on Linux, Windows, Mac OS X,
51and other UNIX-like systems.
52
53%description -l ja
54Hyper Estraierは全文検索システムです。たくさんの文書の中から、特定の語句を含むものを探して、該当するものの一覧を表示することができます。Web サイトを運営している方なら、自分のサイト専用の検索エンジンとして利用することができます。メールボックスやファイルサーバを対象とした検索ツールとして利用することもできます。
55
56Hyper Estraierには、次のような特徴があります。
57
58    * インデックスを使った高速な検索ができます。
59    * 大量の文書のインデックスを短時間で作成できます。
60    * N-gram方式による漏れのない検索ができます。
61    * 形態素解析とN-gramのハイブリッド機構で検索精度を向上させます。
62    * フレーズ検索や正規表現検索や属性検索や類似検索をサポートします。
63    * 世界各国の言語が扱えます。
64    * 対象文書の所在や形式に依存しません。
65    * 賢いWebクローラが付属しています。
66    * ライブラリとして各種製品に組み込めます。
67    * P2P連携機能をサポートします。
68
69Hyper EstraierはGNU Lesser General Public Licenseに基づいて配布されるフリーソフトウェアです。Linux、Windows、Mac OS Xおよびその他のUNIX系OSの上で動作します。
70
71%package devel
72Summary: Header files and libraries for developing apps which will using Hyper Estraier
73Group: Development/Libraries
74Requires: %{name} = %{version}-%{release}
75Requires: qdbm-devel >= 1.8.75
76Requires: zlib-devel >= 1.2.1
77
78%description devel
79Header files and libraries for developing apps which will using Hyper Estraier
80
81%package perl
82Summary: Perl module for Hyper Estraier
83Group: Development/Libraries
84Requires: %{name} = %{version}-%{release}
85Requires: perl
86Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
87
88%description perl
89Perl module for Hyper Estraier
90
91%prep
92%setup -q
93%patch0 -p1 -b .perlvendordir
94
95%build
96%configure \
97    --enable-stable \
98    --enable-zlib \
99    --enable-mecab
100make
101
102pushd perlnative
103%configure
104make
105popd
106
107%install
108rm -rf %{buildroot}
109%makeinstall DESTDIR=%{buildroot}
110pushd perlnative
111%makeinstall DESTDIR=%{buildroot}
112popd
113
114## delete
115rm -rf %{buildroot}/usr/share/hyperestraier/doc
116rm -rf %{buildroot}/usr/share/hyperestraier/{COPYING,ChangeLog,THANKS}
117
118## install extra filters
119install -m755 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/hyperestraier/filter
120install -m755 %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/hyperestraier/filter
121
122## for Perl
123perllocalfile=`find %{buildroot} -name perllocal.pod`
124echo "mv $perllocalfile ."
125mv $perllocalfile .
126
127sed -e "s@^%{buildroot}@@g" < %{buildroot}%{perl_vendorarch}/auto/Estraier/.packlist \
128       > .packlist
129mv -f .packlist %{buildroot}%{perl_vendorarch}/auto/Estraier/.packlist
130
131%clean
132rm -rf %{buildroot}
133
134%check
135make check
136
137%post -p /sbin/ldconfig
138
139%postun -p /sbin/ldconfig
140
141%files
142%defattr(-,root,root)
143%doc COPYING ChangeLog README THANKS doc example
144%{_bindir}/estbutler
145%{_bindir}/estcmd
146%{_bindir}/estconfig
147%{_bindir}/estmaster
148%{_bindir}/estwaver
149%{_bindir}/estcall
150%{_bindir}/estload
151%{_bindir}/estmttest
152%{_bindir}/estwolefind
153%{_mandir}/man1/*
154%{_libdir}/*.so.*
155%{_libexecdir}/*
156%{_datadir}/hyperestraier/*.*
157%{_datadir}/hyperestraier/filter
158%{_datadir}/hyperestraier/increm
159%{_datadir}/hyperestraier/locale
160
161%files devel
162%defattr(-,root,root)
163%{_mandir}/man3/estnode.3*
164%{_mandir}/man3/estraier.3*
165%{_libdir}/*.so
166%{_libdir}/*.a
167%{_libdir}/pkgconfig/hyperestraier.pc
168%{_includedir}/*.h
169
170%files perl
171%defattr(-,root,root)
172%doc perllocal.pod
173%{_bindir}/estcmd.pl
174%{perl_vendorarch}/Estraier.pm
175%{perl_vendorarch}/Estraier.pod
176%{perl_vendorarch}/auto/Estraier
177%{_mandir}/man3/Estraier.3pm*
178
179%changelog
180* Fri Apr  8 2011 IWAI, Masaharu <iwai@alib.jp> 1.4.13-6vl6
181- build with perl 5.12.3
182- add Requires: perl(:MODULE_COMPAT_x.y.z) for perl subpackage
183
184* Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.4.13-5
185- rebuilt with rpm-4.8.1 for pkg-config
186
187* Tue Apr  6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.13-4
188- added Source10 and 11 for indexing JF, JM
189
190* Mon Mar 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.13-3
191- rebuilt with new toolchain
192
193* Sun May 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.13-2
194- added BR: qdbm-devel, zlib-devel to devel package
195
196* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.13-1vl5
197- applied new versioning policy, spec in utf-8
198- built with perl-5.10.0
199
200* Sat Jan 19 2008 IWAI, Masaharu <iwai@alib.jp> 1.4.13-0vl1
201- initial release
Note: See TracBrowser for help on using the repository browser.