Il 10/02/2017 20:11, Martin Gansser ha scritto:
Il 10/02/2017 16:25, Martin Gansser ha scritto:

usually a noarch application live in usr/share/[NAME]
all (optional/required) java libraries should be linked in usr/share/[NAME]
you mean, replace %{_javadir} with %{_datadir}  ?
No,

ln -sf ../java/MediathekView/MediathekView.jar %{buildroot}%{_datadir}/Mediathek
ln -sf %{_javadir}/jackson-core.jar %{buildroot}%{_datadir}/Mediathek

check if these are correct
ln -sf %{_javadir}/swingx*.jar %{buildroot}%{_datadir}/Mediathek
ln -sf %{_javadir}/jchart.jar %{buildroot}%{_datadir}/Mediathek


Please, remove:
all bundle libraries ( swingx*.jar, jackson-core*.jar, jchart*.jar ) with
find -name "*.class" -print -delete
find -name "*.jar" -print -delete
done
useless export CLASSPATH=$(build-classpath)
removed
%{_javadir}/Mediathek/MediathekView-%{version}.jar MUST be no version
done
MediathekView.sh should be generated using:

%jpackage_script mediathek.Main "" ""
MediathekView:MSearch:commons-compress:commons-lang
jide-oss:jgoodies-common:jgoodies-forms:xz MediathekView true

not clear, how to set this command correct
ops forgotten an ":"

%jpackage_script mediathek.Main "" ""
MediathekView:MSearch:commons-compress:commons-lang:jide-oss:jgoodies-common:jgoodies-forms:xz
 MediathekView true

see documentation
%package doc
Summary:    Durchsucht verschiedene Mediatheken
useless  License:    GPL
Requires:   MediathekView = %{version}-%{release}
useless  BuildArch:  noarch
lines removed
%description doc
.

Please, use system libraries:
http://pkgs.fedoraproject.org/cgit/rpms/swingx.git
http://pkgs.fedoraproject.org/cgit/rpms/jcharts.git (was retired)
jcharts is dead on git
so remove its support, or reintroduce it

the package doesn't longer build with this spec-file
https://martinkg.fedorapeople.org/Packages/MediathekView/MediathekView.spec
build-log.txt:
https://martinkg.fedorapeople.org/Packages/MediathekView/MediathekView-build.txt
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to