diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e9fa099 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/isorelax-release-20050331-src.tar.bz2 diff --git a/.rh-maven36-isorelax.metadata b/.rh-maven36-isorelax.metadata new file mode 100644 index 0000000..d8635e9 --- /dev/null +++ b/.rh-maven36-isorelax.metadata @@ -0,0 +1 @@ +e8c5ef03441f805a293c969f258febd1cb43983f SOURCES/isorelax-release-20050331-src.tar.bz2 diff --git a/SOURCES/isorelax-20030108.pom b/SOURCES/isorelax-20030108.pom new file mode 100644 index 0000000..9f349fe --- /dev/null +++ b/SOURCES/isorelax-20030108.pom @@ -0,0 +1,6 @@ + + 4.0.0 + isorelax + isorelax + 20030108 + \ No newline at end of file diff --git a/SOURCES/isorelax-apidocsandcompressedjar.patch b/SOURCES/isorelax-apidocsandcompressedjar.patch new file mode 100644 index 0000000..afee8c5 --- /dev/null +++ b/SOURCES/isorelax-apidocsandcompressedjar.patch @@ -0,0 +1,44 @@ +Index: build.xml +=================================================================== +RCS file: /cvsroot/iso-relax/build.xml,v +retrieving revision 1.2 +diff -u -p -r1.2 build.xml +--- build.xml 11 Nov 2004 13:32:16 -0000 1.2 ++++ build.xml 13 Feb 2007 15:39:47 -0000 +@@ -12,6 +12,26 @@ + + + ++ ++ ++ ++ ++ + + + version=${DSTAMP} +@@ -32,8 +52,7 @@ + + + +- ++ + + + diff --git a/SOURCES/license.txt b/SOURCES/license.txt new file mode 100644 index 0000000..93e36f9 --- /dev/null +++ b/SOURCES/license.txt @@ -0,0 +1,66 @@ +The MIT License (MIT) + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +Apache Software License +Version 1.1 + +Copyright (c) 2000 The Apache Software Foundation. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +3. The end-user documentation included with the redistribution, if any, must +include the following acknowledgment: + +"This product includes software developed by the Apache Software Foundation +(http://www.apache.org/)." + +Alternately, this acknowledgment may appear in the software itself, if and +wherever such third-party acknowledgments normally appear. + +4. The names "Apache" and "Apache Software Foundation" must not be used to +endorse or promote products derived from this software without prior written +permission. For written permission, please contact apache@apache.org. + +5. Products derived from this software may not be called "Apache", nor may +"Apache" appear in their name, without prior written permission of the Apache +Software Foundation. + +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE +SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +This software consists of voluntary contributions made by many individuals on +behalf of the Apache Software Foundation. For more information on the Apache +Software Foundation, please see . diff --git a/SPECS/isorelax.spec b/SPECS/isorelax.spec new file mode 100644 index 0000000..168a322 --- /dev/null +++ b/SPECS/isorelax.spec @@ -0,0 +1,211 @@ +%{?scl:%scl_package isorelax} +%{!?scl:%global pkg_name %{name}} + +# Copyright (c) 2000-2005, JPackage Project +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the +# distribution. +# 3. Neither the name of the JPackage Project nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +%global cvstag release-20050331 + +Name: %{?scl_prefix}isorelax +Summary: Public interfaces for RELAX Core +URL: http://iso-relax.sourceforge.net/ +Epoch: 1 +Version: 0 +# I can't use %%{cvstag} as dashes aren't allowed in Release tags +Release: 0.24.release20050331.2%{?dist} +# Parts of VerifierFactory.java were copied from Apache Batik and are +# under ASL 1.1, everything else is under MIT. +License: MIT and ASL 1.1 +BuildArch: noarch + +# mkdir isorelax-release-20050331-src +# cd isorelax-release-20050331-src +# cvs -d:pserver:anonymous@iso-relax.cvs.sourceforge.net:/cvsroot/iso-relax \ +# export -r release-20050331 src lib +# cvs -d:pserver:anonymous@iso-relax.cvs.sourceforge.net:/cvsroot/iso-relax \ +# co -r release-20050331 build.xml +# rm -rf CVS +# cd .. +# tar cjf isorelax-release-20050331-src.tar.bz2 isorelax-release-20050331-src +Source0: %{pkg_name}-%{cvstag}-src.tar.bz2 +# There's no license in the upstream tarball so include it here +Source1: license.txt +Source2: http://repo2.maven.org/maven2/%{pkg_name}/%{pkg_name}/20030108/%{pkg_name}-20030108.pom +Patch0: %{pkg_name}-apidocsandcompressedjar.patch + +BuildRequires: %{?scl_prefix}javapackages-local +BuildRequires: %{?scl_prefix}ant + +%description +The ISO RELAX project was started to host public interfaces +useful for applications to support RELAX Core. Now, however, +some of the hosted material is schema language-neutral. + +%package javadoc +Summary: API documentation for %{pkg_name} + +%description javadoc +%{summary}. + +%prep +%setup -q -n %{pkg_name}-%{cvstag}-src +find -name "*.jar" -delete +ln -s %{_javadir}/ant.jar lib/ +%patch0 -p0 +cp %{SOURCE1} . + +%build +ant release + +%install +%mvn_file : %{pkg_name} +%mvn_artifact %{SOURCE2} %{pkg_name}.jar + +%mvn_install -J apidocs + +%files -f .mfiles +%license license.txt + +%files javadoc -f .mfiles-javadoc +%license license.txt + +%changelog +* Wed Sep 4 2019 Mikolaj Izdebski - 1:0-0.24.release20050331.2 +- Mass rebuild 2019-09-04 + +* Tue Sep 3 2019 Java Maintainers - 1:0-0.24.release20050331.1 +- Automated package import and SCL-ization + +* Fri May 24 2019 Mikolaj Izdebski - 1:0-0.24.release20050331 +- Mass rebuild for javapackages-tools 201901 + +* Wed Feb 07 2018 Fedora Release Engineering - 1:0-0.23.release20050331 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1:0-0.22.release20050331 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Mar 22 2017 Michael Simacek - 1:0-0.21.release20050331 +- Install with XMvn + +* Fri Feb 10 2017 Fedora Release Engineering - 1:0-0.20.release20050331 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1:0-0.19.release20050331 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jul 14 2015 Mikolaj Izdebski - 1:0-0.18.release20050331 +- Add build-requires on javapackages-local + +* Wed Jun 17 2015 Fedora Release Engineering - 1:0-0.17.release20050331 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1:0-0.16.release20050331 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Mar 04 2014 Stanislav Ochotnicky - 1:0-0.15.release20050331 +- Use Requires: java-headless rebuild (#1067528) + +* Sat Aug 03 2013 Fedora Release Engineering - 1:0-0.14.release20050331 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Jun 14 2013 Mikolaj Izdebski - 1:0-0.13.release20050331 +- Update to current packaging guidelines + +* Thu Feb 14 2013 Fedora Release Engineering - 1:0-0.12.release20050331 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 1 2012 Mikolaj Izdebski - 1:0-0.11.release20050331 +- Add maven POM + +* Mon Oct 22 2012 Mat Booth - 1:0-0.10.release20050331 +- Include license text in %%doc section + +* Sun Oct 21 2012 Mat Booth - 1:0-0.9.release20050331 +- A portion of /org/iso_relax/verifier/VerifierFactory.java is licenced under ASL 1.1 + +* Thu Jul 19 2012 Fedora Release Engineering - 1:0-0.8.release20050331 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Apr 6 2012 Alexander Kurtakov 1:0-0.7.release20050331 +- Update to current guidelines. +- Drop all fake BR/R now. + +* Fri Jan 13 2012 Fedora Release Engineering - 1:0-0.6.release20050331 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 1:0-0.5.release20050331 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 1:0-0.4.release20050331 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 1:0-0.3.release20050331 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Jul 9 2008 Tom "spot" Callaway - 1:0-0.2.release20050331 +- drop repotag + +* Thu May 29 2008 Tom "spot" Callaway 1:0-0.1.release20050331.1jpp.3 +- fix license tag + +* Tue Mar 06 2007 Vivek Lakshmanan 1:0-0.1.release20050331.1jpp.2.fc7 +- Rebuild + +* Tue Mar 06 2007 Vivek Lakshmanan 1:0-0.1.release20050331.1jpp.1.fc7 +- First Fedora build + +* Mon Feb 12 2007 Andrew Overholt 1:0-0.1.release20050331.1jpp.1 +- Clean up +- Remove tests +- Fix e:nvr for new scheme (0.Z.tag.Xjpp.Y%%{?dist}) and bump epoch for + upgrades +- Add instructions for how to create source drop +- Don't do javadoc symlinking in %%post{,un} +- Remove Obsoletes and Provides on isorelax-bootstrap as they were never + shipped in Fedora and I don't know what version to Obsolete/Provide + +* Wed Mar 22 2006 Ralph Apel 0:0.1-0.20041111.2jpp +- By default omit tests requiring xercesjarv +- Add postun for javadoc +- Drop useless macros for name, version, etc. + +* Tue Aug 23 2005 Ralph Apel 0:0.1-0.20041111.1jpp +- Upgrade to 20041111 + +* Fri Apr 22 2005 Fernando Nasser 0:0.1-0.20030108.3jpp +- Rebuild with standard version scheme + +* Wed Aug 25 2004 Ralph Apel 0:0.1-0.20030108.2jpp +- Build with ant-1.6.2 + +* Tue Jul 06 2004 Ralph Apel 0:0.1-0.20030108.1jpp +- First build from sources into free section +- Use xercesjarv instead of swift as verifier impl