SPECS: 9base.spec (NEW) - NEW, Plan 9 base tools
sparky
sparky at pld-linux.org
Fri Jan 27 18:06:52 CET 2006
Author: sparky Date: Fri Jan 27 17:06:52 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- NEW, Plan 9 base tools
---- Files affected:
SPECS:
9base.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/9base.spec
diff -u /dev/null SPECS/9base.spec:1.1
--- /dev/null Fri Jan 27 18:06:52 2006
+++ SPECS/9base.spec Fri Jan 27 18:06:47 2006
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+#
+Summary: Port of original Plan 9 userland tools to Unix
+Name: 9base
+Version: 2
+Release: 0.1
+License: mostly Lucent Public License, Version 1.02
+Group: Applications
+Source0: http://wmii.de/download/%{name}-%{version}.tar.gz
+# Source0-md5: f9d30509996ec178702af20fec986e9d
+Patch0: %{name}-rename.patch
+URL: http://wmii.de/index.php/WMII/9base
+Provides: rc
+Obsoletes: rc
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+9base is a port of following original Plan 9 userland tools to Unix:
+awk, basename, bc, cat, cleanname, date, dc, echo, grep, mk, rc, sed,
+seq, sleep, sort, tee, test, touch, tr, uniq,yacc.
+In PLD all tools was renamed with prefix 9 for not to conflict with
+system tools.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make} \
+ CC="%{__cc}" \
+ OPTCFLAGS="%{rpmcflags}" \
+ LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README LICENSE
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/9rcmain
+%attr(755,root,root) %{_bindir}/9*
+%{_mandir}/man1/9*.1*
+%{_mandir}/man7/9*.7*
+
+%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 2006/01/27 17:06:47 sparky
+- NEW, Plan 9 base tools
+
================================================================
More information about the pld-cvs-commit
mailing list