mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-10 17:49:58 +00:00
Add .rpm package building
This commit is contained in:
20
app/packaging/linux/rpm/fx_cast_bridge.spec
Normal file
20
app/packaging/linux/rpm/fx_cast_bridge.spec
Normal file
@@ -0,0 +1,20 @@
|
||||
Name: fx_cast_bridge
|
||||
Summary: fx_cast Bridge application
|
||||
Version: 0.0.1
|
||||
Release: 1
|
||||
License: MIT
|
||||
|
||||
%description
|
||||
fx_cast Bridge application
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/opt/fx_cast/ \
|
||||
$RPM_BUILD_ROOT/usr/lib/mozilla/native-messaging-hosts/
|
||||
|
||||
cp %{_distdir}/bridge $RPM_BUILD_ROOT/opt/fx_cast/
|
||||
cp %{_distdir}/fx_cast_bridge.json $RPM_BUILD_ROOT/usr/lib/mozilla/native-messaging-hosts/
|
||||
|
||||
%files
|
||||
/opt/fx_cast/bridge
|
||||
/usr/lib/mozilla/native-messaging-hosts/fx_cast_bridge.json
|
||||
Reference in New Issue
Block a user