Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:syntron:MediathekView
MediathekView1306
MediathekView.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File MediathekView.spec of Package MediathekView1306
# norootforbuild Name: MediathekView Summary: Searches the online media library Summary(de): Durchsucht verschiedene Mediatheken Version: 13.0.6 Release: 1.1 URL: https://mediathekview.de/ Source0: https://github.com/mediathekview/MediathekView/archive/%{name}-%{version}.tar.gz Source1: %{name}.png Source2: %{name}.desktop Source3: flv.sh Source4: https://repo.mediathekview.de/repository/maven-public/de/mediathekview/MLib/2.4.4/MLib-2.4.4.jar Source5: https://repo.mediathekview.de/repository/maven-public/net/sf/jchart2d/jchart2d/3.3.2/jchart2d-3.3.2.jar Source6: https://repo.mediathekview.de/repository/maven-public/com/yuvimasory/orange-extensions/1.3.0/orange-extensions-1.3.0.jar Source7: https://repo.mediathekview.de/repository/maven-public/com/fasterxml/jackson/core/jackson-core/2.9.3/jackson-core-2.9.3.jar Source8: https://repo.mediathekview.de/repository/maven-central/fm/void/jetm/jetm/1.2.3/jetm-1.2.3.jar Source9: https://repo.mediathekview.de/repository/maven-central/com/squareup/okhttp3/okhttp/3.9.1/okhttp-3.9.1.jar Source10: https://repo.mediathekview.de/repository/maven-central/com/squareup/okio/okio/1.13.0/okio-1.13.0.jar Patch0: %{name}-build.patch # Thx to Fedora: https://martinkg.fedorapeople.org/Packages/MediathekView/ Patch1: %{name}-no-mac-support.patch License: GPLv3 and LGPLv3 and BSD BuildRequires: gradle BuildRequires: apache-commons-lang >= 3.6 BuildRequires: apache-commons-compress >= 1.6 BuildRequires: apache-commons-logging BuildRequires: apache-commons-io BuildRequires: jdom BuildRequires: java-1_8_0-openjdk-devel >= 1.8 BuildRequires: update-alternatives BuildRequires: update-desktop-files BuildRequires: xerces-j2 BuildRequires: xml-commons-apis BuildRequires: jide-oss BuildRequires: jgoodies-forms >= 1.8 BuildRequires: jgoodies-common BuildRequires: java-xz BuildRequires: java-1_8_0-openjfx BuildRequires: xmlgraphics-commons Requires: apache-commons-lang >= 3.6 Requires: apache-commons-compress >= 1.6 Requires: apache-commons-logging Requires: apache-commons-io Requires: java Requires: flvstreamer Requires: jide-oss Requires: jgoodies-forms >= 1.8 Requires: jgoodies-common Requires: java-xz Requires: java-1_8_0-openjfx Requires: xmlgraphics-commons Requires: vlc Requires: ffmpeg Conflicts: jakarta-commons-compress Conflicts: jakarta-commons-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description MediathekView searches the online media library of various German tv stations. (ARD, ZDF, Arte, 3Sat, MDR, NDR, ORF, SF), invites contributions with a program of your choice and can create topics as subscriptions and automatically download new contributions. There is also a way to manage and download podcast. %description -l de Das Programm durchsucht die Mediathek verschiedener Sender (ARD, ZDF, Arte, 3Sat, MDR, NDR, ORF, SF), lädt Beiträge mit einem Programm eigener Wahl und kann Themen als Abos anlegen und neue Beiträge automatisch downloaden. Es gibt auch eine Möglichkeit, Podcast zu verwalten und zu downloaden. %package doc Summary: Searches the online media library Summary(de): Durchsucht verschiedene Mediatheken Requires: MediathekView = %{version} %description doc The %{name}-doc package contains documentation files that use %{name}. %description doc -l de Das %{name}-doc Paket enthält Dokumentationsdateien für %{name}. %prep %setup -q -n %{name}-%{version} %patch0 -p1 %patch1 -p1 # cleanup find -name '*.class' -type f -exec rm -r {} \; # W: wrong-file-end-of-line-encoding sed -i 's/\r$//' res/Info/RELEASE.txt sed -i 's/\r$//' res/Info/README.txt # copy some third party jars cp %{SOURCE4} libs/ cp %{SOURCE5} libs/ cp %{SOURCE6} libs/ cp %{SOURCE7} libs/ cp %{SOURCE8} libs/ cp %{SOURCE9} libs/ cp %{SOURCE10} libs/ # link system libs pushd libs ln -sf %{_javadir}/commons-compress.jar commons-compress.jar ln -sf %{_javadir}/commons-lang3.jar commons-lang3.jar ln -sf %{_javadir}/commons-io.jar commons-io.jar ln -sf %{_javadir}/commons-logging.jar commons-logging.jar ln -sf %{_javadir}/jdom.jar jdom.jar ln -sf %{_javadir}/jide-oss.jar jide-oss.jar ln -sf %{_javadir}/jgoodies-common.jar jgoodies-common.jar ln -sf %{_javadir}/jgoodies-forms.jar jgoodies-forms.jar ln -sf %{_javadir}/xz.jar xz.jar ln -sf %{_javadir}/xmlgraphics-commons.jar xmlgraphics-commons.jar popd %build export CLASSPATH=$(build-classpath) gradle build %install export NO_BRP_CHECK_BYTECODE_VERSION=true install -D -m644 build/libs/MediathekView.jar %{buildroot}%{_javadir}/Mediathek/MediathekView-%{version}.jar install -D -m644 libs/MLib*.jar %{buildroot}%{_javadir}/Mediathek install -D -m644 libs/swingx*.jar %{buildroot}%{_javadir}/Mediathek install -D -m644 libs/jackson-core*.jar %{buildroot}%{_javadir}/Mediathek install -D -m644 libs/jchart*.jar %{buildroot}%{_javadir}/Mediathek install -D -m644 libs/orange*.jar %{buildroot}%{_javadir}/Mediathek install -D -m644 libs/jetm*.jar %{buildroot}%{_javadir}/Mediathek install -D -m644 libs/okhttp*.jar %{buildroot}%{_javadir}/Mediathek install -D -m644 libs/okio*.jar %{buildroot}%{_javadir}/Mediathek pushd %{buildroot}%{_javadir}/Mediathek ln -sf MediathekView-%{version}.jar MediathekView.jar popd # Create Startscript %__cat > MediathekView.sh << EOF #!/bin/bash # use right java version, MediathekView under linux needs 1.8 JAVA_HOME=/etc/alternatives/jre_1.8.0 # set jar-entry-class MAIN_CLASS="mediathek.Main" # source the jpackage helpers and set environment VERBOSE=1 . %{_javadir}-utils/java-functions set_javacmd check_java_env set_jvm_dirs # If the memory run short it can help to use set_options # Xms set the initial and minimum Java heap size, Xmx set the maximum Java heap size # default: Xms (25% of the amount of free physical memory in the system, up to 16 MB and at least 8 MB) # default: Xmx (32bit: 50% of available physical memory up to 1 GB, 64bit: 50% of available physical memory up to 32 GB) # set_options "-Xms128M" "-Xmx1G" CLASSPATH=\`build-classpath Mediathek MLib commons-compress commons-lang3 jide-oss jgoodies-common jgoodies-forms xz commons-io commons-logging\` run "\$@" EOF install -D -m755 MediathekView.sh %{buildroot}%{_bindir}/MediathekView.sh install -D -m644 %{S:1} %{buildroot}%{_datadir}/pixmaps/MediathekView.png install -D -m644 %{S:2} %{buildroot}%{_datadir}/applications/MediathekView.desktop install -m775 %{S:3} %{buildroot}%{_bindir}/flv.sh %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/MediathekView.sh %{_bindir}/flv.sh %dir %{_javadir}/Mediathek %{_javadir}/Mediathek/MediathekView.jar %{_javadir}/Mediathek/MediathekView-%{version}.jar %{_javadir}/Mediathek/MLib*.jar %{_javadir}/Mediathek/swingx*.jar %{_javadir}/Mediathek/jackson*.jar %{_javadir}/Mediathek/jchart*.jar %{_javadir}/Mediathek/orange*.jar %{_javadir}/Mediathek/okhttp*.jar %{_javadir}/Mediathek/okio*.jar %{_javadir}/Mediathek/jetm*.jar %{_datadir}/applications/MediathekView.desktop %{_datadir}/pixmaps/MediathekView.png %files doc %defattr(-,root,root) %doc res/Copyright/* %doc res/Anleitung/* %changelog * Sun Jan 28 2018 - robertherb@arcor.de - update to version 13.0.6 + Anzeige der Downloadgrößen für Filme funktioniert nun wieder * Sun Nov 19 2017 - robertherb@arcor.de - update to version 13.0.4 + fixed: Exception bei Aufbau der Downloadliste * Tue Oct 10 2017 - robertherb@arcor.de - update to version 13.0.3 + HTTP-Client Bibliothek okhttp3 wird jetzt verwendet für das abrufen der Filmliste. + Fallback Filmlistenserver-URLs wurden angepasst. + URLs der Filmlistenserver-Listen wurden ausgetauscht. (Diese standen noch auf der alten sourceforge Struktur) + Kleine Bugfixes - added new third-party jars - added new system libs * Tue Sep 26 2017 - robertherb@arcor.de - changed Requires for java * Tue Jul 18 2017 - robertherb@arcor.de - Fixed missing Requires for joodies-forms 1.8 * Mon Jul 13 2017 - robertherb@arcor.de - removed external library jgoodies-forms-1.9.0.jar - build against system library jgoodies-forms-1.8 * Mon Jul 10 2017 - robertherb@arcor.de - update to version 13.0.2 - redesigned package due to upstream change from ant to gradle - added all needed external libraries as download via gradle is not working - chanched gradle.build for use of local libraries - disabled support for Mac - spec-file inspired by Fedora: https://martinkg.fedorapeople.org/Packages/MediathekView/MediathekView.spec * Fri Feb 03 2017 - robertherb@arcor.de - update to version 12.0 - added openjfx-binaries - updated Requires to java 1.8 * Sun Jun 12 2016 - ecsos@opensuse.org - fix use of wrong java version if java version >= 1.9 is installed * Mon May 09 2016 - ecsos@opensuse.org - fix start error in openSUSE Tumbleweed * Sun Apr 17 2016 - robertherb@arcor.de - update to version 11.0 * Fri Dec 18 2015 - robertherb@arcor.de - update to version 10.0-git20151205 * Mon Aug 31 2015 - robertherb@arcor.de - update to version 10.0-git20150831 * Sun Jun 21 2015 - robertherb@arcor.de - update to version 10.0-git20150614 - added doc subpackage * Sun May 17 2015 - robertherb@arcor.de - update to version 10.0-git20150515 * Tue Mar 03 2015 - robertherb@arcor.de - update to version 9.0-git20150302 * Mon Oct 20 2014 - robertherb@arcor.de - removed build dependency and requires: rome * Fri Oct 17 2014 - robertherb@arcor.de - update to version 8.0-git20141014 * Sun Jul 27 2014 - robertherb@arcor.de - update to version 7.0-git20140725 * Fri May 16 2014 - robertherb@arcor.de - update to version 6.0-git20140514 * Thu Jan 09 2014 - robertherb@arcor.de - update to version 4.0-git20140108 * Sun Jan 05 2014 - robertherb@arcor.de - update to version 4.0-git20131230 * Thu Dec 26 2013 - robertherb@arcor.de - update to version 4.0beta1_git20131225 * Mon Nov 11 2013 - robertherb@arcor.de - update to version 3.3.0.git20131110
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor