forked from pool/jzlib
This commit is contained in:
parent
e9d537f3a6
commit
201301902f
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 25 17:24:33 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Install as maven artifact
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 8 09:23:28 UTC 2017 - fstrba@suse.com
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -64,6 +64,11 @@ ant \
|
||||
install -Dpm 644 dist/lib/%{name}.jar \
|
||||
%{buildroot}%{_javadir}/%{name}.jar
|
||||
|
||||
# pom
|
||||
install -Dpm 644 pom.xml \
|
||||
%{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||
%add_maven_depmap %{name}.pom %{name}.jar
|
||||
|
||||
# examples
|
||||
install -dm 755 %{buildroot}%{_datadir}/%{name}-%{version}
|
||||
cp -pr example/* %{buildroot}%{_datadir}/%{name}-%{version}
|
||||
@ -71,6 +76,8 @@ cp -pr example/* %{buildroot}%{_datadir}/%{name}-%{version}
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/%{name}.jar
|
||||
%{_mavenpodir}/%{name}.pom
|
||||
%{_datadir}/maven-metadata/%{name}.xml
|
||||
%doc LICENSE.txt
|
||||
|
||||
%files demo
|
||||
|
Loading…
x
Reference in New Issue
Block a user