]> git.pld-linux.org Git - packages/courier-filter.git/commitdiff
- initial spec
authorAndrzej Augustynowicz <andrzej@augustynowicz.eu.org>
Mon, 7 Feb 2005 17:39:18 +0000 (17:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    courier-filter.spec -> 1.1

courier-filter.spec [new file with mode: 0644]

diff --git a/courier-filter.spec b/courier-filter.spec
new file mode 100644 (file)
index 0000000..3fad67b
--- /dev/null
@@ -0,0 +1,61 @@
+#
+# TODO:
+#      - pl
+#
+%include       /usr/lib/rpm/macros.perl
+Summary:       Purely Perl-based mail filter framework for the Courier
+Summary(pl):   -
+Name:          courier-filter
+Version:       0.16
+Release:       0.1
+License:       GPL and Artistic
+Group:         Development/Languages/Perl
+Source0:       http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/courier-filter/Courier-Filter-%{version}.tar.gz
+# Source0-md5: de6c5d645f2b6e56c0fd15e0ec6b005f
+URL:           http://www.mehnle.net/software/courier-filter
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: perl(Module::Build)
+Requires:      courier
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Courier::Filter implements the courierfilter interface as a framework for mail
+filter modules that frees modules from the duties of creating and handling the
+UNIX domain sockets, waiting for connections from Courier, and reading and
+parsing message and control files.
+
+%description -l pl
+
+%prep
+%setup -q -n Courier-Filter-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build        install \
+       destdir=$RPM_BUILD_ROOT
+
+install bin/pureperlfilter $RPM_BUILD_ROOT%{_bindir}/pureperlfilter
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/courier/filters
+install examples/pureperlfilter.conf $RPM_BUILD_ROOT%{_sysconfdir}/courier/filters
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES README TODO
+%attr(755,root,root) %{_bindir}/pureperlfilter
+%attr(755,root,root) %{_bindir}/test-filter-module
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/courier/filters/*
+%{_datadir}/courier-filter-perl
+%{_mandir}/man1/*
+%{_mandir}/man3/*
This page took 0.061083 seconds and 4 git commands to generate.