1
0
forked from pool/mapserver

removed java package temporarily

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=92
This commit is contained in:
Angelos Tzotsos 2012-10-08 19:13:10 +00:00 committed by Git OBS Bridge
parent ee6b56f377
commit f5ed65649e
2 changed files with 24 additions and 18 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 8 18:50:12 UTC 2012 - tzotsos@opensuse.org
- Disabled Java build due to openJDK7 failures
-------------------------------------------------------------------
Tue May 22 19:56:53 UTC 2012 - tzotsos@opensuse.org

View File

@ -64,6 +64,7 @@ BuildRequires: java-1_5_0-ibm-alsa
BuildRequires: krb5-devel
%endif
BuildRequires: libgcj-devel
BuildRequires: patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Patch: mapserver-6.0.2_buildfix.patch
@ -106,14 +107,14 @@ Requires: python-base
The Python/Mapscript extension provides full map customization capabilities
within the Python programming language.
%package java
Summary: Java/Mapscript map making extensions to Java
Group: Development/Languages
Requires: %{name} = %{version}-%{release}
#%package java
#Summary: Java/Mapscript map making extensions to Java
#Group: Development/Languages
#Requires: %{name} = %{version}-%{release}
%description java
The Java/Mapscript extension provides full map customization capabilities
within the Java programming language.
#%description java
#The Java/Mapscript extension provides full map customization capabilities
#within the Java programming language.
%prep
%setup -q -n %{name}-%{fileversion}
@ -164,9 +165,9 @@ cd ../python
python setup.py build
# build java
cd ../java
make interface
make
#cd ../java
#make interface
#make
%install
rm -rf %{buildroot}
@ -202,8 +203,8 @@ mv %{buildroot}/usr/local/%{_lib}/python%py_ver/site-packages/*mapscript* %{buil
popd
# install java
mkdir -p %{buildroot}%{_javadir}
install -p -m 644 mapscript/java/mapscript.jar %{buildroot}%{_javadir}/
#mkdir -p %{buildroot}%{_javadir}
#install -p -m 644 mapscript/java/mapscript.jar %{buildroot}%{_javadir}/
# install php config file
mkdir -p %{buildroot}%{_sysconfdir}/php5/conf.d/
@ -261,11 +262,11 @@ rm -rf %{buildroot}
%doc mapscript/python/tests
%{python_sitearch}/*
%files java
%defattr(-,root,root)
%doc mapscript/java/README
%doc mapscript/java/examples
%doc mapscript/java/tests
%{_javadir}/*.jar
#%files java
#%defattr(-,root,root)
#%doc mapscript/java/README
#%doc mapscript/java/examples
#%doc mapscript/java/tests
#%{_javadir}/*.jar
%changelog