From 86cba2fbb60325518c32cb333c7603f910773e4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Wed, 2 Aug 2017 17:20:34 +0200 Subject: RPM packaging: add docker build scripts for PCLinuxOS --- redhat/docker/pclinuxos.sh | 173 ++++++++++++++++++++++++++++++ redhat/docker/pclinuxos/Dockerfile.x86_64 | 32 ++++++ redhat/docker/pclinuxos/genla.sh | 63 +++++++++++ redhat/docker/pclinuxos/packages.x86_64 | 172 +++++++++++++++++++++++++++++ redhat/docker/pclinuxos/rpmbuild.list | 1 + redhat/docker/pclinuxos/rpmmacros | 4 + redhat/genla.sh | 63 ----------- redhat/packages.pclos | 153 -------------------------- 8 files changed, 445 insertions(+), 216 deletions(-) create mode 100755 redhat/docker/pclinuxos.sh create mode 100644 redhat/docker/pclinuxos/Dockerfile.x86_64 create mode 100755 redhat/docker/pclinuxos/genla.sh create mode 100644 redhat/docker/pclinuxos/packages.x86_64 create mode 100644 redhat/docker/pclinuxos/rpmbuild.list create mode 100644 redhat/docker/pclinuxos/rpmmacros delete mode 100755 redhat/genla.sh delete mode 100644 redhat/packages.pclos (limited to 'redhat') diff --git a/redhat/docker/pclinuxos.sh b/redhat/docker/pclinuxos.sh new file mode 100755 index 000000000..3791afc94 --- /dev/null +++ b/redhat/docker/pclinuxos.sh @@ -0,0 +1,173 @@ +#!/bin/bash + +NAME="pclinuxos" +VERSION="$1" # E.g: '26' +IMAGE="${NAME}:${VERSION}" +INSTALLROOT="/dev/shm/${IMAGE}" + +sudo rm -rf "${INSTALLROOT}" +sudo mkdir -p "${INSTALLROOT}" + +MIRROR="http://distrib-coffee.ipsl.jussieu.fr/pub/linux/pclinuxos/pclinuxos/apt/pclinuxos/64bit" + +cd /dev/shm +wget -c \ + "${MIRROR}/RPMS.x86_64/bash-4.3-48.1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/glibc-2.20-10pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/rpm-4.8.1-10pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64readline6-6.3-4pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64ncurses5-5.9-9pclos2015.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/rpm-helper-0.23.5-1pclos2015.noarch.rpm" \ + "${MIRROR}/RPMS.x86_64/mktemp-1.7-2pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/setup-2.7.17-1pclos2011.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/findutils-4.6.0-3pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/run-parts-3.2.1-1pclos2011.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/shadow-utils-4.1.4.2-1pclos2011.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/coreutils-8.27-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/chkconfig-1.3.37-4pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64ncursesw5-5.9-9pclos2015.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/gawk-4.1.2-1pclos2015.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64rpm1-4.8.1-10pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/cpio-2.11-3pclos2014.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/gawk-4.1.2-1pclos2015.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/grep-2.28-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/rpm-rambo-setup-1.1-2pclos2017.noarch.rpm" \ + "${MIRROR}/RPMS.x86_64/rpm-pclinuxos-setup-1.135-4pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64popt0-1.16-1pclos2011.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64tcb0-1.0.3-2pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64pam_userpass1-1.0.2-2pclos2011.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/pam_tcb-1.0.3-2pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64lzma5-5.2.3-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/bzip2-1.0.6-2pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64audit1-2.1.2-3pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/update-alternatives-1.9.0-1pclos2011.noarch.rpm" \ + "${MIRROR}/RPMS.x86_64/zlib1-1.2.10-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64bzip2_1-1.0.6-2pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/util-linux-ng-2.30.1-3pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64acl1-2.2.51-1pclos2013.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64attr1-2.4.46-1pclos2011.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64cap2-2.25-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64gmp10-6.1.2-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/info-install-5.0-2pclos2013.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/rmt-0.4b46-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64mpfr4-3.1.4-1pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64sigsegv2-2.10-2pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/dash-static-0.5.6.1-3pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/filesystem-2.1.9-1pclos2011.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/dash-static-0.5.6.1-3pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64pcre2_0-10.23-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64pcre1-8.36-1pclos2014.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/xz-5.2.3-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/ncurses-5.9-9pclos2015.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/libgcc1-4.9.2-2pclos2015.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/libstdc++6-4.9.2-2pclos2015.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64uuid1-2.30.1-3pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64udev0-168-6pclos2011.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64smartcols1-2.30.1-3pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64mount1-2.30.1-3pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64fdisk1-2.30.1-3pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64libcap-ng0-0.7.7-1pclos2015.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64blkid1-2.30.1-3pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/udev-168-6pclos2011.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64iso9660_7-0.93-3pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64blkid1-2.30.1-3pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/diffutils-3.3-1pclos2013.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64usb1.0_0-1.0.21-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/openssl-1.0.2l-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64cdio12-0.93-3pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64pcre-compatible0-8.21-1pclos2013.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/popt-data-1.16-1pclos2011.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64db4.8-4.8.30-1pclos2011.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64elfutils1-0.166-1pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64lua5.1-5.1.5-1pclos2012.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64magic1-5.31-2pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64nspr4-4.14-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64nss3-3.28.4-2pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64sqlite3_0-3.1070-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/rootcerts-20170401.00-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/ldetect-lst-0.2.8-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/nss-3.28.4-2pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/perl-base-5.22.3-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/gzip-1.8-1pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/usbutils-007-1pclos2014.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64notify4-0.7.7-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/less-487-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64glib2.0_0-2.52.3-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64gio2.0_0-2.52.3-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/gdk-pixbuf2.0-2.36.7-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/tcb-1.0.3-2pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/pkgconfig-0.29-1pclos2015.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64openssl1.0.0-1.0.2l-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/common-licenses-1.0-14pclos2017.noarch.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64gdk_pixbuf2.0_0-2.36.7-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64notify4-0.7.7-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/file-5.31-2pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64ffi6-3.2.1-1pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/perl-5.22.3-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64tiff3-3.9.5-2pclos2012.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/libnotify-0.7.7-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64x11_6-1.6.5-2.1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64jasper1-1.900.1-3pclos2014.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64jpeg8-1.4.2-1pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64png3-1.2.57-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/libxcb-1.12-3.1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64gdbm3-1.8.3-5pclos2013.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/nss_tcb-1.0.3-2pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64usb-compat0.1_4-0.1.5-2pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64tiff5-4.0.6-1pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64openssl-engines1.0.0-1.0.2l-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64xau6-1.0.8-3.1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64xdmcp6-1.1.2-3.1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64jbig1-2.0-1pclos2011.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64bsd0-0.8.3-1pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64icu56-56.1-1pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/icu56-data-56.1-1pclos2016.noarch.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64jpeg62-6b-48pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/cracklib-dicts-2.9.1-1pclos2014.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64crack2-2.9.1-1pclos2014.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64dbnss4.8-4.8.30-1pclos2011.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/apt-0.5.15lorg3.95-10pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/gnupg-1.4.22-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64apt-pkg0-0.5.15lorg3.95-10pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/apt-sources-list-1.2-7pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64curl4-7.54.0-2pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64ldap2.4_2-2.4.23-3pclos2015.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/apt-common-0.5.15lorg3.95-10pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64xml2_2-2.9.4-2pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64rtmp1-2.4-1pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64ssh2_1-1.6.0-1pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/openldap-2.4.23-3pclos2015.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64sasl2-2.1.23-3pclos2013.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64krb53-1.15.1-2pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/krb5-1.15.1-2pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64keyutils1-1.2-6pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64verto1-0.2.6-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64ext2fs2-1.43.1-2pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/e2fsprogs-1.43.1-2pclos2016.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/uuidd-2.30.1-3pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/lib64audit-devel-2.1.2-3pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/glibc-devel-2.20-10pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/glibc-headers-devel-4.9.4-1pclos2017.x86_64.rpm" \ + "${MIRROR}/RPMS.x86_64/rpm-pclinuxos-setup-1.135-5pclos2017.x86_64.rpm" \ + "http://ftp.nluug.nl/pub/os/Linux/distr/pclinuxos/pclinuxos/apt/pclinuxos/64bit/RPMS.x86_64/lib64pam0-1.1.4-1pclos2011.x86_64.rpm" \ + "http://ftp.nluug.nl/pub/os/Linux/distr/pclinuxos/pclinuxos/apt/pclinuxos/64bit/RPMS.x86_64/pam-1.1.4-1pclos2011.x86_64.rpm" \ + "http://ftp.nluug.nl/pub/os/Linux/distr/pclinuxos/pclinuxos/apt/pclinuxos/64bit/RPMS.x86_64/lib64pam-devel-1.1.4-1pclos2011.x86_64.rpm" \ + "http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/6/x86_64/media/core/release//fdupes-1.51-6.mga6.x86_64.rpm" \ + +sudo mkdir -p "${INSTALLROOT}/var/lib/rpm" +sudo rpmdb --initdb --root="${INSTALLROOT}" + +sudo rpm -Uvh \ + --root="${INSTALLROOT}" \ + *.rpm + +cd - + +sudo chroot "${INSTALLROOT}" rpmdb --rebuilddb +sudo chroot "${INSTALLROOT}" rpmdb --rebuilddb + +sudo tar -C "${INSTALLROOT}" -c . >"${IMAGE}.tar" +sudo rm -rf "${INSTALLROOT}" + +docker rmi -f "${IMAGE}" +docker import "${IMAGE}.tar" "${IMAGE}" diff --git a/redhat/docker/pclinuxos/Dockerfile.x86_64 b/redhat/docker/pclinuxos/Dockerfile.x86_64 new file mode 100644 index 000000000..6bee4f4e3 --- /dev/null +++ b/redhat/docker/pclinuxos/Dockerfile.x86_64 @@ -0,0 +1,32 @@ +FROM pclinuxos:2017 + +ARG TDE_VERSION=14.0.4 +ARG ARCH=x86_64 + +# Update distribution +RUN apt-get -y update +RUN apt-get -y dist-upgrade + +# Install Trinity build dependencies +ADD packages.${ARCH} /etc/apt/packages +RUN apt-get -y install $(>/etc/sudoers +ADD rpmmacros /home/trinity/.rpmmacros + +# Fix SUDO configuration +RUN sed -i "/etc/pam.d/sudo" -e "/pam_limits.so/ s|^|#|" + +# Fix missing '.la' files +ADD genla.sh /usr/bin/genla.sh +RUN genla.sh libbluetooth && mv /usr/lib64/libbluetooth.la /lib64 +RUN genla.sh libjpeg +RUN genla.sh liblcms +RUN genla.sh libusb-1.0 && mv /usr/lib64/libusb-1.0.la /lib64 && cp /lib64/libusb-1.0.la /lib64/libusb.la diff --git a/redhat/docker/pclinuxos/genla.sh b/redhat/docker/pclinuxos/genla.sh new file mode 100755 index 000000000..b909b0601 --- /dev/null +++ b/redhat/docker/pclinuxos/genla.sh @@ -0,0 +1,63 @@ +#!/bin/bash + +LIB="$1" +LIBDIR="$(rpm -E %_libdir)" +FILENAME="${LIB}.la" +FILE="${LIBDIR}/${FILENAME}" + +if [ -r "${FILE}" ]; then + echo "Already exists !!! Abort" + exit 1 +fi + +LIBLONG="$(echo ${LIBDIR}/${LIB}.so.*.*)" +LIBSHORT="$(echo ${LIBDIR}/${LIB}.so.?)" + +echo "Library: ${LIBLONG} | ${LIBSHORT}" + + +cat </tmp/$LIB.$$ +# ${FILENAME} - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='${LIBSHORT}' + +# Names of this library. +library_names='${LIBLONG} ${LIBSHORT} ${LIB}.so' + +# The name of the static archive. +old_library='${LIB}.a' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' -lm' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for ${LIB}. +current=4 +age=2 +revision=0 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='${LIBDIR}' +EOF + +sudo mv "/tmp/$LIB.$$" "${FILE}" diff --git a/redhat/docker/pclinuxos/packages.x86_64 b/redhat/docker/pclinuxos/packages.x86_64 new file mode 100644 index 000000000..fc9ade644 --- /dev/null +++ b/redhat/docker/pclinuxos/packages.x86_64 @@ -0,0 +1,172 @@ +alsa-lib-devel +aspell-devel +audiofile-devel +audit-devel +binutils-devel +bison +boost-devel +ccache +cdparanoia +chmlib-devel +chrpath +cmake +cups-devel +desktop-file-utils +djvulibre +docbook-style-xsl +doxygen +drakconf +dssi-devel +esound-devel +exempi-devel +fdupes +file-devel +firebird-devel +flex +fontconfig-devel +freetype-devel +fribidi-devel +gamin-devel +gcc-c++ +gettext-devel +glib2-devel +gnokii-devel +gnutls-devel +gpgme-devel +gphoto2-devel +GraphicsMagick-devel +gsl-devel +gtk2-devel +gtk+3.0-devel +hspell-devel +htdig +ImageMagick-devel +imake +java-devel +lib64cryptsetup-devel +lib64dvdread-devel +lib64exiv2-devel +lib64gif-devel +lib64inotifytools-devel +lib64iw29-devel +lib64mpcdec-devel +lib64OpenSP5-devel +lib64pkcs11-helper-devel +lib64poppler-devel +lib64readline-devel +lib64sane1-devel +lib64usb1.0-devel +lib64usb-compat0.1-devel +lib64wv2-devel +lib64xaw-devel +lib64xine1.2-devel +lib64yaz-devel +libcap-devel +libcdda-devel +libconfig-devel +libcurl-devel +libffmpeg-devel +libflac-devel +libflac++-devel +libfontenc-devel +libgadu-devel +libgpod-devel +libgstreamer0.10-devel +libical-devel +libice-devel +libjack-devel +libjasper-devel +libjpeg-devel +liblame-devel +liblo-devel +liblrdf-devel +libmad-devel +libmng-devel +libmp4v2-devel +libmtp-devel +libmusicbrainz-devel +libnjb-devel +libnm-util-devel +libofa-devel +libofx-devel +libotr-devel +libpaper-devel +libpng-devel +libpqxx-devel +libpthread-stubs +libpulseaudio-devel +libqalculate-devel +libraw1394-devel +librsvg +librsync-devel +libsmbclient-devel +libsm-devel +libt1lib-devel +libtheora-devel +libudev-devel +libv4l-devel +libvisual-devel +libvorbis-devel +libwmf-devel +libwpd-devel +libx11-devel +libxcb-devel +libxcursor-devel +libxext-devel +libxft-devel +libxi-devel +lib64xine1.2-devel +libxinerama-devel +libxkbfile-devel +libxmu-devel +libxrandr-devel +libxrender-devel +libxscrnsaver-devel +libxslt-devel +libxxf86dga-devel +lirc-devel +lm_sensors-devel +mesaglu-devel +mysql-devel +nas-devel +neon-devel +net-snmp-devel +NetworkManager-glib-devel +ocaml +OpenEXR-devel +openldap-devel +opensc +openslp-devel +pam-devel +perl-devel +pilot-link-devel +postgresql +postgresql-devel +pth-devel +python-devel +python-rpm +recode +rpm-build +rpm-devel +ruby-devel +scons +SDL-devel +speex-devel +sqlite3-devel +sqlite-devel +subversion-devel +sudo +sword-devel +taglib-devel +transfig +udisks2-devel +unixODBC-devel +utempter-devel +valgrind +vim-enhanced +x11-font-util +xscreensaver +xscreensaver-base +xscreensaver-extrusion +xscreensaver-gl +yaz diff --git a/redhat/docker/pclinuxos/rpmbuild.list b/redhat/docker/pclinuxos/rpmbuild.list new file mode 100644 index 000000000..5b838caa9 --- /dev/null +++ b/redhat/docker/pclinuxos/rpmbuild.list @@ -0,0 +1 @@ +rpm file:/home/trinity/rpmbuild RPMS.tde-${TDE_VERSION} ${ARCH} noarch diff --git a/redhat/docker/pclinuxos/rpmmacros b/redhat/docker/pclinuxos/rpmmacros new file mode 100644 index 000000000..6a2891f3f --- /dev/null +++ b/redhat/docker/pclinuxos/rpmmacros @@ -0,0 +1,4 @@ +%dist .pclos2017 +%_smp_mflags -j8 +%jobs 8 +%pclinuxos 2017 diff --git a/redhat/genla.sh b/redhat/genla.sh deleted file mode 100755 index b909b0601..000000000 --- a/redhat/genla.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/bash - -LIB="$1" -LIBDIR="$(rpm -E %_libdir)" -FILENAME="${LIB}.la" -FILE="${LIBDIR}/${FILENAME}" - -if [ -r "${FILE}" ]; then - echo "Already exists !!! Abort" - exit 1 -fi - -LIBLONG="$(echo ${LIBDIR}/${LIB}.so.*.*)" -LIBSHORT="$(echo ${LIBDIR}/${LIB}.so.?)" - -echo "Library: ${LIBLONG} | ${LIBSHORT}" - - -cat </tmp/$LIB.$$ -# ${FILENAME} - a libtool library file -# Generated by libtool (GNU libtool) 2.4.2 -# -# Please DO NOT delete this file! -# It is necessary for linking the library. - -# The name that we can dlopen(3). -dlname='${LIBSHORT}' - -# Names of this library. -library_names='${LIBLONG} ${LIBSHORT} ${LIB}.so' - -# The name of the static archive. -old_library='${LIB}.a' - -# Linker flags that can not go in dependency_libs. -inherited_linker_flags='' - -# Libraries that this one depends upon. -dependency_libs=' -lm' - -# Names of additional weak libraries provided by this library -weak_library_names='' - -# Version information for ${LIB}. -current=4 -age=2 -revision=0 - -# Is this an already installed library? -installed=yes - -# Should we warn about portability when linking against -modules? -shouldnotlink=no - -# Files to dlopen/dlpreopen -dlopen='' -dlpreopen='' - -# Directory that this library needs to be installed in: -libdir='${LIBDIR}' -EOF - -sudo mv "/tmp/$LIB.$$" "${FILE}" diff --git a/redhat/packages.pclos b/redhat/packages.pclos deleted file mode 100644 index 3a6d761e9..000000000 --- a/redhat/packages.pclos +++ /dev/null @@ -1,153 +0,0 @@ -alsa-lib-devel -aspell-devel -audiofile-devel -audit-devel -binutils-devel -bison -boost-devel -ccache -chmlib-devel -chrpath -cmake -cups-devel -djvulibre -doxygen -dssi-devel -esound-devel -fdupes -file-devel -firebird-devel -flex -fontconfig-devel -freetype-devel -fribidi-devel -gamin-devel -gcc-c++ -gettext-devel -glib2-devel -gnokii-devel -gnutls-devel -gpgme-devel -gphoto2-devel -GraphicsMagick-devel -gsl-devel -gtk2-devel -gtk+3.0-devel -hspell-devel -htdig -ImageMagick-devel -imake -java-devel -lib64dvdread-devel -lib64exiv2-devel -lib64gif-devel -lib64inotifytools-devel -lib64iw29-devel -lib64mpcdec-devel -lib64OpenSP5-devel -lib64poppler-devel -lib64readline-devel -lib64sane1-devel -lib64usb1.0-devel -lib64usb-compat0.1-devel -lib64wv2-devel -lib64xaw-devel -lib64yaz-devel -libcap-devel -libcdda-devel -libconfig-devel -libcurl-devel -libffmpeg-devel -libflac-devel -libflac++-devel -libfontenc-devel -libgadu-devel -libgpod-devel -libgstreamer0.10-devel -libical-devel -libice-devel -libjack-devel -libjasper-devel -libjpeg-devel -liblame-devel -liblo-devel -liblrdf-devel -libmad-devel -libmng-devel -libmp4v2-devel -libmtp-devel -libmusicbrainz-devel -libnjb-devel -libnm-util-devel -libofx-devel -libotr-devel -libpaper-devel -libpng-devel -libpqxx-devel -libpulseaudio-devel -libraw1394-devel -librsvg -libsmbclient-devel -libsm-devel -libt1lib-devel -libtheora-devel -libudev-devel -libv4l-devel -libvisual-devel -libvorbis-devel -libwmf-devel -libwpd-devel -libx11-devel -libxcb-devel -libxcursor-devel -libxext-devel -libxft-devel -libxi-devel -libxine-devel -libxinerama-devel -libxkbfile-devel -libxmu-devel -libxrandr-devel -libxrender-devel -libxscrnsaver-devel -libxslt-devel -libxxf86dga-devel -lirc-devel -lm_sensors-devel -mesaglu-devel -mysql-devel -nas-devel -neon-devel -net-snmp-devel -NetworkManager-glib-devel -ocaml -OpenEXR-devel -openldap-devel -openslp-devel -pam-devel -perl-devel -pilot-link-devel -postgresql -postgresql-devel -pth-devel -python-devel -rpm-devel -ruby-devel -scons -SDL-devel -speex-devel -sqlite3-devel -sqlite-devel -subversion-devel -sword-devel -taglib-devel -transfig -udisks2-devel -unixODBC-devel -utempter-devel -valgrind -x11-font-util -xscreensaver-base -xscreensaver-extrusion -xscreensaver-gl -yaz -- cgit v1.2.1