package init
This commit is contained in:
parent
59b6751453
commit
bbe1f9786f
BIN
9329195b310dd861e97b9655173b4aa564de05dc.zip
Normal file
BIN
9329195b310dd861e97b9655173b4aa564de05dc.zip
Normal file
Binary file not shown.
45
jmatio.spec
Normal file
45
jmatio.spec
Normal 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
4
jmatio.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version-control: github
|
||||||
|
src_repo: gradusnikov/jmatio
|
||||||
|
tag_prefix: NA
|
||||||
|
seperator: NA
|
||||||
Loading…
x
Reference in New Issue
Block a user