1 |
Name: mojo-signatures |
Name: mojo-signatures |
2 |
Version: 1.1 |
Version: 1.1 |
3 |
Release: %mkrel 0.4.svn11457.4 |
Release: %mkrel 0.4.svn11457.5 |
4 |
Summary: Mojo API signatures project |
Summary: Mojo API signatures project |
5 |
|
|
6 |
Group: Development/Java |
Group: Development/Java |
7 |
License: MIT |
License: MIT |
8 |
URL: http://mojo.codehaus.org/ |
URL: http://mojo.codehaus.org/ |
9 |
|
|
33 |
# doesn't work with gcj. The signatures are probably incorrect because |
# doesn't work with gcj. The signatures are probably incorrect because |
34 |
# of this, but at least they exist and noone complained yet :-) |
# of this, but at least they exist and noone complained yet :-) |
35 |
|
|
36 |
|
|
37 |
# specific release required for handling "signature" packaging |
# specific release required for handling "signature" packaging |
38 |
Requires: maven |
Requires: maven |
|
Requires: mojo-parent |
|
|
|
|
39 |
Requires: jpackage-utils |
Requires: jpackage-utils |
|
Requires(post): jpackage-utils |
|
|
Requires(postun): jpackage-utils |
|
40 |
|
|
41 |
%description |
%description |
42 |
The API Signatures project contains a number of projects which |
The API Signatures project contains a number of projects which |
44 |
signatures are generated by and consumed by the Animal Sniffer |
signatures are generated by and consumed by the Animal Sniffer |
45 |
project. |
project. |
46 |
|
|
|
%post |
|
|
%update_maven_depmap |
|
|
|
|
|
%postun |
|
|
%update_maven_depmap |
|
|
|
|
|
%files |
|
|
%{_mavenpomdir}/* |
|
|
%{_mavendepmapfragdir}/* |
|
|
%{_javadir}/%{name} |
|
|
|
|
|
#-------------------------------------------------------------------- |
|
|
|
|
47 |
%prep |
%prep |
48 |
%setup -q |
%setup -q |
49 |
%patch0 -p1 |
%patch0 -p1 |
50 |
|
|
51 |
%build |
%build |
52 |
pushd signatures-parent |
pushd signatures-parent |
53 |
mvn-rpmbuild install |
mvn-rpmbuild install |
54 |
popd |
popd |
55 |
|
|
56 |
for sig in java15 java16;do |
for sig in java15 java16;do |
57 |
pushd $sig |
pushd $sig |
58 |
mvn-jpp \ |
mvn-rpmbuild install |
|
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \ |
|
|
install |
|
59 |
popd |
popd |
60 |
done |
done |
61 |
|
|
76 |
|
|
77 |
(cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for sig in *-%{version}*; do ln -sf ${sig} `echo $sig| sed "s|-%{version}||g"`; done) |
(cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for sig in *-%{version}*; do ln -sf ${sig} `echo $sig| sed "s|-%{version}||g"`; done) |
78 |
|
|
79 |
|
|
80 |
|
%files |
81 |
|
%{_mavenpomdir}/* |
82 |
|
%{_mavendepmapfragdir}/* |
83 |
|
%{_javadir}/%{name} |