SPECS: libnss-mysql.spec (NEW) - new, fancy

orzech orzech at pld-linux.org
Fri Nov 4 11:29:33 CET 2005


Author: orzech                       Date: Fri Nov  4 10:29:33 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, fancy

---- Files affected:
SPECS:
   libnss-mysql.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libnss-mysql.spec
diff -u /dev/null SPECS/libnss-mysql.spec:1.1
--- /dev/null	Fri Nov  4 11:29:33 2005
+++ SPECS/libnss-mysql.spec	Fri Nov  4 11:29:27 2005
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+Summary:	MySQL Name Service Switch Module
+Summary(pl):	Moduł NSS MySQL
+Name:		libnss-mysql
+Version:	1.5
+Release:	0.1
+License:	GPL
+Group:		Base
+Source0:	http://dl.sourceforge.net/libnss-mysql/%{name}-%{version}.tar.gz
+# Source0-md5:	a34d41a38e426ba26ffde07d03beef8e
+URL:		http://libnss-mysql.sourceforge.net/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libtool
+BuildRequires:	mysql-devel
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_libdir		/%{_lib}
+
+%description
+libnss-mysql is a NSS library for MySQL. It features full groups,
+passwd and shadow support.
+
+%description -l pl
+libnss-mysql jest biblioteką NSS dla MySQL. Pozwala ona na
+przechowywanie informacji typowych dla plików groups, passwd oraz
+shadow w bazie MySQL.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_libdir}}
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog DEBUGGING FAQ README NEWS THANKS TODO UPGRADING sample
+%attr(755,root,root) %{_libdir}/*.so*
+%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}*.cfg
+
+%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.1  2005/11/04 10:29:27  orzech
+- new, fancy
+
================================================================



More information about the pld-cvs-commit mailing list