From: Eric S. Raymond Date: Wed, 13 Oct 2010 00:19:41 +0000 (-0400) Subject: Lift repository from RCS to git. Involved some belated checkins. X-Git-Tag: 1.1~7 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=a1dd1d31fc3be0f24bce23d17cffda7b9e1d4e1e;p=ctopy.git Lift repository from RCS to git. Involved some belated checkins. --- diff --git a/CHANGES b/CHANGES new file mode 100644 index 0000000..f4dd567 --- /dev/null +++ b/CHANGES @@ -0,0 +1,4 @@ + Changelog for ctopy + +* Wed Oct 18 2006 Eric S. Raymond - 1.0-1 +- Initial build. \ No newline at end of file diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..429f253 --- /dev/null +++ b/COPYING @@ -0,0 +1,31 @@ +ctopy is distributec under the BSD license. + + Copyright(c) 2006 Eric S. Raymond. All rights reserved. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name Intel Corporation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..14a1d6b --- /dev/null +++ b/Makefile @@ -0,0 +1,32 @@ +# Makefile for the ctopy project + +VERS=$(shell sed $(MANDIR)/ctopy.1.gz + +ctopy.1: ctopy.xml + xmlto man ctopy.xml +ctopy.html: ctopy.xml + xmlto html-nochunks ctopy.xml + +ctopy-$(VERS).tar.gz: $(SOURCES) + @mkdir ctopy-$(VERS) + @cp $(SOURCES) ctopy-$(VERS) + @tar -czf ctopy-$(VERS).tar.gz ctopy-$(VERS) + @rm -fr ctopy-$(VERS) + +dist: ctopy-$(VERS).tar.gz + +release: ctopy-$(VERS).tar.gz ctopy.html + shipper; rm -f CHANGES *.html *.lsm *.1 + diff --git a/README b/README new file mode 100644 index 0000000..1921305 --- /dev/null +++ b/README @@ -0,0 +1,8 @@ + README for ctopy + +ctopy automates the parts of translating C source code to Python +source code that are difficult for a human but easy for a +machine. This allows a human programmer to concentrate on the +nontrivial parts of the translation. + +ctopy is issued under the BSD license, diff --git a/ctopy.spec b/ctopy.spec new file mode 100644 index 0000000..0b3f921 --- /dev/null +++ b/ctopy.spec @@ -0,0 +1,44 @@ +Name: ctopy +Version: 1.0 +Release: 1 +URL: http://www.catb.org/~esr/ctopy/ +Source0: %{name}-%{version}.tar.gz +License: BSD +Group: Development +Summary: a quick and dirty (but nevertheless effective) C to Python translator +BuildRoot: %{_tmppath}/%{name}-root +BuildArch: noarch + +%description +ctopy automates the parts of translating C source code to Python +source code that are difficult for a human but easy for a +machine. This allows a human programmer to concentrate on the +nontrivial parts of the translation. + +%prep +%setup -q + +%build +make %{?_smp_mflags} ctopy.1 + +%install +[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" +mkdir -p "$RPM_BUILD_ROOT"%{_bindir} +mkdir -p "$RPM_BUILD_ROOT"%{_mandir}/man1/ +cp ctopy "$RPM_BUILD_ROOT"%{_bindir} +cp ctopy.1 "$RPM_BUILD_ROOT"%{_mandir}/man1/ + +%clean +[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" + +%files +%doc README COPYING +%defattr(-,root,root,-) +%{_mandir}/man1/ctopy.1* +%{_bindir}/ctopy + +%changelog +* Wed Oct 18 2006 Eric S. Raymond - 1.0-1 +- Initial build. + +