Blame SPECS/dom4j.spec

Brian Stinson 19891f
# Copyright (c) 2000-2007, JPackage Project
Brian Stinson 19891f
# All rights reserved.
Brian Stinson 19891f
#
Brian Stinson 19891f
# Redistribution and use in source and binary forms, with or without
Brian Stinson 19891f
# modification, are permitted provided that the following conditions
Brian Stinson 19891f
# are met:
Brian Stinson 19891f
#
Brian Stinson 19891f
# 1. Redistributions of source code must retain the above copyright
Brian Stinson 19891f
#    notice, this list of conditions and the following disclaimer.
Brian Stinson 19891f
# 2. Redistributions in binary form must reproduce the above copyright
Brian Stinson 19891f
#    notice, this list of conditions and the following disclaimer in the
Brian Stinson 19891f
#    documentation and/or other materials provided with the
Brian Stinson 19891f
#    distribution.
Brian Stinson 19891f
# 3. Neither the name of the JPackage Project nor the names of its
Brian Stinson 19891f
#    contributors may be used to endorse or promote products derived
Brian Stinson 19891f
#    from this software without specific prior written permission.
Brian Stinson 19891f
#
Brian Stinson 19891f
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
Brian Stinson 19891f
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Brian Stinson 19891f
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Brian Stinson 19891f
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
Brian Stinson 19891f
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
Brian Stinson 19891f
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
Brian Stinson 19891f
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
Brian Stinson 19891f
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
Brian Stinson 19891f
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
Brian Stinson 19891f
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
Brian Stinson 19891f
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Brian Stinson 19891f
#
Brian Stinson 19891f
Brian Stinson 19891f
Name:           dom4j
Brian Stinson 19891f
Version:        2.0.0
Brian Stinson 19891f
Release:        4%{?dist}
Brian Stinson 19891f
Epoch:          0
Brian Stinson 19891f
Summary:        Open Source XML framework for Java
Brian Stinson 19891f
License:        BSD
Brian Stinson 19891f
URL:            https://dom4j.github.io/
Brian Stinson 19891f
BuildArch:      noarch
Brian Stinson 19891f
Brian Stinson 19891f
Source0:        https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz
Brian Stinson 19891f
Source1:        https://repo1.maven.org/maven2/org/%{name}/%{name}/%{version}/%{name}-%{version}.pom
Brian Stinson 19891f
Brian Stinson 19891f
Obsoletes:      %{name}-demo < 2.0.0
Brian Stinson 19891f
Obsoletes:      %{name}-manual < 2.0.0
Brian Stinson 19891f
Brian Stinson 19891f
BuildRequires:  maven-local
Brian Stinson 19891f
BuildRequires:  mvn(jaxen:jaxen)
Brian Stinson 19891f
BuildRequires:  mvn(javax.xml.stream:stax-api)
Brian Stinson 19891f
BuildRequires:  mvn(net.java.dev.msv:xsdlib)
Brian Stinson 19891f
BuildRequires:  mvn(xpp3:xpp3)
Brian Stinson 19891f
BuildRequires:  mvn(javax.xml.bind:jaxb-api)
Brian Stinson 19891f
Brian Stinson 19891f
# Test deps
Brian Stinson 19891f
BuildRequires:  mvn(org.testng:testng)
Brian Stinson 19891f
BuildRequires:  mvn(xerces:xercesImpl)
Brian Stinson 19891f
BuildRequires:  mvn(xalan:xalan)
Brian Stinson 19891f
Brian Stinson 19891f
%description
Brian Stinson 19891f
dom4j is an Open Source XML framework for Java. dom4j allows you to read,
Brian Stinson 19891f
write, navigate, create and modify XML documents. dom4j integrates with
Brian Stinson 19891f
DOM and SAX and is seamlessly integrated with full XPath support.
Brian Stinson 19891f
Brian Stinson 19891f
%package javadoc
Brian Stinson 19891f
Summary:        Javadoc for %{name}
Brian Stinson 19891f
Brian Stinson 19891f
%description javadoc
Brian Stinson 19891f
Javadoc for %{name}.
Brian Stinson 19891f
Brian Stinson 19891f
Brian Stinson 19891f
%prep
Brian Stinson 19891f
%setup -q
Brian Stinson 19891f
Brian Stinson 19891f
%mvn_alias org.%{name}:%{name} %{name}:%{name}
Brian Stinson 19891f
%mvn_file : %{name}/%{name} %{name}
Brian Stinson 19891f
Brian Stinson 19891f
cp %{SOURCE1} pom.xml
Brian Stinson 19891f
Brian Stinson 19891f
# optional deps missing from pom
Brian Stinson 19891f
%pom_add_dep javax.xml.stream:stax-api::provided
Brian Stinson 19891f
%pom_add_dep net.java.dev.msv:xsdlib::provided
Brian Stinson 19891f
%pom_add_dep xpp3:xpp3::provided
Brian Stinson 19891f
%pom_add_dep javax.xml.bind:jaxb-api::provided
Brian Stinson 19891f
Brian Stinson 19891f
# Remove support for ancient xpp2 (deprecated and not developed since 2003)
Brian Stinson 19891f
rm -r src/main/java/org/dom4j/xpp
Brian Stinson 19891f
rm src/main/java/org/dom4j/io/XPPReader.java
Brian Stinson 19891f
Brian Stinson 19891f
# non-deterministic test
Brian Stinson 19891f
rm src/test/java/org/dom4j/util/PerThreadSingletonTest.java
Brian Stinson 19891f
Brian Stinson 19891f
%build
Brian Stinson 19891f
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
Brian Stinson 19891f
Brian Stinson 19891f
%install
Brian Stinson 19891f
%mvn_install
Brian Stinson 19891f
Brian Stinson 19891f
%files -f .mfiles
Brian Stinson 19891f
%license LICENSE
Brian Stinson 19891f
%doc README.md
Brian Stinson 19891f
Brian Stinson 19891f
%files javadoc -f .mfiles-javadoc
Brian Stinson 19891f
%license LICENSE
Brian Stinson 19891f
Brian Stinson 19891f
%changelog
Brian Stinson 19891f
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.0.0-4
Brian Stinson 19891f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Oct 04 2017 Michael Simacek <msimacek@redhat.com> - 0:2.0.0-3
Brian Stinson 19891f
- Explicitly specify source encoding
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.0.0-2
Brian Stinson 19891f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Mar 29 2017 Michael Simacek <msimacek@redhat.com> - 0:2.0.0-1
Brian Stinson 19891f
- Upgrade to upstream version 2.0.0
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Mar 22 2017 Michael Simacek <msimacek@redhat.com> - 0:1.6.1-30
Brian Stinson 19891f
- Drop support for ancient xpp2
Brian Stinson 19891f
Brian Stinson 19891f
* Tue Mar  7 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.6.1-29
Brian Stinson 19891f
- Don't hardcode package name
Brian Stinson 19891f
Brian Stinson 19891f
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.6.1-28
Brian Stinson 19891f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.6.1-27
Brian Stinson 19891f
- Fix build-dependency on jaxen
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.6.1-26
Brian Stinson 19891f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.6.1-25
Brian Stinson 19891f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
Brian Stinson 19891f
Brian Stinson 19891f
* Tue Jun 09 2015 Michal Srb <msrb@redhat.com> - 0:1.6.1-24
Brian Stinson 19891f
- Add symlink for backward compatibility
Brian Stinson 19891f
Brian Stinson 19891f
* Mon Jun 08 2015 Michal Srb <msrb@redhat.com> - 0:1.6.1-23
Brian Stinson 19891f
- Adapt to current guidelines
Brian Stinson 19891f
Brian Stinson 19891f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.6.1-22
Brian Stinson 19891f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Brian Stinson 19891f
Brian Stinson 19891f
* Thu May 29 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.6.1-21
Brian Stinson 19891f
- Use .mfiles generated during build
Brian Stinson 19891f
Brian Stinson 19891f
* Fri Dec 06 2013 Michal Srb <msrb@redhat.com> - 0:1.6.1-20
Brian Stinson 19891f
- Add ability to disable HTML handling
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Oct 16 2013 Michal Srb <msrb@redhat.com> - 0:1.6.1-19
Brian Stinson 19891f
- Port to JAXP 1.4
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Aug 07 2013 Michal Srb <msrb@redhat.com> - 0:1.6.1-18
Brian Stinson 19891f
- Unversioned doc dir (Resolves: #993729)
Brian Stinson 19891f
- See: http://fedoraproject.org/wiki/Changes/UnversionedDocdirs
Brian Stinson 19891f
Brian Stinson 19891f
* Fri Aug 02 2013 Michal Srb <msrb@redhat.com> - 0:1.6.1-17
Brian Stinson 19891f
- Add create-tarball.sh script to SRPM
Brian Stinson 19891f
Brian Stinson 19891f
* Thu Jul 25 2013 Michal Srb <msrb@redhat.com> - 0:1.6.1-16
Brian Stinson 19891f
- Properly remove references to ConcurrentReaderHashMap
Brian Stinson 19891f
Brian Stinson 19891f
* Tue Jul 02 2013 Michal Srb <msrb@redhat.com> - 0:1.6.1-15
Brian Stinson 19891f
- Remove file with unclear licensing (Resolves: rhbz#976180)
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Jun 19 2013 Michal Srb <msrb@redhat.com> - 0:1.6.1-14
Brian Stinson 19891f
- Install license file with javadoc subpackage
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.6.1-13
Brian Stinson 19891f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Brian Stinson 19891f
Brian Stinson 19891f
* Thu Nov  1 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.6.1-12
Brian Stinson 19891f
- Add maven POM
Brian Stinson 19891f
Brian Stinson 19891f
* Mon Oct 29 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.6.1-11
Brian Stinson 19891f
- Cleanup source tarball from non-free content
Brian Stinson 19891f
- Resolves: rhbz#848875
Brian Stinson 19891f
Brian Stinson 19891f
* Fri Oct 12 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.6.1-10
Brian Stinson 19891f
- Disable test dependencies because tests are skipped
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.6.1-9
Brian Stinson 19891f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Brian Stinson 19891f
Brian Stinson 19891f
* Fri Apr 6 2012 Alexander Kurtakov <akurtako@redhat.com> 0:1.6.1-8
Brian Stinson 19891f
- Simplify packaging and remove old things.
Brian Stinson 19891f
Brian Stinson 19891f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.6.1-7
Brian Stinson 19891f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Brian Stinson 19891f
Brian Stinson 19891f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.6.1-6
Brian Stinson 19891f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Brian Stinson 19891f
Brian Stinson 19891f
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.6.1-5
Brian Stinson 19891f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Brian Stinson 19891f
Brian Stinson 19891f
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.6.1-4
Brian Stinson 19891f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.1-3
Brian Stinson 19891f
- drop repotag
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Oct 17 2007 Deepak Bhole <dbhole@redhat.com> 1.6.1-2jpp.3
Brian Stinson 19891f
- Resaolve bz#302321: Add copyright header that was accidentally removed.
Brian Stinson 19891f
Brian Stinson 19891f
* Mon Mar 26 2007 Nuno Santos <nsantos@redhat.com> - 0:1.6.1-2jpp.2
Brian Stinson 19891f
- fix unowned directory
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Feb 14 2007 Jeff Johnston <jjohnstn@redhat.com> - 0:1.6.1-2jpp.1
Brian Stinson 19891f
- Resolves: #227049
Brian Stinson 19891f
- Updated per Fedora package review process
Brian Stinson 19891f
- Modified dom4j-1.6.1-build_xml.patch to include jaxp 1.2 apis on
Brian Stinson 19891f
  boot classpath
Brian Stinson 19891f
- Added new patch for javadocs
Brian Stinson 19891f
- Add buildrequires for jaxp = 1.2
Brian Stinson 19891f
Brian Stinson 19891f
* Mon Jan 30 2006 Ralph Apel <r.apel@r-apel.de> - 0:1.6.1-2jpp
Brian Stinson 19891f
- Change STAX dependency to free bea-stax and bea-stax-api
Brian Stinson 19891f
Brian Stinson 19891f
* Wed Aug 17 2005 Ralph Apel <r.apel@r-apel.de> - 0:1.6.1-1jpp
Brian Stinson 19891f
- Upgrade to 1.6.1
Brian Stinson 19891f
- Now requires xpp3 additionally to xpp2
Brian Stinson 19891f
Brian Stinson 19891f
* Thu Sep 09 2004 Ralph Apel <r.apel@r-apel.de> - 0:1.5-1jpp
Brian Stinson 19891f
- Upgrade to 1.5
Brian Stinson 19891f
- Drop saxpath requirement as this is now included in jaxen
Brian Stinson 19891f
Brian Stinson 19891f
* Fri Aug 20 2004 Ralph Apel <r.apel@r-apel.de> - 0:1.4-3jpp
Brian Stinson 19891f
- Upgrade to Ant 1.6.X
Brian Stinson 19891f
- Build with ant-1.6.2
Brian Stinson 19891f
Brian Stinson 19891f
* Tue Jul 06 2004 Ralph Apel <r.apel@r-apel.de> - 0:1.4-2jpp
Brian Stinson 19891f
- Replace non-free msv with free relaxngDatatype xsdlib isorelax msv-strict
Brian Stinson 19891f
- Relax some versioned dependencies
Brian Stinson 19891f
Brian Stinson 19891f
* Mon Jan 19 2004 Ralph Apel <r.apel@r-apel.de> - 0:1.4-1jpp
Brian Stinson 19891f
- First JPackage release