Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 298542 Details for
Bug 426373
many missinig modules
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
spec file for jython 2.1.1
jython.spec (text/x-rpm-spec), 12.49 KB, created by
John Matthews
on 2008-03-19 17:21:00 UTC
(
hide
)
Description:
spec file for jython 2.1.1
Filename:
MIME Type:
Creator:
John Matthews
Created:
2008-03-19 17:21:00 UTC
Size:
12.49 KB
patch
obsolete
>%{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')} > >%define name jython >%define version 2.2.1 >%define cpython_version %{pyver} >%define pyxml_version 0.8.3 >%define svn_tag Release_2_2_1 >%define release 0.1.%{svn_tag}.1jpp.3%{?dist} > >%define gcj_support 1 > >Name: %{name} >Version: %{version} >Release: %{release} >Summary: A Java implementation of the Python language >License: BSD >URL: http://www.jython.org/ ># Use the included fetch-jython.sh script to generate the source drop ># for jython 2.2.1 ># sh fetch-jython.sh \ ># jython https://jython.svn.sourceforge.net/svnroot Release_2_2_1 ># >Source0: %{name}-fetched-src-%{svn_tag}.tar.bz2 >Source2: fetch-%{name}.sh >Patch0: %{name}-cachedir.patch ># Make javadoc and copy-full tasks not depend upon "full-build" ># Also, copy python's license from source directory and not ># ${python.home} >Patch1: %{name}-nofullbuildpath.patch >Requires: jpackage-utils >= 0:1.5 >Requires: oro >Requires: servlet >Requires: python >= %{cpython_version} >Requires: libreadline-java >= 0.8.0-16 >Requires: mysql-connector-java >BuildRequires: ant >BuildRequires: ht2html >BuildRequires: libreadline-java >= 0.8.0-16 >BuildRequires: mysql-connector-java >BuildRequires: oro >BuildRequires: python >= %{cpython_version} >BuildRequires: PyXML >= %{pyxml_version} >BuildRequires: servlet >%if %{gcj_support} >BuildRequires: java-gcj-compat-devel >= 1.0.31 >Requires(post): java-gcj-compat >= 1.0.31 >Requires(postun): java-gcj-compat >= 1.0.31 >%else >BuildRequires: java-devel >= 1.4.2 >Requires: java >= 1.4.2 >%endif >Group: Development/Languages >BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > >%description >Jython is an implementation of the high-level, dynamic, object-oriented >language Python seamlessly integrated with the Java platform. The >predecessor to Jython, JPython, is certified as 100% Pure Java. Jython is >freely available for both commercial and non-commercial use and is >distributed with source code. Jython is complementary to Java and is >especially suited for the following tasks: Embedded scripting - Java >programmers can add the Jython libraries to their system to allow end >users to write simple or complicated scripts that add functionality to the >application. Interactive experimentation - Jython provides an interactive >interpreter that can be used to interact with Java packages or with >running Java applications. This allows programmers to experiment and debug >any Java system using Jython. Rapid application development - Python >programs are typically 2-10X shorter than the equivalent Java program. >This translates directly to increased programmer productivity. The >seamless interaction between Python and Java allows developers to freely >mix the two languages both during development and in shipping products. > >%package javadoc >Summary: Javadoc for %{name} >Group: Documentation > >%description javadoc >API documentation for %{name}. > >%package manual >Summary: Manual for %{name} >Group: Documentation > >%description manual >Usage documentation for %{name}. > >%package demo >Summary: Demo for %{name} >Requires: %{name} = %{version}-%{release} >Group: Documentation > >%description demo >Demonstrations and samples for %{name}. > >%prep >%setup -q -n %{name}-svn-%{svn_tag} >%patch0 -p1 >%patch1 -p1 > >%build >export CLASSPATH=$(build-classpath mysql-connector-java oro servlet) ># FIXME: fix jpackage-utils to handle multilib correctly >export CLASSPATH=$CLASSPATH:%{_libdir}/libreadline-java/libreadline-java.jar > >rm -rf org/apache > >perl -p -i -e 's|execon|apply|g' build.xml > >ant \ > -Dpython.home=%{_bindir} \ > -Dht2html.dir=%{_datadir}/ht2html \ > -Dpython.lib=./CPythonLib \ > -Dpython.exe=%{_bindir}/python \ > -DPyXmlHome=%{_libdir}/python%pyver \ > -Dtargetver=1.3 \ > copy-dist > > ># remove #! from python files >pushd dist > for f in `find . -name '*.py'` > do > sed --in-place "s:#!\s*/usr.*::" $f > done >popd > >%install >rm -rf $RPM_BUILD_ROOT > ># jar >install -d -m 755 $RPM_BUILD_ROOT%{_javadir} >install -m 644 dist/%{name}.jar \ > $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar >pushd $RPM_BUILD_ROOT%{_javadir} > for jar in *-%{version}* > do > ln -sf ${jar} ${jar/-%{version}/} > done >popd > ># javadoc >install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} >cp -pr dist/Doc/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} ># data >install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name} ># these are not supposed to be distributed >find dist/Lib -type d -name test | xargs rm -rf > >cp -pr dist/Lib $RPM_BUILD_ROOT%{_datadir}/%{name} >cp -pr dist/Tools $RPM_BUILD_ROOT%{_datadir}/%{name} ># demo >cp -pr dist/Demo $RPM_BUILD_ROOT%{_datadir}/%{name} ># manual >rm -rf dist/Doc/javadoc >mv dist/Doc %{name}-manual-%{version} > > ># registry >install -m 644 registry $RPM_BUILD_ROOT%{_datadir}/%{name} ># scripts >install -d $RPM_BUILD_ROOT%{_bindir} > >cat > $RPM_BUILD_ROOT%{_bindir}/%{name} << EOF >#!/bin/sh ># ># %{name} script ># JPackage Project (http://jpackage.sourceforge.net) > ># Source functions library >. %{_datadir}/java-utils/java-functions > ># Source system prefs >if [ -f %{_sysconfdir}/%{name}.conf ] ; then > . %{_sysconfdir}/%{name}.conf >fi > ># Source user prefs >if [ -f \$HOME/.%{name}rc ] ; then > . \$HOME/.%{name}rc >fi > ># Configuration >MAIN_CLASS=org.python.util.%{name} >BASE_FLAGS=-Dpython.home=%{_datadir}/%{name} >BASE_JARS="%{name} oro servlet mysql-connector-java" > >BASE_FLAGS="\$BASE_FLAGS -Dpython.console=org.python.util.ReadlineConsole" >BASE_FLAGS="\$BASE_FLAGS -Djava.library.path=%{_libdir}/libreadline-java" >BASE_FLAGS="\$BASE_FLAGS -Dpython.console.readlinelib=Editline" > ># Set parameters >set_jvm >CLASSPATH=$CLASSPATH:%{_libdir}/libreadline-java/libreadline-java.jar >set_classpath \$BASE_JARS >set_flags \$BASE_FLAGS >set_options \$BASE_OPTIONS > ># Let's start >run "\$@" >EOF > >cat > $RPM_BUILD_ROOT%{_bindir}/%{name}c << EOF >#!/bin/sh ># ># %{name}c script ># JPackage Project (http://jpackage.sourceforge.net) > >%{_bindir}/%{name} %{_datadir}/%{name}/Tools/%{name}c/%{name}c.py "\$@" >EOF > > ># Natively compile >%if %{gcj_support} ># Exclude examples from native compilation >%{_bindir}/aot-compile-rpm \ > --exclude %{_datadir}/%{name}/Demo/jreload \ > --exclude %{_datadir}/%{name}/Demo/jreload/example.jar >%endif > >%post >%if %{gcj_support} >if [ -x %{_bindir}/rebuild-gcj-db ] >then > %{_bindir}/rebuild-gcj-db >fi >%endif > >%postun >%if %{gcj_support} >if [ -x %{_bindir}/rebuild-gcj-db ] >then > %{_bindir}/rebuild-gcj-db >fi >%endif > >%post demo >%if %{gcj_support} >if [ -x %{_bindir}/rebuild-gcj-db ] >then > %{_bindir}/rebuild-gcj-db >fi >%endif > >%postun demo >%if %{gcj_support} >if [ -x %{_bindir}/rebuild-gcj-db ] >then > %{_bindir}/rebuild-gcj-db >fi >%endif > >%clean >rm -rf $RPM_BUILD_ROOT > >%files >%defattr(-,root,root) >%doc ACKNOWLEDGMENTS NEWS LICENSE.txt README.txt >%attr(0755,root,root) %{_bindir}/%{name} >%attr(0755,root,root) %{_bindir}/%{name}c >%{_javadir}/* >%dir %{_datadir}/%{name} >%{_datadir}/%{name}/Lib >%{_datadir}/%{name}/Tools >%{_datadir}/%{name}/registry > >%if %{gcj_support} >%dir %{_libdir}/gcj/%{name} >%{_libdir}/gcj/%{name}/jython-%{version}.jar* >%endif > >%files javadoc >%defattr(-,root,root) >%doc %{_javadocdir}/%{name}-%{version} > >%files manual >%defattr(-,root,root) >%doc %{name}-manual-%{version} > >%files demo >%defattr(-,root,root) >%doc %{_datadir}/%{name}/Demo > >%changelog >* Tue Mar 18 2008 John Matthews <jmatthew@redhat.com> - 2.2.1-0.1.Release_2_2_1.1jpp.3 >- Update to 2.2.1 >- Resolves: rhbz#426373 > >* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2-0.4.Release_2_2beta1.1jpp.3 >- Autorebuild for GCC 4.3 > >* Mon Mar 26 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 2.2-0.3.Release_2_2beta1.1jpp.3 >- Rename doc subpackage "manual". >- Require libreadline-java. >- Correct python.home property value. >- Resolves: rhbz#233949 > >* Fri Mar 23 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 2.2-0.3.Release_2_2beta1.1jpp.2 >- Fix -Dpython.console.readlinelib=Editline typo. >- Fix LICENSE.txt location in jython-nofullbuildpath.patch. >- Require libreadline-java-devel. >- Check for libJavaEditline.so explicitly in wrapper script. > >* Wed Feb 28 2007 Andrew Overholt <overholt@redhat.com> 2.2-0.3.Release_2_2beta1.1jpp.1 >- 2.2beta1 >- Use 0.z.tag.Xjpp.Y release format >- Remove unnecessary copy of python 2.2 library > >* Thu Jan 11 2007 Andrew Overholt <overholt@redhat.com> 2.2-0.2.a1 >- Add doc target to nofullbuild patch to actually generate ht2html docs. >- Add doc sub-package. >- Require libreadline-java and mysql-connector-java. > >* Tue Dec 19 2006 Andrew Overholt <overholt@redhat.com> 2.2-0.1.a1 >- Remove jpp from the release tag. > >* Thu Nov 16 2006 Andrew Overholt <overholt@redhat.com> 2.2-0.a1.1jpp_1fc >- Update to 2.2alpha1. >- Include script to generate source tarball. >- Add patch to make javadoc and copy-full tasks not depend upon "full-build". >- Remove manual sub-package as its contents appear to no longer be present. >- Move demo aot-compiled bits to demo package. >- Add rebuild-gcj-db %%post{,un} to demo package. > >* Fri Sep 22 2006 Igor Foox <ifoox@redhat.com> 2.2-0.a0.2jpp_5fc >- Remove redundant patch1. > >* Thu Sep 21 2006 Igor Foox <ifoox@redhat.com> 2.2-0.a0.2jpp_4fc >- Go back to using the pre-supplied python2.2 source. >- Remove hash-bang from .py files since they are not executable. > >* Sat Sep 9 2006 Igor Foox <ifoox@redhat.com> 2.2-0.a0.2jpp_3fc >- Fix Group tags to Development/Languages and Documentation. >- Remove epoch from the jython-demo subpackage's Requires on jython. >- Fix indentation to space-only. >- Added %%doc to files in the -javadoc and -demo packages. > >* Fri Sep 8 2006 Igor Foox <ifoox@redhat.com> 2.2-0.a0.2jpp_2fc >- Add dist tag. >- Fix compile line to use the system Python libraries instead of the python2.2 >source. >- Remove Source1 (python2.2 library). >- Remove 0 Epoch. >- Remove unneeded 0 Epoch from BRs and Requires. >- Remove Vendor and Distribution tags. >- Fix summary. >- Fix Group, removing Java. >- Change buildroot to standard buildroot. >- Move buildroot removal from prep to install. >- Use libedit (EditLine) instead of GNU readline. > >* Thu Jun 1 2006 Igor Foox <ifoox@redhat.com> 0:2.2-0.a0.2jpp_1fc >- Rebuild with ant-1.6.5 >- Natively compile >- Add -Dtargetver=1.3 >- Changed BuildRoot to what Extras expects > >* Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:2.2-0.a0.2jpp >- Rebuild with ant-1.6.2 >- Allow build use of python >= 2.3 to generate docs since 2.2 libraries included > >* Sun Feb 15 2004 David Walluck <david@anti-microsoft.org> 0:2.2-0.a0.1jpp >- 2.2a0 (CVS) >- add URL tag >- add Distribution tag >- change cachedir patch to use ~/.jython instead of ~/tmp >- remove sys.platform patch >- use included python 2.2 files >- mysql support is back > >* Fri Apr 11 2003 David Walluck <david@anti-microsoft.org> 0:2.1-5jpp >- rebuild for JPackage 1.5 >- remove mm.mysql support > >* Sun Jan 26 2003 David Walluck <david@anti-microsoft.org> 2.1-4jpp >- add PyXML modules from 0.8.2 >- make BuildRequires a bit more strict > >* Wed Jan 22 2003 David Walluck <david@anti-microsoft.org> 2.1-3jpp >- CVS 20030122 >- remove javacc dependency (it's non-free, not needed, and the build is broken) >- add python modules (BuildRequires: python) >- add PyXML modules (BuildRequires: PyXML) >- add HTML documentation (BuildRequires: ht2html) >- optional JavaReadline support (BuildRequires: libreadline-java) >- optional MySQL support (BuildRequires: mm.mysql) >- optional PostgreSQL support is not available at this time due to strange jars >- add jython script >- add jythonc script >- add registry >- Patch0: fix cachedir creation in cwd >- Patch1: fix sys.platform (site.py expects format: <os.name>-<os.arch>) >- remove oro class files from jython and require the oro RPM instead >- change Url tag > >* Mon Mar 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.1-2jpp >- generic servlet support > >* Wed Mar 06 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.1-1jpp >- 2.1 >- section macro > >* Thu Jan 17 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.0-2jpp >- versioned dir for javadoc >- no dependencies for manual and javadoc packages >- stricter dependency for demo package > >* Tue Dec 18 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.0-1jpp >- first JPackage release
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 426373
: 298542 |
298545