jaxb-dtd-parser/jaxb-dtd-parser.spec

81 lines
1.9 KiB
RPMSpec
Raw Normal View History

2020-05-10 08:41:33 +00:00
Name: jaxb-dtd-parser
Version: 1.4.3
Release: 5%{?dist}
2020-05-10 08:41:33 +00:00
Summary: SAX-like API for parsing XML DTDs
License: BSD
URL: https://github.com/eclipse-ee4j/jaxb-dtd-parser
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
Obsoletes: glassfish-dtd-parser < 1.4.3-1
Provides: glassfish-dtd-parser = %{version}-%{release}
%description
SAX-like API for parsing XML DTDs.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q
pushd dtd-parser
# 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 :buildnumber-maven-plugin
%pom_remove_plugin :glassfish-copyright-maven-plugin
popd
%build
pushd dtd-parser
%mvn_build
popd
%install
pushd dtd-parser
%mvn_install
popd
%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
* 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
2020-08-10 14:00:08 +00:00
* 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
2020-05-10 08:41:33 +00:00
* Fri May 08 2020 Fabio Valentini <decathorpe@gmail.com> - 1.4.3-1
- Initial package renamed from glassfish-dtd-parser.