Author: glen Date: Wed Nov 9 13:39:13 2011 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/fakeuname: fakeuname.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/fakeuname/fakeuname.spec diff -u /dev/null packages/fakeuname/fakeuname.spec:1.1 --- /dev/null Wed Nov 9 14:39:13 2011 +++ packages/fakeuname/fakeuname.spec Wed Nov 9 14:39:08 2011 @@ -0,0 +1,45 @@ +# $Revision$, $Date$ +Summary: Set the value reported for a network card MAC address +Name: fakeuname +Version: 0.1 +Release: 0.1 +License: ? +Group: Libraries +Source0: ftp://ftp.slackware.pl/pub/armedslack/armedslack-devtools/slackkit/%{name}.c +# Source0-md5: 6d814c9f2c4710b7aa4a6fd3cf322b23 +URL: http://www.chiark.greenend.org.uk/~peterb/linux/fakeif/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This is so that we can build software that does not know the names of more +recent ARM architectures such as armv5, and also fake host names and MAC +addresses for some particularly weird stuff ;-) + +%prep +%setup -qcT +cp -p %{SOURCE0} . + +%build +%{__cc} %{rpmcflags} %{rpmcppflags} -c -fPIC -Wall %{name}.c +%{__cc} -W1,export-dynamic -shared -fPIC -o lib%{name}.so %{rpmldflags} -ldl %{name}.o + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_libdir} +install -p lib%{name}.so $RPM_BUILD_ROOT%{_libdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libfakeuname.so + +%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/11/09 13:39:08 glen +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
