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