]> git.pld-linux.org Git - packages/9base.git/commitdiff
- NEW, Plan 9 base tools
authorsparky <sparky@pld-linux.org>
Fri, 27 Jan 2006 17:06:47 +0000 (17:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    9base.spec -> 1.1

9base.spec [new file with mode: 0644]

diff --git a/9base.spec b/9base.spec
new file mode 100644 (file)
index 0000000..5adc4ff
--- /dev/null
@@ -0,0 +1,48 @@
+#
+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*
This page took 0.090742 seconds and 4 git commands to generate.