Compare commits

...
Sign in to create a new pull request.

30 commits

Author SHA1 Message Date
Miro Hrončok
d6f53115f5 Orphaned for 6+ weeks 2019-09-11 12:54:59 +02:00
Fedora Release Engineering
b8d984f3a3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 04:20:08 +00:00
Fedora Release Engineering
d4d2461952 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 12:32:29 +00:00
Fedora Release Engineering
761063515c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:23:05 +00:00
Fedora Release Engineering
eec316627f - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 21:46:22 +00:00
Merlin Mathesius
1543413f62 Remove unnecessary conditional 2018-01-09 07:37:02 -06:00
Merlin Mathesius
147b1acd7c As of F27, add_maven_depmap macro is now located in javapackages-local.
Added BuildRequires javapackages-local to provide needed POM editor macro.
2018-01-08 15:52:14 -06:00
Fedora Release Engineering
ffa218e847 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 22:12:59 +00:00
Fedora Release Engineering
a7b48bc193 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:57:01 +00:00
Mikolaj Izdebski
108838f362 fix build-classpath against current saxon 2016-06-03 14:25:57 +02:00
Fedora Release Engineering
3de110df85 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:35:37 +00:00
Dennis Gilmore
7b2f86f132 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 04:08:17 +00:00
gil
519fabab2b build fix for Java8 2015-02-15 03:24:59 +01:00
gil
75d2a0d6bb introduce license macro 2015-02-15 02:25:26 +01:00
gil
281cb507b3 introduce license macro 2015-02-13 19:07:27 +01:00
Dennis Gilmore
8c958ffae7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 01:05:19 -05:00
Stanislav Ochotnicky
cc9fd2585a Use Requires: java-headless rebuild (#1067528) 2014-03-04 09:05:10 +01:00
Ville Skyttä
9f061b3da8 Install docs to %{_pkgdocdir} where available (#993883). 2013-08-12 11:48:41 +03:00
Dennis Gilmore
95db67c837 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 03:29:07 -05:00
Stanislav Ochotnicky
a6dda4f9f2 Update to latest packaging guidelines 2013-06-12 17:23:50 +02:00
Matt Spaulding
cf032e5531 Merge branch 'master' of ssh://pkgs.fedoraproject.org/xmlbeans
Conflicts:
	xmlbeans.spec
2013-03-03 14:43:56 -08:00
Matt Spaulding
8cfea08bdb Fix classpath for scripts (#892690) 2013-03-03 14:24:41 -08:00
Dennis Gilmore
96af8a1ad4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 21:49:46 -06:00
Matt Spaulding
10cb3ba342 Updated to latest version 2.6.0 (#824022)
Updated java target to 1.5 (#842625)

Updated for current java guidelines
2012-10-13 13:27:51 -07:00
gil
75e8f6e2e5 Add maven POMs 2012-07-17 17:53:25 +02:00
Stanislav Ochotnicky
effd440c80 Fix some weird whitespace issues in patch 2012-05-23 14:29:42 +02:00
Mikolaj Izdebski
f2797f67ea Update to newer saxon API 2012-05-23 14:10:40 +02:00
Dennis Gilmore
53a0d9c1be - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 03:03:03 -06:00
Dennis Gilmore
dfc6703918 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 23:28:38 -06:00
Fedora Release Engineering
24f2d9ae33 dist-git conversion 2010-07-29 15:55:56 +00:00
6 changed files with 1 additions and 294 deletions

View file

@ -1 +0,0 @@
xmlbeans-2.4.0-src.tgz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: xmlbeans
# $Id$
NAME := xmlbeans
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

1
dead.package Normal file
View file

@ -0,0 +1 @@
Orphaned for 6+ weeks

View file

@ -1 +0,0 @@
64412ab1f19d90112335062bfa90f7c8 xmlbeans-2.4.0-src.tgz

View file

@ -1,40 +0,0 @@
Do not foolishly attempt to download jars from the internets.
diff -up xmlbeans-2.4.0/build.xml.nodownload xmlbeans-2.4.0/build.xml
--- xmlbeans-2.4.0/build.xml.nodownload 2008-06-10 15:42:37.000000000 +0200
+++ xmlbeans-2.4.0/build.xml 2009-11-03 15:53:11.000000000 +0100
@@ -112,7 +112,7 @@
http://easynews.dl.sourceforge.net/sourceforge/saxon/saxonb8-7-3j.zip
http://easynews.dl.sourceforge.net/sourceforge/saxon/saxonb8-8j.zip
-->
- <get dest="external/lib/saxonb9-0-0-4j.zip"
+ <!-- get dest="external/lib/saxonb9-0-0-4j.zip"
src="http://prdownloads.sourceforge.net/saxon/saxonb9-0-0-4j.zip"
verbose="true" usetimestamp="true" ignoreerrors="true"/>
<unzip src="external/lib/saxonb9-0-0-4j.zip" dest="external/lib/">
@@ -120,7 +120,7 @@
<include name="saxon9.jar"/>
<include name="saxon9-dom.jar"/>
</patternset>
- </unzip>
+ </unzip-->
<copy file="external/lib/saxon9.jar" tofile="build/lib/saxon9.jar"/>
<!-- saxon9-dom.jar is used to register DOMObjectModel -->
@@ -147,14 +147,14 @@
</condition>
</target>
- <target name="jsr173_1.0.jars"
+ <target name="jsr173_1.0.jars"><!--
depends="jsr173-bundle.jar, jsr173_1.0.jars.extracted"
unless="jsr173_1.0.jars.exist">
<unjar src="external/lib/jsr173_1.0_api_bundle.jar" dest="external/lib" >
<patternset>
<include name="jsr173_1.0_api.jar"/>
</patternset>
- </unjar>
+ </unjar!-->
<!-- copy jsr173 API jar and license files to build/lib -->
<copy file="external/lib/jsr173_1.0_api.jar" tofile="build/lib/jsr173_1.0_api.jar"/>

View file

@ -1,231 +0,0 @@
# 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.
#
%bcond_with bootstrap
Name: xmlbeans
Version: 2.4.0
Release: 6%{?dist}%{?with_bootstrap:.boot}
Summary: XML-Java binding tool
Group: Development/Libraries
URL: http://xmlbeans.apache.org/
Source0: http://www.apache.org/dist/xmlbeans/source/%{name}-%{version}-src.tgz
Patch0: xmlbeans-2.4.0-nodownload.patch
License: ASL 2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if %without bootstrap
BuildRequires: xmlbeans
%endif
BuildRequires: jpackage-utils >= 0:1.5
BuildRequires: ant >= 0:1.6, ant-junit, ant-contrib, junit
BuildRequires: ant >= 0:1.6, ant-junit, junit
BuildRequires: xml-commons-resolver >= 0:1.1
BuildRequires: bea-stax-api
BuildRequires: saxon >= 8
BuildRequires: java-devel-openjdk
Requires: jpackage-utils >= 0:1.6
BuildArch: noarch
%description
XMLBeans is a tool that allows you to access the full power
of XML in a Java friendly way. It is an XML-Java binding tool.
The idea is that you can take advantage the richness and
features of XML and XML Schema and have these features mapped
as naturally as possible to the equivalent Java language and
typing constructs. XMLBeans uses XML Schema to compile Java
interfaces and classes that you can then use to access and
modify XML instance data. Using XMLBeans is similar to using
any other Java interface/class, you will see things like
getFoo or setFoo just as you would expect when working with
Java. While a major use of XMLBeans is to access your XML
instance data with strongly typed Java classes there are also
API's that allow you access to the full XML infoset (XMLBeans
keeps full XML Infoset fidelity) as well as to allow you to
reflect into the XML schema itself through an XML Schema
Object model.
%package javadoc
Summary: Javadoc for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
%description javadoc
%{summary}.
%package manual
Summary: Documents for %{name}
Group: Documentation
%description manual
%{summary}.
%package scripts
Summary: Scripts for %{name}
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
%description scripts
%{summary}.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .nodownload
%build
# Piccolo and jam are rebuilt from source and bundled with xbean
# ant clean.jars leaves some dangling jars around, do not use it
find . \( -name '*.jar' -o -name '*.zip' \) \
-not -name 'piccolo*.jar' -not -name 'jam*.jar' \
%{?with_bootstrap:-not -name 'oldxbean.jar' } \
-print -delete
# Replace bundled libraries
mkdir -p build/lib
ln -sf $(build-classpath xml-commons-resolver) build/lib/resolver.jar
ln -sf $(build-classpath xmlbeans/xbean) external/lib/oldxbean.jar
ln -sf $(build-classpath bea-stax-api) external/lib/jsr173_1.0_api.jar
ln -sf $(build-classpath saxon) external/lib/saxon9.jar
ln -sf $(build-classpath saxon) external/lib/saxon9-dom.jar
# Fix CRLF
sed 's/\r//' -i LICENSE.txt NOTICE.txt README.txt docs/stylesheet.css
# Build
ant default docs
%install
rm -rf $RPM_BUILD_ROOT
# jar
install -d -m 0755 $RPM_BUILD_ROOT%{_javadir}/%{name}
install -p -m 0644 build/lib/xmlpublic.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/xmlpublic-%{version}.jar
install -p -m 0644 build/lib/xbean_xpath.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/xbean_xpath-%{version}.jar
install -p -m 0644 build/lib/xbean.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/xbean-%{version}.jar
ln -s xmlpublic-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/xmlpublic.jar
ln -s xbean_xpath-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/xbean_xpath.jar
ln -s xbean-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/xbean.jar
# bin
install -d -m 0755 $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/dumpxsb $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/inst2xsd $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/scomp $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/sdownload $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/sfactor $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/svalidate $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/validate $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/xpretty $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/xsd2inst $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/xsdtree $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/xstc $RPM_BUILD_ROOT%{_bindir}
# javadoc
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
cp -pr build/docs/reference/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
rm -rf build/docs/reference
# manual
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
cp -pr build/docs/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
# fix line endings
cat $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/guide/tools.html | tr -d \\r > tmp
mv tmp $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/guide/tools.html
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_javadir}/*
%doc LICENSE.txt NOTICE.txt README.txt
%files javadoc
%defattr(0644,root,root,0755)
%doc %{_javadocdir}/%{name}
%files manual
%defattr(0644,root,root,0755)
%{_docdir}/%{name}-%{version}
%files scripts
%defattr(0644,root,root,0755)
%attr(0755,root,root) %{_bindir}/*
%changelog
* Wed Dec 09 2009 Lubomir Rintel <lkundrak@v3.sk> - 2.4.0-6
- Rebuild without bootstrapping
* Fri Nov 27 2009 Lubomir Rintel <lkundrak@v3.sk> - 2.4.0-5
- Fix up saxon dependency
- Drop epoch
- Drop gcj
* Tue Nov 03 2009 Lubomir Rintel <lkundrak@v3.sk> 0:2.4.0-4
- Update to 2.4.0
- Tidy up a bit for Fedora
* Wed Sep 06 2006 Ralph Apel <r.apel at r-apel.de> 0:2.1.0-3jpp
- BuildRequire saxon8 instead of saxonb8
- (B)Require bea-stax-api instead of bea-stax
- Patch maven-plugin's project.xml for bea-stax-api instead of stax-bea-api
- Patch XbeanXQuery to saxon 8.7
- Add gcj_support option
- Add post/postun Requires for javadoc
* Wed Feb 01 2006 Ralph Apel <r.apel at r-apel.de> 0:2.1.0-2jpp
- Install plugin to /usr/share/maven/repository/JPP/plugins
* Mon Jan 30 2006 Ralph Apel <r.apel at r-apel.de> 0:2.1.0-1jpp
- Upgrade to 2.1.0
- Add -maven-plugin subpackage
* Fri Jun 03 2005 Fernando Nasser <fnasser@redhat.com> 0:1.0.4-2jpp
- Add missing build requires for jaxen
* Fri Jun 03 2005 Fernando Nasser <fnasser@redhat.com> 0:1.0.4-1jpp
- Upgrade to 1.0.4
* Thu Sep 30 2004 Ralph Apel <r.apel at r-apel.de> 0:1.0.3-1jpp
- First JPackage build