2019-03-02 13:10:49 -05:00
|
|
|
Name: @{package.name}
|
|
|
|
Version: @{application.version}
|
|
|
|
Release: universal
|
|
|
|
Summary: @{package.synopsis}
|
2019-03-02 13:14:38 -05:00
|
|
|
License: Proprietary
|
2019-03-02 13:10:49 -05:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Requires: java-1.8.0-openjdk
|
|
|
|
Requires: java-1.8.0-openjdk-openjfx
|
|
|
|
Requires: jna
|
2019-03-07 07:08:25 -05:00
|
|
|
Requires: mediainfo
|
2019-03-02 13:10:49 -05:00
|
|
|
Requires: p7zip
|
|
|
|
Requires: p7zip-plugins
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@{package.description}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
cp -rvf %{src}/usr %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
ln -sf /usr/share/filebot/bin/filebot.sh /usr/bin/filebot
|
2019-03-07 07:08:25 -05:00
|
|
|
ln -sf /usr/lib/java/jna.jar /usr/share/filebot/jar/jna.jar
|
2019-03-02 13:10:49 -05:00
|
|
|
|
|
|
|
|
2019-03-07 07:08:25 -05:00
|
|
|
%preun
|
2019-03-02 13:10:49 -05:00
|
|
|
rm -f /usr/bin/filebot
|
2019-03-07 07:08:25 -05:00
|
|
|
rm -f /usr/share/filebot/jar/jna.jar
|