2021-10-26 06:43:53 +00:00
|
|
|
Name: jaxb-dtd-parser
|
2022-04-21 23:18:42 +00:00
|
|
|
Version: 1.5.0
|
2022-07-08 13:40:05 +00:00
|
|
|
Release: 2%{?dist}
|
2021-10-26 06:43:53 +00:00
|
|
|
Summary: SAX-like API for parsing XML DTDs
|
|
|
|
License: BSD
|
|
|
|
URL: https://github.com/eclipse-ee4j/jaxb-dtd-parser
|
|
|
|
BuildArch: noarch
|
2022-07-08 13:40:05 +00:00
|
|
|
ExclusiveArch: %{java_arches} noarch
|
2021-10-26 10:58:31 +00:00
|
|
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
2022-04-21 23:18:42 +00:00
|
|
|
BuildRequires: git
|
2021-10-26 06:43:53 +00:00
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
2022-04-21 23:18:42 +00:00
|
|
|
BuildRequires: mvn(org.codehaus.mojo:buildnumber-maven-plugin)
|
2021-10-26 06:43:53 +00:00
|
|
|
Provides: glassfish-dtd-parser = %{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
SAX-like API for parsing XML DTDs.
|
|
|
|
|
|
|
|
%package javadoc
|
2021-10-26 10:58:31 +00:00
|
|
|
Summary: API documentation for %{name}
|
2021-10-26 06:43:53 +00:00
|
|
|
%description javadoc
|
2021-10-26 10:58:31 +00:00
|
|
|
API documentation for %{name}.
|
2021-10-26 06:43:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-04-21 23:18:42 +00:00
|
|
|
# -S: enable usage of git repo
|
|
|
|
%autosetup -S git
|
|
|
|
# delete precompiled jar and class files
|
|
|
|
find -type f '(' -iname '*.jar' -o -iname '*.class' ')' -print -delete
|
2021-10-26 06:43:53 +00:00
|
|
|
|
2022-04-21 23:18:42 +00:00
|
|
|
cd dtd-parser
|
2021-10-26 06:43:53 +00:00
|
|
|
# remove unnecessary dependency on parent POM
|
|
|
|
# org.eclipse.ee4j:project is not packaged and isn't needed
|
|
|
|
%pom_remove_parent
|
|
|
|
# remove unnecessary plugins
|
|
|
|
%pom_remove_plugin :glassfish-copyright-maven-plugin
|
2022-04-21 23:18:42 +00:00
|
|
|
cd -
|
2021-10-26 06:43:53 +00:00
|
|
|
|
|
|
|
%build
|
2022-04-21 23:18:42 +00:00
|
|
|
cd dtd-parser
|
2021-10-26 06:43:53 +00:00
|
|
|
%mvn_build
|
2022-04-21 23:18:42 +00:00
|
|
|
cd -
|
2021-10-26 06:43:53 +00:00
|
|
|
|
|
|
|
%install
|
2022-04-21 23:18:42 +00:00
|
|
|
cd dtd-parser
|
2021-10-26 06:43:53 +00:00
|
|
|
%mvn_install
|
2022-04-21 23:18:42 +00:00
|
|
|
cd -
|
2021-10-26 06:43:53 +00:00
|
|
|
|
|
|
|
%files -f dtd-parser/.mfiles
|
|
|
|
%license LICENSE.md NOTICE.md
|
|
|
|
%doc README.md
|
|
|
|
%files javadoc -f dtd-parser/.mfiles-javadoc
|
|
|
|
%license LICENSE.md NOTICE.md
|
|
|
|
|
|
|
|
%changelog
|
2022-07-08 13:40:05 +00:00
|
|
|
* Fri Jul 08 2022 Jiri Vanek <jvanek@redhat.com> - 1.5.0-2
|
|
|
|
- Rebuilt for Drop i686 JDKs
|
|
|
|
|
2022-04-21 23:18:42 +00:00
|
|
|
* Mon Apr 11 2022 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 1.5.0-1
|
|
|
|
- New upstream release 1.5.0
|
|
|
|
|
2022-02-05 20:29:47 +00:00
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.4.5-3
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
2022-01-20 13:43:32 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-10-26 10:58:31 +00:00
|
|
|
* Tue Oct 26 2021 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 1.4.5-1
|
|
|
|
- New upstream release 1.4.5
|
|
|
|
|
2021-10-26 06:43:53 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Aug 10 2020 Mat Booth <mat.booth@redhat.com> - 1.4.3-3
|
|
|
|
- Restore JDK 9+ bits for Jaxb
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri May 08 2020 Fabio Valentini <decathorpe@gmail.com> - 1.4.3-1
|
|
|
|
- Initial package renamed from glassfish-dtd-parser.
|
|
|
|
|