ALT Linux repositórios
Group :: Sistema/Bibliotecas
RPM: pam-mysql
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
#pam_mysql-0.7pre3.tar.gz
%define pre pre3
Name: pam-mysql
Summary: MySQL authentication for PAM
Version: 0.7
Release: alt9.%pre.3.1
Url: http://sourceforge.net/projects/pam-mysql/
Source: %url/pam_mysql-%version%pre.tar.gz
License: GPL
Group: System/Libraries
# Automatically added by buildreq on Fri Dec 16 2005
BuildRequires: gcc-c++ gcc-g77 libMySQL-devel libg2c-devel libpam-devel libstdc++-devel pkg-config zlib-devel libssl-devel
%description
This is a module that allows people to login to PAM-aware applications by
authenticating to a MySQL database. Now configurable in terms of which host the
database resides upon and which table and username and password column to
interrogate.
%prep
%setup -q -n pam_mysql-%version%pre
%build
%configure --with-pam-mods-dir=%_pam_modules_dir
%make
%install
%make_install DESTDIR=%buildroot install
#%__mkdir -p %buildroot/%_lib/security
#%__cp .libs/pam_mysql.so %buildroot/%_lib/security
#%__mkdir -p %buildroot%_datadir/doc/pam-mysql-%version
#%__install -m644 Changelog CREDITS Readme NEWS %buildroot%_datadir/doc/pam-mysql-%version
%files
%doc ChangeLog CREDITS README NEWS
%_pam_modules_dir/pam_mysql.so
%changelog
…
Todas as alterações você pod ver aqui
%define pre pre3
Name: pam-mysql
Summary: MySQL authentication for PAM
Version: 0.7
Release: alt9.%pre.3.1
Url: http://sourceforge.net/projects/pam-mysql/
Source: %url/pam_mysql-%version%pre.tar.gz
License: GPL
Group: System/Libraries
# Automatically added by buildreq on Fri Dec 16 2005
BuildRequires: gcc-c++ gcc-g77 libMySQL-devel libg2c-devel libpam-devel libstdc++-devel pkg-config zlib-devel libssl-devel
%description
This is a module that allows people to login to PAM-aware applications by
authenticating to a MySQL database. Now configurable in terms of which host the
database resides upon and which table and username and password column to
interrogate.
%prep
%setup -q -n pam_mysql-%version%pre
%build
%configure --with-pam-mods-dir=%_pam_modules_dir
%make
%install
%make_install DESTDIR=%buildroot install
#%__mkdir -p %buildroot/%_lib/security
#%__cp .libs/pam_mysql.so %buildroot/%_lib/security
#%__mkdir -p %buildroot%_datadir/doc/pam-mysql-%version
#%__install -m644 Changelog CREDITS Readme NEWS %buildroot%_datadir/doc/pam-mysql-%version
%files
%doc ChangeLog CREDITS README NEWS
%_pam_modules_dir/pam_mysql.so
%changelog
…
Todas as alterações você pod ver aqui