SHA256
1
0
forked from pool/jzlib
Fridrich Strba 2018-11-25 17:25:02 +00:00 committed by Git OBS Bridge
parent e9d537f3a6
commit 201301902f
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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