This commit is contained in:
parent
343f0bce99
commit
124fc8908c
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 18 09:14:38 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Install the maven pom files in order to generate correctly the
|
||||
mvn(...) provides.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 16 09:00:43 UTC 2018 - fstrba@suse.com
|
||||
|
||||
|
17
cal10n.spec
17
cal10n.spec
@ -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/
|
||||
#
|
||||
|
||||
|
||||
@ -29,6 +29,8 @@ Patch0: cal10n-0.7.7-sourcetarget.patch
|
||||
BuildRequires: ant
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: junit
|
||||
BuildRequires: xz
|
||||
Requires: java
|
||||
@ -90,6 +92,13 @@ install -d -m 0755 %{buildroot}%{_javadir}/%{name}
|
||||
install -m 644 cal10n-api/target/cal10n-api-%{version}.jar \
|
||||
%{buildroot}%{_javadir}/%{name}/cal10n-api-%{version}.jar
|
||||
|
||||
# pom
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||
%add_maven_depmap %{name}.pom
|
||||
install -pm 644 %{name}-api/pom.xml %{buildroot}%{_mavenpomdir}/%{name}-api.pom
|
||||
%add_maven_depmap %{name}-api.pom %{name}/cal10n-api-%{version}.jar
|
||||
|
||||
# javadoc
|
||||
pushd cal10n-api
|
||||
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||
@ -103,6 +112,12 @@ popd
|
||||
%doc README.SUSE
|
||||
%dir %{_javadir}/%{name}
|
||||
%{_javadir}/%{name}/%{name}*.jar
|
||||
%{_mavenpomdir}/*
|
||||
%if %{defined _maven_repository}
|
||||
%{_mavendepmapfragdir}/%{name}
|
||||
%else
|
||||
%{_datadir}/maven-metadata/%{name}.xml*
|
||||
%endif
|
||||
|
||||
%files javadoc
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
Reference in New Issue
Block a user