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-java-common-isorelax.metadata b/.rh-java-common-isorelax.metadata new file mode 100644 index 0000000..d8635e9 --- /dev/null +++ b/.rh-java-common-isorelax.metadata @@ -0,0 +1 @@ +e8c5ef03441f805a293c969f258febd1cb43983f SOURCES/isorelax-release-20050331-src.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet 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..a61d2ef --- /dev/null +++ b/SPECS/isorelax.spec @@ -0,0 +1,232 @@ +%global pkg_name isorelax +%{?scl:%scl_package %{pkg_name}} +%{?java_common_find_provides_and_requires} + +# 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}%{pkg_name} +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.15.release20050331.12%{?dist} +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-tools +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 +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +find -name "*.jar" -delete +ln -s %{_javadir}/ant.jar lib/ +%patch0 -p0 +cp %{SOURCE1} . +%{?scl:EOF} + +%build +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +ant release +%{?scl:EOF} + +%install +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +# jars +install -d -m 755 $RPM_BUILD_ROOT%{_javadir} +install -m 644 %{pkg_name}.jar $RPM_BUILD_ROOT%{_javadir}/ + +# javadoc +install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name} +cp -pr apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}/ + +# POM and depmap +install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} +install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{pkg_name}.pom +%add_maven_depmap +%{?scl:EOF} + +%files -f .mfiles +%doc license.txt + +%files javadoc +%doc license.txt +%{_javadocdir}/* + +%changelog +* Tue Jan 13 2015 Michael Simacek - 1:0-0.15.release20050331.12 +- Mass rebuild 2015-01-13 + +* Fri Jan 09 2015 Michal Srb - 1:0-0.15.release20050331.11 +- Mass rebuild 2015-01-09 + +* Tue Dec 16 2014 Mikolaj Izdebski - 1:0-0.15.release20050331.10 +- Migrate requires and build-requires to rh-java-common + +* Mon Dec 15 2014 Mikolaj Izdebski - 1:0-0.15.release20050331.9 +- Mass rebuild 2014-12-15 + +* Mon Dec 15 2014 Mikolaj Izdebski - 1:0-0.15.release20050331.8 +- Rebuild for rh-java-common collection + +* Mon May 26 2014 Mikolaj Izdebski - 1:0-0.15.release20050331.7 +- Mass rebuild 2014-05-26 + +* Wed Feb 19 2014 Mikolaj Izdebski - 1:0-0.15.release20050331.6 +- Mass rebuild 2014-02-19 + +* Tue Feb 18 2014 Mikolaj Izdebski - 1:0-0.15.release20050331.5 +- Mass rebuild 2014-02-18 + +* Tue Feb 18 2014 Mikolaj Izdebski - 1:0-0.15.release20050331.4 +- Remove requires on java + +* Mon Feb 17 2014 Mikolaj Izdebski - 1:0-0.15.release20050331.3 +- SCL-ize build-requires + +* Thu Feb 13 2014 Mikolaj Izdebski - 1:0-0.15.release20050331.2 +- Rebuild to regenerate auto-requires + +* Tue Feb 11 2014 Mikolaj Izdebski - 1:0-0.15.release20050331.1 +- First maven30 software collection build + +* Fri Dec 27 2013 Daniel Mach - 1:0-0.15.release20050331 +- Mass rebuild 2013-12-27 + +* Fri Jun 28 2013 Mikolaj Izdebski - 1:0-0.14.release20050331 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* 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