]> git.pld-linux.org Git - packages/dovecot-pigeonhole.git/blame - dovecot-pigeonhole.spec
- reverted total crap. Please read the devel-hints.
[packages/dovecot-pigeonhole.git] / dovecot-pigeonhole.spec
CommitLineData
0682bdac
JS
1
2%define dovecot_series 2.0
3%define pigeonhole_version 0.2.1
d26c3c21
JS
4
5
0682bdac
JS
6Summary: Sieve plugin for dovecot
7Summary(pl.UTF-8): Wtyczka Sieve i Managesieve dla dovecota
8Name: dovecot-pigeonhole
9Version: %{dovecot_series}_%{pigeonhole_version}
1ce38939 10Release: 2
0682bdac
JS
11License: LGPL
12Group: Daemons
13Source0: http://www.rename-it.nl/dovecot/%{dovecot_series}/dovecot-%{dovecot_series}-pigeonhole-%{pigeonhole_version}.tar.gz
14# Source0-md5: 7baf6ebac21bdb865cb733d8e96ee81b
15Patch0: %{name}-config.patch
16URL: http://www.dovecot.org/
17BuildRequires: autoconf
18BuildRequires: automake
19BuildRequires: bison
20BuildRequires: dovecot-devel >= 1:2.0
21BuildRequires: flex
22BuildRequires: libtool
23%requires_eq_to dovecot dovecot-devel
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
d26c3c21
JS
26%define skip_post_check_so libdovecot-sieve.so.0.0.0
27
0682bdac
JS
28%description
29Dovecot Pigeonhole is implementation of Sieve and Managesieve for
d26c3c21 30Dovecot v2.
0682bdac
JS
31
32%description -l pl.UTF-8
33Dovecot Pigeonhole jest implementacją Sieve i Managesieve dla Dovecot
d26c3c21 34v2.
0682bdac
JS
35
36%package devel
37Summary: Libraries and headers for %{name}
38Group: Development/Libraries
39Requires: %{name} = %{epoch}:%{version}-%{release}
40
41%description devel
42This package contains development files for linking against %{name}.
43
44%description devel -l pl.UTF-8
45Ten pakiet zawiera pliki rozwoju łączenia %{name}.
46
47%package -n dovecot-managesieve
48Summary: Manage Sieve daemon for dovecot
49Group: Daemons
50
51%description -n dovecot-managesieve
52This package provides the Manage Sieve daemon for dovecot.
53
54
55%prep
56%setup -q -n dovecot-%{dovecot_series}-pigeonhole-%{pigeonhole_version}
57%patch0 -p1
58
59%build
60
61%configure \
a8b105ee 62 --with-dovecot=%{_libdir} \
d26c3c21 63 --with-managesieve=yes \
0682bdac
JS
64 --enable-header-install=yes \
65 --prefix=%{_libdir}/dovecot
66
67%{__make}
68
69%install
d26c3c21 70
0682bdac
JS
71rm -rf $RPM_BUILD_ROOT
72
73%{__make} install DESTDIR=$RPM_BUILD_ROOT
74
75#remove the libtool archives
76find $RPM_BUILD_ROOT%{_libdir}/dovecot/ -name '*.la' | xargs rm -f
77find $RPM_BUILD_ROOT%{_libdir}/dovecot/ -name '*.a' | xargs rm -f
a8b105ee 78
d26c3c21 79
0682bdac
JS
80%clean
81rm -rf $RPM_BUILD_ROOT
82
d26c3c21 83
0682bdac 84%files
d26c3c21
JS
85%defattr(644,root,root,755)
86
0682bdac
JS
87%defattr(644,root,root,755)
88%attr(755,root,root) %{_bindir}/sieve-test
89%attr(755,root,root) %{_bindir}/sievec
90%attr(755,root,root) %{_bindir}/sieve-dump
d26c3c21 91%{_libdir}/dovecot/plugins/lib90_sieve_plugin.so
0682bdac
JS
92%attr(755,root,root) %{_libdir}/dovecot/libdovecot-sieve.so*
93
94%{_mandir}/man1/sieve-test.1*
95%{_mandir}/man1/sievec.1*
96%{_mandir}/man1/sieved.1*
97%{_mandir}/man1/sieve-dump.1*
98%{_mandir}/man7/pigeonhole.7*
d26c3c21
JS
99%{_docdir}/dovecot/example-config/conf.d/90-sieve.conf
100%{_docdir}/dovecot/sieve
0682bdac
JS
101
102%files devel
103%defattr(644,root,root,755)
104%dir %{_includedir}/dovecot/sieve
105%{_includedir}/dovecot/sieve/*.h
106
107%files -n dovecot-managesieve
108%defattr(644,root,root,755)
d26c3c21
JS
109%dir %{_libdir}/dovecot/plugins/settings/
110%{_libdir}/dovecot/plugins/settings/libmanagesieve_login_settings.so
111%{_libdir}/dovecot/plugins/settings/libmanagesieve_settings.so
0682bdac
JS
112%{_libexecdir}/dovecot/managesieve
113%{_libexecdir}/dovecot/managesieve-login
d26c3c21 114%{_docdir}/dovecot/example-config/conf.d/20-managesieve.conf
This page took 0.084864 seconds and 4 git commands to generate.