1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-13 12:55:00 -05:00
filebot/installer/rpm/filebot.spec

37 lines
655 B
RPMSpec
Raw Normal View History

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