Browse Source

courier-authlib 0.66.4-3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10875 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 7 years ago
parent
commit
ac3cbf512c
1 changed files with 16 additions and 4 deletions
  1. 16 4
      c/courier-authlib/courier-authlib-vl.spec

+ 16 - 4
c/courier-authlib/courier-authlib-vl.spec

@@ -2,7 +2,7 @@ Summary: Courier authentication library.
 Summary(ja): Courier 認証ライブラリ
 Name: courier-authlib
 Version: 0.66.4
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPLv3
 Group: System Environment/Daemons
 URL: http://www.courier-mta.org
@@ -10,9 +10,7 @@ Source0: %{name}-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: libtool
 BuildRequires: libtool-ltdl-devel
-BuildRequires: openldap-devel
-BuildRequires: libmysqlclient-devel zlib-devel
-BuildRequires: libpq-devel
+BuildRequires: zlib-devel
 BuildRequires: gdbm-devel
 BuildRequires: pam-devel
 BuildRequires: expect
@@ -60,6 +58,7 @@ Summary(ja): Courier 認証ライブラリの LDAP サポート
 Group: System Environment/Daemons
 Requires: courier-authlib = %{version}-%{release}
 Requires: openldap
+BuildRequires: openldap-devel
 
 %description ldap
 This package installs LDAP support for the Courier authentication library.
@@ -75,6 +74,11 @@ Summary: PostgreSQL support for the Courier authentication library.
 Summary(ja): Courier 認証ライブラリの PostgreSQL サポート
 Group: System Environment/Daemons
 Requires: courier-authlib = %{version}-%{release}
+%if "%{?_dist_release}" == "vl6"
+BuildRequires: postgresql-devel
+%else
+BuildRequires: libpg-devel
+%endif
 
 %description pgsql
 This package installs PostgreSQL support for the Courier authentication
@@ -91,6 +95,11 @@ Summary: MySQL support for the Courier authentication library.
 Summary(ja): Courier 認証ライブラリの MySQL サポート
 Group: System Environment/Daemons
 Requires: courier-authlib = %{version}-%{release}
+%if "%{?_dist_release}" == "vl6"
+BuildRequires: MySQL-devel
+%else
+BuildRequires: libmysqlclient-devel
+%endif
 
 %description mysql
 This package installs MySQL support for the Courier authentication library.
@@ -194,6 +203,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Jan  5 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 0.66.4-3
+- build for Vine Linux 6
+
 * Fri May  6 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 0.66.4-2
 - build with openssl 1.0.2 for courier-authlib-mysql