- Cleanup with spec-cleaner.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/wsdl4j?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal 2014-06-17 15:39:56 +00:00 committed by Git OBS Bridge
parent ba42fd32d0
commit bd6f20b46e
2 changed files with 23 additions and 24 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 17 15:39:38 UTC 2014 - tchvatal@suse.com
- Cleanup with spec-cleaner.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 17 15:36:50 UTC 2014 - tchvatal@suse.com Tue Jun 17 15:36:50 UTC 2014 - tchvatal@suse.com

View File

@ -14,28 +14,27 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# icecream 0
Name: wsdl4j Name: wsdl4j
Version: 1.6.3
Release: 0
Summary: Web Services Description Language Toolkit for Java
License: IPL-1.0
Group: Development/Libraries/Java
Url: http://sourceforge.net/projects/wsdl4j
Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.zip
Source1: %{name}-MANIFEST.MF
Source2: http://repo1.maven.org/maven2/wsdl4j/wsdl4j/%{version}/wsdl4j-%{version}.pom
BuildRequires: ant-junit BuildRequires: ant-junit
BuildRequires: java2-devel-packages BuildRequires: java2-devel-packages
BuildRequires: unzip BuildRequires: unzip
BuildRequires: xml-commons-apis BuildRequires: xml-commons-apis
BuildRequires: zip BuildRequires: zip
Summary: Web Services Description Language Toolkit for Java
License: IPL-1.0
Group: Development/Libraries/Java
Version: 1.6.3
Release: 0
Url: http://sourceforge.net/projects/wsdl4j
BuildArch: noarch
Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.zip
Source1: %{name}-MANIFEST.MF
Source2: http://repo1.maven.org/maven2/wsdl4j/wsdl4j/%{version}/wsdl4j-%{version}.pom
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: java Requires: java
Requires: jaxp_parser_impl Requires: jaxp_parser_impl
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description %description
The Web Services Description Language for Java Toolkit (WSDL4J) allows The Web Services Description Language for Java Toolkit (WSDL4J) allows
@ -43,10 +42,7 @@ the creation, representation, and manipulation of WSDL documents
describing services. This codebase will eventually serve as a describing services. This codebase will eventually serve as a
reference implementation of the standard created by JSR110. reference implementation of the standard created by JSR110.
%package javadoc %package javadoc
PreReq: coreutils
Summary: Javadoc for wsdl4j Summary: Javadoc for wsdl4j
Group: Development/Libraries/Java Group: Development/Libraries/Java
@ -59,8 +55,6 @@ reference implementation of the standard created by JSR110.
This package contains the javadoc documentation for the Web Services This package contains the javadoc documentation for the Web Services
Description Language for Java. Description Language for Java.
%prep %prep
%setup -q -n %{name}-1_6_3 %setup -q -n %{name}-1_6_3
@ -75,18 +69,18 @@ touch META-INF/MANIFEST.MF
zip -u build/lib/%{name}.jar META-INF/MANIFEST.MF zip -u build/lib/%{name}.jar META-INF/MANIFEST.MF
# jars # jars
install -d -m 0755 $RPM_BUILD_ROOT%{_javadir} install -d -m 0755 %{buildroot}%{_javadir}
install -m 644 build/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar install -m 644 build/lib/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar
install -m 644 build/lib/qname.jar $RPM_BUILD_ROOT%{_javadir}/qname.jar install -m 644 build/lib/qname.jar %{buildroot}%{_javadir}/qname.jar
# POMs # POMs
install -d -m 0755 $RPM_BUILD_ROOT%{_mavenpomdir} install -d -m 0755 %{buildroot}%{_mavenpomdir}
install -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom install -p -m 0644 %{SOURCE2} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap JPP-%{name}.pom %{name}.jar %add_maven_depmap JPP-%{name}.pom %{name}.jar
# javadoc # javadoc
install -d -m 0755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}-%{version}
cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/ cp -pr build/javadocs/* %{buildroot}%{_javadocdir}/%{name}-%{version}/
install -d -m 755 %{buildroot}%{_javadir}/javax.wsdl/ install -d -m 755 %{buildroot}%{_javadir}/javax.wsdl/
ln -sf ../%{name}.jar %{buildroot}%{_javadir}/javax.wsdl/ ln -sf ../%{name}.jar %{buildroot}%{_javadir}/javax.wsdl/