Browse Source

rpm:use libdir instead of 'lib'

use_builds_script
parent
commit
9ad82465a3
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 18
      rpm/zrythm.spec.in

18
rpm/zrythm.spec.in

@ -130,13 +130,13 @@ ninja -C build @@ -130,13 +130,13 @@ ninja -C build
%install
@MESON_BIN@ install -C build --skip-subprojects=gtksourceview5,libaudec,reproc,rtmidi,rtaudio,libcyaml --destdir="%{buildroot}/"
mkdir -p "%{buildroot}%{_libdir}/lv2"
mkdir -p "%{buildroot}%{_exec_prefix}/lib/zrythm/carla"
mkdir -p "%{buildroot}%{_libdir}/zrythm/carla"
rm -rf "%{buildroot}%{_includedir}"
rm -rf "%{buildroot}%{_libdir}/libbacktrace"*
rm -rf "%{buildroot}%{_libdir}/libcm_reproc.a"
for file in carla-discovery-native carla-bridge-lv2-gtk2 carla-bridge-lv2-gtk3 carla-bridge-lv2-qt5 carla-bridge-lv2-x11 carla-bridge-native libcarla_host-plugin.so; do
cp -Lv "@CARLA_FULL_BINS_PATH@/$file" \
%{buildroot}%{_exec_prefix}/lib/zrythm/carla/
%{buildroot}%{_libdir}/zrythm/carla/
done
for f in `ls @BUILT_ZPLUGINS_DIR@/lib/lv2`; do
cp -RLv "@BUILT_ZPLUGINS_DIR@/lib/lv2/$f" "%{buildroot}%{_libdir}/lv2/Zrythm-$f"
@ -192,13 +192,13 @@ rm -rf "%{buildroot}%{_datadir}"/man/man1/pango* @@ -192,13 +192,13 @@ rm -rf "%{buildroot}%{_datadir}"/man/man1/pango*
%{_datadir}/mime/packages/org.zrythm.Zrythm-mime.xml
%{_libdir}/zrythm/*
%{_libdir}/lv2/Zrythm-*
%{_exec_prefix}/lib/zrythm/carla/carla-discovery-native
%{_exec_prefix}/lib/zrythm/carla/carla-bridge-lv2-gtk2
%{_exec_prefix}/lib/zrythm/carla/carla-bridge-lv2-gtk3
%{_exec_prefix}/lib/zrythm/carla/carla-bridge-lv2-qt5
%{_exec_prefix}/lib/zrythm/carla/carla-bridge-lv2-x11
%{_exec_prefix}/lib/zrythm/carla/carla-bridge-native
%{_exec_prefix}/lib/zrythm/carla/libcarla_host-plugin.so
%{_libdir}/zrythm/carla/carla-discovery-native
%{_libdir}/zrythm/carla/carla-bridge-lv2-gtk2
%{_libdir}/zrythm/carla/carla-bridge-lv2-gtk3
%{_libdir}/zrythm/carla/carla-bridge-lv2-qt5
%{_libdir}/zrythm/carla/carla-bridge-lv2-x11
%{_libdir}/zrythm/carla/carla-bridge-native
%{_libdir}/zrythm/carla/libcarla_host-plugin.so
# _sysconfdir/bash_completion.d/zrythm
# _exec_prefix/lib64/**/*

Loading…
Cancel
Save