From 8f385634b24dcffb9b70ee7814e186cede85f8a9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 09:01:10 -0400 Subject: [PATCH] import uom-systems-0.7-1.module+el8+2463+615f6896 --- .gitignore | 1 + .uom-systems.metadata | 1 + SPECS/uom-systems.spec | 79 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 .gitignore create mode 100644 .uom-systems.metadata create mode 100644 SPECS/uom-systems.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8d50966 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/uom-systems-0.7.tar.gz diff --git a/.uom-systems.metadata b/.uom-systems.metadata new file mode 100644 index 0000000..36f7e12 --- /dev/null +++ b/.uom-systems.metadata @@ -0,0 +1 @@ +249e3807ca00fbc8acabfd5b11a35b7ca8294a32 SOURCES/uom-systems-0.7.tar.gz diff --git a/SPECS/uom-systems.spec b/SPECS/uom-systems.spec new file mode 100644 index 0000000..4f850e2 --- /dev/null +++ b/SPECS/uom-systems.spec @@ -0,0 +1,79 @@ +Name: uom-systems +Version: 0.7 +Release: 1%{?dist} +Summary: Units of Measurement Systems (JSR 363) +License: BSD +URL: https://github.com/unitsofmeasurement/%{name} +Source0: https://github.com/unitsofmeasurement/%{name}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: junit +BuildRequires: maven-local +BuildRequires: maven-jar-plugin +BuildRequires: maven-install-plugin +BuildRequires: maven-dependency-plugin +BuildRequires: maven-source-plugin +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(si.uom:si-parent:pom:) +BuildRequires: mvn(si.uom:si-units-java8) +BuildRequires: mvn(javax.measure:unit-api) +BuildRequires: mvn(tec.uom:uom-parent:pom:) +BuildRequires: mvn(tec.uom:uom-se) + +BuildArch: noarch + +%description +Units of Measurement Systems - modules for JSR 363. + +%package javadoc +BuildArch: noarch +Summary: Javadoc for the Units of Measurement Systems + +%description javadoc +This package contains documentation for the Units of Measurement +Systems (JSR 363). + +%prep +%setup -q -n %{name}-%{version} +%pom_remove_plugin :maven-javadoc-plugin quantity +%pom_remove_plugin :maven-javadoc-plugin common-java8 +%pom_remove_plugin :maven-javadoc-plugin unicode-java8 +%pom_remove_plugin :maven-javadoc-plugin ucum-java8 +%pom_disable_module common # use only Java 8+ +%pom_disable_module unicode # use only Java 8+ +%pom_xpath_remove "pom:properties/pom:quantity.version" +%pom_xpath_inject "pom:properties" "%{version}" + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc README.md +%license LICENSE + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog +* Wed Apr 12 2017 Nathan Scott - 0.7-1 +- Update to latest upstream sources. + +* Tue Apr 11 2017 Dave Brolley - 0.6-3 +- Spec file changes for building on RHEL7. + +* Wed Mar 22 2017 Nathan Scott - 0.6-2 +- Incorprate feedback from gil cattaneo on all uom packages. + +* Mon Mar 06 2017 Nathan Scott - 0.6-1 +- Update to latest upstream sources. + +* Tue Feb 28 2017 Nathan Scott - 0.5-3 +- Resolve lintian errors - source, license, documentation. + +* Fri Feb 24 2017 Nathan Scott - 0.5-2 +- Add unitsofmeasurement prefix to package name. + +* Fri Oct 14 2016 Nathan Scott - 0.5-1 +- Initial version.