Blame SPECS/dom4j.spec

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