Группа :: Система/Библиотеки
Пакет: nss-mysql
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: nss-mysql
Version: 1.0
Release: alt3
Summary: NSS MySQL is a NSS library for MySQL.
License: GPL
URL: http://savannah.nongnu.org/projects/nss-mysql/
Group: System/Libraries
Source: %name-%version.tar.gz
# Automatically added by buildreq on Fri Dec 16 2005
BuildRequires: gcc-c++ gcc-g77 libMySQL-devel zlib-devel
%description
NSS MySQL is a NSS library for MySQL.
It features full groups, passwd and shadow support.
%prep
%setup -q
%build
%__sed -i 's at /lib/libmysqlclient at /%_lib/libmysqlclient at g' configure
%__sed -i 's at libmysqlclient.a at libmysqlclient.so at g' configure
%configure --libdir=/%_lib
%make
%install
%make_install DESTDIR=%buildroot install
%post
%postun
%files
%config(noreplace) %_sysconfdir/nss-mysql.conf
%config(noreplace) %_sysconfdir/nss-mysql-root.conf
/%_lib/libnss_mysql.so
/%_lib/libnss_mysql.so.2
/%_lib/libnss_mysql.so.2.0.0
%doc sample.sql README UPGRADE TODO SHADOW NEWS AUTHORS
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.0
Release: alt3
Summary: NSS MySQL is a NSS library for MySQL.
License: GPL
URL: http://savannah.nongnu.org/projects/nss-mysql/
Group: System/Libraries
Source: %name-%version.tar.gz
# Automatically added by buildreq on Fri Dec 16 2005
BuildRequires: gcc-c++ gcc-g77 libMySQL-devel zlib-devel
%description
NSS MySQL is a NSS library for MySQL.
It features full groups, passwd and shadow support.
%prep
%setup -q
%build
%__sed -i 's at /lib/libmysqlclient at /%_lib/libmysqlclient at g' configure
%__sed -i 's at libmysqlclient.a at libmysqlclient.so at g' configure
%configure --libdir=/%_lib
%make
%install
%make_install DESTDIR=%buildroot install
%post
%postun
%files
%config(noreplace) %_sysconfdir/nss-mysql.conf
%config(noreplace) %_sysconfdir/nss-mysql-root.conf
/%_lib/libnss_mysql.so
/%_lib/libnss_mysql.so.2
/%_lib/libnss_mysql.so.2.0.0
%doc sample.sql README UPGRADE TODO SHADOW NEWS AUTHORS
%changelog
…
Полный changelog можно просмотреть здесь