> 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} ?
> 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
> %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
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]