source: projects/specs/trunk/s/sylfilter/sylfilter-vl.spec @ 10972

Revision 10972, 3.2 KB checked in by iwaim, 7 years ago (diff)

sylfilter 0.8-2

Line 
1%define ver 0.8
2%define rel 2
3
4Summary: a generic spam filter tool
5Summary(ja): 汎用 spam フィルタツール
6Name: sylfilter
7Version: %{ver}
8Release: %{rel}%{?_dist_release}
9License: BSD-like
10Group: Applications/Internet
11URL: http://sylpheed.sraoss.jp/sylfilter/
12Source0: http://sylpheed.sraoss.jp/sylfilter/src/%{name}-%{version}.tar.gz
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
14BuildRequires: glib2-devel >= 2.0.0
15BuildRequires: sqlite3-devel
16BuildRequires: libsylph-devel
17
18%description
19This is SylFilter, a generic message filter library and command-line tools.
20SylFilter provides a bayesian filter which is very popular as a spam filtering
21algorithm. SylFilter is also internationalized and can be applied to any
22languages.
23
24SylFilter library provides simple but powerful C APIs and can be used from C
25programs.
26
27SylFilter command-line tool can be used as a junk filter program like major
28tools such as bogofilter and bsfilter etc.
29
30%description -l ja
31SylFilter は汎用のメッセージフィルタライブラリとコマンドラインツールです。
32SylFilter は spam フィルタのアルゴリズムとして広く使われているベイジアン
33フィルタを提供します。 SylFilter は多言語に対応しており、任意の言語に適用できます。
34C言語ネイティブで実装されているため、リソースの消費が少なく高速に動作します。
35
36SylFilter ライブラリはシンプルかつ強力な C API を提供し、
37C のプログラムから使用できます。ライブラリのユーザは提供されるフィルタと
38オリジナルの自作フィルタを任意に組み合わせて使用できます。
39
40SylFilter コマンドラインツールは、 bogofilter, bsfilter などの
41よく知られるツールと同様に、迷惑メールフィルタプログラムとして使用できます。
42
43%package devel
44Summary: Development files for SylFilter library
45Summary(ja): SylFilter ライブラリの開発ファイル
46Group: Development/Libraries
47Requires: %{name} = %{version}-%{release}
48Requires: libsylph-devel
49
50%description devel
51The %{name}-devel package contains libraries and header files for
52developing applications that use SylFilter library.
53
54%description devel -l ja
55%{name}-devel パッケージは、SylFilter ライブラリを使ったアプリケーションを
56開発するためのライブラリとヘッダーファイルを含んでいます。
57
58Vendor: Project Vine
59Distribution: Vine Linux
60Packager: 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
76make 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* Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 0.8-2
95- build with current VineSeed
96
97* Mon Dec 30 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.8-1
98- update to 0.8
99
100* Wed Dec 12 2012 IWAI, Masaharu <iwai@alib.jp> 0.7-1
101- Initial build.
102
Note: See TracBrowser for help on using the repository browser.