X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdovecot-antispam.git;a=blobdiff_plain;f=dovecot-antispam.spec;h=3f8cf514a7ab3c6ce6d0b7cc43cf08f731e8dcc8;hp=19fd3d1bfebfd467f5213c440929327f6b035394;hb=1ef81a15b2e620804214dbb9ce70ee904c7d9934;hpb=eb399511aa2ca72bd8cf845f557bd5d92931f598 diff --git a/dovecot-antispam.spec b/dovecot-antispam.spec index 19fd3d1..3f8cf51 100644 --- a/dovecot-antispam.spec +++ b/dovecot-antispam.spec @@ -2,11 +2,12 @@ Summary: The dovecot antispam plugin Summary(pl.UTF-8): Wtyczka antyspamowa dla dovecota Name: dovecot-antispam Version: 2.0 -Release: 2 +Release: 39 License: GPL v2 Group: Daemons Source0: http://johannes.sipsolutions.net/download/dovecot-antispam/%{name}-%{version}.tar.bz2 # Source0-md5: 14547898759fbd93f2b98304520decc6 +Patch0: %{name}-git.patch URL: http://johannes.sipsolutions.net/Projects/dovecot-antispam BuildRequires: dovecot-devel >= 1:2.0 %requires_eq_to dovecot dovecot-devel @@ -18,19 +19,19 @@ SPAM folder and tells the spam classifier that it made an error and needs to re-classify the message (as spam/not spam depending on which way it was moved). -#%description -l pl.UTF-8 - %prep %setup -q +%patch0 -p1 %build +unset GIT_DIR %{__make} \ CFLAGS="%{rpmcflags}" \ LDFLAGS="%{rpmldflags}" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_libdir}/dovecot,%{_mandir}/man7} +install -d $RPM_BUILD_ROOT{%{_libdir}/dovecot/plugins,%{_mandir}/man7} %{__make} install \ INSTALLDIR=%{_libdir}/dovecot/plugins \