]> git.pld-linux.org Git - packages/courier-filter.git/blame - courier-filter.spec
- initial spec
[packages/courier-filter.git] / courier-filter.spec
CommitLineData
478d4c76
AA
1#
2# TODO:
3# - pl
4#
5%include /usr/lib/rpm/macros.perl
6Summary: Purely Perl-based mail filter framework for the Courier
7Summary(pl): -
8Name: courier-filter
9Version: 0.16
10Release: 0.1
11License: GPL and Artistic
12Group: Development/Languages/Perl
13Source0: http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/courier-filter/Courier-Filter-%{version}.tar.gz
14# Source0-md5: de6c5d645f2b6e56c0fd15e0ec6b005f
15URL: http://www.mehnle.net/software/courier-filter
16BuildRequires: perl-devel >= 1:5.8.0
17BuildRequires: rpm-perlprov >= 4.1-13
18BuildRequires: perl(Module::Build)
19Requires: courier
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Courier::Filter implements the courierfilter interface as a framework for mail
25filter modules that frees modules from the duties of creating and handling the
26UNIX domain sockets, waiting for connections from Courier, and reading and
27parsing message and control files.
28
29%description -l pl
30
31%prep
32%setup -q -n Courier-Filter-%{version}
33
34%build
35%{__perl} Makefile.PL \
36 INSTALLDIRS=vendor
37
38%{__make}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42
43./Build install \
44 destdir=$RPM_BUILD_ROOT
45
46install bin/pureperlfilter $RPM_BUILD_ROOT%{_bindir}/pureperlfilter
47install -d $RPM_BUILD_ROOT%{_sysconfdir}/courier/filters
48install examples/pureperlfilter.conf $RPM_BUILD_ROOT%{_sysconfdir}/courier/filters
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%doc CHANGES README TODO
56%attr(755,root,root) %{_bindir}/pureperlfilter
57%attr(755,root,root) %{_bindir}/test-filter-module
58%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/courier/filters/*
59%{_datadir}/courier-filter-perl
60%{_mandir}/man1/*
61%{_mandir}/man3/*
This page took 0.074137 seconds and 4 git commands to generate.