diff options
author | François Andriot <albator78@libertysurf.fr> | 2017-12-10 18:39:17 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2017-12-10 18:39:17 +0100 |
commit | cdfe982606b1229589e08d99f3fb6b1fc6f06db7 (patch) | |
tree | b3b329969ba50c9309a88f144a94bd2a3bc0d69b /redhat/docker/osstw | |
parent | 2c6b5dc9b85e94f37f166eee9da18b6d32446011 (diff) | |
download | tde-packaging-cdfe982606b1229589e08d99f3fb6b1fc6f06db7.tar.gz tde-packaging-cdfe982606b1229589e08d99f3fb6b1fc6f06db7.zip |
RPM: update build scripts for Fedora 27, opensuse TW
Diffstat (limited to 'redhat/docker/osstw')
-rw-r--r-- | redhat/docker/osstw/Dockerfile.i686 | 24 | ||||
-rw-r--r-- | redhat/docker/osstw/Dockerfile.x86_64 | 24 | ||||
-rw-r--r-- | redhat/docker/osstw/packages | 177 | ||||
-rw-r--r-- | redhat/docker/osstw/rpmmacros | 3 |
4 files changed, 228 insertions, 0 deletions
diff --git a/redhat/docker/osstw/Dockerfile.i686 b/redhat/docker/osstw/Dockerfile.i686 new file mode 100644 index 000000000..2cd3171c7 --- /dev/null +++ b/redhat/docker/osstw/Dockerfile.i686 @@ -0,0 +1,24 @@ +FROM opensuse32:tumbleweed + +ARG TDE_VERSION=14.0.4 +ARG ARCH=i686 + +# Add PACKMAN repository +RUN zypper ar -f -G -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ packman +RUN setarch ${ARCH} zypper refresh + +# Install Trinity build dependencies +ADD packages /etc/zypp/packages +RUN setarch ${ARCH} zypper remove -y openssl +RUN setarch ${ARCH} zypper install -l -y $(</etc/zypp/packages) + +# Add non-root user to build packages +RUN useradd -m -s /bin/bash -u 1000 trinity +RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers +ADD rpmmacros /home/trinity/.rpmmacros + +# Add YUM repository for locally built packages +RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} rpmbuild.${ARCH} +RUN zypper ar -C -G /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} rpmbuild.${ARCH} +RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch rpmbuild.noarch +RUN zypper ar -C -G /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch rpmbuild.noarch diff --git a/redhat/docker/osstw/Dockerfile.x86_64 b/redhat/docker/osstw/Dockerfile.x86_64 new file mode 100644 index 000000000..eadab8f65 --- /dev/null +++ b/redhat/docker/osstw/Dockerfile.x86_64 @@ -0,0 +1,24 @@ +FROM opensuse:tumbleweed + +ARG TDE_VERSION=14.0.4 +ARG ARCH=x86_64 + +# Add PACKMAN repository +RUN zypper ar -f -G -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ packman +RUN zypper refresh + +# Install Trinity build dependencies +ADD packages /etc/zypp/packages +RUN zypper remove -y openssl +RUN zypper install -l -y $(</etc/zypp/packages) + +# Add non-root user to build packages +RUN useradd -m -s /bin/bash -u 1000 trinity +RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers +ADD rpmmacros /home/trinity/.rpmmacros + +# Add YUM repository for locally built packages +RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} rpmbuild.${ARCH} +RUN zypper ar -C -G /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} rpmbuild.${ARCH} +RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch rpmbuild.noarch +RUN zypper ar -C -G /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch rpmbuild.noarch diff --git a/redhat/docker/osstw/packages b/redhat/docker/osstw/packages new file mode 100644 index 000000000..4af3c361a --- /dev/null +++ b/redhat/docker/osstw/packages @@ -0,0 +1,177 @@ +alsa-devel +aspell +aspell-devel +audiofile-devel +automake +bdftopcf +bind-devel +binutils-devel +bison +boost-devel +ccache +cdparanoia +cdparanoia-devel +chmlib-devel +cln-devel +chrpath +clamav +clucene-core-devel +cmake +createrepo +cups-devel +cyrus-sasl-devel +dbus-1-devel +dbus-1-glib-devel +djvulibre +docbook-utils +docbook-xsl-stylesheets +doxygen GraphicsMagick +dssi-devel +fdupes +ffmpeg-devel +fftw3-devel +file-devel +flac-devel +flex +freetype-devel +fribidi-devel +gamin-devel +gcc-c++ +giflib-devel +glu-devel +gmime-devel +gmp-devel +gnokii-devel +gperf xmlto +GraphicsMagick-devel +gsl-devel +gstreamer-devel +gstreamer-plugins-base-devel +gtk2-devel +gtk3-devel +gtk-doc +htdig +html2ps +hunspell-devel +ImageMagick-devel +imlib2-devel +intltool +java-1_8_0-openjdk-devel +libacl-devel +libart_lgpl-devel +libavahi-devel +libavcodec-devel +libblkid-devel +libbz2-devel +libcap-devel +libcdio-devel +libcdio-paranoia-devel +libconfig-devel +libcryptsetup-devel +libcurl-devel +libdb-4_8-devel +libdvdread-devel +libexempi-devel +libexiv2-devel +libgadu-devel +libgpgme-devel +libgphoto2-devel +libgpod-devel +libical-devel +libidn-devel +libiw-devel +libjack-devel +libjasper-devel +liblcms2-devel +liblo-devel +liblrdf-devel +libmad-devel +libmariadb-devel +libmng-devel +libmp3lame-devel +libmpcdec-devel +libmtp-devel +libmusicbrainz-devel +libneon-devel +libnjb-devel +libopenssl-1_1_0-devel +libofx-devel +libotr-devel +libpisock-devel +libpng16-devel +libpoppler-devel +libpqxx-devel +libpulse-devel +libqalculate-devel +libraw1394-devel +librsvg-devel +libsamplerate-devel +libSDL-devel +libsmbclient-devel +libsndfile-devel +libtag-devel +libtheora-devel +libtiff-devel +libtool +libtwolame-devel +libudev-devel +libv4l-devel +libvisual-devel +libvorbis-devel +libwmf-devel +libwpd-devel +libxine-devel +libxslt-devel +lilo +lirc-devel +make +meanwhile-devel +Mesa-devel +Mesa-libGL-devel +mozilla-nspr-devel +net-tools-deprecated +NetworkManager-devel +ocaml +openexr-devel +opensc +openslp-devel +opensp-devel +openssl-1_1_0 +pam-devel +patch +pciutils-devel +pcre-devel +pcsc-lite-devel +pkcs11-helper-devel +postgresql +postgresql-devel +python-devel +python-sip-devel +recode +rpm-build +rsvg-view +ruby +ruby-devel +sane-backends-devel +scons +speex-devel +sqlite3-devel +subversion-devel +sudo +swig +sword-devel +torsocks +transfig +udisks2-devel +unixODBC-devel +update-desktop-files +usbutils +utempter-devel +valgrind +wireless-tools +wv2-devel +xcb-proto-devel +xscreensaver +xscreensaver-data +xscreensaver-data-extra +xz-devel diff --git a/redhat/docker/osstw/rpmmacros b/redhat/docker/osstw/rpmmacros new file mode 100644 index 000000000..0f4902670 --- /dev/null +++ b/redhat/docker/osstw/rpmmacros @@ -0,0 +1,3 @@ +%dist .osstw +%_smp_mflags -j8 +%jobs 8 |