--- /dev/null
+ Changelog for ctopy
+
+* Wed Oct 18 2006 Eric S. Raymond <esr@snark.thyrsus.com> - 1.0-1
+- Initial build.
\ No newline at end of file
--- /dev/null
+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.
+
--- /dev/null
+# Makefile for the ctopy project
+
+VERS=$(shell sed <ctopy.spec -n -e '/Version: \(.*\)/s//\1/p')
+
+MANDIR=$(DESTDIR)/usr/share/man/man1
+BINDIR=$(DESTDIR)/usr/bin
+
+DOCS = README COPYING ctopy.xml ctopy.1
+SOURCES = ctopy Makefile $(DOCS) ctopy.spec
+
+all: ctopy-$(VERS).tar.gz
+
+install: ctopy.1
+ cp ctopy buildrpms $(BINDIR)
+ gzip <ctopy.1 >$(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
+
--- /dev/null
+ 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,
--- /dev/null
+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 <esr@snark.thyrsus.com> - 1.0-1
+- Initial build.
+
+