]> git.pld-linux.org Git - packages/dovecot-sieve.git/blob - dovecot-sieve.spec
- rel 2
[packages/dovecot-sieve.git] / dovecot-sieve.spec
1 %define dovecot_series  1.2
2 %define sieve_version   0.1.17
3 Summary:        Sieve plugin for dovecot
4 Summary(pl.UTF-8):      Wtyczka Sieve dla dovecota
5 Name:           dovecot-sieve
6 Version:        %{dovecot_series}_%{sieve_version}
7 Release:        2
8 License:        LGPL
9 Group:          Daemons
10 Source0:        http://www.rename-it.nl/dovecot/%{dovecot_series}/dovecot-%{dovecot_series}-sieve-%{sieve_version}.tar.gz
11 # Source0-md5:  ba17a8a08386eb2731793b74317003e2
12 Patch0:         %{name}-libdict.patch
13 URL:            http://www.dovecot.org/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  bison
17 BuildRequires:  dovecot-devel >= 1:1.2.13-1
18 BuildRequires:  flex
19 BuildRequires:  libtool
20 %requires_eq_to dovecot dovecot-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Sieve is a language that can be used to create filters for electronic
25 mail. It owes its creation to the CMU Cyrus Project, creators of Cyrus
26 IMAP server.
27
28 This dovecot plugin is derived is from Cyrus IMAP v2.2.12.
29
30 %description -l pl.UTF-8
31 Sieve to język używany do tworzenia filtrów dla poczty elektronicznej.
32 Zawdzięcza swoje powstanie projektowi CMU Cyrus, twórcom serwera
33 pocztowego Cyrus IMAP.
34
35 Ta wtyczka dovecota wywodzi się z serwera Cyrus IMAP w wersji 2.2.12.
36
37 %prep
38 %setup -q -n dovecot-%{dovecot_series}-sieve-%{sieve_version}
39 %patch0 -p1
40
41 %build
42 %{__libtoolize}
43 %{__aclocal}
44 %{__autoconf}
45 %{__autoheader}
46 %{__automake}
47 %configure \
48         --disable-static \
49         --with-dovecot=%{_libdir}/dovecot-devel
50
51 %{__make} \
52         dovecot_incdir=%{_includedir}/dovecot \
53         moduledir=%{_libdir}/dovecot/plugins
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT \
60         moduledir=%{_libdir}/dovecot/plugins
61
62 rm -f $RPM_BUILD_ROOT%{_libdir}/dovecot/plugins/lda/*.la
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc AUTHORS ChangeLog NEWS doc/spamtest-virustest.txt
70 %attr(755,root,root) %{_bindir}/*
71 %attr(755,root,root) %{_libdir}/dovecot/plugins/lda/lib90_sieve_plugin.so
72 %{_mandir}/man1/*.1.gz
This page took 0.067015 seconds and 4 git commands to generate.