Autobuild autoformatter for 63978

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jython?expand=0&rev=12
This commit is contained in:
Sascha Peilicke 2011-03-14 09:32:51 +00:00 committed by Git OBS Bridge
parent 55205f25cc
commit 0ca89d47e4

View File

@ -13,6 +13,8 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')}
@ -24,38 +26,38 @@
Name: jython
Version: 2.2.1
Release: 1
Summary: A Java implementation of the Python language
License: ASL 1.1 and BSD and CNRI and JPython and Python
URL: http://www.jython.org/
Group: Development/Languages/Python
Summary: A Java implementation of the Python language
License: ASL 1.1 and BSD and CNRI and JPython and Python
Url: http://www.jython.org/
Group: Development/Languages/Python
# 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
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 >= 1.5
Requires: jakarta-oro
Requires: servletapi5
Requires: python >= %{cpython_version}
Requires: libreadline-java >= 0.8.0-16
Requires: mysql-connector-java
Requires: java >= 1.6.0
BuildRequires: ant
BuildRequires: ht2html
BuildRequires: libreadline-java >= 0.8.0-16
BuildRequires: mysql-connector-java
BuildRequires: jakarta-oro
BuildRequires: python >= %{cpython_version}
BuildRequires: pyxml >= %{pyxml_version}
BuildRequires: servletapi5
BuildRequires: java-devel >= 1.6.0
Patch1: %{name}-nofullbuildpath.patch
Requires: jpackage-utils >= 1.5
Requires: jakarta-oro
Requires: servletapi5
Requires: python >= %{cpython_version}
Requires: libreadline-java >= 0.8.0-16
Requires: mysql-connector-java
Requires: java >= 1.6.0
BuildRequires: ant
BuildRequires: ht2html
BuildRequires: libreadline-java >= 0.8.0-16
BuildRequires: mysql-connector-java
BuildRequires: jakarta-oro
BuildRequires: python >= %{cpython_version}
BuildRequires: pyxml >= %{pyxml_version}
BuildRequires: servletapi5
BuildRequires: java-devel >= 1.6.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@ -79,6 +81,7 @@ Java allows developers to freely mix the two languages both during
development and in shipping products.
%package manual
License: ASL 1.1 and BSD and CNRI and JPython and Python
Summary: Manual for jython
Group: Development/Libraries/Java
@ -106,6 +109,7 @@ development and in shipping products.
%package javadoc
License: ASL 1.1 and BSD and CNRI and JPython and Python
Summary: Javadoc for jython
Group: Development/Libraries/Java
@ -133,6 +137,7 @@ development and in shipping products.
%package demo
License: ASL 1.1 and BSD and CNRI and JPython and Python
Summary: Demonstration and samples for jython
Requires: %{name} = %{version}-%{release}
Group: Development/Libraries/Java
@ -182,7 +187,6 @@ ant \
-Dtargetver=1.3 \
copy-dist
# remove #! from python files
pushd dist
for f in `find . -name '*.py'`
@ -297,7 +301,6 @@ rm -rf $RPM_BUILD_ROOT
%doc LICENSE.txt README.txt
%doc %{name}-manual-%{version}
%files demo
%defattr(-,root,root)
%doc ACKNOWLEDGMENTS NEWS LICENSE.txt README.txt