SPECS: amavisd-new.spec - openldap-schema-amavisd-new subpackage

zbyniu zbyniu at pld-linux.org
Sat Feb 17 02:14:11 CET 2007


Author: zbyniu                       Date: Sat Feb 17 01:14:11 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- openldap-schema-amavisd-new subpackage

---- Files affected:
SPECS:
   amavisd-new.spec (1.107 -> 1.108) 

---- Diffs:

================================================================
Index: SPECS/amavisd-new.spec
diff -u SPECS/amavisd-new.spec:1.107 SPECS/amavisd-new.spec:1.108
--- SPECS/amavisd-new.spec:1.107	Mon Feb 12 22:23:46 2007
+++ SPECS/amavisd-new.spec	Sat Feb 17 02:14:05 2007
@@ -61,6 +61,7 @@
 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
@@ -91,6 +92,18 @@
 
 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
@@ -121,6 +134,7 @@
 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
@@ -171,12 +185,19 @@
 %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
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.108  2007/02/17 01:14:05  zbyniu
+- openldap-schema-amavisd-new subpackage
+
 Revision 1.107  2007/02/12 21:23:46  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/amavisd-new.spec?r1=1.107&r2=1.108&f=u



More information about the pld-cvs-commit mailing list