]> git.pld-linux.org Git - packages/evolution-plugin-spambayes.git/blob - evolution-plugin-spambayes.spec
- pl
[packages/evolution-plugin-spambayes.git] / evolution-plugin-spambayes.spec
1 Summary:        Evolution plugin that allows to use the SpamBayes bayesian filtering system
2 Summary(pl.UTF-8):      Wtyczka Evolution pozwalająca na używanie filtru bayesowskiego SpamBayes
3 Name:           evolution-plugin-spambayes
4 Version:        0.1.4
5 Release:        0.1
6 License:        GPL v2
7 Group:          Applications/Mail
8 Source0:        http://dev.infonet.dk/debian/dists/testing/source/%{name}_%{version}.tar.gz
9 # Source0-md5:  266ba9541bda536add3340745eaf67e2
10 Patch0:         %{name}-evo_plug_ver.patch
11 URL:            http://halfdans.net/wiki.py/EvolutionSpamBayesPlugin
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  dbus-devel >= 0.93
15 BuildRequires:  evolution-devel >= 2.8.0
16 BuildRequires:  gtk+2-devel >= 2:2.4.0
17 BuildRequires:  pkgconfig
18 BuildRequires:  python >= 1:2.4
19 BuildRequires:  rpm-pythonprov
20 BuildRequires:  rpmbuild(macros) >= 1.219
21 Requires(post): /sbin/ldconfig
22 Requires(post,preun):   GConf2
23 %pyrequires_eq  python-modules
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 An Evolution plugin that allows Evolution to use the SpamBayes
28 bayesian filtering system.
29
30 The plugin is based on the Bogofilter EPlugin by Mikhail Zabaluev with
31 some "pass message to process" code from the built-in SpamAssassin
32 filtering plugin by Vivek Jain (amongst others).
33
34 %description -l pl.UTF-8
35 Wtyczka Evolution pozwalająca na używanie systemu filtrowania
36 bayesowskiego SpamBayes.
37
38 Wtyczka jest oparta na wtyczce Bogofilter autorstwa Mikhaila Zabalueva
39 z dodanym kodem przekazywania wiadomości do przetworzenia z wbudowanej
40 wtyczki filtrującej SpamAssassina autorstwa Viveka Jaina (i innych).
41
42 %prep
43 %setup -q
44 %patch0 -p1
45
46 %build
47 %{__autoconf}
48 %{__autoheader}
49 %{__automake}
50
51 %configure
52
53 %{__make} \
54         CFLAGS="%{rpmcflags}" \
55         LDFLAGS="%{rpmldflags}"
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post
67 /sbin/ldconfig
68 %gconf_schema_install sb-eplugin.schemas
69
70 %preun
71 %gconf_schema_uninstall sb-eplugin.schemas
72
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog NEWS README
78 %attr(755,root,root) %{_bindir}/*
79 %attr(755,root,root) %{_libdir}/evolution/*/plugins/*.so
80 %{_libdir}/evolution/*/plugins/*.eplug
81 %{_datadir}/evolution/*/glade/*.glade
82 %{_sysconfdir}/gconf/schemas/sb-eplugin.schemas
83 %{_datadir}/dbus-1/services/*.service
This page took 0.074734 seconds and 3 git commands to generate.