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