Author: glen Date: Wed Dec 28 09:52:55 2011 GMT Module: packages Tag: HEAD ---- Log message: - new, i'm having trouble to link it
---- Files affected: packages/unscd: unscd.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/unscd/unscd.spec diff -u /dev/null packages/unscd/unscd.spec:1.1 --- /dev/null Wed Dec 28 10:52:55 2011 +++ packages/unscd/unscd.spec Wed Dec 28 10:52:50 2011 @@ -0,0 +1,47 @@ +# $Revision$, $Date$ +Summary: Single threaded NSCD implementation +Name: unscd +Version: 0.47 +Release: 0.1 +License: GPL v2 +Group: Networking/Daemons +Source0: http://busybox.net/~vda/unscd/nscd-%{version}.c +# Source0-md5: 90af0b57648d2199209051f0d57ba286 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Single threaded NSCD (Name Service Caching Daemon) implementation. + +%{name}.caches name service lookups; it can dramatically improve +performance with NIS+, and may help with DNS as well. + +%prep +%setup -qcT +cp -p %{SOURCE0} %{name}.c +sed -ne '/Description:/,/\*\*\*/p' %{name}.c > README + +%build +%{__cc} -o %{name}.o %{rpmcflags} %{rpmcppflags} -Wall -Wunused-parameter -Os %{name}.c +%{__cc} -o %{name} %{rpmldflags} -fomit-frame-pointer -Wl,--sort-section -Wl,alignment -Wl,--sort-common -Os %{name}.o + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_sbindir} +install -p %{name} $RPM_BUILD_ROOT%{_sbindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README +%{_sbindir}/%{name} + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/12/28 09:52:50 glen +- new, i'm having trouble to link it ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
