RPM: more updates

pull/73/head
François Andriot 3 years ago
parent effbf509ee
commit 05e981f0b8

1
redhat/.gitignore vendored

@ -1 +0,0 @@
*/*/patches

@ -1,6 +1,6 @@
SHELL := /bin/bash
PATH := $(PATH):$(shell pwd)/build
TDE_VERSION := $(shell echo $${TDE_VERSION:-14.0.7})
TDE_VERSION := $(shell echo $${TDE_VERSION:-14.1.0})
TDE_GIT_DIR := $(shell cd ../../tde; pwd)
TDE_PACKAGING_DIR := $(shell [ -n "$${TDE_PACKAGING_DIR}" ] && cd "$${TDE_PACKAGING_DIR}" || cd ..; pwd)
RPMDIR := "$(shell rpm -E %{_rpmdir}.tde-$(TDE_VERSION))"

@ -131,7 +131,7 @@ fi
-DWITH_ALL_OPTIONS="ON" \
..
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install

@ -124,7 +124,7 @@ unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
%if 0%{?fedora} >= 31
%if 0%{?fedora} >= 31 || 0%{?rhel} >= 8
CXXFLAGS="${RPM_OPT_FLAGS} -std=c++11"
%endif

@ -105,12 +105,12 @@ BuildRequires: openldap24-libs-devel
#BuildRequires: krb5-devel
# HEIMDAL support
#%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
#BuildRequires: heimdal-devel
#%endif
#%if 0%{?suse_version}
#BuildRequires: libheimdal-devel
#%endif
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: heimdal-devel
%endif
%if 0%{?suse_version}
BuildRequires: libheimdal-devel
%endif
# UDEV support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6

@ -95,12 +95,12 @@ BuildRequires: openldap24-libs-devel
#BuildRequires: krb5-devel
# HEIMDAL support
#%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
#BuildRequires: heimdal-devel
#%endif
#%if 0%{?suse_version}
#BuildRequires: libheimdal-devel
#%endif
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: heimdal-devel
%endif
%if 0%{?suse_version}
BuildRequires: libheimdal-devel
%endif
# UDEV support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6

@ -92,12 +92,12 @@ BuildRequires: openldap24-libs-devel
#BuildRequires: krb5-devel
# HEIMDAL support
#%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
#BuildRequires: heimdal-devel
#%endif
#%if 0%{?suse_version}
#BuildRequires: libheimdal-devel
#%endif
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: heimdal-devel
%endif
%if 0%{?suse_version}
BuildRequires: libheimdal-devel
%endif
# UDEV support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6

@ -92,12 +92,12 @@ BuildRequires: openldap24-libs-devel
#BuildRequires: krb5-devel
# HEIMDAL support
#%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
#BuildRequires: heimdal-devel
#%endif
#%if 0%{?suse_version}
#BuildRequires: libheimdal-devel
#%endif
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: heimdal-devel
%endif
%if 0%{?suse_version}
BuildRequires: libheimdal-devel
%endif
# UDEV support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6

@ -180,8 +180,11 @@ echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload"
%{tde_bindir}/kgtk-wrapper
%{tde_bindir}/kgtk2-wrapper
%{tde_bindir}/kqt3-wrapper
%dir %{tde_datadir}/kgtk
%dir %{tde_libdir}/kgtk
%{tde_libdir}/kgtk/libkgtk2.so
%{tde_libdir}/kgtk/libkqt3.so
%{tde_datadir}/kgtk/preload
%changelog

@ -1,5 +1,5 @@
#
# spec file for package mathemagics (version R14.0.0)
# spec file for package mathemagics (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#

@ -1,12 +1,12 @@
#!/bin/bash -ex
# Usage: build_rpm_package.sh <TDE_PACKAGE> [TDE_VERSION]
# Example: build_rpm_package.sh tdebase 14.0.7
# Example: build_rpm_package.sh tdebase 14.1.0
PKGNAME="${1%/}"
PKGNAME="${PKGNAME##*/}"
TDE_VERSION="${2:-${TDE_VERSION:-14.0.7}}"
TDE_VERSION="${2:-${TDE_VERSION:-14.1.0}}"
PATH="$(cd $(dirname $0); pwd):${PATH}"
SPECFILE=$(get_specfile.sh ${PKGNAME} ${TDE_VERSION})

