update to 8.1.0
This commit is contained in:
parent
f3b63e77e2
commit
8a9efe783c
|
@ -20,3 +20,5 @@ parrot-2.9.1.tar.gz
|
|||
/parrot-6.1.0.tar.bz2
|
||||
/parrot-6.10.0.tar.bz2
|
||||
/parrot-7.5.0.tar.bz2
|
||||
/parrot-7.11.0.tar.bz2
|
||||
/parrot-8.1.0.tar.bz2
|
||||
|
|
91
parrot.spec
91
parrot.spec
|
@ -1,14 +1,14 @@
|
|||
%global __provides_exclude perl\\(DB\\)|perl\\(A\\)|perl\\(B\\)
|
||||
|
||||
Name: parrot
|
||||
Version: 7.5.0
|
||||
Release: 3%{?dist}
|
||||
Version: 8.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: A virtual machine
|
||||
License: Artistic 2.0
|
||||
Group: Development/Libraries
|
||||
URL: http://www.parrot.org/
|
||||
|
||||
Source0: ftp://ftp.parrot.org/pub/parrot/releases/devel/%{version}/parrot-%{version}.tar.bz2
|
||||
Source0: ftp://ftp.parrot.org/pub/parrot/releases/stable/%{version}/parrot-%{version}.tar.bz2
|
||||
|
||||
Patch0: parrot.patch
|
||||
# create file: parrot_html.desk.in
|
||||
|
@ -37,8 +37,7 @@ BuildRequires: openssl-devel
|
|||
BuildRequires: flex
|
||||
BuildRequires: bison
|
||||
# Needed to generate the Parrot PDF book
|
||||
BuildRequires: perl(Pod::PseudoPod::LaTeX)
|
||||
#, texlive, texlive-latex
|
||||
BuildRequires: perl(Pod::PseudoPod::LaTeX), texlive, texlive-latex
|
||||
#BuildRequires: perl(Pod::PseudoPod::LaTeX), texlive, texlive-latex-bin
|
||||
# Needed to desktop-file-install usage
|
||||
BuildRequires: desktop-file-utils
|
||||
|
@ -87,13 +86,13 @@ Provides: perl(Parrot::OpLib::core) = %{version}
|
|||
|
||||
%description
|
||||
Parrot is a virtual machine designed to efficiently compile and execute
|
||||
bytecode for dynamic languages. Parrot is the target for Rakudo Perl 6,
|
||||
byte-code for dynamic languages. Parrot is the target for Rakudo Perl 6,
|
||||
as well as variety of other languages.
|
||||
|
||||
#--
|
||||
|
||||
%description docs
|
||||
Documentation in text-, POD- and HTML-format (docs/html-subdirectory) and also
|
||||
Documentation in text-, POD- and HTML-format (docs/HTML-sub-directory) and also
|
||||
examples about the Parrot Virtual Machine.
|
||||
|
||||
#--
|
||||
|
@ -135,7 +134,6 @@ Parrot Virtual Machine development files for building languages.
|
|||
--mandir=%{_mandir} \
|
||||
--cc="%{__cc}" \
|
||||
--optimize="$RPM_OPT_FLAGS" \
|
||||
--parrot_is_shared \
|
||||
--disable-rpath \
|
||||
--lex=%{_bindir}/flex
|
||||
|
||||
|
@ -143,8 +141,32 @@ Parrot Virtual Machine development files for building languages.
|
|||
# to find his parrot-library in "blib/lib"
|
||||
export LD_LIBRARY_PATH=$( pwd )/blib/lib
|
||||
|
||||
# Set path for installed programs in docs package
|
||||
find examples -type f \( -name "*.pir" -o \
|
||||
-wholename 'examples/shootout/random.pasm' -o \
|
||||
-wholename 'examples/tools/pgegrep' \) \
|
||||
-exec %{__sed} -i -e '1 s&#!.*\(parrot\)&#!/usr/bin/\1&' {} \;
|
||||
find examples -type f \( -name '*.pl' -o \
|
||||
-wholename 'examples/pir/befunge/t/basic.t' -o \
|
||||
-path 'examples/languages/*/harness' \) \
|
||||
-exec %{__sed} -i -e '1 s&#! perl&#!/usr/bin/perl&' {} \;
|
||||
find examples -type f -name "*.py" \
|
||||
-exec %{__sed} -i -e '1 s&#! python&#!/usr/bin/python&' {} \;
|
||||
find examples -type f -name "*.rb" \
|
||||
-exec %{__sed} -i -e '1 s&#! ruby&#!/usr/bin/ruby&' {} \;
|
||||
find examples -type f -name "*.winxed" \
|
||||
-exec %{__sed} -i -e '1 s&#! winxed&#!/usr/bin/winxed&' {} \;
|
||||
|
||||
find examples -wholename 'examples/languages/abc/t/01-tests.t' \
|
||||
-exec %{__sed} -i -e '1 s&#!perl&#!/usr/bin/perl&' {} \;
|
||||
|
||||
find examples -wholename 'examples/languages/abc/t/harness' \
|
||||
-exec %{__perl} -pi -e 's/\r$//' {} \;
|
||||
|
||||
|
||||
|
||||
make %{_smp_mflags}
|
||||
make docs html
|
||||
make docs html pdf
|
||||
gmake -C docs man
|
||||
|
||||
|
||||
|
@ -216,30 +238,14 @@ find %{RPM_PAR_LIB_DIR}tools -type f -name "*.pl" -exec chmod 755 {} \; \
|
|||
find %{RPM_PAR_LIB_DIR}tools/dev -type f -name "pbc_to_exe.pir" \
|
||||
-exec %{__sed} -i -e '1 s&#! parrot&#!/usr/bin/parrot&' {} \; \
|
||||
-exec chmod 755 {} \;
|
||||
# Set path to parrot-nqp binary and force permission
|
||||
find %{RPM_PAR_LIB_DIR}languages/data_json -type f -name "JSON.nqp" \
|
||||
-exec %{__sed} -i -e '1 s&#! parrot-nqp&#!/usr/bin/parrot-nqp&' {} \; \
|
||||
-exec chmod 755 {} \;
|
||||
|
||||
# Remove doc-files with zero-length
|
||||
find docs -wholename 'docs/doc-prep' -type f -size 0 -exec rm -f {} \;
|
||||
|
||||
# Set path for installed programs in docs package
|
||||
find examples -type f \( -name "*.pir" -o \
|
||||
-wholename 'examples/shootout/random.pasm' \) \
|
||||
-exec %{__sed} -i -e '1 s&#!.*\(parrot\)&#!/usr/bin/\1&' {} \;
|
||||
|
||||
find examples -type f \( -name '*.pl' -o \
|
||||
-wholename 'examples/pir/befunge/t/basic.t' -o \
|
||||
-path 'examples/languages/*/harness' \) \
|
||||
-exec %{__sed} -i -e '1 s&#! perl&#!/usr/bin/perl&' {} \;
|
||||
find examples -type f -name "*.py" \
|
||||
-exec %{__sed} -i -e '1 s&#! python&#!/usr/bin/python&' {} \;
|
||||
find examples -type f -name "*.rb" \
|
||||
-exec %{__sed} -i -e '1 s&#! ruby&#!/usr/bin/ruby&' {} \;
|
||||
|
||||
find examples -wholename 'examples/languages/abc/t/01-tests.t' \
|
||||
-exec %{__sed} -i -e '1 s&#!perl&#!/usr/bin/perl&' {} \;
|
||||
|
||||
find examples -wholename 'examples/languages/abc/t/harness' \
|
||||
-exec %{__perl} -pi -e 's/\r$//' {} \;
|
||||
|
||||
#install desktop file
|
||||
%{__mkdir} ${RPM_BUILD_ROOT}%{_datadir}/applications/
|
||||
%{__install} --mode=644 parrot_html.desk.in ${RPM_BUILD_ROOT}%{_datadir}/applications/parrot_html.desktop
|
||||
|
@ -259,7 +265,7 @@ export LD_LIBRARY_PATH=$( pwd )/blib/lib
|
|||
FULL='full'
|
||||
%{?_without_fulltest: FULL=''}
|
||||
#%{?!_without_tests: rm -f t/op/gc-leaky-*.t; make ${FULL}test}
|
||||
%{?!_without_tests: rm -f t/compilers/pge/perl6regex/01-regex.t; make ${FULL}test}
|
||||
%{?!_without_tests: make ${FULL}test}
|
||||
|
||||
|
||||
%clean
|
||||
|
@ -275,17 +281,20 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%doc %{_pkgdocdir}/*
|
||||
%exclude %{_pkgdocdir}/docs
|
||||
%exclude %{_pkgdocdir}/examples
|
||||
%exclude %{_pkgdocdir}/README_win32.pod
|
||||
%{_bindir}/parrot
|
||||
%{_libdir}/parrot/
|
||||
%exclude %{_libdir}/parrot/%{version}/tools
|
||||
%exclude %{_libdir}/parrot/%{version}/VERSION
|
||||
%exclude %{_libdir}/parrot/%{version}/library/YAML/Tiny.pm
|
||||
%{_libdir}/libparrot.so.*
|
||||
%exclude %{_libdir}/inst_libparrot.so.*
|
||||
%{_mandir}/man1/parrot.1.gz
|
||||
|
||||
%files docs
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_pkgdocdir}
|
||||
#%doc %{_pkgdocdir}/docs
|
||||
%doc %{_pkgdocdir}/docs
|
||||
%doc %{_pkgdocdir}/examples
|
||||
%doc %{_pkgdocdir}/LICENSE
|
||||
%{_datadir}/applications/parrot_html.desktop
|
||||
|
@ -332,23 +341,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.5.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Oct 28 2015 David Tardon <dtardon@redhat.com> - 7.5.0-2
|
||||
- rebuild for ICU 56.1
|
||||
|
||||
* Mon Jun 22 2015 Gerd Pokorra <gp@zimt.uni-siegen.de> - 7.5.0-1
|
||||
- update to 7.5.0
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.10.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Jan 26 2015 David Tardon <dtardon@redhat.com> - 6.10.0-2
|
||||
- rebuild for ICU 54.1
|
||||
|
||||
* Fri Jan 23 2015 Gerd Pokorra <gp@zimt.uni-siegen.de> - 6.10.0-1
|
||||
- update to 6.10.0
|
||||
* Tue Feb 16 2016 Gerd Pokorra <gp@zimt.uni-siegen.de> - 8.1.0-1
|
||||
- update to 8.1.0
|
||||
- move 'find example' commands to build section to make it work again
|
||||
|
||||
* Tue Oct 21 2014 Gerd Pokorra <gp@zimt.uni-siegen.de> - 6.9.0-1
|
||||
- update to 6.9.0
|
||||
|
|
Loading…
Reference in New Issue