SPECS: parrot.spec - 0.2; some cleanup
mguevara
mguevara at pld-linux.org
Wed Mar 25 00:30:43 CET 2009
Author: mguevara Date: Tue Mar 24 23:30:43 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 0.2; some cleanup
---- Files affected:
SPECS:
parrot.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: SPECS/parrot.spec
diff -u SPECS/parrot.spec:1.10 SPECS/parrot.spec:1.11
--- SPECS/parrot.spec:1.10 Thu Mar 19 12:36:28 2009
+++ SPECS/parrot.spec Wed Mar 25 00:30:38 2009
@@ -3,18 +3,77 @@
# html docs
# builds here (and here) but i didnt tested it yet..
# some work around packages splitting could be done too
+# "*** [PGE.pbc] Segmentation fault" on carme-i686 but on carme (x86_64, th) builds fine
+# builds fine on privete th i686 and x86_64 builder machines
+# consider BR: OpenGL-glut-devel (freeglut-devel or glut-devel) but this will add some libX11 deps
+# make tests with Rakudo (perl6) - looks ok (on the parrot builder machine)
+# somwhere there is a build path hardcoded in the parrot configuration!!!
+# check BR
+# clean pir/pbc stuff
+# raw pod docs
+#
Summary: A virtual machine designed to execute bytecode for interpreted languages
Summary(pl.UTF-8): Maszyna wirtualna przeznaczona do wykonywania bytecodu dla języków interpretowanych
Name: parrot
Version: 1.0.0
-Release: 0.1
+Release: 0.2
License: GPL v2/Artistic
Group: Libraries
Source0: ftp://ftp.parrot.org/pub/parrot/releases/stable/%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 649ce1fb7c0edaf89dc1cd52ff267b1a
URL: http://www.parrot.org/
BuildRequires: perl-devel
+BuildRequires: perl-Storable
+#Test::More
+BuildRequires: perl-Test-Simple
+#Test::Harness
+BuildRequires: perl-Test-Harness
+#MIME::Base64
+BuildRequires: perl-MIME-Base64
+#URI
+BuildRequires: perl-URI
+#Scalar::Util 1.07
+BuildRequires: perl-Scalar-List-Utils >= 1.07
+#MKDoc::XML 0.72
+BuildRequires: perl-MKDoc-XML >= 0.72
+#Digest::MD5
+BuildRequires: perl-Digest-MD5
+#Petal
+BuildRequires: perl-Petal
+#Date::Format 0.01
+BuildRequires: perl-TimeDate >= 0.01
+#Petal::Utils
+BuildRequires: perl-Petal-Utils
+#Method::Alias
+#TODO
+#Test::TAP::Model
+#TODO
+#Test::TAP::HTMLMatrix
+#TODO
+#IO::Uncompress::Base
+#IO::Compress::Base
+#IO::Compress::Base::Common
+BuildRequires: perl-IO-Compress-Base
+#Compress::Raw::Zlib
+#IO::Uncompress::Gunzip
+#IO::Compress::Gzip
+#IO::Compress::Gzip::Constants
+BuildRequires: perl-IO-Compress-Zlib
+#Compress::Zlib
+BuildRequires: perl-Compress-Zlib
+#HTML::Tagset 3
+BuildRequires: perl-HTML-Tagset >= 3
+#HTML::Parser
+BuildRequires: perl-HTML-Parser
+#LWP
+BuildRequires: perl-libwww
+# ICU - Unicode stuff
BuildRequires: libicu-devel
+# OpenGL bindings
+BuildRequires: OpenGL-glut-devel
+# lex and yacc - not sure do we need them
+BuildRequires: flex
+BuildRequires: byacc
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -180,21 +239,17 @@
%setup -q
%build
-%{__perl} Configure.pl \
+%{__perl} Configure.pl --prefix=%{_libdir} \
--optimize \
--cc="%{__cc}"
%{__make} -j1
-%{__make} -j1 -C docs html
+%{__make} -j1 -C docs html
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
- #BINDIR=%{_bindir} \
- #LIBDIR=%{_libdir} \
- #INCLUDEDIR=%{_includedir} \
-
%{__make} install \
PREFIX=%{_prefix} \
EXEC_PREFIX=%{_exec_prefix} \
@@ -204,18 +259,16 @@
DOC_DIR=%{_datadir} \
DESTDIR=$RPM_BUILD_ROOT
-# looks like no examples in parrot 1.0
-#install -d $RPM_BUILD_ROOT%{_examplesdir}
-#mv $RPM_BUILD_ROOT%{_datadir}/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-
-#mv $RPM_BUILD_ROOT%{_datadir}/docs $RPM_BUILD_ROOT/tmp-doc-dir
-#install -d $RPM_BUILD_ROOT%{_docdir}
-#mv $RPM_BUILD_ROOT/tmp-doc-dir $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
-#mv -v $RPM_BUILD_ROOT%{_datadir}/LICENSES/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
-#rmdir -v $RPM_BUILD_ROOT%{_datadir}/LICENSES
-#mv -v $RPM_BUILD_ROOT%{_datadir}/RESPONSIBLE_PARTIES $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
-#mv -v $RPM_BUILD_ROOT%{_datadir}/TODO $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
+install -d $RPM_BUILD_ROOT%{_examplesdir}
+cp -arl examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+install -d $RPM_BUILD_ROOT%{_docdir}/parrot
+cp -arl docs/book $RPM_BUILD_ROOT%{_docdir}/parrot
+cp -arl compilers $RPM_BUILD_ROOT%{_libdir}/parrot/%{version}
+cp -arl tools $RPM_BUILD_ROOT%{_libdir}/parrot/%{version}
+# PCT.pbc not installed ???
+cp -arl runtime/parrot/library/PCT.pbc $RPM_BUILD_ROOT%{_libdir}/parrot/%{version}/library
%clean
rm -rf $RPM_BUILD_ROOT
@@ -228,13 +281,23 @@
%doc CREDITS ChangeLog NEWS README docs/html
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %{_libdir}/parrot/%{version}/dynext/*.so
%dir %{_libdir}/parrot
%dir %{_libdir}/parrot/%{version}
+%dir %{_libdir}/parrot/%{version}/compilers
+%dir %{_libdir}/parrot/%{version}/compilers/imcc
+%dir %{_libdir}/parrot/%{version}/compilers/json
+%dir %{_libdir}/parrot/%{version}/compilers/ncigen
+%dir %{_libdir}/parrot/%{version}/compilers/nqp
+%dir %{_libdir}/parrot/%{version}/compilers/pct
+%dir %{_libdir}/parrot/%{version}/compilers/pge
+%dir %{_libdir}/parrot/%{version}/compilers/pge/PGE/
+%dir %{_libdir}/parrot/%{version}/compilers/pirc
+%dir %{_libdir}/parrot/%{version}/compilers/tge
%dir %{_libdir}/parrot/%{version}/dynext
-%attr(755,root,root) %{_libdir}/parrot/%{version}/dynext/*.so
-%{_libdir}/parrot/%{version}/library/*.pir
-%{_libdir}/parrot/%{version}/library/*.pasm
-%{_libdir}/parrot/%{version}/library/*.declarations
+%dir %{_libdir}/parrot/%{version}/languages
+%dir %{_libdir}/parrot/%{version}/languages/pge
+%dir %{_libdir}/parrot/%{version}/languages/pge/PGE
%dir %{_libdir}/parrot/%{version}/library
%dir %{_libdir}/parrot/%{version}/library/CGI
%dir %{_libdir}/parrot/%{version}/library/Config
@@ -258,23 +321,64 @@
%dir %{_libdir}/parrot/%{version}/library/YAML
%dir %{_libdir}/parrot/%{version}/library/YAML/Dumper
%dir %{_libdir}/parrot/%{version}/library/YAML/Parser
-
+%dir %{_libdir}/parrot/%{version}/tools
+%dir %{_libdir}/parrot/%{version}/tools/build
+%dir %{_libdir}/parrot/%{version}/tools/dev
+%dir %{_datadir}/parrot
+%dir %{_datadir}/parrot/%{version}
+%dir %{_datadir}/parrot/%{version}/pod
+%dir %{_datadir}/parrot/%{version}/pod/ops
+%dir %{_datadir}/parrot/%{version}/pod/pmc
+%dir %{_datadir}/parrot/%{version}/pod/user
+%dir %{_datadir}/parrot/%{version}/pod/user/pir
+%dir %{_docdir}/parrot
+
+%{_libdir}/parrot/%{version}/compilers/json/*.pir
+%{_libdir}/parrot/%{version}/compilers/json/*.pbc
+%{_libdir}/parrot/%{version}/compilers/json/JSON/*.pir
+%{_libdir}/parrot/%{version}/compilers/json/JSON/*.pbc
+%{_libdir}/parrot/%{version}/compilers/nqp/*.pir
+%{_libdir}/parrot/%{version}/compilers/nqp/*.pbc
+%{_libdir}/parrot/%{version}/compilers/pge/*.pir
+%{_libdir}/parrot/%{version}/compilers/pge/*.pbc
+%{_libdir}/parrot/%{version}/compilers/pge/PGE/*.pir
+#%{_libdir}/parrot/%{version}/compilers/pge/PGE/*.pbc
+%{_libdir}/parrot/%{version}/languages/pge/P6Rule.grammar
+%{_libdir}/parrot/%{version}/languages/pge/STATUS
+%{_libdir}/parrot/%{version}/languages/pge/*.pir
+%{_libdir}/parrot/%{version}/languages/pge/PGE/*.pir
+%{_libdir}/parrot/%{version}/languages/pge/PGE/builtins.pg
+%{_libdir}/parrot/%{version}/library/*.pir
+%{_libdir}/parrot/%{version}/library/*.pbc
+%{_libdir}/parrot/%{version}/library/*.pasm
+%{_libdir}/parrot/%{version}/library/*.declarations
%{_libdir}/parrot/%{version}/library/CGI/*.pir
+%{_libdir}/parrot/%{version}/library/CGI/*.pbc
%{_libdir}/parrot/%{version}/library/Config/*.pir
%{_libdir}/parrot/%{version}/library/Data/*.pir
+%{_libdir}/parrot/%{version}/library/Data/*.pbc
%{_libdir}/parrot/%{version}/library/Data/Dumper/*.pir
+%{_libdir}/parrot/%{version}/library/Data/Dumper/*.pbc
%{_libdir}/parrot/%{version}/library/Digest/*.pir
%{_libdir}/parrot/%{version}/library/Getopt/*.pir
+%{_libdir}/parrot/%{version}/library/Getopt/*.pbc
%{_libdir}/parrot/%{version}/library/HTTP/*.pir
%{_libdir}/parrot/%{version}/library/Math/*.pir
+%{_libdir}/parrot/%{version}/library/Math/*.pbc
%{_libdir}/parrot/%{version}/library/Math/Random/*.pir
+%{_libdir}/parrot/%{version}/library/Math/Random/*.pbc
%{_libdir}/parrot/%{version}/library/MIME/*.pir
+%{_libdir}/parrot/%{version}/library/MIME/*.pbc
%{_libdir}/parrot/%{version}/library/NCI/*.pir
+%{_libdir}/parrot/%{version}/library/NCI/*.pbc
%{_libdir}/parrot/%{version}/library/Parrot/*.pir
+%{_libdir}/parrot/%{version}/library/Parrot/*.pbc
%{_libdir}/parrot/%{version}/library/PGE/*.pir
+%{_libdir}/parrot/%{version}/library/PGE/*.pbc
%{_libdir}/parrot/%{version}/library/SDL/*.pir
%{_libdir}/parrot/%{version}/library/SDL/*.png
%{_libdir}/parrot/%{version}/library/Stream/*.pir
+%{_libdir}/parrot/%{version}/library/Stream/*.pbc
%{_libdir}/parrot/%{version}/library/String/*.pir
%{_libdir}/parrot/%{version}/library/Tcl/*.pir
%{_libdir}/parrot/%{version}/library/Test/*.pir
@@ -282,6 +386,17 @@
%{_libdir}/parrot/%{version}/library/YAML/*.pir
%{_libdir}/parrot/%{version}/library/YAML/Dumper/*.pir
%{_libdir}/parrot/%{version}/library/YAML/Parser/*.pir
+%{_libdir}/parrot/%{version}/tools/build/*
+%{_libdir}/parrot/%{version}/tools/dev/*
+%{_datadir}/parrot/%{version}/LICENSE
+%{_datadir}/parrot/%{version}/NEWS
+%{_datadir}/parrot/%{version}/PBC_COMPAT
+%{_datadir}/parrot/%{version}/RESPONSIBLE_PARTIES
+%{_datadir}/parrot/%{version}/pod/*.pod
+%{_datadir}/parrot/%{version}/pod/ops/*.pod
+%{_datadir}/parrot/%{version}/pod/pmc/*.pod
+%{_datadir}/parrot/%{version}/pod/user/pir/*.pod
+%{_docdir}/parrot/book/*
%files devel
%defattr(644,root,root,755)
@@ -299,9 +414,8 @@
%{_includedir}/%{name}/%{version}/%{name}/atomic/*.h
%{_includedir}/%{name}/%{version}/%{name}/oplib/*.h
#%{_mandir}/man?/*
-# no examples in parrot 1.0?
-#%dir %{_examplesdir}/%{name}-%{version}
-#%{_examplesdir}/%{name}-%{version}/*
+%dir %{_examplesdir}/%{name}-%{version}
+%{_examplesdir}/%{name}-%{version}/*
%{_pkgconfigdir}/%{name}/%{version}/*.pc
%files static
@@ -314,6 +428,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11 2009/03/24 23:30:38 mguevara
+- 0.2; some cleanup
+
Revision 1.10 2009/03/19 11:36:28 mguevara
- up to "stable" 1.0.0 release 0.1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/parrot.spec?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list