Compare commits

..

No commits in common. "rawhide" and "f21" have entirely different histories.

5 changed files with 155 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/frytvm-XS-9c19777.tar.gz

View file

@ -1 +0,0 @@
no longer maintained upstream and fails to build

1
sources Normal file
View file

@ -0,0 +1 @@
81cc533e9d964e4787cd6c36c0fe0149 frytvm-XS-9c19777.tar.gz

View file

@ -0,0 +1,55 @@
--- frytvm-XS-9c19777/Makefile.am~ 2010-04-02 10:23:02.000000000 +0900
+++ frytvm-XS-9c19777/Makefile.am 2013-02-01 14:08:09.601530609 +0900
@@ -20,9 +20,9 @@ COMMON_FILES = access.cxx closure.cxx co
sigmsgs.cxx signal.cxx split.cxx syntax.cxx status.cxx str.cxx term.cxx \
token.cxx tree.cxx util.cxx var.cxx version.cxx parse.yxx
OTHER = Makefile parse.yxx mksignal
-GEN = parse.h parse.cxx parse.output sigmsgs.cxx initial.cxx
+GEN = parse.hxx parse.cxx parse.output sigmsgs.cxx initial.cxx
-BUILT_SOURCES = parse.h
+BUILT_SOURCES = parse.hxx
xs_SOURCES = $(COMMON_FILES) initial.cxx main.cxx
#ctest_SOURCES = tests/test_print.cxx tests/test_util.cxx tests/all_tests.cxx $(COMMON_FILES)
#ctest_LDADD = -lcgreen -lm
diff -up frytvm-XS-9c19777/input.cxx~ frytvm-XS-9c19777/input.cxx
--- frytvm-XS-9c19777/input.cxx~ 2010-04-02 10:23:02.000000000 +0900
+++ frytvm-XS-9c19777/input.cxx 2013-02-01 14:08:29.930518307 +0900
@@ -4,7 +4,7 @@
#include "es.hxx"
#include "term.hxx"
#include "input.hxx"
-#include "parse.h"
+#include "parse.hxx"
/*
diff -up frytvm-XS-9c19777/syntax.cxx~ frytvm-XS-9c19777/syntax.cxx
--- frytvm-XS-9c19777/syntax.cxx~ 2010-04-02 10:23:02.000000000 +0900
+++ frytvm-XS-9c19777/syntax.cxx 2013-02-01 14:08:46.865508150 +0900
@@ -3,7 +3,7 @@
#include "es.hxx"
#include "input.hxx"
#include "syntax.hxx"
-#include "parse.h"
+#include "parse.hxx"
Tree errornode;
Tree *parsetree;
diff -up frytvm-XS-9c19777/token.cxx~ frytvm-XS-9c19777/token.cxx
--- frytvm-XS-9c19777/token.cxx~ 2010-04-02 10:23:02.000000000 +0900
+++ frytvm-XS-9c19777/token.cxx 2013-02-01 14:08:54.433503637 +0900
@@ -3,7 +3,7 @@
#include "es.hxx"
#include "input.hxx"
#include "syntax.hxx"
-#include "parse.h"
+#include "parse.hxx"
static inline bool isodigit(char c) {
--- frytvm-XS-9c19777/y.tab.h~ 2010-04-02 10:23:02.000000000 +0900
+++ frytvm-XS-9c19777/y.tab.h 2013-02-01 14:28:37.521901480 +0900
@@ -1 +1 @@
-#include "parse.h"
+#include "parse.hxx"

98
xs.spec Normal file
View file

@ -0,0 +1,98 @@
%global githash 9c19777
Name: xs
Version: 0.1
Release: 12.git%{githash}%{?dist}
Summary: Shell supporting functional programming
License: Public Domain
URL: https://github.com/frytvm
# downloaded from https://github.com/frytvm/XS/tarball/master
Source0: frytvm-XS-%{githash}.tar.gz
Patch0: xs-automake-1.12-bison-hxx.patch
BuildRequires: automake
BuildRequires: bison
BuildRequires: boost-devel
BuildRequires: gc-devel
BuildRequires: gcc-c++
BuildRequires: readline-devel
%description
Xs is a cleanly-designed shell with functional programming. It is based off
the source-code for the es project, which was in the public domain.
Currently, the changes in xs can also be considered to be in the public domain.
Most of the xs source code remains untouched from es.
The primary authors of that shell can be found in that source code,
currently located at: ftp://ftp.sys.utoronto.ca/pub/es/. Modifications
since es-0.9-beta1 are all parts of xs and have been written by
Frederic Koehler.
%prep
%setup -q -n frytvm-XS-%{githash}
%if 0%{?fedora} >= 18
# patch for automake-1.12
%patch0 -p1 -b .orig
%endif
%build
autoreconf -i
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%check
make testxs
%files
%doc COPYING README
%{_bindir}/xs
%{_mandir}/man1/xs.1*
%changelog
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-12.git9c19777
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Thu Jun 12 2014 Jens Petersen <petersen@redhat.com> - 0.1-11.git9c19777%{?dist}
- pass -i to autoreconf
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-10.git9c19777
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.1-9.git9c19777
- Rebuild for boost 1.55.0
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8.git9c19777
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 0.1-7.git9c19777
- Rebuild for boost 1.54.0
* Fri Feb 1 2013 Jens Petersen <petersen@redhat.com> - 0.1-6.git9c19777%{?dist}
- patch for automake-1.12 using .hxx for bison output
- explicitly BR gcc-c++
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5.git9c19777
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4.git9c19777
- Rebuilt for c++ ABI breakage
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3.git9c19777
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Sep 7 2011 Jens Petersen <petersen@redhat.com> - 0.1-2.git9c19777
- fix description, use install -p, and include COPYING (Parag Nemade, #735705)
- add a check section
* Fri Sep 2 2011 Jens Petersen <petersen@redhat.com> - 0.1-1.git9c19777
- initial packaging