!1 package init

Merge pull request !1 from Causeway_Bay/master
This commit is contained in:
openeuler-ci-bot 2020-08-27 22:06:38 +08:00 committed by Gitee
commit ede2178701
3 changed files with 49 additions and 0 deletions

Binary file not shown.

45
jmatio.spec Normal file
View File

@ -0,0 +1,45 @@
%global githash 9329195b310dd861e97b9655173b4aa564de05dc
Name: jmatio
Version: 1.1
Release: 1
Summary: Java Matlab IO library
License: BSD
URL: https://github.com/gradusnikov/jmatio
Source0: https://github.com/gradusnikov/jmatio/archive/%{githash}.zip
BuildRequires: mvn(junit:junit) maven-local /usr/bin/perl
BuildArch: noarch
%description
Matlab's MAT-file I/O API in Java.
Supports Matlab 5 MAT-file format
reading and writing.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q -n %{name}-%{githash}
for s in src/main/java/com/jmatio/types/MLSparse.java;do
native2ascii -encoding UTF8 ${s} ${s}
done
%{__perl} -pi -e 's/\r$//g' LICENSE.txt README_old.txt
%build
%mvn_file :%{name} %{name}
%mvn_alias com.imaginglaboratory:%{name} net.sourceforge.%{name}:%{name}
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc README.md README_old.txt
%license LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog
* Tue Aug 18 2020 wangchong <wangchong56@huawei.com> - 1.1-1
- package init

4
jmatio.yaml Normal file
View File

@ -0,0 +1,4 @@
version-control: github
src_repo: gradusnikov/jmatio
tag_prefix: NA
seperator: NA