]> git.pld-linux.org Git - packages/courier-filter.git/blame - courier-filter.spec
- converted to UTF-8
[packages/courier-filter.git] / courier-filter.spec
CommitLineData
478d4c76
AA
1%include /usr/lib/rpm/macros.perl
2Summary: Purely Perl-based mail filter framework for the Courier
68ee7ed0 3Summary(pl.UTF-8): Oparty na czystym Perlu szkielet filtra pocztowego dla Couriera
478d4c76
AA
4Name: courier-filter
5Version: 0.16
6Release: 0.1
7License: GPL and Artistic
8Group: Development/Languages/Perl
54280469 9Source0: http://www.cpan.org/modules/by-authors/id/J/JM/JMEHNLE/courier-filter/Courier-Filter-%{version}.tar.gz
478d4c76 10# Source0-md5: de6c5d645f2b6e56c0fd15e0ec6b005f
194666aa
JB
11URL: http://search.cpan.org/dist/Courier-Filter/
12BuildRequires: perl-Module-Build
478d4c76
AA
13BuildRequires: perl-devel >= 1:5.8.0
14BuildRequires: rpm-perlprov >= 4.1-13
478d4c76
AA
15Requires: courier
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
194666aa
JB
20Courier::Filter implements the courierfilter interface as a framework
21for mail filter modules that frees modules from the duties of creating
22and handling the UNIX domain sockets, waiting for connections from
23Courier, and reading and parsing message and control files.
478d4c76 24
68ee7ed0 25%description -l pl.UTF-8
194666aa 26Courier::Filter implementuje interfejs courierfilter jako szkielet dla
68ee7ed0
JR
27modułów filtrujących pocztę uwalniający moduły od konieczności
28tworzenia i obsługi gniazd uniksowych, oczekiwania na połączenia z
29Couriera oraz czytania i przetwarzania wiadomości i plików
194666aa 30kontrolnych.
478d4c76
AA
31
32%prep
33%setup -q -n Courier-Filter-%{version}
34
35%build
36%{__perl} Makefile.PL \
37 INSTALLDIRS=vendor
38
39%{__make}
40
41%install
42rm -rf $RPM_BUILD_ROOT
43
44./Build install \
45 destdir=$RPM_BUILD_ROOT
46
47install bin/pureperlfilter $RPM_BUILD_ROOT%{_bindir}/pureperlfilter
48install -d $RPM_BUILD_ROOT%{_sysconfdir}/courier/filters
49install examples/pureperlfilter.conf $RPM_BUILD_ROOT%{_sysconfdir}/courier/filters
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%doc CHANGES README TODO
57%attr(755,root,root) %{_bindir}/pureperlfilter
58%attr(755,root,root) %{_bindir}/test-filter-module
39d6682f 59%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/courier/filters/*
478d4c76
AA
60%{_datadir}/courier-filter-perl
61%{_mandir}/man1/*
62%{_mandir}/man3/*
This page took 0.12043 seconds and 4 git commands to generate.