1 | %define ver 0.7 |
---|
2 | %define rel 1 |
---|
3 | |
---|
4 | Summary: a generic spam filter tool |
---|
5 | Summary(ja): 汎用 spam フィルタツール |
---|
6 | Name: sylfilter |
---|
7 | Version: %{ver} |
---|
8 | Release: %{rel}%{?_dist_release} |
---|
9 | License: BSD-like |
---|
10 | Group: Applications/Internet |
---|
11 | URL: http://sylpheed.sraoss.jp/sylfilter/ |
---|
12 | Source0: http://sylpheed.sraoss.jp/sylfilter/src/%{name}-%{version}.tar.gz |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
14 | BuildRequires: glib2-devel >= 2.0.0 |
---|
15 | BuildRequires: sqlite3-devel |
---|
16 | BuildRequires: libsylph-devel |
---|
17 | |
---|
18 | %description |
---|
19 | This is SylFilter, a generic message filter library and command-line tools. |
---|
20 | SylFilter provides a bayesian filter which is very popular as a spam filtering |
---|
21 | algorithm. SylFilter is also internationalized and can be applied to any |
---|
22 | languages. |
---|
23 | |
---|
24 | SylFilter library provides simple but powerful C APIs and can be used from C |
---|
25 | programs. |
---|
26 | |
---|
27 | SylFilter command-line tool can be used as a junk filter program like major |
---|
28 | tools such as bogofilter and bsfilter etc. |
---|
29 | |
---|
30 | %description -l ja |
---|
31 | SylFilter は汎用のメッセージフィルタライブラリとコマンドラインツールです。 |
---|
32 | SylFilter は spam フィルタのアルゴリズムとして広く使われているベイジアン |
---|
33 | フィルタを提供します。 SylFilter は多言語に対応しており、任意の言語に適用できます。 |
---|
34 | C言語ネイティブで実装されているため、リソースの消費が少なく高速に動作します。 |
---|
35 | |
---|
36 | SylFilter ライブラリはシンプルかつ強力な C API を提供し、 |
---|
37 | C のプログラムから使用できます。ライブラリのユーザは提供されるフィルタと |
---|
38 | オリジナルの自作フィルタを任意に組み合わせて使用できます。 |
---|
39 | |
---|
40 | SylFilter コマンドラインツールは、 bogofilter, bsfilter などの |
---|
41 | よく知られるツールと同様に、迷惑メールフィルタプログラムとして使用できます。 |
---|
42 | |
---|
43 | %package devel |
---|
44 | Summary: Development files for SylFilter library |
---|
45 | Summary(ja): SylFilter ライブラリの開発ファイル |
---|
46 | Group: Development/Libraries |
---|
47 | Requires: %{name} = %{version}-%{release} |
---|
48 | Requires: libsylph-devel |
---|
49 | |
---|
50 | %description devel |
---|
51 | The %{name}-devel package contains libraries and header files for |
---|
52 | developing applications that use SylFilter library. |
---|
53 | |
---|
54 | %description devel -l ja |
---|
55 | %{name}-devel パッケージは、SylFilter ライブラリを使ったアプリケーションを |
---|
56 | 開発するためのライブラリとヘッダーファイルを含んでいます。 |
---|
57 | |
---|
58 | Vendor: Project Vine |
---|
59 | Distribution: Vine Linux |
---|
60 | Packager: iwaim |
---|
61 | |
---|
62 | %prep |
---|
63 | %setup -q |
---|
64 | |
---|
65 | %build |
---|
66 | %configure --enable-shared --enable-sqlite --disable-rpath \ |
---|
67 | --with-libsylph=standalone |
---|
68 | |
---|
69 | %install |
---|
70 | %{__rm} -rf %{buildroot} |
---|
71 | %makeinstall |
---|
72 | |
---|
73 | %{__rm} -f %{buildroot}%{_libdir}/libsylfilter.{a,la} |
---|
74 | |
---|
75 | %check |
---|
76 | make check |
---|
77 | |
---|
78 | %clean |
---|
79 | %{__rm} -rf %{buildroot} |
---|
80 | |
---|
81 | %files |
---|
82 | %defattr(-,root,root,-) |
---|
83 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
84 | %{_bindir}/sylfilter |
---|
85 | %{_libdir}/libsylfilter.so.* |
---|
86 | |
---|
87 | %files devel |
---|
88 | %defattr(-,root,root,-) |
---|
89 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
90 | %{_libdir}/libsylfilter.so |
---|
91 | %{_includedir}/sylfilter |
---|
92 | |
---|
93 | %changelog |
---|
94 | * Wed Dec 12 2012 IWAI, Masaharu <iwai@alib.jp> 0.7-1 |
---|
95 | - Initial build. |
---|
96 | |
---|