]> git.pld-linux.org Git - packages/mysql-plugin-auth_pam.git/blob - mysql-plugin-auth_pam.spec
- new, build from percona-pam-plugin-0.1.tar.gz
[packages/mysql-plugin-auth_pam.git] / mysql-plugin-auth_pam.spec
1 Summary:        PAM authentication plugin for MySQL
2 Name:           mysql-plugin-auth_pam
3 Version:        0.1
4 Release:        1
5 License:        GPL v2
6 Group:          Applications/Databases
7 URL:            http://www.percona.com/
8 Source0:        http://www.percona.com/downloads/Percona-PAM-plugin/%{version}/source/percona-pam-plugin-%{version}.tar.gz
9 # Source0-md5:  00b5ee08021435201678d658d36c6d65
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  intltool
13 BuildRequires:  libtool
14 BuildRequires:  mysql-devel >= 5.5
15 BuildRequires:  pam-devel
16 Requires:       mysql >= 5.5
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The Percona PAM plugin enables users to authenticate to the MySQL
21 server via PAM. This package contains the plugin library, you need to
22 enable this behaviour in your server by issuing the following command:
23
24 INSTALL PLUGIN auth_pam_server SONAME 'auth_pam.so';
25
26 %prep
27 %setup -q -n percona-pam-plugin-%{version}
28
29 %build
30 %{__libtoolize}
31 %{__aclocal}
32 %{__autoconf}
33 %{__autoheader}
34 %{__automake}
35 %configure \
36         --disable-static
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %{__rm} $RPM_BUILD_ROOT%{_libdir}/mysql/plugin/*.la
45 %{__rm} $RPM_BUILD_ROOT%{_libdir}/mysql/plugin/test_auth_pam_client.so
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %attr(755,root,root) %{_libdir}/mysql/plugin/auth_pam.so
This page took 0.095149 seconds and 3 git commands to generate.