fe6788
# Copyright (c) 2000-2005, JPackage Project
fe6788
# All rights reserved.
fe6788
#
fe6788
# Redistribution and use in source and binary forms, with or without
fe6788
# modification, are permitted provided that the following conditions
fe6788
# are met:
fe6788
#
fe6788
# 1. Redistributions of source code must retain the above copyright
fe6788
#    notice, this list of conditions and the following disclaimer.
fe6788
# 2. Redistributions in binary form must reproduce the above copyright
fe6788
#    notice, this list of conditions and the following disclaimer in the
fe6788
#    documentation and/or other materials provided with the
fe6788
#    distribution.
fe6788
# 3. Neither the name of the JPackage Project nor the names of its
fe6788
#    contributors may be used to endorse or promote products derived
fe6788
#    from this software without specific prior written permission.
fe6788
#
fe6788
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
fe6788
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
fe6788
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
fe6788
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
fe6788
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
fe6788
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
fe6788
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
fe6788
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
fe6788
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
fe6788
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
fe6788
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
fe6788
#
fe6788
fe6788
%global cvstag  release-20050331
fe6788
fe6788
Name:           isorelax
fe6788
Summary:        Public interfaces for RELAX Core
fe6788
URL:            http://iso-relax.sourceforge.net/
fe6788
Epoch:          1
fe6788
Version:        0
fe6788
# I can't use %%{cvstag} as dashes aren't allowed in Release tags
fe6788
Release:        0.23.release20050331%{?dist}
fe6788
# Parts of VerifierFactory.java were copied from Apache Batik and are
fe6788
# under ASL 1.1, everything else is under MIT.
fe6788
License:        MIT and ASL 1.1
fe6788
BuildArch:      noarch
fe6788
fe6788
# mkdir isorelax-release-20050331-src
fe6788
# cd isorelax-release-20050331-src
fe6788
# cvs -d:pserver:anonymous@iso-relax.cvs.sourceforge.net:/cvsroot/iso-relax \
fe6788
#   export -r release-20050331 src lib
fe6788
# cvs -d:pserver:anonymous@iso-relax.cvs.sourceforge.net:/cvsroot/iso-relax \
fe6788
#   co -r release-20050331 build.xml
fe6788
# rm -rf CVS
fe6788
# cd ..
fe6788
# tar cjf isorelax-release-20050331-src.tar.bz2 isorelax-release-20050331-src
fe6788
Source0:        %{name}-%{cvstag}-src.tar.bz2
fe6788
# There's no license in the upstream tarball so include it here
fe6788
Source1:        license.txt
fe6788
Source2:        http://repo2.maven.org/maven2/%{name}/%{name}/20030108/%{name}-20030108.pom
fe6788
Patch0:         %{name}-apidocsandcompressedjar.patch
fe6788
fe6788
BuildRequires:  javapackages-local
fe6788
BuildRequires:  ant
fe6788
fe6788
%description
fe6788
The ISO RELAX project was started to host public interfaces 
fe6788
useful for applications to support RELAX Core. Now, however,
fe6788
some of the hosted material is schema language-neutral.
fe6788
fe6788
%package javadoc
fe6788
Summary:        API documentation for %{name}
fe6788
fe6788
%description javadoc
fe6788
%{summary}.
fe6788
fe6788
%prep
fe6788
%setup -q -n %{name}-%{cvstag}-src
fe6788
find -name "*.jar" -delete
fe6788
ln -s %{_javadir}/ant.jar lib/
fe6788
%patch0 -p0
fe6788
cp %{SOURCE1} .
fe6788
fe6788
%build
fe6788
ant release
fe6788
fe6788
%install
fe6788
%mvn_file : %{name}
fe6788
%mvn_artifact %{SOURCE2} %{name}.jar
fe6788
fe6788
%mvn_install -J apidocs
fe6788
fe6788
%files -f .mfiles
fe6788
%license license.txt
fe6788
fe6788
%files javadoc -f .mfiles-javadoc
fe6788
%license license.txt
fe6788
fe6788
%changelog
fe6788
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0-0.23.release20050331
fe6788
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
fe6788
fe6788
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0-0.22.release20050331
fe6788
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fe6788
fe6788
* Wed Mar 22 2017 Michael Simacek <msimacek@redhat.com> - 1:0-0.21.release20050331
fe6788
- Install with XMvn
fe6788
fe6788
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0-0.20.release20050331
fe6788
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fe6788
fe6788
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0-0.19.release20050331
fe6788
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fe6788
fe6788
* Tue Jul 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0-0.18.release20050331
fe6788
- Add build-requires on javapackages-local
fe6788
fe6788
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0-0.17.release20050331
fe6788
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fe6788
fe6788
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0-0.16.release20050331
fe6788
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fe6788
fe6788
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:0-0.15.release20050331
fe6788
- Use Requires: java-headless rebuild (#1067528)
fe6788
fe6788
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0-0.14.release20050331
fe6788
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fe6788
fe6788
* Fri Jun 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0-0.13.release20050331
fe6788
- Update to current packaging guidelines
fe6788
fe6788
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0-0.12.release20050331
fe6788
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fe6788
fe6788
* Thu Nov  1 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0-0.11.release20050331
fe6788
- Add maven POM
fe6788
fe6788
* Mon Oct 22 2012 Mat Booth <fedora@matbooth.co.uk> - 1:0-0.10.release20050331
fe6788
- Include license text in %%doc section
fe6788
fe6788
* Sun Oct 21 2012 Mat Booth <fedora@matbooth.co.uk> - 1:0-0.9.release20050331
fe6788
- A portion of /org/iso_relax/verifier/VerifierFactory.java is licenced under ASL 1.1
fe6788
fe6788
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0-0.8.release20050331
fe6788
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
fe6788
fe6788
* Fri Apr 6 2012 Alexander Kurtakov <akurtako@redhat.com> 1:0-0.7.release20050331
fe6788
- Update to current guidelines.
fe6788
- Drop all fake BR/R now.
fe6788
fe6788
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0-0.6.release20050331
fe6788
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fe6788
fe6788
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0-0.5.release20050331
fe6788
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fe6788
fe6788
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0-0.4.release20050331
fe6788
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
fe6788
fe6788
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0-0.3.release20050331
fe6788
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
fe6788
fe6788
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0-0.2.release20050331
fe6788
- drop repotag
fe6788
fe6788
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.1.release20050331.1jpp.3
fe6788
- fix license tag
fe6788
fe6788
* Tue Mar 06 2007 Vivek Lakshmanan <vivekl@redhat.com> 1:0-0.1.release20050331.1jpp.2.fc7
fe6788
- Rebuild
fe6788
fe6788
* Tue Mar 06 2007 Vivek Lakshmanan <vivekl@redhat.com> 1:0-0.1.release20050331.1jpp.1.fc7
fe6788
- First Fedora build
fe6788
fe6788
* Mon Feb 12 2007 Andrew Overholt <overholt@redhat.com> 1:0-0.1.release20050331.1jpp.1
fe6788
- Clean up
fe6788
- Remove tests
fe6788
- Fix e:nvr for new scheme (0.Z.tag.Xjpp.Y%%{?dist}) and bump epoch for
fe6788
  upgrades
fe6788
- Add instructions for how to create source drop
fe6788
- Don't do javadoc symlinking in %%post{,un}
fe6788
- Remove Obsoletes and Provides on isorelax-bootstrap as they were never
fe6788
  shipped in Fedora and I don't know what version to Obsolete/Provide
fe6788
fe6788
* Wed Mar 22 2006 Ralph Apel <r.apel at r-apel.de> 0:0.1-0.20041111.2jpp
fe6788
- By default omit tests requiring xercesjarv
fe6788
- Add postun for javadoc
fe6788
- Drop useless macros for name, version, etc.
fe6788
fe6788
* Tue Aug 23 2005 Ralph Apel <r.apel at r-apel.de> 0:0.1-0.20041111.1jpp
fe6788
- Upgrade to 20041111
fe6788
fe6788
* Fri Apr 22 2005 Fernando Nasser <fnasser@redhat.com> 0:0.1-0.20030108.3jpp
fe6788
- Rebuild with standard version scheme
fe6788
fe6788
* Wed Aug 25 2004 Ralph Apel <r.apel at r-apel.de> 0:0.1-0.20030108.2jpp
fe6788
- Build with ant-1.6.2
fe6788
fe6788
* Tue Jul 06 2004 Ralph Apel <r.apel at r-apel.de> 0:0.1-0.20030108.1jpp
fe6788
- First build from sources into free section
fe6788
- Use xercesjarv instead of swift as verifier impl