@ -1,6 +1,6 @@
#!/bin/bash -x
TDE_VERSION="${1:-${TDE_VERSION:-14.0.7}}"
TDE_VERSION="${1:-${TDE_VERSION:-14.1.0}}"
ARCH=$(rpm -E %_target_cpu)
RPMDIR=$(rpm -E %{_rpmdir}.tde-${TDE_VERSION})

@ -1,11 +1,11 @@
#!/bin/bash
# Usage: gather_rpm_sources.sh <TDE_PACKAGE> <TDE_VERSION> <DESTINATION>
# Example: gather_rpm_sources.sh tdebase 14.0.7 /tmp/tdebase
# Example: gather_rpm_sources.sh tdebase 14.1.0 /tmp/tdebase
PKGNAME="${1%/}"
PKGNAME="${PKGNAME##*/}"
TDE_VERSION="${2:-${TDE_VERSION:-14.0.7}}"
TDE_VERSION="${2:-${TDE_VERSION:-14.1.0}}"
TARGETDIR="${3:-/tmp/${PKGNAME}-${TDE_VERSION}}"
DIST="$4"

@ -1,6 +1,6 @@
#!/bin/bash
# Sample package name: trinity-tdelibs-14.0.7-0_pre727+6be06b3d.mga3.opt
# Sample package name: trinity-tdelibs-14.1.0-0_pre727+6be06b3d.mga3.opt
PKGNAME="${1##*/}"
[ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1

@ -2,7 +2,7 @@
PKGNAME="$1"
[ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1
TDE_VERSION="${2:-${TDE_VERSION:-14.0.7}}"
TDE_VERSION="${2:-${TDE_VERSION:-14.1.0}}"
RPMDIR="$(rpm -E %{_rpmdir}.tde-${TDE_VERSION})"
RPMDIR_ARCH="${RPMDIR}/$(rpm -E %_target_cpu)"

@ -1,7 +1,7 @@
#!/bin/bash
PKGNAME="$1"
TDE_VERSION="${2:-${TDE_VERSION:-14.0.7}}"
TDE_VERSION="${2:-${TDE_VERSION:-14.1.0}}"
[ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1

@ -1,7 +1,7 @@
#!/bin/bash
PKGNAME="${1##*/}"
TDE_VERSION="${2:-${TDE_VERSION:-14.0.7}}"
TDE_VERSION="${2:-${TDE_VERSION:-14.1.0}}"
[ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1
[ -d "${TARBALLS_DIR}" ] || TARBALLS_DIR=~/tde/tarballs/${TDE_VERSION}/

@ -1,7 +1,7 @@
#!/bin/bash
PKGNAME="${1##*/}"
TDE_VERSION="${2:-${TDE_VERSION:-14.0.7}}"
TDE_VERSION="${2:-${TDE_VERSION:-14.1.0}}"
[ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1

@ -1,7 +1,7 @@
#!/bin/bash
PKGNAME="${1##*/}"
TDE_VERSION="${2:-${TDE_VERSION:-14.0.7}}"
TDE_VERSION="${2:-${TDE_VERSION:-14.1.0}}"
DIST="$3"
[ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1

@ -1,7 +1,7 @@
#!/bin/bash
PKGNAME="${1##*/}"
TDE_VERSION="${2:-${TDE_VERSION:-14.0.7}}"
TDE_VERSION="${2:-${TDE_VERSION:-14.1.0}}"
[ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1

@ -1,7 +1,7 @@
#!/bin/bash
PKGNAME="${1##*/}"
TDE_VERSION="${2:-${TDE_VERSION:-14.0.7}}"
TDE_VERSION="${2:-${TDE_VERSION:-14.1.0}}"
[ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1

@ -1,7 +1,7 @@
#!/bin/bash
PKGNAME="${1##*/}"
TDE_VERSION="${2:-${TDE_VERSION:-14.0.7}}"
TDE_VERSION="${2:-${TDE_VERSION:-14.1.0}}"
BUILT="$(get_latest_built_package_version.sh ${PKGNAME} ${TDE_VERSION})"
TARBALL="$(get_latest_tarball_version.sh ${PKGNAME} ${TDE_VERSION})"

@ -1,7 +1,7 @@
#!/bin/bash
PKGNAME="${1##*/}"
TDE_VERSION="${2:-${TDE_VERSION:-14.0.7}}"
TDE_VERSION="${2:-${TDE_VERSION:-14.1.0}}"
INSTALLED=$(get_installed_package_version.sh ${PKGNAME} ${TDE_VERSION})
TARBALL=$(get_latest_tarball_version.sh ${PKGNAME} ${TDE_VERSION})

@ -1,7 +1,7 @@
#!/bin/bash
WORKERS=$(getconf _NPROCESSORS_ONLN)
TDE_VERSION="${2:-${TDE_VERSION:-14.0.7}}"
TDE_VERSION="${2:-${TDE_VERSION:-14.1.0}}"
LOCKFILE="/tmp/lock.${0##*/}"
while [ -e "${LOCKFILE}" ]; do

@ -57,6 +57,7 @@ Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0
BuildRequires: libtqca-devel >= %{tde_epoch}:1.0
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: openssl-devel >= 0.9.8

@ -1270,7 +1270,7 @@ echo "sle_version = %{?sle_version}"
# fix variables in 'qmake.conf'
%__sed -i mkspecs/*/qmake.conf \
-e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \
-e "s|^QMAKE_INCDIR_TQT.*|QMAKE_INCDIR_TQT = %{_includedir}/tqt3|" \
-e "s|\$(QTDIR)|/usr|g" \
-e "s|-lqt|-ltqt|g" \
-e "s|^QMAKE_CFLAGS =.*|QMAKE_CFLAGS = %{?optflags} -pipe -fvisibility=hidden -fvisibility-inlines-hidden|" \
@ -1281,8 +1281,8 @@ echo "sle_version = %{?sle_version}"
-e "s|^QMAKE_STRIPFLAGS_LIB +=.*|QMAKE_STRIPFLAGS_LIB +=|" \
-e "s|^QMAKE_MOC =.*|QMAKE_MOC = %{_bindir}/tqmoc|" \
-e "s|^QMAKE_UIC =.*|QMAKE_UIC = %{_bindir}/tquic|" \
-e "s|^QMAKE_INCDIR_QT =.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \
-e "s|^QMAKE_LIBDIR_QT =.*|QMAKE_LIBDIR_QT = %{_libdir}|" \
-e "s|^QMAKE_INCDIR_TQT =.*|QMAKE_INCDIR_TQT = %{_includedir}/tqt3|" \
-e "s|^QMAKE_LIBDIR_TQT =.*|QMAKE_LIBDIR_TQT = %{_libdir}|" \
%build

@ -18,7 +18,6 @@
# BUILD WARNING:
# Remove qt-devel and qt3-devel and any kde*-devel on your system !
# Having KDE libraries may cause FTBFS here !
%global
# TDE variables
%define tde_epoch 2

@ -4,7 +4,7 @@ DISTRIB="$1"
TDE_VERSION="$2"
ARCH="$3"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.7"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.1.0"
[ -z "${ARCH}" ] && ARCH="x86_64"
[ -x /usr/bin/podman ] && DOCKER=podman || DOCKER=docker

@ -20,7 +20,7 @@ RUN echo "proxy=http://proxy:3128" >>"/etc/dnf/dnf.conf" \
&& dnf -y install epel-release \
&& dnf -y install https://download1.rpmfusion.org/free/el/updates/8/x86_64/r/rpmfusion-free-release-8-0.1.noarch.rpm \
&& dnf -y install dnf-plugins-core \
&& dnf config-manager --enable PowerTools \
&& dnf config-manager --enable powertools \
&& dnf -y --enableplugin=ovl install $(</packages)
# Add YUM repository for locally built packages
@ -40,56 +40,17 @@ COPY rpmmacros /home/trinity/.rpmmacros
# Build supplementary development tools
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/l/libofx-0.9.13-2.fc30.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/libofx{,-devel}-0*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/g/gnuchess-6.2.5-8.fc30.src.rpm \
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/32/Everything/source/tree/Packages/g/gnuchess-6.2.5-10.fc32.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/gnuchess-6*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/p/pilot-link-0.12.5-41.fc30.src.rpm \
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/32/Everything/source/tree/Packages/p/pilot-link-0.12.5-44.fc32.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/pilot-link-{devel,libs}-0*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/p/pylibacl-0.5.2-11.fc30.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/pylibacl-0*.rpm --nodeps
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/p/pyxattr-0.5.6-3.fc30.src.rpm --nocheck \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/python2-pyxattr-0*.rpm --nodeps
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/r/rdiff-backup-1.2.8-31.fc30.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/rdiff-backup-1*.rpm --nodeps
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/p/pcsc-perl-1.4.14-10.fc30.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/pcsc-perl-1*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/s/sword-1.8.1-11.fc30.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/sword{,-devel}-1*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/p/psutils-1.23-15.fc30.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/psutils-1*.rpm
#RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/j/jasper-2.0.14-8.fc30.src.rpm
#RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/jasper-2*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/w/wireless-tools-29-22.fc30.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/wireless-tools{,-devel}-29*.rpm
RUN rpmbuild --rebuild https://li.nux.ro/download/nux/dextop/el7/SRPMS/libgssglue-0.4-2.el7.nux.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/libgssglue{,-devel}-0*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/l/libao-1.2.0-14.fc30.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/libao{,-devel}-1*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/r/rdesktop-1.8.4-3.fc30.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/rdesktop-1*.rpm
RUN sudo rpm -Uvh http://rpms.remirepo.net/enterprise/8/remi/x86_64/hiredis-0.13.3-9.el8.remi.x86_64.rpm http://rpms.remirepo.net/enterprise/8/remi/x86_64/libyaz{,-devel}-5.14.11-14.el8.remi.x86_64.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/p/perl-PAR-1.015-8.fc30.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-PAR-1*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/p/perl-PAR-Dist-0.49-17.fc30.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-PAR-Dist-0*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/p/perl-Getopt-ArgvFile-1.11-28.fc30.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-Getopt-ArgvFile-1*.rpm

@ -57,6 +57,7 @@ gtk2-devel
gtk3-devel
gtk-doc
guile-devel
heimdal-devel
hspell-devel
icu
ImageMagick-devel
@ -71,6 +72,7 @@ java-openjdk
kernel
lame-devel
libacl-devel
libao-devel
libarchive-devel
libassuan-devel
libblkid-devel
@ -85,6 +87,7 @@ libdvdread-devel
libfontenc-devel
libgpod-devel
libgsf-devel
libgssglue-devel
libical-devel
libidn-devel
libksba-devel
@ -95,6 +98,7 @@ libmp4v2-devel
libmpcdec-devel
libmtp-devel
libnsl2-devel
libofx-devel
libogg-devel
libotr-devel
libpaper-devel
@ -149,12 +153,14 @@ pam-devel
pciutils-devel
pcre-devel
pcsc-lite-devel
pcsc-perl
perl
perl-devel
perl-generators
perl(ExtUtils::MakeMaker)
perl(inc::Module::Install)
perl(IPC::Run3)
perl(PAR::Dist)
perl(Module::Signature)
perl(Test::Pod)
perl(Test::Pod::Coverage)
@ -167,11 +173,16 @@ postgresql
postgresql-devel
postgresql-server-devel
ppp
psutils
pulseaudio-libs-devel
pylibacl
python2
python2-devel
python3
python3-devel
python3-pyxattr
rdesktop
rdiff-backup
readline-devel
recode
redhat-rpm-config
@ -188,6 +199,7 @@ sqlite-devel
subversion-devel
sudo
swig
sword-devel
systemd-devel
taglib-devel
tcl

@ -1,3 +1,5 @@
%dist .el8
%_smp_mflags -j8
%jobs 8
%_debugsource_packages %nil
%_debugsource_template %nil

@ -228,6 +228,7 @@ xmedcon
xmedcon-devel
xmlto
xorg-x11-font-utils
xorg-x11-server-utils
xscreensaver
xscreensaver-extras
xz-devel

@ -2,3 +2,5 @@
%_smp_mflags -j8
%jobs 8
%__cmake_builddir %nil
%_debugsource_packages %nil
%_debugsource_template %nil

@ -2,3 +2,5 @@
%_smp_mflags -j8
%jobs 8
%_program_prefix ""
%_debugsource_packages %nil
%_debugsource_template %nil

@ -4,7 +4,7 @@ DISTRIB="$1"
TDE_VERSION="$2"
ARCH="$3"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.7"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.1.0"
[ -z "${ARCH}" ] && ARCH="x86_64"
IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}"

@ -4,7 +4,7 @@ DISTRIB="$1"
TDE_VERSION="$2"
ARCH="$3"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.7"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.1.0"
[ -z "${ARCH}" ] && ARCH="x86_64"
IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}"

@ -4,7 +4,7 @@ DISTRIB="$1"
TDE_VERSION="$2"
ARCH="$3"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.7"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.1.0"
[ -z "${ARCH}" ] && ARCH="x86_64"
IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}"

@ -4,7 +4,7 @@ DISTRIB="$1"
TDE_VERSION="$2"
ARCH="$3"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.7"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.1.0"
[ -z "${ARCH}" ] && ARCH="x86_64"
[ -x /usr/bin/podman ] && DOCKER=podman || DOCKER=docker

@ -17,7 +17,7 @@
# TDE variables
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.1.0
%endif
%define tde_prefix /opt/trinity

@ -19,7 +19,7 @@
#copyright : (C) 2003 SuSE AG
#email : Uwe.Gansert@suse.de
%if 0%{?fedora} >= 27
%if 0%{?fedora} >= 27 || 0%{?mgaversion} >= 7 || 0%{?rhel} >= 8
%global debug_package %{nil}
%endif

@ -16,7 +16,7 @@
#
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.1.0
%endif
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".

@ -17,7 +17,7 @@
# TDE variables
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.1.0
%endif
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -96,12 +96,12 @@ BuildRequires: openldap24-libs-devel
%endif
# HEIMDAL support
#%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
#BuildRequires: heimdal-devel
#%endif
#%if 0%{?suse_version}
#BuildRequires: libheimdal-devel
#%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: heimdal-devel
%endif
%if 0%{?suse_version}
BuildRequires: libheimdal-devel
%endif
# UDEV support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6

@ -166,7 +166,7 @@ export PATH="%{tde_bindir}:${PATH}"
# Unwanted files
%__rm -f %{buildroot}%{perl_archlib}/perllocal.pod
%__rm -f %{buildroot}%{perl_vendorarch}/auto/TQt/.packlist
chmod u+w %{buildroot}%{perl_archlib}/vendor_perl/auto/TQt/TQt.so
%clean
%__rm -rf %{buildroot}

@ -465,7 +465,6 @@ graphical disk usage viewer and image conversions and transformations.
%{_sysconfdir}/trinity/translaterc
%{tde_bindir}/fsview
%{tde_bindir}/jpegorient
%{tde_bindir}/tdeio_media_realfolder
%{tde_tdelibdir}/konq_sidebarnews.la
%{tde_tdelibdir}/konq_sidebarnews.so
%{tde_tdelibdir}/konqsidebar_delicious.la

@ -1486,9 +1486,7 @@ TDE applications, particularly those in the TDE base module.
%{tde_libdir}/libtdeinit_kxkb.la
%{tde_libdir}/libtdeinit_kxkb.so
%{tde_libdir}/libkhotkeys_shared.so.*
%if "%{?tde_version}" == "14.1.0"
%{tde_tdeappdir}/kdcop.desktop
%endif
%{tde_tdeappdir}/keyboard.desktop
%{tde_tdeappdir}/keyboard_layout.desktop
%{tde_tdeappdir}/khotkeys.desktop
@ -2304,7 +2302,7 @@ already. Most users won't need this.
/usr/lib/X11/displaymanagers/tdm
%endif
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 || 0%{?mgaversion} >= 6
#/usr/lib/systemd/system/tdm.service
/usr/lib/systemd/system/tdm.service
%endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} >= 6
%{_datadir}/xsessions/tde.desktop

@ -32,6 +32,7 @@
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
%define tde_mandir %{tde_datadir}/man
%define tde_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
@ -156,6 +157,7 @@ Requires: trinity-ktron = %{version}-%{release}
Requires: trinity-ktuberling = %{version}-%{release}
Requires: trinity-twin4 = %{version}-%{release}
Requires: trinity-lskat = %{version}-%{release}
Requires: trinity-tdefifteen = %{version}-%{release}
%description
@ -189,6 +191,7 @@ TDE desktop.
%defattr(-,root,root,-)
%{tde_datadir}/cmake/libtdegames.cmake
%{tde_libdir}/pkgconfig/libtdegames.pc
%{tde_mandir}/man*/atlantik.*
##########
@ -325,6 +328,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/apps/kasteroids/
%{tde_datadir}/config.kcfg/kasteroids.kcfg
%{tde_tdedocdir}/HTML/en/kasteroids/
%{tde_mandir}/man*/kasteroids.*
##########
@ -347,6 +351,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_tdeappdir}/katomic.desktop
%{tde_bindir}/katomic
%{tde_tdedocdir}/HTML/en/katomic/
%{tde_mandir}/man*/katomic.*
##########
@ -371,6 +376,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/icons/hicolor/*/apps/kbackgammon.png
%{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png
%{tde_tdedocdir}/HTML/en/kbackgammon/
%{tde_mandir}/man*/kbackgammon.*
##########
@ -394,6 +400,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_tdeappdir}/kbattleship.desktop
%{tde_bindir}/kbattleship
%{tde_tdedocdir}/HTML/en/kbattleship/
%{tde_mandir}/man*/kbattleship.*
##########
@ -418,6 +425,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_tdeappdir}/kblackbox.desktop
%{tde_bindir}/kblackbox
%{tde_tdedocdir}/HTML/en/kblackbox/
%{tde_mandir}/man*/kblackbox.*
##########
@ -452,6 +460,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/icons/hicolor/*/apps/kbounce.png
%{tde_bindir}/kbounce
%{tde_tdedocdir}/HTML/en/kbounce/
%{tde_mandir}/man*/kbounce.*
##########
@ -478,6 +487,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_tdeappdir}/kenolaba.desktop
%{tde_bindir}/kenolaba
%{tde_tdedocdir}/HTML/en/kenolaba/
%{tde_mandir}/man*/kenolaba.*
##########
@ -501,6 +511,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_bindir}/kfouleggs
%{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png
%{tde_tdedocdir}/HTML/en/kfouleggs/
%{tde_mandir}/man*/kfouleggs.*
##########
@ -533,6 +544,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_tdeappdir}/KGoldrunner.desktop
%{tde_bindir}/kgoldrunner
%{tde_tdedocdir}/HTML/en/kgoldrunner/
%{tde_mandir}/man*/kgoldrunner.*
##########
@ -558,6 +570,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_tdeappdir}/kjumpingcube.desktop
%{tde_datadir}/config.kcfg/kjumpingcube.kcfg
%{tde_tdedocdir}/HTML/en/kjumpingcube/
%{tde_mandir}/man*/kjumpingcube.*
##########
@ -579,6 +592,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/icons/crystalsvg/*/actions/endturn.png
%{tde_datadir}/apps/klickety/
%{tde_tdedocdir}/HTML/en/klickety/
%{tde_mandir}/man*/klickety.*
##########
@ -609,6 +623,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/config.kcfg/klines.kcfg
%{tde_datadir}/icons/hicolor/*/apps/klines.png
%{tde_tdedocdir}/HTML/en/klines/
%{tde_mandir}/man*/klines.*
##########
@ -631,6 +646,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_bindir}/kmahjongg
%{tde_datadir}/config.kcfg/kmahjongg.kcfg
%{tde_tdedocdir}/HTML/en/kmahjongg/
%{tde_mandir}/man*/kmahjongg.*
##########
@ -657,6 +673,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/apps/kmines/
%{tde_bindir}/kmines
%{tde_tdedocdir}/HTML/en/kmines/
%{tde_mandir}/man*/kmines.*
##########
@ -679,6 +696,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/icons/hicolor/*/apps/knetwalk.png
%{tde_tdeappdir}/knetwalk.desktop
%{tde_tdedocdir}/HTML/en/knetwalk/
%{tde_mandir}/man*/knetwalk.*
##########
@ -709,6 +727,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_libdir}/libkolf.so.1.2.0
%{tde_tdedocdir}/HTML/en/kolf/
%config(noreplace) %{tde_confdir}/magic/kolf.magic.mgc
%{tde_mandir}/man*/kolf.*
##########
@ -749,6 +768,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_tdeappdir}/konquest.desktop
%{tde_bindir}/konquest
%{tde_tdedocdir}/HTML/en/konquest/
%{tde_mandir}/man*/konquest.*
##########
@ -769,6 +789,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_tdeappdir}/kpat.desktop
%{tde_bindir}/kpat
%{tde_tdedocdir}/HTML/en/kpat/
%{tde_mandir}/man*/kpat.*
##########
@ -789,6 +810,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_tdeappdir}/kpoker.desktop
%{tde_bindir}/kpoker
%{tde_tdedocdir}/HTML/en/kpoker/
%{tde_mandir}/man*/kpoker.*
##########
@ -818,6 +840,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/icons/crystalsvg/scalable/actions/legalmoves.svgz
%{tde_datadir}/icons/hicolor/*/apps/kreversi.png
%{tde_tdedocdir}/HTML/en/kreversi/
%{tde_mandir}/man*/kreversi.*
##########
@ -840,6 +863,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/apps/ksame/
%{tde_tdeappdir}/ksame.desktop
%{tde_tdedocdir}/HTML/en/ksame/
%{tde_mandir}/man*/ksame.*
##########
@ -863,6 +887,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_tdeappdir}/kshisen.desktop
%{tde_bindir}/kshisen
%{tde_tdedocdir}/HTML/en/kshisen/
%{tde_mandir}/man*/kshisen.*
##########
@ -890,6 +915,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_bindir}/ksirtet
%{tde_datadir}/config.kcfg/ksirtet.kcfg
%{tde_tdedocdir}/HTML/en/ksirtet/
%{tde_mandir}/man*/ksirtet.*
##########
@ -911,6 +937,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_tdeappdir}/ksmiletris.desktop
%{tde_bindir}/ksmiletris
%{tde_tdedocdir}/HTML/en/ksmiletris/
%{tde_mandir}/man*/ksmiletris.*
##########
@ -932,6 +959,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_tdeappdir}/ksnake.desktop
%{tde_bindir}/ksnake
%{tde_tdedocdir}/HTML/en/ksnake/
%{tde_mandir}/man*/ksnake.*
##########
@ -967,6 +995,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/icons/hicolor/*/apps/ksokoban.png
%{tde_bindir}/ksokoban
%{tde_tdedocdir}/HTML/en/ksokoban/
%{tde_mandir}/man*/ksokoban.*
##########
@ -992,6 +1021,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_bindir}/kspaceduel
%{tde_datadir}/config.kcfg/kspaceduel.kcfg
%{tde_tdedocdir}/HTML/en/kspaceduel/
%{tde_mandir}/man*/kspaceduel.*
##########
@ -1013,6 +1043,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/apps/ktron/
%{tde_datadir}/config.kcfg/ktron.kcfg
%{tde_tdedocdir}/HTML/en/ktron/
%{tde_mandir}/man*/ktron.*
##########
@ -1047,6 +1078,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/apps/ktuberling/
%{tde_datadir}/mimelnk/application/x-tuberling.desktop
%{tde_tdedocdir}/HTML/en/ktuberling/
%{tde_mandir}/man*/ktuberling.*
##########
@ -1077,6 +1109,8 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/icons/hicolor/*/apps/twin4.png
%{tde_tdeappdir}/twin4.desktop
%{tde_tdedocdir}/HTML/en/twin4/
%{tde_mandir}/man*/twin4.*
%{tde_mandir}/man*/twin4proc.*
##########
@ -1104,6 +1138,27 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/icons/hicolor/*/apps/lskat.png
%{tde_tdeappdir}/lskat.desktop
%{tde_tdedocdir}/HTML/en/lskat/
%{tde_mandir}/man*/lskat.*
%{tde_mandir}/man*/lskatproc.*
##########
%package -n trinity-tdefifteen
Summary: Puzzle-solving game for Trinity
Group: Amusements/Games
%description -n trinity-tdefifteen
TDEFifteen is a sliding puzzle that consists of a frame of numbered square
tiles in random order with one tile missing.
This package is part of Trinity, and a component of the TDE games module.
%files -n trinity-tdefifteen
%defattr(-,root,root,-)
%{tde_bindir}/tdefifteen
%{tde_tdeappdir}/tdefifteen.desktop
%{tde_datadir}/icons/hicolor/*/apps/tdefifteen.png
%{tde_mandir}/man*/tdefifteen.*
##########

@ -261,9 +261,9 @@ BuildRequires: speex-devel
# Build kopete motionaway plugin
%if 0%{?rhel} == 5
%define global build_kopete_motionaway 0
%define build_kopete_motionaway 0
%else
%define global build_kopete_motionaway 1
%define build_kopete_motionaway 1
%endif
Obsoletes: trinity-kdenetwork < %{version}-%{release}

@ -355,7 +355,7 @@ This is a frontend for the LIRC suite to use infrared devices with TDE.
%{tde_datadir}/icons/hicolor/*/apps/irkick.png
%{tde_datadir}/icons/locolor/*/apps/irkick.png
%{tde_tdedocdir}/HTML/en/irkick/
%{tde_tdedocdir}/HTML/en/kcmlirc/
%{tde_tdedocdir}/HTML/en/kcontrol/kcmlirc/
##########

Loading…
Cancel
Save