Blame SPECS/wsdl4j.spec

27bfe7
# Copyright (c) 2000-2005, JPackage Project
27bfe7
# All rights reserved.
27bfe7
#
27bfe7
# Redistribution and use in source and binary forms, with or without
27bfe7
# modification, are permitted provided that the following conditions
27bfe7
# are met:
27bfe7
#
27bfe7
# 1. Redistributions of source code must retain the above copyright
27bfe7
#    notice, this list of conditions and the following disclaimer.
27bfe7
# 2. Redistributions in binary form must reproduce the above copyright
27bfe7
#    notice, this list of conditions and the following disclaimer in the
27bfe7
#    documentation and/or other materials provided with the
27bfe7
#    distribution.
27bfe7
# 3. Neither the name of the JPackage Project nor the names of its
27bfe7
#    contributors may be used to endorse or promote products derived
27bfe7
#    from this software without specific prior written permission.
27bfe7
#
27bfe7
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
27bfe7
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27bfe7
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
27bfe7
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27bfe7
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27bfe7
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27bfe7
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27bfe7
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27bfe7
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27bfe7
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27bfe7
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27bfe7
#
27bfe7
27bfe7
Summary:        Web Services Description Language Toolkit for Java
27bfe7
Name:           wsdl4j
27bfe7
Version:        1.6.3
27bfe7
Release:        3%{?dist}
27bfe7
Epoch:          0
27bfe7
Group:          Development/Libraries
27bfe7
License:        CPL
27bfe7
URL:            http://sourceforge.net/projects/wsdl4j
27bfe7
BuildArch:      noarch
27bfe7
Source0:        http://downloads.sourceforge.net/project/wsdl4j/WSDL4J/%{version}/wsdl4j-src-%{version}.zip
27bfe7
Source1:        %{name}-MANIFEST.MF
27bfe7
Source2:        http://repo1.maven.org/maven2/wsdl4j/wsdl4j/%{version}/wsdl4j-%{version}.pom
27bfe7
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
27bfe7
Requires:       java
27bfe7
Requires:       jpackage-utils
27bfe7
BuildRequires:  ant, ant-junit
27bfe7
BuildRequires:  java-devel
27bfe7
BuildRequires:  jpackage-utils
27bfe7
BuildRequires:  zip
27bfe7
27bfe7
%description
27bfe7
The Web Services Description Language for Java Toolkit (WSDL4J) allows the
27bfe7
creation, representation, and manipulation of WSDL documents describing
27bfe7
services.  This code base will eventually serve as a reference implementation
27bfe7
of the standard created by JSR110.
27bfe7
27bfe7
%package javadoc
27bfe7
Group:          Documentation
27bfe7
Summary:        Javadoc for %{name}
27bfe7
Requires:       jpackage-utils
27bfe7
27bfe7
%description javadoc
27bfe7
Javadoc for %{name}.
27bfe7
27bfe7
%prep
27bfe7
%setup -q -n %{name}-1_6_3
27bfe7
27bfe7
%build
27bfe7
ant compile javadocs
27bfe7
27bfe7
%install
27bfe7
# inject OSGi manifests
27bfe7
mkdir -p META-INF
27bfe7
cp -p %{SOURCE1} META-INF/MANIFEST.MF
27bfe7
touch META-INF/MANIFEST.MF
27bfe7
zip -u build/lib/%{name}.jar META-INF/MANIFEST.MF
27bfe7
27bfe7
# jars
27bfe7
install -d -m 0755 $RPM_BUILD_ROOT%{_javadir}
27bfe7
27bfe7
install -m 644 build/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
27bfe7
install -m 644 build/lib/qname.jar $RPM_BUILD_ROOT%{_javadir}/qname.jar
27bfe7
27bfe7
# POMs
27bfe7
install -d -m 0755 $RPM_BUILD_ROOT%{_mavenpomdir}
27bfe7
install -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
27bfe7
%add_maven_depmap JPP-%{name}.pom %{name}.jar
27bfe7
27bfe7
# javadoc
27bfe7
install -d -m 0755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
27bfe7
cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}/
27bfe7
27bfe7
%files
27bfe7
%doc license.html
27bfe7
%{_javadir}/*
27bfe7
%{_mavenpomdir}/*
27bfe7
%{_mavendepmapfragdir}/*
27bfe7
27bfe7
%files javadoc
27bfe7
%doc license.html
27bfe7
%{_javadocdir}/%{name}
27bfe7
27bfe7
%changelog
27bfe7
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 01.6.3-3
27bfe7
- Mass rebuild 2013-12-27
27bfe7
27bfe7
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.6.3-2
27bfe7
- Rebuild to regenerate API documentation
27bfe7
- Resolves: CVE-2013-1571
27bfe7
27bfe7
* Sun Mar 03 2013 Mat Booth <fedora@matbooth.co.uk> - 0:1.6.3-1
27bfe7
- Update to latest upstream version rhbz #915252.
27bfe7
27bfe7
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.6.2-8
27bfe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
27bfe7
27bfe7
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.6.2-7
27bfe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
27bfe7
27bfe7
* Sat Jun 16 2012 Alexander Kurtakov <akurtako@redhat.com> 0:1.6.2-6
27bfe7
- Do not include versioned javadoc.
27bfe7
27bfe7
* Fri Jun 15 2012 Gerard Ryan <galileo@fedoraproject.org> - 0:1.6.2-5
27bfe7
- Fix file encoding for wsdl4j-MANIFEST.MF
27bfe7
- Update Bundle-Version in OSGi manifest
27bfe7
- Fix installation of jars in specfile
27bfe7
- Clean up specfile - remove javadoc dir version; remove clean section
27bfe7
27bfe7
* Thu Feb 16 2012 Andy Grimm <agrimm@gmail.com> - 0:1.6.2-4
27bfe7
- add POM file
27bfe7
27bfe7
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.6.2-3
27bfe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
27bfe7
27bfe7
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.6.2-2
27bfe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
27bfe7
27bfe7
* Thu Nov 4 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.6.2-1
27bfe7
- Update to 1.6.2.
27bfe7
- Cleanups to comply with current guidelines more.
27bfe7
27bfe7
* Wed Oct 6 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.5.2-8
27bfe7
- Drop gcj support.
27bfe7
- Fix groups.
27bfe7
27bfe7
* Mon May 31 2010 Ville Skyttä <ville.skytta@iki.fi> - 0:1.5.2-7.7
27bfe7
- Fix specfile encoding.
27bfe7
27bfe7
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5.2-7.6
27bfe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
27bfe7
27bfe7
* Wed Apr 22 2009 Deepak Bhole <dbhole@redhat.com> - 0:1.5.2-6.6
27bfe7
- Update OSGi manifest
27bfe7
27bfe7
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5.2-6.5
27bfe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
27bfe7
27bfe7
* Fri Jan 30 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.5.2-5.5
27bfe7
- Add osgi manifest for eclipse-dtp.
27bfe7
27bfe7
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.5.2-5.4
27bfe7
- drop repotag
27bfe7
27bfe7
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.5.2-5jpp.3
27bfe7
- fix license tag
27bfe7
27bfe7
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.5.2-5jpp.2
27bfe7
- Autorebuild for GCC 4.3
27bfe7
27bfe7
* Thu Sep 20 2007 Deepak Bhole <dbhole@redhat.com> 1.5.2-4jpp.2
27bfe7
- Rebuild for ppc32 execmem issue and new build-id
27bfe7
- Add %%{?dist} as per new policy
27bfe7
27bfe7
* Thu Aug 10 2006 Deepak Bhole <dbhole@redhat.com> 1.5.2-4jpp.1
27bfe7
- Added missing requirements.
27bfe7
27bfe7
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:1.5.2-3jpp_2fc
27bfe7
- Rebuilt
27bfe7
27bfe7
* Wed Jul 19 2006 Deepak Bhole <dbhole@redhat.com> 0:1.5.2-3jpp_1fc
27bfe7
- Remove name/release/version defines as applicable.
27bfe7
27bfe7
* Tue Jul 18 2006 Deepak Bhole <dbhole@redhat.com> 0:1.5.2-2jpp
27bfe7
- Merge changes from fc.
27bfe7
- Add conditional native compilation.
27bfe7
27bfe7
* Mon Jan 30 2006 Ralph Apel <r.apel at r-apel.de> 0:1.5.2-1jpp
27bfe7
- update to 1.5.2
27bfe7
- move qname*.jar to %%{_javadir}/wsdl4j/qname*.jar
27bfe7
  to make place for qname provided by geronimo-specs
27bfe7
27bfe7
* Thu Jun 02 2005 Fernando Nasser <fnasser@redhat.com> 0:1.5.1-1jpp
27bfe7
- update to 1.5.1
27bfe7
27bfe7
* Fri Mar 11 2005 Ralph Apel <r.apel at r-apel.de> 0:1.5-1jpp
27bfe7
- update to 1.5
27bfe7
27bfe7
* Mon Aug 30 2004 Ralph Apel <r.apel at r-apel.de> 0:1.4-3jpp
27bfe7
- Build with ant-1.6.2
27bfe7
27bfe7
* Thu Jun 26 2003 Nicolas Mailhot <Nicolas.Mailhot at laPoste.net> 0:1.4-2jpp
27bfe7
- Do not drop qname.jar
27bfe7
27bfe7
* Tue May 06 2003 David Walluck <david@anti-microsoft.org> 0:1.4-1jpp
27bfe7
- 1.4
27bfe7
- update for JPackage 1.5
27bfe7
27bfe7
* Sat Sep  7 2002 Ville Skyttä <ville.skytta@iki.fi> 1.1-1jpp
27bfe7
- First JPackage release.