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