RPM: fixes for TDE r14.0.13

r14.0.x
François Andriot 2 years ago
parent a6ebd51a1a
commit 238a465766

@ -197,6 +197,9 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -f %{?buildroot}%{tde_libdir}/libtderadio.la %__rm -f %{?buildroot}%{tde_libdir}/libtderadio.la
%__rm -f %{?buildroot}%{tde_libdir}/libtderadio.so %__rm -f %{?buildroot}%{tde_libdir}/libtderadio.so
# Remove pixmas
%__rm -fr %{?buildroot}%{tde_datadir}/pixmaps/
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -218,7 +221,6 @@ export PATH="%{tde_bindir}:${PATH}"
%dir %{tde_datadir}/icons/hicolor/256x256/actions %dir %{tde_datadir}/icons/hicolor/256x256/actions
%{tde_datadir}/icons/hicolor/*/*/tderadio*.png %{tde_datadir}/icons/hicolor/*/*/tderadio*.png
%{tde_datadir}/icons/locolor/*/*/tderadio*.png %{tde_datadir}/icons/locolor/*/*/tderadio*.png
%{tde_datadir}/pixmaps/tderadio.xpm
%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo %lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo
%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo %lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo
%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo %lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo

@ -28,7 +28,3 @@ RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} \
# Add GeoIP # Add GeoIP
RUN rpmbuild --rebuild https://ftp.lysator.liu.se/pub/opensuse/source/distribution/leap/15.3/repo/oss/src/GeoIP-1.6.12-6.3.1.src.rpm \ RUN rpmbuild --rebuild https://ftp.lysator.liu.se/pub/opensuse/source/distribution/leap/15.3/repo/oss/src/GeoIP-1.6.12-6.3.1.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/*GeoIP*.rpm && sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/*GeoIP*.rpm
# Add Jasper
RUN sudo rpm -e libjasper-devel libjasper6 \
&& sudo rpm -Uvh https://ftp.lysator.liu.se/pub/opensuse/distribution/leap/15.3/repo/oss/x86_64/{jasper,libjasper-devel,libjasper4}-2.0.14-3.19.1.x86_64.rpm

@ -1,19 +0,0 @@
#!/bin/bash -ex
sudo urpmi --auto openssh-clients sshfs-fuse
DIST="$(rpm -E %dist)"
TDE_VERSION="14.0.13"
# Autofs:
sudo /usr/sbin/automount
# NFS:
sudo mount -t nfs xh61v:/exports/tde tde
sudo mount -t nfs xh61v:/exports/rpmbuild/RPMS rpmbuild/RPMS
sudo mount -t nfs xh61v:/exports/rpmbuild/SRPMS rpmbuild/SRPMS
# SSH:
sshfs francois@192.168.111.249:/exports/tde ${HOME}/tde -o nonempty,allow_root
sshfs francois@192.168.111.249:/exports/rpmbuild/RPMS/RPMS${DIST}.tde-${TDE_VERSION} ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION} -o nonempty,allow_root
sshfs francois@192.168.111.249:/exports/rpmbuild/SRPMS/SRPMS${DIST}.tde-${TDE_VERSION} ${HOME}/rpmbuild/SRPMS.tde-${TDE_VERSION} -o nonempty,allow_root
Loading…
Cancel
Save