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