]> git.pld-linux.org Git - packages/amavisd-new.git/commitdiff
- openldap-schema-amavisd-new subpackage
authorzbyniu <zbyniu@pld-linux.org>
Sat, 17 Feb 2007 01:14:05 +0000 (01:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amavisd-new.spec -> 1.108

amavisd-new.spec

index ee35ce342ae301795fd70412474d894506173e4e..1d2e660dc7c7f00b6b1fd9e14a6a5fed90dabc35 100644 (file)
@@ -60,6 +60,7 @@ Conflicts:    amavis-stats <= 0.1.12
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _tmpwatchdir    /etc/tmpwatch
+%define                schemadir       /usr/share/openldap/schema
 
 %description
 AMaViS is a script that interfaces a mail transport agent (MTA) with
@@ -90,6 +91,18 @@ a jednym lub więcej programów antywirusowych. Wersja zdemonizowana.
 
 Pakiet ten zawiera back-end dla sendmaila.
 
+%package -n openldap-schema-amavisd-new
+Summary:       Amavisd-new LDAP schema
+Summary(pl.UTF-8):     Schemat LDAP dla amavisd-new
+Group:         Networking/Daemons
+Requires:      openldap-servers
+
+%description -n openldap-schema-amavisd-new
+This package contains LDAP schema for use with amavisd-new.
+
+%description -n openldap-schema-amavisd-new -l pl.UTF-8
+Ten pakiet zawiera schemat LDAP do używania z amavisd-new.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -120,6 +133,7 @@ install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/amavis-milter
 install helper-progs/amavis $RPM_BUILD_ROOT%{_sbindir}
 install helper-progs/amavis-milter $RPM_BUILD_ROOT%{_sbindir}
 install %{SOURCE3} $RPM_BUILD_ROOT%{_tmpwatchdir}/%{name}.conf
+install -D LDAP.schema $RPM_BUILD_ROOT%{schemadir}/amavisd-new.schema
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -169,3 +183,7 @@ fi
 %attr(754,root,root) /etc/rc.d/init.d/amavis-milter
 %attr(755,root,root) %{_sbindir}/amavis
 %attr(755,root,root) %{_sbindir}/amavis-milter
+
+%files -n openldap-schema-amavisd-new
+%defattr(644,root,root,755)
+%{schemadir}/*.schema
This page took 0.11324 seconds and 4 git commands to generate.