From 513ca2ad78e68fbe52c2d4179fecd671bf1020af Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Feb 02 2020 21:27:36 +0000 Subject: Repo init netcdf-java uses gradle to build, but gradle has also been orphaned, so we'll have to work on that first. --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..82079e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.tar* +*.rpm diff --git a/netcdf-java.spec b/netcdf-java.spec new file mode 100644 index 0000000..b1631f3 --- /dev/null +++ b/netcdf-java.spec @@ -0,0 +1,36 @@ +Name: netcdf-java +Version: 5.2.0 +Release: 1%{?dist} +Summary: The Unidata netcdf-java library +License: BSD +URL: https://docs.unidata.ucar.edu/netcdf-java/ +Source0: https://github.com/Unidata/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: maven-local + +%description +This is simple Maven project. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%autosetup -n %{name}-v%{version} + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%dir %{_javadir}/%{name} +%files javadoc -f .mfiles-javadoc + +%changelog +* Sun Feb 02 2020 Ankur Sinha - 5.2.0-1 +- Initial build