diff options
| author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2009-09-30 21:06:04 -0400 |
|---|---|---|
| committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2009-09-30 21:06:04 -0400 |
| commit | ca1633f5f53c5dfbdf757663d101befee01c679b (patch) | |
| tree | 864e99439bc3b7575b52ad4e61d9252fe5218b11 /funpl | |
| parent | 1ef24752412f5f01673e50810c749660a93bd932 (diff) | |
| parent | fb79c913562caf052be9c9a71fd9451852948cf6 (diff) | |
| download | specs-ca1633f5f53c5dfbdf757663d101befee01c679b.tar.gz specs-ca1633f5f53c5dfbdf757663d101befee01c679b.tar.xz specs-ca1633f5f53c5dfbdf757663d101befee01c679b.zip | |
Merge branch 'master' of git+ssh://fedorapeople.org/~/public_git/specs
Diffstat (limited to 'funpl')
| -rw-r--r-- | funpl/lua-json.spec | 57 | ||||
| -rw-r--r-- | funpl/lua-lunit.spec | 65 | ||||
| -rw-r--r-- | funpl/pure.spec | 170 |
3 files changed, 0 insertions, 292 deletions
diff --git a/funpl/lua-json.spec b/funpl/lua-json.spec deleted file mode 100644 index efeb6f5..0000000 --- a/funpl/lua-json.spec +++ /dev/null @@ -1,57 +0,0 @@ -%define luaver 5.1 -%define luapkgdir %{_datadir}/lua/%{luaver} - -Name: lua-json -Version: 1.0 -Release: 1%{?dist} -Summary: JSON Parser/Constructor for Lua - -Group: Development/Libraries -License: MIT -URL: http://luaforge.net/projects/luajson/ -Source0: http://luaforge.net/frs/download.php/4105/luajson-%{version}.tar.bz2 -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) - -BuildRequires: lua >= %{luaver}, lua-lpeg >= 0.8.1 -# for checks -BuildRequires: lua-filesystem >= 1.4.1, lua-lunit >= 0.4 -Requires: lua >= %{luaver}, lua-lpeg >= 0.8.1 - -BuildArch: noarch - -%description -LuaJSON is a customizable JSON decoder/encoder, using LPEG for parsing. - - -%prep -%setup -q -n luajson-%{version} - - -%build - - -%install -rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT%{luapkgdir} -cp -pr lua/* $RPM_BUILD_ROOT%{luapkgdir} - - -%check -make check-regression -make check-unit | tee testlog.txt -grep -q "0 failed, 0 errors" testlog.txt - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root,-) -%doc LICENSE docs/LuaJSON.txt docs/ReleaseNotes-1.0.txt -%{luapkgdir}/* - - -%changelog -* Thu Sep 10 2009 Michel Salim <salimma@fedoraproject.org> - 1.0-1 -- Initial package diff --git a/funpl/lua-lunit.spec b/funpl/lua-lunit.spec deleted file mode 100644 index 857f71e..0000000 --- a/funpl/lua-lunit.spec +++ /dev/null @@ -1,65 +0,0 @@ -%define luaver 5.1 -%define luapkgdir %{_datadir}/lua/%{luaver} - -Name: lua-lunit -Version: 0.4 -Release: 1%{?dist} -Summary: Unit testing framework for Lua - -Group: Development/Libraries -License: MIT -URL: http://nessie.de/mroth/lunit/index.html -Source0: http://nessie.de/mroth/lunit/lunit-%{version}.tar.gz -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) - -# for running tests -BuildRequires: lua >= %{luaver} -Requires: lua >= %{luaver} - -BuildArch: noarch - -%description -Lunit is a unit testing framework for lua, written in lua. - -Lunit provides 26 assert functions, and a few misc functions for usage -in an easy unit testing framework. - -Lunit comes with a test suite to test itself. The testsuite consists -of approximately 710 assertions. - - -%prep -%setup -q -n lunit-%{version} - - -%build - - -%install -rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT%{_bindir} -cp -p lunit $RPM_BUILD_ROOT%{_bindir} - -mkdir -p $RPM_BUILD_ROOT%{luapkgdir} -cp -pr lunit{,-console}.lua $RPM_BUILD_ROOT%{luapkgdir} - - -%check -./lunit lunit-tests.lua | tee testlog.txt -grep -q "0 failed, 0 errors" testlog.txt - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root,-) -%doc LICENSE ANNOUNCE CHANGES DOCUMENTATION README* example.lua -%{_bindir}/lunit -%{luapkgdir}/* - - -%changelog -* Thu Sep 10 2009 Michel Salim <salimma@fedoraproject.org> - 0.4-1 -- Initial package diff --git a/funpl/pure.spec b/funpl/pure.spec deleted file mode 100644 index 756ede4..0000000 --- a/funpl/pure.spec +++ /dev/null @@ -1,170 +0,0 @@ -%if %($(pkg-config emacs) ; echo $?) -# This will get overridden by pkg-config; defaulting to the version in F-10 -%define emacs_version 22.3 -%define emacs_lispdir %{_datadir}/emacs/site-lisp -%define emacs_startdir %{_datadir}/emacs/site-lisp/site-start.d -%else -%define emacs_version %(pkg-config emacs --modversion) -%define emacs_lispdir %(pkg-config emacs --variable sitepkglispdir) -%define emacs_startdir %(pkg-config emacs --variable sitestartdir) -%endif - -Name: pure -Version: 0.35 -Release: 1%{?dist} -Summary: A term-rewriting functional programming language - -Group: Development/Languages -License: GPLv3+ -URL: http://code.google.com/p/pure-lang/ -Source0: http://pure-lang.googlecode.com/files/pure-%{version}.tar.gz -Source1: pure-init.el -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: gmp-devel readline-devel gsl-devel -# Not checked by configure -BuildRequires: llvm-devel >= 2.4 flex bison -# For compiling emacs mode -BuildRequires: emacs emacs-el - -# LLVM is not supported on ppc64 -ExcludeArch: ppc64 - -%description -Pure is a modern-style functional programming language based on term -rewriting. It offers equational definitions with pattern matching, -full symbolic rewriting capabilities, dynamic typing, eager and lazy -evaluation, lexical closures, built-in list and matrix support and an -easy-to-use C interface. The interpreter uses LLVM as a backend to -JIT-compile Pure programs to fast native code. - - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -The %{name}-devel package contains libraries and header files for -developing applications that use %{name}. - - -%package doc -Summary: Examples for %{name} -Group: Documentation -Requires: %{name} = %{version}-%{release} - -%description doc -The %{name}-doc package contains examples for programming in %{name}. - -%package -n emacs-pure -Summary: Vala mode for Emacs -Group: Applications/Editors -Requires: emacs(bin) >= %{emacs_version} - - -%description -n emacs-pure -An Emacs mode for editing Pure source code. - - -%prep -%setup -q - - -%build -%ifarch ppc -# http://code.google.com/p/pure-lang/issues/detail?id=13#c47 -%configure --disable-fastcc -%else -%configure -%endif - -make %{?_smp_mflags} -# Compile emacs module -cd etc && emacs -batch -f batch-byte-compile pure-mode.el - - -%install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT - -# Emacs mode files -rm etc/*.el.in -mkdir -p $RPM_BUILD_ROOT%{emacs_lispdir} -mkdir -p $RPM_BUILD_ROOT%{emacs_startdir} -mv etc/*.el* $RPM_BUILD_ROOT%{emacs_lispdir} -cp -p %{SOURCE1} $RPM_BUILD_ROOT%{emacs_startdir} - - -%check -make check - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - - - -%files -%defattr(-,root,root,-) -%doc ChangeLog COPYING NEWS README TODO etc -%{_bindir}/pure* -%{_libdir}/libpure*.so.* -%exclude %{_libdir}/pure/pure_main.c -%{_libdir}/pure* -%{_mandir}/man1/* - -%files devel -%defattr(-,root,root,-) -%{_includedir}/pure* -%{_libdir}/*.so -%{_libdir}/pure/pure_main.c - -%files doc -%defattr(-,root,root,-) -%doc examples - -%files -n emacs-pure -%defattr(-,root,root,-) -%{emacs_lispdir}/*.el* -%{emacs_startdir}/* - - - -%changelog -* Thu Sep 24 2009 Michel Salim <salimma@fedoraproject.org> - 0.35-1 -- Update to 0.35 -- Reenable PPC tests - -* Tue Sep 8 2009 Michel Salim <salimma@fedoraproject.org> - 0.34-2 -- Make tests advisory on ppc for now - -* Mon Sep 7 2009 Michel Salim <salimma@fedoraproject.org> - 0.34-1 -- Update to 0.34 - -* Tue Sep 1 2009 Michel Salim <salimma@fedoraproject.org> - 0.33-1 -- Update to 0.33 - -* Thu Aug 27 2009 Michel Salim <salimma@fedoraproject.org> - 0.32-1 -- Update to 0.32 -- Split out -devel and -doc subpackages -- Disable ppc build on Rawhide; massive testcase failures - -* Sat Aug 22 2009 Michel Salim <salimma@fedoraproject.org> - 0.30-1 -- Update to 0.30 - -* Fri Aug 21 2009 Michel Salim <salimma@fedoraproject.org> - 0.29-1 -- Update to 0.29 - -* Sun Mar 15 2009 Michel Salim <salimma@fedoraproject.org> - 0.19-1 -- Update to 0.19 -- Add build dependencies that configure does not check: llvm-devel, flex - -* Wed Mar 4 2009 Michel Salim <salimma@fedoraproject.org> - 0.18a-1 -- Initial package - |
