Signed-off-by: François Andriot <albator78@libertysurf.fr>pull/328/head
parent
1488354ed5
commit
ac47c91c6c
@ -0,0 +1,149 @@
|
||||
#
|
||||
# spec file for package tde-style-polyester (version R14)
|
||||
#
|
||||
# Copyright (c) 2014 Trinity Desktop Environment
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
||||
#
|
||||
|
||||
# TDE variables
|
||||
%define tde_epoch 2
|
||||
%if "%{?tde_version}" == ""
|
||||
%define tde_version 14.1.2
|
||||
%endif
|
||||
%define tde_pkg tde-style-polyester
|
||||
%define tde_prefix /opt/trinity
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_confdir %{_sysconfdir}/trinity
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%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
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
# Required for Mageia and PCLinuxOS: removes the ldflag '--no-undefined'
|
||||
%define _disable_ld_no_undefined 1
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Epoch: %{tde_epoch}
|
||||
Version: 1.0.3
|
||||
Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
||||
Summary: Domino widget style and twin decoration for TDE
|
||||
Group: Graphical desktop/TDE
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
%if 0%{?suse_version}
|
||||
License: GPL-2.0+
|
||||
%else
|
||||
License: GPLv2+
|
||||
%endif
|
||||
|
||||
#Vendor: Trinity Desktop
|
||||
#Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
|
||||
BuildRequires: trinity-tde-cmake >= %{tde_version}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: libtool
|
||||
|
||||
# JPEG support
|
||||
%if 0%{?mdkver}
|
||||
%define libjpeg %{_lib}jpeg
|
||||
%else
|
||||
%define libjpeg libjpeg
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version}
|
||||
BuildRequires: %{libjpeg}-devel
|
||||
%else
|
||||
BuildRequires: jpeg-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
Domino is a style with a soft look. It allows to fine adjust the shininess
|
||||
of the widgets by customizable color gradients.
|
||||
|
||||
|
||||
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
|
||||
%build
|
||||
if ! rpm -E %%cmake|grep -e 'cd build\|cd ${CMAKE_BUILD_DIR:-build}'; then
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
fi
|
||||
|
||||
%cmake \
|
||||
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
|
||||
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
|
||||
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
|
||||
-DCMAKE_SKIP_RPATH=OFF \
|
||||
-DCMAKE_SKIP_INSTALL_RPATH=OFF \
|
||||
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DWITH_GCC_VISIBILITY=OFF \
|
||||
\
|
||||
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
-DDATA_INSTALL_DIR=%{tde_datadir}/apps \
|
||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
||||
-DBUILD_ALL=ON \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{tde_tdelibdir}/plugins/styles/polyester.la
|
||||
%{tde_tdelibdir}/plugins/styles/polyester.so
|
||||
%{tde_tdelibdir}/tdestyle_polyester_config.la
|
||||
%{tde_tdelibdir}/tdestyle_polyester_config.so
|
||||
%{tde_tdelibdir}/twin3_polyester.la
|
||||
%{tde_tdelibdir}/twin3_polyester.so
|
||||
%{tde_tdelibdir}/twin_polyester_config.la
|
||||
%{tde_tdelibdir}/twin_polyester_config.so
|
||||
%{tde_datadir}/apps/tdedisplay/color-schemes/PolyesterBlue.kcsrc
|
||||
%{tde_datadir}/apps/tdedisplay/color-schemes/PolyesterEmerald.kcsrc
|
||||
%{tde_datadir}/apps/tdedisplay/color-schemes/PolyesterOrangeJuice.kcsrc
|
||||
%{tde_datadir}/apps/tdestyle/themes/polyester.themerc
|
||||
%{tde_datadir}/apps/twin/polyester.desktop
|
||||
|
||||
|
||||
%changelog
|
@ -0,0 +1,158 @@
|
||||
#
|
||||
# spec file for package twin-style-fahrenheit (version R14)
|
||||
#
|
||||
# Copyright (c) 2014 Trinity Desktop Environment
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
||||
#
|
||||
|
||||
# TDE variables
|
||||
%define tde_epoch 2
|
||||
%if "%{?tde_version}" == ""
|
||||
%define tde_version 14.1.2
|
||||
%endif
|
||||
%define tde_pkg twin-style-fahrenheit
|
||||
%define tde_prefix /opt/trinity
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%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
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Epoch: %{tde_epoch}
|
||||
Version: 0.1
|
||||
Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
||||
Summary: TDE window decoration from SUSE 9.3
|
||||
Group: Applications/Utilities
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
%if 0%{?suse_version}
|
||||
License: GPL-2.0+
|
||||
%else
|
||||
License: GPLv2+
|
||||
%endif
|
||||
|
||||
#Vendor: Trinity Desktop
|
||||
#Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: trinity-tde-cmake >= %{tde_version}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: fdupes
|
||||
|
||||
# SUSE desktop files utility
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: update-desktop-files
|
||||
%endif
|
||||
|
||||
%if 0%{?opensuse_bs} && 0%{?suse_version}
|
||||
# for xdg-menu script
|
||||
BuildRequires: brp-check-trinity
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
This is a port of the SUSE 9.3 KDE Window decoration extracted from SUSE.
|
||||
|
||||
It features in additon to the original theme several new button
|
||||
styles and a changeable titlebar image.
|
||||
|
||||
A color scheme for TDE is provided too.
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
|
||||
|
||||
if ! rpm -E %%cmake|grep -e 'cd build\|cd ${CMAKE_BUILD_DIR:-build}'; then
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
fi
|
||||
|
||||
%cmake \
|
||||
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
|
||||
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
|
||||
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
|
||||
-DCMAKE_SKIP_RPATH=OFF \
|
||||
-DCMAKE_SKIP_INSTALL_RPATH=OFF \
|
||||
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DWITH_GCC_VISIBILITY=OFF \
|
||||
\
|
||||
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
|
||||
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
|
||||
-DLIB_INSTALL_DIR="%{tde_libdir}" \
|
||||
\
|
||||
-DWITH_ALL_OPTIONS=ON \
|
||||
\
|
||||
-DBUILD_ALL=ON \
|
||||
-DBUILD_DOC=ON \
|
||||
-DBUILD_TRANSLATIONS=ON \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags} || %__make
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdelibdir}/twin3_fahrenheit.la
|
||||
%{tde_tdelibdir}/twin3_fahrenheit.so
|
||||
%{tde_datadir}/apps/twin/fahrenheit.desktop
|
||||
%{tde_datadir}/apps/twin/fahrenheit/close.png
|
||||
%{tde_datadir}/apps/twin/fahrenheit/help.png
|
||||
%{tde_datadir}/apps/twin/fahrenheit/maximize.png
|
||||
%{tde_datadir}/apps/twin/fahrenheit/minimize.png
|
||||
%{tde_datadir}/apps/twin/fahrenheit/minmax.png
|
||||
%{tde_datadir}/apps/twin/fahrenheit/sticky.png
|
||||
%{tde_datadir}/apps/twin/fahrenheit/unsticky.png
|
||||
|
||||
|
||||
%changelog
|
@ -0,0 +1,162 @@
|
||||
#
|
||||
# spec file for package kommando (version R14)
|
||||
#
|
||||
# Copyright (c) 2014 Trinity Desktop Environment
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
||||
#
|
||||
|
||||
# TDE variables
|
||||
%define tde_epoch 2
|
||||
%if "%{?tde_version}" == ""
|
||||
%define tde_version 14.1.2
|
||||
%endif
|
||||
%define tde_pkg kommando
|
||||
%define tde_prefix /opt/trinity
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%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
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Epoch: %{tde_epoch}
|
||||
Version: 0.5.2
|
||||
Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
||||
Summary: Calculator for TDE
|
||||
Group: Applications/Utilities
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
%if 0%{?suse_version}
|
||||
License: GPL-2.0+
|
||||
%else
|
||||
License: GPLv2+
|
||||
%endif
|
||||
|
||||
#Vendor: Trinity Desktop
|
||||
#Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
BuildRequires: trinity-tde-cmake >= %{tde_version}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
# SUSE desktop files utility
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: update-desktop-files
|
||||
%endif
|
||||
|
||||
%if 0%{?opensuse_bs} && 0%{?suse_version}
|
||||
# for xdg-menu script
|
||||
BuildRequires: brp-check-trinity
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
AbaKus is a complex calculator, which provides
|
||||
many different kinds of calculations.
|
||||
Think of it as bc (the command-line calculator) with a nice GUI.
|
||||
It also gives information about mathematical variables and
|
||||
has the user-friendly menu options of a normal TDE application.
|
||||
|
||||
|
||||
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
|
||||
|
||||
# Specific path for RHEL4
|
||||
if [ -d "/usr/X11R6" ]; then
|
||||
export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
fi
|
||||
|
||||
if ! rpm -E %%cmake|grep -e 'cd build\|cd ${CMAKE_BUILD_DIR:-build}'; then
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
fi
|
||||
|
||||
%cmake \
|
||||
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
|
||||
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
|
||||
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
|
||||
-DCMAKE_SKIP_RPATH=OFF \
|
||||
-DCMAKE_SKIP_INSTALL_RPATH=OFF \
|
||||
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DWITH_GCC_VISIBILITY=OFF \
|
||||
\
|
||||
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
||||
\
|
||||
-DBUILD_ALL="ON" \
|
||||
-DWITH_ALL_OPTIONS="ON" \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
|
||||
# Clean unwanted files
|
||||
%__rm -f %{?buildroot}%{tde_libdir}/libkommando.la
|
||||
%__rm -f %{?buildroot}%{tde_libdir}/libkommando.so
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kommando.png
|
||||
%{tde_tdedocdir}/HTML/en/kommando/
|
||||
%{tde_tdeappdir}/kommando.desktop
|
||||
%{tde_mandir}/man1/kommando.1*
|
||||
%{tde_datadir}/services/kded/kommandod.desktop
|
||||
%{tde_libdir}/libkommando.so.1
|
||||
%{tde_libdir}/libkommando.so.1.0.0
|
||||
%{tde_tdelibdir}/kcm_kommando.la
|
||||
%{tde_tdelibdir}/kcm_kommando.so
|
||||
%{tde_tdelibdir}/kded_kommandod.la
|
||||
%{tde_tdelibdir}/kded_kommandod.so
|
||||
|
||||
|
||||
%changelog
|
@ -0,0 +1,5 @@
|
||||
#%PAM-1.0
|
||||
auth include system-auth
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session include system-auth
|
@ -0,0 +1,5 @@
|
||||
#%PAM-1.0
|
||||
auth include system-auth
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session include system-auth
|
@ -0,0 +1 @@
|
||||
pamd.kcheckpass-trinity.fc39
|
@ -0,0 +1,5 @@
|
||||
#%PAM-1.0
|
||||
auth include system-auth
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session include system-auth
|
@ -0,0 +1,16 @@
|
||||
#%PAM-1.0
|
||||
auth required pam_env.so
|
||||
auth required pam_permit.so
|
||||
auth include postlogin
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session required pam_selinux.so close
|
||||
session required pam_loginuid.so
|
||||
session optional pam_console.so
|
||||
-session optional pam_ck_connector.so
|
||||
session required pam_selinux.so open
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session include system-auth
|
||||
session include postlogin
|
@ -0,0 +1,16 @@
|
||||
#%PAM-1.0
|
||||
auth required pam_env.so
|
||||
auth required pam_permit.so
|
||||
auth include postlogin
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session required pam_selinux.so close
|
||||
session required pam_loginuid.so
|
||||
session optional pam_console.so
|
||||
-session optional pam_ck_connector.so
|
||||
session required pam_selinux.so open
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session include system-auth
|
||||
session include postlogin
|
@ -0,0 +1 @@
|
||||
pamd.kdm-trinity-np.fc39
|
@ -0,0 +1,11 @@
|
||||
#%PAM-1.0
|
||||
auth required pam_env.so
|
||||
auth required pam_permit.so
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session required pam_loginuid.so
|
||||
session optional pam_console.so
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session include system-auth
|
@ -0,0 +1,23 @@
|
||||
#%PAM-1.0
|
||||
auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
|
||||
auth required pam_env.so
|
||||
auth substack system-auth
|
||||
-auth optional pam_gnome_keyring.so
|
||||
-auth optional pam_kwallet.so
|
||||
-auth optional pam_kwallet5.so
|
||||
auth include postlogin
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session required pam_selinux.so close
|
||||
session required pam_loginuid.so
|
||||
session optional pam_console.so
|
||||
-session optional pam_ck_connector.so
|
||||
session required pam_selinux.so open
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session include system-auth
|
||||
-session optional pam_gnome_keyring.so auto_start
|
||||
-session optional pam_kwallet.so
|
||||
-session optional pam_kwallet5.so
|
||||
session include postlogin
|
@ -0,0 +1,23 @@
|
||||
#%PAM-1.0
|
||||
auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
|
||||
auth required pam_env.so
|
||||
auth substack system-auth
|
||||
-auth optional pam_gnome_keyring.so
|
||||
-auth optional pam_kwallet.so
|
||||
-auth optional pam_kwallet5.so
|
||||
auth include postlogin
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session required pam_selinux.so close
|
||||
session required pam_loginuid.so
|
||||
session optional pam_console.so
|
||||
-session optional pam_ck_connector.so
|
||||
session required pam_selinux.so open
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session include system-auth
|
||||
-session optional pam_gnome_keyring.so auto_start
|
||||
-session optional pam_kwallet.so
|
||||
-session optional pam_kwallet5.so
|
||||
session include postlogin
|
@ -0,0 +1 @@
|
||||
pamd.kdm-trinity.fc39
|
@ -0,0 +1,15 @@
|
||||
#%PAM-1.0
|
||||
auth required pam_env.so
|
||||
auth required pam_succeed_if.so
|
||||
auth sufficient pam_succeed_if.so user ingroup nopasswdlogin
|
||||
auth substack system-auth
|
||||
-auth optional pam_kwallet.so
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session required pam_loginuid.so
|
||||
session optional pam_console.so
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session include system-auth
|
||||
-session optional pam_kwallet.so
|
@ -0,0 +1,5 @@
|
||||
#%PAM-1.0
|
||||
auth include system-auth
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session include system-auth
|
@ -0,0 +1,5 @@
|
||||
#%PAM-1.0
|
||||
auth include system-auth
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session include system-auth
|
@ -0,0 +1 @@
|
||||
pamd.kscreensaver-trinity.fc39
|
@ -0,0 +1,5 @@
|
||||
#%PAM-1.0
|
||||
auth include system-auth
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session include system-auth
|
@ -0,0 +1,10 @@
|
||||
#%PAM-1.0
|
||||
auth required pam_env.so
|
||||
auth sufficient pam_succeed_if.so user ingroup nopasswdlogin
|
||||
auth include system-auth
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session include system-auth
|
||||
session required pam_loginuid.so
|
@ -0,0 +1,11 @@
|
||||
|
||||
module tdm 1.0;
|
||||
|
||||
require {
|
||||
type fprintd_t;
|
||||
type init_t;
|
||||
class dbus send_msg;
|
||||
}
|
||||
|
||||
#============= fprintd_t ==============
|
||||
allow fprintd_t init_t:dbus send_msg;
|
@ -0,0 +1,30 @@
|
||||
|
||||
module tdm 1.0;
|
||||
|
||||
require {
|
||||
type etc_t;
|
||||
type fprintd_t;
|
||||
type init_t;
|
||||
type tmp_t;
|
||||
type unconfined_service_t;
|
||||
type unconfined_t;
|
||||
type var_lib_t;
|
||||
type var_run_t;
|
||||
type xdm_t;
|
||||
class capability2 mac_admin;
|
||||
class dbus send_msg;
|
||||
class fifo_file { getattr open read setattr unlink };
|
||||
class file { create entrypoint getattr lock map open read rename unlink write };
|
||||
class lnk_file unlink;
|
||||
class process transition;
|
||||
}
|
||||
|
||||
allow fprintd_t init_t:dbus send_msg;
|
||||
allow unconfined_service_t unconfined_t:process transition;
|
||||
allow unconfined_t self:capability2 mac_admin;
|
||||
allow xdm_t etc_t:file { create rename unlink write };
|
||||
allow xdm_t tmp_t:fifo_file { getattr open read setattr unlink };
|
||||
allow xdm_t tmp_t:file { map open unlink };
|
||||
allow xdm_t tmp_t:lnk_file unlink;
|
||||
allow xdm_t var_lib_t:file { unlink };
|
||||
allow xdm_t var_run_t:file { getattr lock open read write };
|
@ -0,0 +1 @@
|
||||
tdm.fc39.te
|
@ -0,0 +1 @@
|
||||
setBadness('lto-no-text-in-archive', 0)
|
@ -0,0 +1,41 @@
|
||||
FROM fedora:38
|
||||
|
||||
ARG TDE_VERSION=14.1.2
|
||||
ARG ARCH=x86_64
|
||||
|
||||
# Fix DNF database corruption
|
||||
# Add RPMFUSION repository
|
||||
# Install Trinity build dependencies
|
||||
COPY packages /packages
|
||||
RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf" \
|
||||
&& rm -fv /etc/yum.repos.d/*{rawhide,testing}* \
|
||||
&& sed -i /etc/yum.repos.d/fedora{,-modular,-updates,-updates-modular}.repo -e "1,12s|enabled=0|enabled=1|" -e "s|\$releasever|38|g" \
|
||||
&& dnf -y install dnf-plugin-ovl findutils \
|
||||
&& dnf -y --enableplugin=ovl install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-38.noarch.rpm \
|
||||
&& dnf -y --enableplugin=ovl update \
|
||||
&& dnf -y --enableplugin=ovl install --skip-broken $(</packages)
|
||||
|
||||
# Add YUM repository for locally built packages
|
||||
COPY rpmbuild.repo /etc/yum.repos.d/rpmbuild.repo
|
||||
RUN sed -i "/etc/yum.repos.d/rpmbuild.repo" -e "s|\${ARCH}|${ARCH}|g" -e "s|\${TDE_VERSION}|${TDE_VERSION}|g"
|
||||
|
||||
# Fix utempter detection
|
||||
RUN chmod a+r /usr/libexec/utempter/utempter \
|
||||
&& chmod 777 /tmp
|
||||
|
||||
# Add non-root user to build packages
|
||||
RUN useradd -m -s /bin/bash -u 1000 trinity \
|
||||
&& echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers \
|
||||
&& echo "export QA_RPATHS=\$(( 0x0001|0x0002 ))" >>/home/trinity/.bashrc
|
||||
|
||||
USER trinity
|
||||
COPY rpmmacros /home/trinity/.rpmmacros
|
||||
|
||||
RUN rpm -i https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/35/Everything/source/tree/Packages/w/wireless-tools-29-28.fc35.src.rpm \
|
||||
&& rpmbuild -ba ${HOME}/rpmbuild/SPECS/wireless-tools.spec \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/wireless-tools{,-devel}-29*
|
||||
|
||||
RUN rpm -i https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/36/Everything/source/tree/Packages/l/libnjb-2.2.7-24.fc36.src.rpm \
|
||||
&& sed -i ${HOME}/rpmbuild/SPECS/libnjb.spec -e "s|libusb-devel|libusb1-devel|" \
|
||||
&& rpmbuild -ba ${HOME}/rpmbuild/SPECS/libnjb.spec \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/libnjb{,-devel}-2*
|
@ -0,0 +1,241 @@
|
||||
alsa-lib-devel
|
||||
aspell
|
||||
aspell-devel
|
||||
audiofile-devel
|
||||
autotrace
|
||||
avahi-devel
|
||||
bdftopcf
|
||||
bind-devel
|
||||
binutils-devel
|
||||
bison
|
||||
boost-devel
|
||||
boost-python3-devel
|
||||
byacc
|
||||
bzip2-devel
|
||||
ccache
|
||||
cdparanoia
|
||||
cdparanoia-devel
|
||||
chmlib-devel
|
||||
chrpath
|
||||
clamav
|
||||
clamav-devel
|
||||
clucene-core-devel
|
||||
cmake
|
||||
cpp
|
||||
cppunit-devel
|
||||
crda
|
||||
createrepo_c
|
||||
cryptsetup-devel
|
||||
cups-devel
|
||||
dbus-glib-devel
|
||||
djvulibre
|
||||
djvulibre-devel
|
||||
dnf-plugin-ovl
|
||||
docbook2X
|
||||
doxygen
|
||||
dssi-devel
|
||||
esound-devel
|
||||
exempi-devel
|
||||
exiv2-devel
|
||||
fdupes
|
||||
fedora-rpm-macros
|
||||
ffmpeg-devel
|
||||
fftw-devel
|
||||
file-devel
|
||||
flac-devel
|
||||
flex-static
|
||||
fontpackages-devel
|
||||
fribidi-devel
|
||||
gcc
|
||||
gcc-c++
|
||||
geoip-devel
|
||||
gettext-devel
|
||||
giflib-devel
|
||||
glib-devel
|
||||
gmime-devel
|
||||
gmp-devel
|
||||
gnokii-devel
|
||||
gperf
|
||||
gpgme-devel
|
||||
gphoto2-devel
|
||||
GraphicsMagick-devel
|
||||
graphviz
|
||||
gsl-devel
|
||||
gstreamer1-devel
|
||||
gstreamer1-plugins-base-devel
|
||||
gtk2-devel
|
||||
gtk3-devel
|
||||
gtk+-devel
|
||||
gtk-doc
|
||||
guile-devel
|
||||
harfbuzz-devel
|
||||
heimdal-devel
|
||||
hspell-devel
|
||||
htdig
|
||||
html2ps
|
||||
iceauth
|
||||
icu
|
||||
ImageMagick-devel
|
||||
imake
|
||||
imlib2-devel
|
||||
intltool
|
||||
jack-audio-connection-kit-devel
|
||||
jasper-devel
|
||||
java-1.8.0-openjdk-devel
|
||||
java-devel
|
||||
java-openjdk
|
||||
lame-devel
|
||||
lcms-devel
|
||||
less
|
||||
libacl-devel
|
||||
libblkid-devel
|
||||
libcap-devel
|
||||
libcdio-devel
|
||||
libcdio-paranoia-devel
|
||||
libconfig-devel
|
||||
libcurl-devel
|
||||
libdb-cxx-devel
|
||||
libdb-devel
|
||||
libdvdread-devel
|
||||
libfontenc-devel
|
||||
libgadu-devel
|
||||
libgpod-devel
|
||||
libgsf-devel
|
||||
libical-devel
|
||||
libidn-devel
|
||||
libifp-devel
|
||||
liblo-devel
|
||||
liblrdf-devel
|
||||
libmad-devel
|
||||
libmng-devel
|
||||
libmp4v2-devel
|
||||
libmpcdec-devel
|
||||
libmtp-devel
|
||||
libmusicbrainz5-devel
|
||||
libnjb-devel
|
||||
libnsl2-devel
|
||||
libofx-devel
|
||||
libogg-devel
|
||||
libotr-devel
|
||||
libpaper-devel
|
||||
libpqxx-devel
|
||||
libqalculate-devel
|
||||
libraw1394-devel
|
||||
librsvg2
|
||||
librsvg2-tools
|
||||
libsamplerate-devel
|
||||
libsmbclient-devel
|
||||
libsndfile-devel
|
||||
libssh-devel
|
||||
libssh2-devel
|
||||
libtheora-devel
|
||||
libtiff-devel
|
||||
libtirpc-devel
|
||||
libtool
|
||||
libtool-ltdl-devel
|
||||
libudev-devel
|
||||
libudisks2-devel
|
||||
libusb-compat-0.1-devel
|
||||
libusb1-devel
|
||||
libutempter-devel
|
||||
libuuid-devel
|
||||
libv4l-devel
|
||||
libvisual-devel
|
||||
libvncserver-devel
|
||||
libvorbis-devel
|
||||
libwmf-devel
|
||||
libwpd-devel
|
||||
libXaw-devel
|
||||
libXcomposite-devel
|
||||
libXdamage-devel
|
||||
libXdmcp-devel
|
||||
libxkbfile-devel
|
||||
libXScrnSaver-devel
|
||||
libxslt-devel
|
||||
libXtst-devel
|
||||
libXv-devel
|
||||
libXxf86dga-devel
|
||||
libXxf86vm-devel
|
||||
libyaz-devel
|
||||
libzrtpcpp-devel
|
||||
lirc-devel
|
||||
lm_sensors-devel
|
||||
meanwhile-devel
|
||||
mesa-libGL-devel
|
||||
mftrace
|
||||
mysql-devel
|
||||
nas-devel
|
||||
neon-devel
|
||||
netpbm-progs
|
||||
NetworkManager-libnm-devel
|
||||
net-snmp-devel
|
||||
net-tools
|
||||
nspr-devel
|
||||
ocaml
|
||||
ocaml(compiler)
|
||||
ocaml-facile-devel
|
||||
OpenEXR-devel
|
||||
openldap-devel
|
||||
opensc
|
||||
openslp-devel
|
||||
opensp-devel
|
||||
ortp-devel
|
||||
pam-devel
|
||||
pciutils-devel
|
||||
pcre-devel
|
||||
pcsc-lite-devel
|
||||
pcsc-perl
|
||||
perl
|
||||
perl-devel
|
||||
perl(ExtUtils::MakeMaker)
|
||||
perl(PAR::Packer)
|
||||
perl(XML::Parser)
|
||||
pilot-link-devel
|
||||
pkcs11-helper-devel
|
||||
pkgconfig(pygtk-2.0)
|
||||
polkit-devel
|
||||
poppler-devel
|
||||
postgresql
|
||||
postgresql-private-devel
|
||||
postgresql-server-devel
|
||||
ppp
|
||||
pulseaudio-libs-devel
|
||||
python
|
||||
python3-devel
|
||||
qt4-devel
|
||||
recode
|
||||
redhat-rpm-config
|
||||
rpcgen
|
||||
rpm-build
|
||||
ruby
|
||||
ruby-devel
|
||||
sane-backends-devel
|
||||
scons
|
||||
SDL-devel
|
||||
selinux-policy-devel
|
||||
speex-devel
|
||||
sqlite-devel
|
||||
subversion-devel
|
||||
sudo
|
||||
swig
|
||||
sword-devel
|
||||
t1lib-devel
|
||||
t1utils
|
||||
taglib-devel
|
||||
texinfo
|
||||
texlive-newunicodechar
|
||||
torsocks
|
||||
transfig
|
||||
udisks-devel
|
||||
unixODBC-devel
|
||||
usbutils
|
||||
valgrind
|
||||
xbase-devel
|
||||
xine-lib-devel
|
||||
xmedcon
|
||||
xmedcon-devel
|
||||
xmlto
|
||||
xorg-x11-font-utils
|
||||
xscreensaver
|
||||
xscreensaver-extras
|
||||
xz-devel
|
@ -0,0 +1,11 @@
|
||||
[rpmbuild.${ARCH}]
|
||||
name=rpmbuild.${ARCH}
|
||||
baseurl=file:///home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
|
||||
[rpmbuild.noarch]
|
||||
name=rpmbuild.noarch
|
||||
baseurl=file:///home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
|
||||
enabled=1
|
||||
gpgcheck=0
|
@ -0,0 +1,10 @@
|
||||
%dist .fc38
|
||||
%_smp_mflags -j8
|
||||
%jobs 8
|
||||
%__brp_remove_la_files %nil
|
||||
%__cmake_builddir %nil
|
||||
%__cmake_in_source_build 1
|
||||
%_debugsource_packages %nil
|
||||
%_debugsource_template %nil
|
||||
%_fortify_level 2
|
||||
%source_date_epoch_from_changelog 0
|
@ -0,0 +1,41 @@
|
||||
FROM fedora:39
|
||||
|
||||
ARG TDE_VERSION=14.1.2
|
||||
ARG ARCH=x86_64
|
||||
|
||||
# Fix DNF database corruption
|
||||
# Add RPMFUSION repository
|
||||
# Install Trinity build dependencies
|
||||
COPY packages /packages
|
||||
RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf" \
|
||||
&& rm -fv /etc/yum.repos.d/*{rawhide,testing}* \
|
||||
&& sed -i /etc/yum.repos.d/fedora{,-updates}.repo -e "1,12s|enabled=0|enabled=1|" -e "s|\$releasever|39|g" \
|
||||
&& dnf -y install dnf-plugin-ovl findutils \
|
||||
&& dnf -y --enableplugin=ovl install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-39.noarch.rpm \
|
||||
&& dnf -y --enableplugin=ovl update \
|
||||
&& dnf -y --enableplugin=ovl install --skip-broken $(</packages)
|
||||
|
||||
# Add YUM repository for locally built packages
|
||||
COPY rpmbuild.repo /etc/yum.repos.d/rpmbuild.repo
|
||||
RUN sed -i "/etc/yum.repos.d/rpmbuild.repo" -e "s|\${ARCH}|${ARCH}|g" -e "s|\${TDE_VERSION}|${TDE_VERSION}|g"
|
||||
|
||||
# Fix utempter detection
|
||||
RUN chmod a+r /usr/libexec/utempter/utempter \
|
||||
&& chmod 777 /tmp
|
||||
|
||||
# Add non-root user to build packages
|
||||
RUN useradd -m -s /bin/bash -u 1000 trinity \
|
||||
&& echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers \
|
||||
&& echo "export QA_RPATHS=\$(( 0x0001|0x0002 ))" >>/home/trinity/.bashrc
|
||||
|
||||
USER trinity
|
||||
COPY rpmmacros /home/trinity/.rpmmacros
|
||||
|
||||
RUN rpm -i https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/35/Everything/source/tree/Packages/w/wireless-tools-29-28.fc35.src.rpm \
|
||||
&& rpmbuild -ba ${HOME}/rpmbuild/SPECS/wireless-tools.spec \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/wireless-tools{,-devel}-29*
|
||||
|
||||
RUN rpm -i https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/36/Everything/source/tree/Packages/l/libnjb-2.2.7-24.fc36.src.rpm \
|
||||
&& sed -i ${HOME}/rpmbuild/SPECS/libnjb.spec -e "s|libusb-devel|libusb1-devel|" \
|
||||
&& rpmbuild -ba ${HOME}/rpmbuild/SPECS/libnjb.spec \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/libnjb{,-devel}-2*
|
@ -0,0 +1,242 @@
|
||||
alsa-lib-devel
|
||||
aspell
|
||||
aspell-devel
|
||||
audiofile-devel
|
||||
autotrace
|
||||
avahi-devel
|
||||
bdftopcf
|
||||
bind-devel
|
||||
binutils-devel
|
||||
bison
|
||||
boost-devel
|
||||
boost-python3-devel
|
||||
byacc
|
||||
bzip2-devel
|
||||
ccache
|
||||
cdparanoia
|
||||
cdparanoia-devel
|
||||
chmlib-devel
|
||||
chrpath
|
||||
clamav
|
||||
clamav-devel
|
||||
clucene-core-devel
|
||||
cmake
|
||||
cpp
|
||||
cppunit-devel
|
||||
crda
|
||||
createrepo_c
|
||||
cryptsetup-devel
|
||||
cups-devel
|
||||
dbus-glib-devel
|
||||
djvulibre
|
||||
djvulibre-devel
|
||||
dnf-plugin-ovl
|
||||
docbook2X
|
||||
doxygen
|
||||
dssi-devel
|
||||
esound-devel
|
||||
exempi-devel
|
||||
exiv2-devel
|
||||
fdupes
|
||||
fedora-rpm-macros
|
||||
ffmpeg-devel
|
||||
fftw-devel
|
||||
file-devel
|
||||
flac-devel
|
||||
flex-static
|
||||
fontpackages-devel
|
||||
fribidi-devel
|
||||
gcc
|
||||
gcc-c++
|
||||
geoip-devel
|
||||
gettext-devel
|
||||
giflib-devel
|
||||
glib-devel
|
||||
gmime-devel
|
||||
gmp-devel
|
||||
gnokii-devel
|
||||
gperf
|
||||
gpgme-devel
|
||||
gphoto2-devel
|
||||
GraphicsMagick-devel
|
||||
graphviz
|
||||
gsl-devel
|
||||
gstreamer1-devel
|
||||
gstreamer1-plugins-base-devel
|
||||
gtk2-devel
|
||||
gtk3-devel
|
||||
gtk+-devel
|
||||
gtk-doc
|
||||
guile-devel
|
||||
harfbuzz-devel
|
||||
heimdal-devel
|
||||
hspell-devel
|
||||
htdig
|
||||
html2ps
|
||||
iceauth
|
||||
icu
|
||||
ImageMagick-devel
|
||||
imake
|
||||
imlib2-devel
|
||||
intltool
|
||||
jack-audio-connection-kit-devel
|
||||
jasper-devel
|
||||
java-1.8.0-openjdk-devel
|
||||
java-devel
|
||||
java-openjdk
|
||||
lame-devel
|
||||
lcms-devel
|
||||
less
|
||||
libacl-devel
|
||||
libblkid-devel
|
||||
libcap-devel
|
||||
libcdio-devel
|
||||
libcdio-paranoia-devel
|
||||
libconfig-devel
|
||||
libcurl-devel
|
||||
libdb-cxx-devel
|
||||
libdb-devel
|
||||
libdvdread-devel
|
||||
libfontenc-devel
|
||||
libgadu-devel
|
||||
libgpod-devel
|
||||
libgsf-devel
|
||||
libical-devel
|
||||
libidn-devel
|
||||
libifp-devel
|
||||
liblo-devel
|
||||
liblrdf-devel
|
||||
libmad-devel
|
||||
libmng-devel
|
||||
libmp4v2-devel
|
||||
libmpcdec-devel
|
||||
libmtp-devel
|
||||
libmusicbrainz5-devel
|
||||
libnjb-devel
|
||||
libnsl2-devel
|
||||
libofx-devel
|
||||
libogg-devel
|
||||
libotr-devel
|
||||
libpaper-devel
|
||||
libpqxx-devel
|
||||
libqalculate-devel
|
||||
libraw1394-devel
|
||||
librsvg2
|
||||
librsvg2-tools
|
||||
libsamplerate-devel
|
||||
libsmbclient-devel
|
||||
libsndfile-devel
|
||||
libssh-devel
|
||||
libssh2-devel
|
||||
libtheora-devel
|
||||
libtiff-devel
|
||||
libtirpc-devel
|
||||
libtool
|
||||
libtool-ltdl-devel
|
||||
libudev-devel
|
||||
libudisks2-devel
|
||||
libusb-compat-0.1-devel
|
||||
libusb1-devel
|
||||
libutempter-devel
|
||||
libuuid-devel
|
||||
libv4l-devel
|
||||
libvisual-devel
|
||||
libvncserver-devel
|
||||
libvorbis-devel
|
||||
libwmf-devel
|
||||
libwpd-devel
|
||||
libXaw-devel
|
||||
libXcomposite-devel
|
||||
libXdamage-devel
|
||||
libXdmcp-devel
|
||||
libxkbfile-devel
|
||||
libXScrnSaver-devel
|
||||
libxslt-devel
|
||||
libXtst-devel
|
||||
libXv-devel
|
||||
libXxf86dga-devel
|
||||
libXxf86vm-devel
|
||||
libyaz-devel
|
||||
libzrtpcpp-devel
|
||||
lirc-devel
|
||||
lm_sensors-devel
|
||||
meanwhile-devel
|
||||
mesa-libGL-devel
|
||||
mftrace
|
||||
mysql-devel
|
||||
nas-devel
|
||||
neon-devel
|
||||
netpbm-progs
|
||||
NetworkManager-libnm-devel
|
||||
net-snmp-devel
|
||||
net-tools
|
||||
nspr-devel
|
||||
ocaml
|
||||
ocaml(compiler)
|
||||
ocaml-facile-devel
|
||||
OpenEXR-devel
|
||||
openldap-devel
|
||||
opensc
|
||||
openslp-devel
|
||||
opensp-devel
|
||||
ortp-devel
|
||||
pam-devel
|
||||
pciutils-devel
|
||||
pcre-devel
|
||||
pcsc-lite-devel
|
||||
pcsc-perl
|
||||
perl
|
||||
perl-devel
|
||||
perl(ExtUtils::MakeMaker)
|
||||
perl(PAR::Packer)
|
||||
perl(XML::Parser)
|
||||
pilot-link-devel
|
||||
pkcs11-helper-devel
|
||||
pkgconfig(pygtk-2.0)
|
||||
polkit-devel
|
||||
poppler-devel
|
||||
postgresql
|
||||
postgresql-private-devel
|
||||
postgresql-server-devel
|
||||
ppp
|
||||
pulseaudio-libs-devel
|
||||
python3.11
|
||||
python3.11-devel
|
||||
qt4-devel
|
||||
recode
|
||||
redhat-rpm-config
|
||||
rpcgen
|
||||
rpm-build
|
||||
ruby
|
||||
ruby-devel
|
||||
sane-backends-devel
|
||||
scons
|
||||
SDL-devel
|
||||
selinux-policy-devel
|
||||
speex-devel
|
||||
sqlite-devel
|
||||
subversion-devel
|
||||
sudo
|
||||
swig
|
||||
sword-devel
|
||||
t1lib-devel
|
||||
t1utils
|
||||
taglib-devel
|
||||
texinfo
|
||||
texlive-newunicodechar
|
||||
torsocks
|
||||
transfig
|
||||
udisks-devel
|
||||
unixODBC-devel
|
||||
usbutils
|
||||
valgrind
|
||||
xbase-devel
|
||||
xine-lib-devel
|
||||
xkeyboard-config-devel
|
||||
xmedcon
|
||||
xmedcon-devel
|
||||
xmlto
|
||||
xorg-x11-font-utils
|
||||
xscreensaver
|
||||
xscreensaver-extras
|
||||
xz-devel
|
@ -0,0 +1,11 @@
|
||||
[rpmbuild.${ARCH}]
|
||||
name=rpmbuild.${ARCH}
|
||||
baseurl=file:///home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
|
||||
[rpmbuild.noarch]
|
||||
name=rpmbuild.noarch
|
||||
baseurl=file:///home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
|
||||
enabled=1
|
||||
gpgcheck=0
|
@ -0,0 +1,11 @@
|
||||
%dist .fc39
|
||||
%_smp_mflags -j8
|
||||
%jobs 8
|
||||
%__brp_remove_la_files %nil
|
||||
%__cmake_builddir %nil
|
||||
%__cmake_in_source_build 1
|
||||
%_debugsource_packages %nil
|
||||
%_debugsource_template %nil
|
||||
%source_date_epoch_from_changelog 0
|
||||
%python python3
|
||||
%__python /usr/bin/python3
|
@ -0,0 +1,41 @@
|
||||
FROM fedora:40
|
||||
|
||||
ARG TDE_VERSION=14.1.2
|
||||
ARG ARCH=x86_64
|
||||
|
||||
# Fix DNF database corruption
|
||||
# Add RPMFUSION repository
|
||||
# Install Trinity build dependencies
|
||||
COPY packages /packages
|
||||
RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf" \
|
||||
&& rm -fv /etc/yum.repos.d/*{rawhide,testing}* \
|
||||
&& sed -i /etc/yum.repos.d/fedora{,-updates}.repo -e "1,12s|enabled=0|enabled=1|" -e "s|\$releasever|40|g" \
|
||||
&& dnf -y install dnf-plugin-ovl findutils \
|
||||
&& dnf -y --enableplugin=ovl install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-40.noarch.rpm \
|
||||
&& dnf -y --enableplugin=ovl update \
|
||||
&& dnf -y --enableplugin=ovl install --skip-broken $(</packages)
|
||||
|
||||
# Add YUM repository for locally built packages
|
||||
COPY rpmbuild.repo /etc/yum.repos.d/rpmbuild.repo
|
||||
RUN sed -i "/etc/yum.repos.d/rpmbuild.repo" -e "s|\${ARCH}|${ARCH}|g" -e "s|\${TDE_VERSION}|${TDE_VERSION}|g"
|
||||
|
||||
# Fix utempter detection
|
||||
RUN chmod a+r /usr/libexec/utempter/utempter \
|
||||
&& chmod 777 /tmp
|
||||
|
||||
# Add non-root user to build packages
|
||||
RUN useradd -m -s /bin/bash -u 1000 trinity \
|
||||
&& echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers \
|
||||
&& echo "export QA_RPATHS=\$(( 0x0001|0x0002 ))" >>/home/trinity/.bashrc
|
||||
|
||||
USER trinity
|
||||
COPY rpmmacros /home/trinity/.rpmmacros
|
||||
|
||||
RUN rpm -i https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/35/Everything/source/tree/Packages/w/wireless-tools-29-28.fc35.src.rpm \
|
||||
&& rpmbuild -ba ${HOME}/rpmbuild/SPECS/wireless-tools.spec \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/wireless-tools{,-devel}-29*
|
||||
|
||||
RUN rpm -i https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/36/Everything/source/tree/Packages/l/libnjb-2.2.7-24.fc36.src.rpm \
|
||||
&& sed -i ${HOME}/rpmbuild/SPECS/libnjb.spec -e "s|libusb-devel|libusb1-devel|" \
|
||||
&& rpmbuild -ba ${HOME}/rpmbuild/SPECS/libnjb.spec \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/libnjb{,-devel}-2*
|
@ -0,0 +1,242 @@
|
||||
alsa-lib-devel
|
||||
aspell
|
||||
aspell-devel
|
||||
audiofile-devel
|
||||
autotrace
|
||||
avahi-devel
|
||||
bdftopcf
|
||||
bind-devel
|
||||
binutils-devel
|
||||
bison
|
||||
boost-devel
|
||||
boost-python3-devel
|
||||
byacc
|
||||
bzip2-devel
|
||||
ccache
|
||||
cdparanoia
|
||||
cdparanoia-devel
|
||||
chmlib-devel
|
||||
chrpath
|
||||
clamav
|
||||
clamav-devel
|
||||
clucene-core-devel
|
||||
cmake
|
||||
cpp
|
||||
cppunit-devel
|
||||
crda
|
||||
createrepo_c
|
||||
cryptsetup-devel
|
||||
cups-devel
|
||||
dbus-glib-devel
|
||||
djvulibre
|
||||
djvulibre-devel
|
||||
dnf-plugin-ovl
|
||||
docbook2X
|
||||
doxygen
|
||||
dssi-devel
|
||||
esound-devel
|
||||
exempi-devel
|
||||
exiv2-devel
|
||||
fdupes
|
||||
fedora-rpm-macros
|
||||
ffmpeg-devel
|
||||
fftw-devel
|
||||
file-devel
|
||||
flac-devel
|
||||
flex-static
|
||||
fontpackages-devel
|
||||
fribidi-devel
|
||||
gcc
|
||||
gcc-c++
|
||||
geoip-devel
|
||||
gettext-devel
|
||||
giflib-devel
|
||||
glib-devel
|
||||
gmime-devel
|
||||
gmp-devel
|
||||
gnokii-devel
|
||||
gperf
|
||||
gpgme-devel
|
||||
gphoto2-devel
|
||||
GraphicsMagick-devel
|
||||
graphviz
|
||||
gsl-devel
|
||||
gstreamer1-devel
|
||||
gstreamer1-plugins-base-devel
|
||||
gtk2-devel
|
||||
gtk3-devel
|
||||
gtk+-devel
|
||||
gtk-doc
|
||||
guile-devel
|
||||
harfbuzz-devel
|
||||
heimdal-devel
|
||||
hspell-devel
|
||||
htdig
|
||||
html2ps
|
||||
iceauth
|
||||
icu
|
||||
ImageMagick-devel
|
||||
imake
|
||||
imlib2-devel
|
||||
intltool
|
||||
jack-audio-connection-kit-devel
|
||||
jasper-devel
|
||||
java-1.8.0-openjdk-devel
|
||||
java-devel
|
||||
java-openjdk
|
||||
lame-devel
|
||||
lcms-devel
|
||||
less
|
||||
libacl-devel
|
||||
libblkid-devel
|
||||
libcap-devel
|
||||
libcdio-devel
|
||||
libcdio-paranoia-devel
|
||||
libconfig-devel
|
||||
libcurl-devel
|
||||
libdb-cxx-devel
|
||||
libdb-devel
|
||||
libdvdread-devel
|
||||
libfontenc-devel
|
||||
libgadu-devel
|
||||
libgpod-devel
|
||||
libgsf-devel
|
||||
libical-devel
|
||||
libidn-devel
|
||||
libifp-devel
|
||||
liblo-devel
|
||||
liblrdf-devel
|
||||
libmad-devel
|
||||
libmng-devel
|
||||
libmp4v2-devel
|
||||
libmpcdec-devel
|
||||
libmtp-devel
|
||||
libmusicbrainz5-devel
|
||||
libnjb-devel
|
||||
libnsl2-devel
|
||||
libofx-devel
|
||||
libogg-devel
|
||||
libotr-devel
|
||||
libpaper-devel
|
||||
libpqxx-devel
|
||||
libqalculate-devel
|
||||
libraw1394-devel
|
||||
librsvg2
|
||||
librsvg2-tools
|
||||
libsamplerate-devel
|
||||
libsmbclient-devel
|
||||
libsndfile-devel
|
||||
libssh-devel
|
||||
libssh2-devel
|
||||
libtheora-devel
|
||||
libtiff-devel
|
||||
libtirpc-devel
|
||||
libtool
|
||||
libtool-ltdl-devel
|
||||
libudev-devel
|
||||
libudisks2-devel
|
||||
libusb-compat-0.1-devel
|
||||
libusb1-devel
|
||||
libutempter-devel
|
||||
libuuid-devel
|
||||
libv4l-devel
|
||||
libvisual-devel
|
||||
libvncserver-devel
|
||||
libvorbis-devel
|
||||
libwmf-devel
|
||||
libwpd-devel
|
||||
libXaw-devel
|
||||
libXcomposite-devel
|
||||
libXdamage-devel
|
||||
libXdmcp-devel
|
||||
libxkbfile-devel
|
||||
libXScrnSaver-devel
|
||||
libxslt-devel
|
||||
libXtst-devel
|
||||
libXv-devel
|
||||
libXxf86dga-devel
|
||||
libXxf86vm-devel
|
||||
libyaz-devel
|
||||
libzrtpcpp-devel
|
||||
lirc-devel
|
||||
lm_sensors-devel
|
||||
meanwhile-devel
|
||||
mesa-libGL-devel
|
||||
mftrace
|
||||
mysql-devel
|
||||
nas-devel
|
||||
neon-devel
|
||||
netpbm-progs
|
||||
NetworkManager-libnm-devel
|
||||
net-snmp-devel
|
||||
net-tools
|
||||
nspr-devel
|
||||
ocaml
|
||||
ocaml(compiler)
|
||||
ocaml-facile-devel
|
||||
OpenEXR-devel
|
||||
openldap-devel
|
||||
opensc
|
||||
openslp-devel
|
||||
opensp-devel
|
||||
ortp-devel
|
||||
pam-devel
|
||||
pciutils-devel
|
||||
pcre-devel
|
||||
pcsc-lite-devel
|
||||
pcsc-perl
|
||||
perl
|
||||
perl-devel
|
||||
perl(ExtUtils::MakeMaker)
|
||||
perl(PAR::Packer)
|
||||
perl(XML::Parser)
|
||||
pilot-link-devel
|
||||
pkcs11-helper-devel
|
||||
pkgconfig(pygtk-2.0)
|
||||
polkit-devel
|
||||
poppler-devel
|
||||
postgresql
|
||||
postgresql-private-devel
|
||||
postgresql-server-devel
|
||||
ppp
|
||||
pulseaudio-libs-devel
|
||||
python3
|
||||
python3-devel
|
||||
qt4-devel
|
||||
recode
|
||||
redhat-rpm-config
|
||||
rpcgen
|
||||
rpm-build
|
||||
ruby
|
||||
ruby-devel
|
||||
sane-backends-devel
|
||||
scons
|
||||
SDL-devel
|
||||
selinux-policy-devel
|
||||
speex-devel
|
||||
sqlite-devel
|
||||
subversion-devel
|
||||
sudo
|
||||
swig
|
||||
sword-devel
|
||||
t1lib-devel
|
||||
t1utils
|
||||
taglib-devel
|
||||
texinfo
|
||||
texlive-newunicodechar
|
||||
torsocks
|
||||
transfig
|
||||
udisks-devel
|
||||
unixODBC-devel
|
||||
usbutils
|
||||
valgrind
|
||||
xbase-devel
|
||||
xine-lib-devel
|
||||
xkeyboard-config-devel
|
||||
xmedcon
|
||||
xmedcon-devel
|
||||
xmlto
|
||||
xorg-x11-font-utils
|
||||
xscreensaver
|
||||
xscreensaver-extras
|
||||
xz-devel
|
@ -0,0 +1,11 @@
|
||||
[rpmbuild.${ARCH}]
|
||||
name=rpmbuild.${ARCH}
|
||||
baseurl=file:///home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
|
||||
[rpmbuild.noarch]
|
||||
name=rpmbuild.noarch
|
||||
baseurl=file:///home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
|
||||
enabled=1
|
||||
gpgcheck=0
|
@ -0,0 +1,10 @@
|
||||
%dist .fc40
|
||||
%_smp_mflags -j8
|
||||
%jobs 8
|
||||
%__brp_remove_la_files %nil
|
||||
%__cmake_builddir %nil
|
||||
%__cmake_in_source_build 1
|
||||
%_debugsource_packages %nil
|
||||
%_debugsource_template %nil
|
||||
%source_date_epoch_from_changelog 0
|
||||
%python python3
|
@ -0,0 +1,34 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
NAME="mageia"
|
||||
VERSION="${1:-9}" # E.g: '9'
|
||||
IMAGE="${NAME}:${VERSION}"
|
||||
INSTALLROOT="/dev/shm/${IMAGE}"
|
||||
ARCH="x86_64"
|
||||
|
||||
sudo rm -rf "${INSTALLROOT}"
|
||||
sudo mkdir -p "${INSTALLROOT}"
|
||||
sudo dnf -y \
|
||||
--disablerepo="*" \
|
||||
--enablerepo="mageia-${ARCH},updates-${ARCH}" \
|
||||
--installroot="${INSTALLROOT}" \
|
||||
--releasever="${VERSION}" \
|
||||
install \
|
||||
\
|
||||
bash \
|
||||
mageia-release-common \
|
||||
urpmi \
|
||||
vim
|
||||
|
||||
sudo chroot "${INSTALLROOT}" rpmdb --rebuilddb
|
||||
|
||||
FILE="${IMAGE//\//_}.tar"
|
||||
sudo tar -C "${INSTALLROOT}" -c . >"${FILE}"
|
||||
sudo rm -rf "${INSTALLROOT}"
|
||||
|
||||
docker rmi -f "${IMAGE}"
|
||||
docker import "${FILE}" "${IMAGE}"
|
||||
|
||||
pigz "${FILE}"
|
||||
mkdir -p "${HOME}/tde/docker"
|
||||
mv -fv "${FILE}.gz" "${HOME}/tde/docker"
|
@ -1,6 +1,10 @@
|
||||
%dist .mga9
|
||||
%_smp_mflags -j8
|
||||
%jobs 8
|
||||
%__brp_remove_la_files %nil
|
||||
%_program_prefix ""
|
||||
%_debugsource_packages %nil
|
||||
%_debugsource_template %nil
|
||||
%_vpath_builddir .
|
||||
%python python3
|
||||
%__python /usr/bin/python3
|
||||
|
@ -0,0 +1,65 @@
|
||||
FROM openmandriva:5.0
|
||||
|
||||
ARG TDE_VERSION=14.1.2
|
||||
ARG ARCH=x86_64
|
||||
|
||||
COPY packages /packages
|
||||
RUN set -x \
|
||||
&& echo "proxy=http://proxy:3128" >>"/etc/dnf/dnf.conf" \
|
||||
&& dnf -y update \
|
||||
&& dnf -y install --skip-broken $(</packages)
|
||||
|
||||
# Fix utempter detection
|
||||
RUN set -x \
|
||||
&& chmod a+r /usr/libexec/utempter/utempter
|
||||
|
||||
# Add non-root user to build packages
|
||||
RUN set -x \
|
||||
&& rm -rf /home/trinity \
|
||||
&& useradd -m -s /bin/bash -u 1000 trinity \
|
||||
&& echo "trinity ALL=(ALL) NOPASSWD: ALL" >>"/etc/sudoers" \
|
||||
&& echo "export QA_RPATHS=\$(( 0x0001|0x0002 ))" >>/home/trinity/.bashrc \
|
||||
&& chown -R trinity /home/trinity
|
||||
|
||||
# Configure user trinity
|
||||
USER trinity
|
||||
COPY rpmmacros /home/trinity/.rpmmacros
|
||||
|
||||
RUN set -x \
|
||||
&& rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/development/rawhide/Everything/source/tree/Packages/r/rdesktop-1.9.0-15.fc40.src.rpm --nodeps \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/rdesktop-1*.rpm
|
||||
|
||||
RUN set -x \
|
||||
&& rpm -ivh http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/SRPMS/core/release/sword-1.9.0-11.mga10.src.rpm \
|
||||
&& rpmbuild -bb ${HOME}/rpmbuild/SPECS/sword.spec --define "cmake_build %__make %{?_smp_mflags}" --define "cmake_install %__make -C build install DESTDIR=%{?buildroot}" --define "__cc /usr/bin/gcc" --define "__cxx /usr/bin/g++" --define "_disable_ld_no_undefined 1" --define "mkrel %nil" --define "python3_ext_suffix .cpython-311-x86_64-linux-gnu.so" --nodeps \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/{lib64sword{1.9,-devel},sword}-1.9.0-*.rpm
|
||||
|
||||
RUN set -x \
|
||||
&& rpmbuild --rebuild http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/SRPMS/core/release/yaz-5.34.0-1.mga9.src.rpm --nodeps \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/{lib64yaz{5,-devel},yaz}-5*.rpm
|
||||
|
||||
RUN set -x \
|
||||
&& rpm -ivh http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/SRPMS/core/release/rdiff-backup-2.2.2-1.mga9.src.rpm \
|
||||
&& rpmbuild -bb ${HOME}/rpmbuild/SPECS/rdiff-backup.spec \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/rdiff-backup-2*.rpm
|
||||
|
||||
RUN set -x \
|
||||
&& rpmbuild --rebuild http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/SRPMS/core/release/cscope-15.9-3.mga9.src.rpm \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/cscope-15*.rpm
|
||||
|
||||
RUN set -x \
|
||||
&& rpm -ivh http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/SRPMS/core/release/perl-Getopt-ArgvFile-1.110.0-10.mga9.src.rpm \
|
||||
&& rpmbuild -bb ${HOME}/rpmbuild/SPECS/perl-Getopt-ArgvFile.spec \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-Getopt-ArgvFile-1*.rpm
|
||||
|
||||
RUN set -x \
|
||||
&& rpm -ivh http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/SRPMS/core/release/perl-PAR-1.18.0-1.mga9.src.rpm \
|
||||
&& sed -i ${HOME}/rpmbuild/SPECS/perl-PAR.spec -e "s/MYMETA.yml//" \
|
||||
&& rpmbuild -bb ${HOME}/rpmbuild/SPECS/perl-PAR.spec \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-PAR-1*.rpm
|
||||
|
||||
RUN set -x \
|
||||
&& rpm -ivh http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/SRPMS/core/release/perl-PAR-Packer-1.57.0-1.mga9.src.rpm \
|
||||
&& sed -i ${HOME}/rpmbuild/SPECS/perl-PAR-Packer.spec -e "s/MYMETA.yml//" \
|
||||
&& rpmbuild -bb ${HOME}/rpmbuild/SPECS/perl-PAR-Packer.spec \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-PAR-Packer-1*.rpm
|
@ -0,0 +1,256 @@
|
||||
aspell
|
||||
aspell-devel
|
||||
aspell-en
|
||||
audiofile-devel
|
||||
bind-devel
|
||||
bison
|
||||
boost-devel
|
||||
bzip2-devel
|
||||
ccache
|
||||
cdparanoia
|
||||
chmlib-devel
|
||||
chrpath
|
||||
clamav
|
||||
clamav-devel
|
||||
cmake
|
||||
createrepo_c
|
||||
ctags
|
||||
cups-devel
|
||||
curl-devel
|
||||
db5-devel
|
||||
dbus-devel
|
||||
dbus-glib
|
||||
dbus-glib-devel
|
||||
djvulibre
|
||||
docbook2x
|
||||
docbook-dtd412-xml
|
||||
docbook-style-xsl
|
||||
docbook-utils
|
||||
doxygen
|
||||
dssi-devel
|
||||
exempi-devel
|
||||
expat-devel
|
||||
fdupes
|
||||
fftw-devel
|
||||
firebird-devel
|
||||
flex
|
||||
flex-devel
|
||||
fontconfig-devel
|
||||
freetype-devel
|
||||
fribidi-devel
|
||||
gamin-devel
|
||||
gettext-devel
|
||||
ghostscript
|
||||
glib2-devel
|
||||
glibc-i18ndata
|
||||
gmime-devel
|
||||
gnokii-devel
|
||||
gperf
|
||||
gpgme-devel
|
||||
gsl-devel
|
||||
gtk+3.0-devel
|
||||
gtk-doc
|
||||
hspell-devel
|
||||
html2ps
|
||||
iceauth
|
||||
imake
|
||||
imlib2-devel
|
||||
intltool
|
||||
java-1.8.0-openjdk
|
||||
java-1.8.0-openjdk-devel
|
||||
java-devel
|
||||
kde-dev-scripts
|
||||
less
|
||||
lib64acl-devel
|
||||
lib64alsa-oss-devel
|
||||
lib64apr-devel
|
||||
lib64apr-util-devel
|
||||
lib64asound-devel
|
||||
lib64attr-devel
|
||||
lib64audio-devel
|
||||
lib64binutils-devel
|
||||
lib64cap-devel
|
||||
lib64cdda-devel
|
||||
lib64cdio-devel
|
||||
lib64cdio_paranoia-devel
|
||||
lib64cln-devel
|
||||
lib64clucene-devel
|
||||
lib64config-devel
|
||||
lib64cryptsetup-devel
|
||||
lib64curl-devel
|
||||
lib64drm-devel
|
||||
lib64dvdread-devel
|
||||
lib64exif-devel
|
||||
lib64exiv2-devel
|
||||
lib64expat-devel
|
||||
lib64ext2fs-devel
|
||||
lib64fbclient-devel
|
||||
lib64ffmpeg-devel
|
||||
lib64flac++-devel
|
||||
lib64flac-devel
|
||||
lib64fluidsynth-devel
|
||||
lib64fontenc-devel
|
||||
lib64gadu-devel
|
||||
lib64geoip-devel
|
||||
lib64gif-devel
|
||||
lib64glu-devel
|
||||
lib64gmime2.6-devel
|
||||
lib64gmp-devel
|
||||
lib64gnutls-devel
|
||||
lib64gpg-error-devel
|
||||
lib64gphoto-devel
|
||||
lib64gpod-devel
|
||||
lib64graphicsmagick-devel
|
||||
lib64gstreamer-devel
|
||||
lib64gst-plugins-base1.0-devel
|
||||
lib64gtk+2.0-devel
|
||||
lib64hiredis-devel
|
||||
lib64ical-devel
|
||||
lib64icu-devel
|
||||
lib64idn-devel
|
||||
lib64ifp-devel
|
||||
lib64jack-devel
|
||||
lib64magick-devel
|
||||
lib64inotifytools-devel
|
||||
lib64jasper-devel
|
||||
lib64jpeg-devel
|
||||
lib64lame-devel
|
||||
lib64lcms-devel
|
||||
lib64ldap-devel
|
||||
lib64lirc_client-devel
|
||||
lib64lo-devel
|
||||
lib64lrdf-devel
|
||||
lib64ltdl-devel
|
||||
lib64lua-devel
|
||||
lib64mad-devel
|
||||
lib64magic-devel
|
||||
lib64memcached-devel
|
||||
lib64mng-devel
|
||||
lib64mpcdec-devel
|
||||
lib64mtp-devel
|
||||
lib64musicbrainz5-devel
|
||||
lib64nettle-devel
|
||||
lib64njb-devel
|
||||
lib64nm-devel
|
||||
lib64npth-devel
|
||||
lib64nsl-devel
|
||||
lib64nspr-devel
|
||||
lib64ofx-devel
|
||||
lib64openexr-devel
|
||||
lib64otr-devel
|
||||
lib64paper-devel
|
||||
lib64pcre-devel
|
||||
lib64pcsclite-devel
|
||||
lib64pkcs11-helper-devel
|
||||
lib64polkit1-devel
|
||||
lib64poppler-devel
|
||||
lib64pqxx-devel
|
||||
lib64pth-devel
|
||||
lib64pulseaudio-devel
|
||||
lib64qalculate-devel
|
||||
lib64raptor-devel
|
||||
lib64raw1394-devel
|
||||
lib64rsvg2-devel
|
||||
lib64rsync-devel
|
||||
lib64samplerate-devel
|
||||
lib64sane1-devel
|
||||
lib64sasl-devel
|
||||
lib64SDL-devel
|
||||
lib64smbclient-devel
|
||||
lib64sndfile-devel
|
||||
lib64t1lib-devel
|
||||
lib64tasn1-devel
|
||||
lib64theora-devel
|
||||
lib64tiff-devel
|
||||
lib64tirpc-devel
|
||||
lib64twolame-devel
|
||||
lib64udev-devel
|
||||
lib64udisks-devel
|
||||
lib64usb-compat0.1-devel
|
||||
lib64usb1.0-devel
|
||||
lib64utempter0
|
||||
lib64utempter-devel
|
||||
lib64v4l-devel
|
||||
lib64visual-devel
|
||||
lib64vorbis-devel
|
||||
lib64wmf-devel
|
||||
lib64wpd-devel
|
||||
lib64xaw-devel
|
||||
lib64xdg-basedir-devel
|
||||
lib64xi-devel
|
||||
lib64xine-devel
|
||||
lib64xkbfile-devel
|
||||
lib64xscrnsaver-devel
|
||||
lib64xslt-devel
|
||||
lib64xtst-devel
|
||||
lib64xxf86dga-devel
|
||||
lib64xxf86vm-devel
|
||||
lib64wrap-devel
|
||||
librsvg
|
||||
lm_sensors-devel
|
||||
mysql-devel
|
||||
nas-devel
|
||||
neon-devel
|
||||
netpbm
|
||||
net-snmp-devel
|
||||
net-tools
|
||||
notification-daemon
|
||||
ocaml
|
||||
opensc
|
||||
openslp-devel
|
||||
opensp-devel
|
||||
openssh-clients
|
||||
optipng
|
||||
pam-devel
|
||||
pciutils-devel
|
||||
perl-devel
|
||||
perl(Archive::Zip)
|
||||
perl(ExtUtils::CBuilder)
|
||||
perl(ExtUtils::Embed)
|
||||
perl-ExtUtils-MakeMaker
|
||||
perl(IPC::Run3)
|
||||
perl(Module::ScanDeps)
|
||||
perl(PAR::Dist)
|
||||
perl-pcsc-perl
|
||||
perl(Test::More)
|
||||
perl(Tk)
|
||||
perl(XML::Parser)
|
||||
pilot-link-devel
|
||||
pinentry-gtk2
|
||||
pkgconfig(audiofile)
|
||||
pkgconfig(libpng16)
|
||||
postgresql
|
||||
postgresql-devel
|
||||
ppp
|
||||
python3-devel
|
||||
python-pylibacl
|
||||
python-pyyaml
|
||||
python-setuptools_scm
|
||||
pyxattr
|
||||
readline-devel
|
||||
recode
|
||||
rpm-build
|
||||
rpm-devel
|
||||
ruby-devel
|
||||
scons
|
||||
speex-devel
|
||||
sqlite3-devel
|
||||
subversion-devel
|
||||
sudo
|
||||
swig
|
||||
taglib-devel
|
||||
tcp_wrappers
|
||||
torsocks
|
||||
transfig
|
||||
unixODBC-devel
|
||||
usbutils
|
||||
valgrind
|
||||
x11-font-util
|
||||
xbase-devel
|
||||
xkeyboard-config-devel
|
||||
xmlto
|
||||
xscreensaver
|
||||
xscreensaver-base
|
||||
xscreensaver-extrusion
|
||||
xscreensaver-gl
|
||||
zlib-devel
|
@ -0,0 +1,11 @@
|
||||
%dist %nil
|
||||
%_smp_mflags -j8
|
||||
%jobs 8
|
||||
%dont_remove_libtool_files 1
|
||||
%_disable_rebuild_configure 1
|
||||
%_program_prefix ""
|
||||
%_debugsource_packages %nil
|
||||
%_debugsource_template %nil
|
||||
%_vpath_builddir .
|
||||
%python python3
|
||||
%__python /usr/bin/python3
|
@ -0,0 +1,65 @@
|
||||
FROM openmandriva/cooker:latest
|
||||
|
||||
ARG TDE_VERSION=14.1.2
|
||||
ARG ARCH=x86_64
|
||||
|
||||
COPY packages /packages
|
||||
RUN set -x \
|
||||
&& echo "proxy=http://proxy:3128" >>"/etc/dnf/dnf.conf" \
|
||||
&& dnf -y update \
|
||||
&& dnf -y install --skip-broken $(</packages)
|
||||
|
||||
# Fix utempter detection
|
||||
RUN set -x \
|
||||
&& chmod a+r /usr/libexec/utempter/utempter
|
||||
|
||||
# Add non-root user to build packages
|
||||
RUN set -x \
|
||||
&& rm -rf /home/trinity \
|
||||
&& useradd -m -s /bin/bash -u 1000 trinity \
|
||||
&& echo "trinity ALL=(ALL) NOPASSWD: ALL" >>"/etc/sudoers" \
|
||||
&& echo "export QA_RPATHS=\$(( 0x0001|0x0002 ))" >>/home/trinity/.bashrc \
|
||||
&& chown -R trinity /home/trinity
|
||||
|
||||
# Configure user trinity
|
||||
USER trinity
|
||||
COPY rpmmacros /home/trinity/.rpmmacros
|
||||
|
||||
RUN set -x \
|
||||
&& rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/development/rawhide/Everything/source/tree/Packages/r/rdesktop-1.9.0-15.fc40.src.rpm --nodeps \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/rdesktop-1*.rpm
|
||||
|
||||
RUN set -x \
|
||||
&& rpm -ivh http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/SRPMS/core/release/sword-1.9.0-11.mga10.src.rpm \
|
||||
&& rpmbuild -bb ${HOME}/rpmbuild/SPECS/sword.spec --define "cmake_build %__make %{?_smp_mflags}" --define "cmake_install %__make -C build install DESTDIR=%{?buildroot}" --define "__cc /usr/bin/gcc" --define "__cxx /usr/bin/g++" --define "_disable_ld_no_undefined 1" --define "mkrel %nil" --define "python3_ext_suffix .cpython-311-x86_64-linux-gnu.so" --nodeps \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/{lib64sword{1.9,-devel},sword}-1.9.0-*.rpm
|
||||
|
||||
#RUN set -x \
|
||||
# && rpmbuild --rebuild http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/SRPMS/core/release/yaz-5.34.0-1.mga9.src.rpm --define "mkrel %nil" --nodeps \
|
||||
# && sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/{lib64yaz{5,-devel},yaz}-5*.rpm
|
||||
|
||||
RUN set -x \
|
||||
&& rpm -ivh http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/SRPMS/core/release/rdiff-backup-2.2.2-1.mga9.src.rpm \
|
||||
&& rpmbuild -bb ${HOME}/rpmbuild/SPECS/rdiff-backup.spec --define "mkrel %nil" \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/rdiff-backup-2*.rpm
|
||||
|
||||
RUN set -x \
|
||||
&& rpmbuild --rebuild http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/SRPMS/core/release/cscope-15.9-3.mga9.src.rpm --define "mkrel %nil" \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/cscope-15*.rpm
|
||||
|
||||
RUN set -x \
|
||||
&& rpm -ivh http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/SRPMS/core/release/perl-Getopt-ArgvFile-1.110.0-10.mga9.src.rpm \
|
||||
&& rpmbuild -bb ${HOME}/rpmbuild/SPECS/perl-Getopt-ArgvFile.spec --define "mkrel %nil" \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-Getopt-ArgvFile-1*.rpm
|
||||
|
||||
RUN set -x \
|
||||
&& rpm -ivh http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/SRPMS/core/release/perl-PAR-1.18.0-1.mga9.src.rpm \
|
||||
&& sed -i ${HOME}/rpmbuild/SPECS/perl-PAR.spec -e "s/MYMETA.yml//" \
|
||||
&& rpmbuild -bb ${HOME}/rpmbuild/SPECS/perl-PAR.spec --define "mkrel %nil" \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-PAR-1*.rpm
|
||||
|
||||
RUN set -x \
|
||||
&& rpm -ivh http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/SRPMS/core/release/perl-PAR-Packer-1.57.0-1.mga9.src.rpm \
|
||||
&& sed -i ${HOME}/rpmbuild/SPECS/perl-PAR-Packer.spec -e "s/MYMETA.yml//" \
|
||||
&& rpmbuild -bb ${HOME}/rpmbuild/SPECS/perl-PAR-Packer.spec --define "mkrel %nil" \
|
||||
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-PAR-Packer-1*.rpm
|
@ -0,0 +1,256 @@
|
||||
aspell
|
||||
aspell-devel
|
||||
aspell-en
|
||||
audiofile-devel
|
||||
bind-devel
|
||||
bison
|
||||
boost-devel
|
||||
bzip2-devel
|
||||
ccache
|
||||
cdparanoia
|
||||
chmlib-devel
|
||||
chrpath
|
||||
clamav
|
||||
clamav-devel
|
||||
cmake
|
||||
createrepo_c
|
||||
ctags
|
||||
cups-devel
|
||||
curl-devel
|
||||
db5-devel
|
||||
dbus-devel
|
||||
dbus-glib
|
||||
dbus-glib-devel
|
||||
djvulibre
|
||||
docbook2x
|
||||
docbook-dtd412-xml
|
||||
docbook-style-xsl
|
||||
docbook-utils
|
||||
doxygen
|
||||
dssi-devel
|
||||
exempi-devel
|
||||
expat-devel
|
||||
fdupes
|
||||
fftw-devel
|
||||
firebird-devel
|
||||
flex
|
||||
flex-devel
|
||||
fontconfig-devel
|
||||
freetype-devel
|
||||
fribidi-devel
|
||||
gamin-devel
|
||||
gettext-devel
|
||||
ghostscript
|
||||
glib2-devel
|
||||
glibc-i18ndata
|
||||
gmime-devel
|
||||
gnokii-devel
|
||||
gperf
|
||||
gpgme-devel
|
||||
gsl-devel
|
||||
gtk+3.0-devel
|
||||
gtk-doc
|
||||
hspell-devel
|
||||
html2ps
|
||||
iceauth
|
||||
imake
|
||||
imlib2-devel
|
||||
intltool
|
||||
java-1.8.0-openjdk
|
||||
java-1.8.0-openjdk-devel
|
||||
java-devel
|
||||
kde-dev-scripts
|
||||
less
|
||||
lib64acl-devel
|
||||
lib64alsa-oss-devel
|
||||
lib64apr-devel
|
||||
lib64apr-util-devel
|
||||
lib64asound-devel
|
||||
lib64attr-devel
|
||||
lib64audio-devel
|
||||
lib64binutils-devel
|
||||
lib64cap-devel
|
||||
lib64cdda-devel
|
||||
lib64cdio-devel
|
||||
lib64cdio_paranoia-devel
|
||||
lib64cln-devel
|
||||
lib64clucene-devel
|
||||
lib64config-devel
|
||||
lib64cryptsetup-devel
|
||||
lib64curl-devel
|
||||
lib64drm-devel
|
||||
lib64dvdread-devel
|
||||
lib64exif-devel
|
||||
lib64exiv2-devel
|
||||
lib64expat-devel
|
||||
lib64ext2fs-devel
|
||||
lib64fbclient-devel
|
||||
lib64ffmpeg-devel
|
||||
lib64flac++-devel
|
||||
lib64flac-devel
|
||||
lib64fluidsynth-devel
|
||||
lib64fontenc-devel
|
||||
lib64gadu-devel
|
||||
lib64geoip-devel
|
||||
lib64gif-devel
|
||||
lib64glu-devel
|
||||
lib64gmime2.6-devel
|
||||
lib64gmp-devel
|
||||
lib64gnutls-devel
|
||||
lib64gpg-error-devel
|
||||
lib64gphoto-devel
|
||||
lib64gpod-devel
|
||||
lib64graphicsmagick-devel
|
||||
lib64gstreamer-devel
|
||||
lib64gst-plugins-base1.0-devel
|
||||
lib64gtk+2.0-devel
|
||||
lib64hiredis-devel
|
||||
lib64ical-devel
|
||||
lib64icu-devel
|
||||
lib64idn-devel
|
||||
lib64ifp-devel
|
||||
lib64jack-devel
|
||||
lib64magick-devel
|
||||
lib64inotifytools-devel
|
||||
lib64jasper-devel
|
||||
lib64jpeg-devel
|
||||
lib64lame-devel
|
||||
lib64lcms-devel
|
||||
lib64ldap-devel
|
||||
lib64lirc_client-devel
|
||||
lib64lo-devel
|
||||
lib64lrdf-devel
|
||||
lib64ltdl-devel
|
||||
lib64lua-devel
|
||||
lib64mad-devel
|
||||
lib64magic-devel
|
||||
lib64memcached-devel
|
||||
lib64mng-devel
|
||||
lib64mpcdec-devel
|
||||
lib64mtp-devel
|
||||
lib64musicbrainz5-devel
|
||||
lib64nettle-devel
|
||||
lib64njb-devel
|
||||
lib64nm-devel
|
||||
lib64npth-devel
|
||||
lib64nsl-devel
|
||||
lib64nspr-devel
|
||||
lib64ofx-devel
|
||||
lib64openexr-devel
|
||||
lib64otr-devel
|
||||
lib64paper-devel
|
||||
lib64pcre-devel
|
||||
lib64pcsclite-devel
|
||||
lib64pkcs11-helper-devel
|
||||
lib64polkit1-devel
|
||||
lib64poppler-devel
|
||||
lib64pqxx-devel
|
||||
lib64pth-devel
|
||||
lib64pulseaudio-devel
|
||||
lib64qalculate-devel
|
||||
lib64raptor-devel
|
||||
lib64raw1394-devel
|
||||
lib64rsvg2-devel
|
||||
lib64rsync-devel
|
||||
lib64samplerate-devel
|
||||
lib64sane1-devel
|
||||
lib64sasl-devel
|
||||
lib64SDL-devel
|
||||
lib64smbclient-devel
|
||||
lib64sndfile-devel
|
||||
lib64t1lib-devel
|
||||
lib64tasn1-devel
|
||||
lib64theora-devel
|
||||
lib64tiff-devel
|
||||
lib64tirpc-devel
|
||||
lib64twolame-devel
|
||||
lib64udev-devel
|
||||
lib64udisks-devel
|
||||
lib64usb-compat0.1-devel
|
||||
lib64usb1.0-devel
|
||||
lib64utempter0
|
||||
lib64utempter-devel
|
||||
lib64v4l-devel
|
||||
lib64visual-devel
|
||||
lib64vorbis-devel
|
||||
lib64wmf-devel
|
||||
lib64wpd-devel
|
||||
lib64xaw-devel
|
||||
lib64xdg-basedir-devel
|
||||
lib64xi-devel
|
||||
lib64xine-devel
|
||||
lib64xkbfile-devel
|
||||
lib64xscrnsaver-devel
|
||||
lib64xslt-devel
|
||||
lib64xtst-devel
|
||||
lib64xxf86dga-devel
|
||||
lib64xxf86vm-devel
|
||||
lib64wrap-devel
|
||||
librsvg
|
||||
lm_sensors-devel
|
||||
mysql-devel
|
||||
nas-devel
|
||||
neon-devel
|
||||
netpbm
|
||||
net-snmp-devel
|
||||
net-tools
|
||||
notification-daemon
|
||||
ocaml
|
||||
opensc
|
||||
openslp-devel
|
||||
opensp-devel
|
||||
openssh-clients
|
||||
optipng
|
||||
pam-devel
|
||||
pciutils-devel
|
||||
perl-devel
|
||||
perl(Archive::Zip)
|
||||
perl(ExtUtils::CBuilder)
|
||||
perl(ExtUtils::Embed)
|
||||
perl-ExtUtils-MakeMaker
|
||||
perl(IPC::Run3)
|
||||
perl(Module::ScanDeps)
|
||||
perl(PAR::Dist)
|
||||
perl-pcsc-perl
|
||||
perl(Test::More)
|
||||
perl(Tk)
|
||||
perl(XML::Parser)
|
||||
pilot-link-devel
|
||||
pinentry-gtk2
|
||||
pkgconfig(audiofile)
|
||||
pkgconfig(libpng16)
|
||||
postgresql
|
||||
postgresql-devel
|
||||
ppp
|
||||
python3-devel
|
||||
python-pylibacl
|
||||
python-pyyaml
|
||||
python-setuptools_scm
|
||||
pyxattr
|
||||
readline-devel
|
||||
recode
|
||||
rpm-build
|
||||
rpm-devel
|
||||
ruby-devel
|
||||
scons
|
||||
speex-devel
|
||||
sqlite3-devel
|
||||
subversion-devel
|
||||
sudo
|
||||
swig
|
||||
taglib-devel
|
||||
tcp_wrappers
|
||||
torsocks
|
||||
transfig
|
||||
unixODBC-devel
|
||||
usbutils
|
||||
valgrind
|
||||
x11-font-util
|
||||
xbase-devel
|
||||
xkeyboard-config-devel
|
||||
xmlto
|
||||
xscreensaver
|
||||
xscreensaver-base
|
||||
xscreensaver-extrusion
|
||||
xscreensaver-gl
|
||||
zlib-devel
|
@ -0,0 +1,11 @@
|
||||
%dist %nil
|
||||
%_smp_mflags -j8
|
||||
%jobs 8
|
||||
%dont_remove_libtool_files 1
|
||||
%_disable_rebuild_configure 1
|
||||
%_program_prefix ""
|
||||
%_debugsource_packages %nil
|
||||
%_debugsource_template %nil
|
||||
%_vpath_builddir .
|
||||
%python python3
|
||||
%__python /usr/bin/python3
|
@ -0,0 +1,27 @@
|
||||
#!/bin/bash -ex
|
||||
|
||||
NAME="openmandriva"
|
||||
VERSION="${1:-5.0}" # E.g: '26'
|
||||
IMAGE="${NAME}:${VERSION}"
|
||||
TAR="${NAME}-${VERSION}.tar"
|
||||
INSTALLROOT="/dev/shm/${IMAGE}"
|
||||
|
||||
sudo rm -rf "${INSTALLROOT}"
|
||||
sudo dnf install \
|
||||
--assumeyes \
|
||||
--disablerepo="*" \
|
||||
--enablerepo="omv*" \
|
||||
--installroot="${INSTALLROOT}" \
|
||||
--nodocs \
|
||||
--nogpgcheck \
|
||||
--refresh \
|
||||
--releasever="${VERSION}" \
|
||||
--repofrompath 'omv-release,http://mirror.openmandriva.org/$releasever/repository/x86_64/main/release/' \
|
||||
--repofrompath 'omv-updates,http://mirror.openmandriva.org/$releasever/repository/x86_64/main/updates/' \
|
||||
bash curl dnf vim
|
||||
|
||||
sudo tar -C "${INSTALLROOT}" -c . >"${TAR}"
|
||||
sudo rm -rf "${INSTALLROOT}"
|
||||
|
||||
docker rmi -f "${IMAGE}"
|
||||
docker import "${TAR}" "${IMAGE}"
|
@ -0,0 +1,38 @@
|
||||
FROM opensuse/leap:15.5
|
||||
|
||||
ARG TDE_VERSION=14.1.2
|
||||
ARG ARCH=x86_64
|
||||
|
||||
# Add PACKMAN repository
|
||||
# Install Trinity build dependencies
|
||||
COPY packages /packages
|
||||
RUN set -x \
|
||||
&& echo PROXY_ENABLED="YES" >>/etc/sysconfig/proxy \
|
||||
&& echo HTTP_PROXY="http://proxy:3128/" >>/etc/sysconfig/proxy \
|
||||
&& zypper ar -f -G -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.5/ packman \
|
||||
&& zypper -n refresh \
|
||||
&& zypper -n update \
|
||||
&& zypper -n install -l $(</packages)
|
||||
|
||||
RUN ln -sfv python3.6m /usr/include/python3.6 \
|
||||
&& ln -sfv python3 /usr/bin/python
|
||||
|
||||
# Add non-root user to build packages
|
||||
RUN useradd -m -s /bin/bash -u 1000 trinity \
|
||||
&& echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
|
||||
|
||||
USER trinity
|
||||
COPY rpmmacros /home/trinity/.rpmmacros
|
||||
|
||||
# Add YUM repository for locally built packages
|
||||
RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} \
|
||||
&& sudo zypper ar -C -G /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} rpmbuild.${ARCH} \
|
||||
&& mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch \
|
||||
&& sudo zypper ar -C -G /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch rpmbuild.noarch
|
||||
|
||||
# Install heimdal development files
|
||||
RUN rpm -Uvh https://ftp.lysator.liu.se/pub/opensuse/source/distribution/leap/15.5/repo/oss/src/libheimdal-7.8.0-bp155.2.7.src.rpm \
|
||||
&& wget -nv -O "${HOME}/rpmbuild/SOURCES/heimdal-7.8.0.tar.gz" "https://github.com/heimdal/heimdal/releases/download/heimdal-7.8.0/heimdal-7.8.0.tar.gz" \
|
||||
&& sed -i "${HOME}/rpmbuild/SPECS/libheimdal.spec" -e "/^Source0:/ s|.*|Source0: heimdal-7.8.0.tar.gz|" -e "/^Patch0/ s|^|#|" \
|
||||
&& rpmbuild -bc ${HOME}/rpmbuild/SPECS/libheimdal.spec \
|
||||
&& sudo make -C ${HOME}/rpmbuild/BUILD/heimdal-7.8.0/tools/ install
|
@ -0,0 +1,225 @@
|
||||
alsa-devel
|
||||
aspell
|
||||
aspell-devel
|
||||
audiofile-devel
|
||||
automake
|
||||
bdftopcf
|
||||
binutils-devel
|
||||
bison
|
||||
brp-check-suse
|
||||
brp-extract-appdata
|
||||
ccache
|
||||
cdparanoia
|
||||
cdparanoia-devel
|
||||
chmlib-devel
|
||||
chrpath
|
||||
clamav
|
||||
clamav-devel
|
||||
cln-devel
|
||||
clucene-core-devel
|
||||
cmake
|
||||
createrepo_c
|
||||
cups-devel
|
||||
curl
|
||||
cyrus-sasl-devel
|
||||
dbus-1-devel
|
||||
dbus-1-glib-devel
|
||||
djvulibre
|
||||
docbook-utils
|
||||
docbook-xsl-stylesheets
|
||||
docbook2x
|
||||
doxygen GraphicsMagick
|
||||
dssi-devel
|
||||
fdupes
|
||||
ffmpeg-devel
|
||||
fftw3-devel
|
||||
file-devel
|
||||
flac-devel
|
||||
flex
|
||||
font-util
|
||||
freetype-devel
|
||||
fribidi-devel
|
||||
gamin-devel
|
||||
gcc-c++
|
||||
giflib-devel
|
||||
git
|
||||
glu-devel
|
||||
gmime-devel
|
||||
gmime2_6-devel
|
||||
gmp-devel
|
||||
gperf xmlto
|
||||
GraphicsMagick-devel
|
||||
gsl-devel
|
||||
gstreamer-devel
|
||||
gstreamer-plugins-base-devel
|
||||
gstreamer-devel
|
||||
gtk2-devel
|
||||
gtk3-devel
|
||||
gtk-doc
|
||||
htdig
|
||||
html2ps
|
||||
hunspell-devel
|
||||
iceauth
|
||||
ImageMagick-devel
|
||||
imake
|
||||
imlib2-devel
|
||||
intltool
|
||||
java-1_8_0-openjdk-devel
|
||||
less
|
||||
libacl-devel
|
||||
libao-devel
|
||||
libart_lgpl-devel
|
||||
libavahi-devel
|
||||
libavcodec-devel
|
||||
libblkid-devel
|
||||
libboost_python-py3-1_66_0-devel
|
||||
libboost_system1_66_0-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
|
||||
libfontenc-devel
|
||||
libgadu-devel
|
||||
libGeoIP-devel
|
||||
libgpgme-devel
|
||||
libgphoto2-devel
|
||||
libgpod-devel
|
||||
libgssglue-devel
|
||||
libical-devel
|
||||
libICE-devel
|
||||
libidn-devel
|
||||
libiw-devel
|
||||
libjack-devel
|
||||
libjasper-devel
|
||||
libjpeg8-devel
|
||||
liblcms2-devel
|
||||
liblo-devel
|
||||
liblrdf-devel
|
||||
libmad-devel
|
||||
libmng-devel
|
||||
libmp3lame-devel
|
||||
libmpcdec-devel
|
||||
libmtp-devel
|
||||
libmusicbrainz-devel
|
||||
libmysqld-devel
|
||||
libneon-devel
|
||||
libnjb-devel
|
||||
libnsl-devel
|
||||
libofx-devel
|
||||
libotr-devel
|
||||
libpaper-devel
|
||||
libpng16-devel
|
||||
libpoppler-devel
|
||||
libpqxx-devel
|
||||
libpulse-devel
|
||||
libqalculate-devel
|
||||
libraw1394-devel
|
||||
librsvg-devel
|
||||
libsamplerate-devel
|
||||
libSDL-devel
|
||||
libSM-devel
|
||||
libsmbclient-devel
|
||||
libsndfile-devel
|
||||
libssh-devel
|
||||
libtag-devel
|
||||
libtheora-devel
|
||||
libtiff-devel
|
||||
libtirpc-devel
|
||||
libtool
|
||||
libtwolame-devel
|
||||
libudev1
|
||||
libudisks2-0-devel
|
||||
libuuid-devel
|
||||
libv4l-devel
|
||||
libvisual-devel
|
||||
libvorbis-devel
|
||||
libwmf-devel
|
||||
libwpd-devel
|
||||
libXaw-devel
|
||||
libXdmcp-devel
|
||||
libxine-devel
|
||||
libxkbfile-devel
|
||||
libXpm-devel
|
||||
libXmu-devel
|
||||
libXScrnSaver-devel
|
||||
libxslt-devel
|
||||
libXt-devel
|
||||
libXv-devel
|
||||
libXxf86dga-devel
|
||||
libXxf86vm-devel
|
||||
libyaz-devel
|
||||
libzrtpcpp-devel
|
||||
lirc-devel
|
||||
make
|
||||
makeinfo
|
||||
meanwhile-devel
|
||||
Mesa-devel
|
||||
Mesa-libGL-devel
|
||||
mozilla-nspr-devel
|
||||
mysql-devel
|
||||
net-tools
|
||||
net-tools-deprecated
|
||||
NetworkManager-devel
|
||||
ocaml
|
||||
openexr-devel
|
||||
opensc
|
||||
openslp-devel
|
||||
opensp-devel
|
||||
pam-devel
|
||||
patch
|
||||
pciutils-devel
|
||||
pcre-devel
|
||||
pcsc-lite-devel
|
||||
perl(JSON)
|
||||
perl-PAR-Packer
|
||||
perl-pcsc
|
||||
pkcs11-helper-devel
|
||||
polkit-devel
|
||||
postgresql
|
||||
postgresql-devel
|
||||
postgresql-server-devel
|
||||
ppp
|
||||
python3-devel
|
||||
python3-sip-devel
|
||||
recode
|
||||
rpcgen
|
||||
rpm-build
|
||||
rpmlint
|
||||
rsvg-convert
|
||||
ruby
|
||||
ruby-devel
|
||||
sane-backends-devel
|
||||
scons
|
||||
speex-devel
|
||||
sqlite3-devel
|
||||
subversion-devel
|
||||
sudo
|
||||
swig
|
||||
sword-devel
|
||||
systemd-sysvinit
|
||||
texinfo
|
||||
torsocks
|
||||
transfig
|
||||
unixODBC-devel
|
||||
update-desktop-files
|
||||
usbutils
|
||||
utempter-devel
|
||||
valgrind
|
||||
vim
|
||||
wget
|
||||
wireless-tools
|
||||
wv2-devel
|
||||
xbase-devel
|
||||
xcb-proto-devel
|
||||
xorg-x11
|
||||
xscreensaver
|
||||
xscreensaver-data
|
||||
xscreensaver-data-extra
|
||||
xz-devel
|
@ -0,0 +1,7 @@
|
||||
%dist .oss155
|
||||
%_smp_mflags -j8
|
||||
%jobs 8
|
||||
%sle_version 150500
|
||||
%_build_insert_debug_package %nil
|
||||
%python python3
|
||||
%__python /usr/bin/python3
|
@ -0,0 +1,41 @@
|
||||
FROM opensuse/leap:15.6
|
||||
|
||||
ARG TDE_VERSION=14.1.2
|
||||
ARG ARCH=x86_64
|
||||
|
||||
# Add PACKMAN repository
|
||||
# Install Trinity build dependencies
|
||||
COPY packages /packages
|
||||
RUN set -x \
|
||||
&& echo PROXY_ENABLED="YES" >>/etc/sysconfig/proxy \
|
||||
&& echo HTTP_PROXY="http://proxy.vtf:3128/" >>/etc/sysconfig/proxy \
|
||||
&& zypper ar -f -G -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.6/ packman \
|
||||
&& zypper -n refresh \
|
||||
&& zypper -n update \
|
||||
&& zypper -n install -l $(</packages)
|
||||
|
||||
RUN ln -sfv python3.6m /usr/include/python3.6
|
||||
|
||||
# Add non-root user to build packages
|
||||
RUN useradd -m -s /bin/bash -u 1000 trinity \
|
||||
&& echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
|
||||
|
||||
USER trinity
|
||||
COPY rpmmacros /home/trinity/.rpmmacros
|
||||
|
||||
# Add YUM repository for locally built packages
|
||||
RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} \
|
||||
&& sudo zypper ar -C -G /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} rpmbuild.${ARCH} \
|
||||
&& mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch \
|
||||
&& sudo zypper ar -C -G /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch rpmbuild.noarch
|
||||
|
||||
RUN rpm -Uvh http://download.opensuse.org/source/distribution/leap/15.5/repo/oss/src/perl-PAR-Packer-1.057-bp155.1.4.src.rpm \
|
||||
&& rpmbuild -bb ${HOME}/rpmbuild/SPECS/perl-PAR-Packer.spec \
|
||||
&& sudo rpm -Uvh "${HOME}/rpmbuild/RPMS/"*"/perl-PAR-Packer"*".rpm"
|
||||
|
||||
# Install heimdal development files
|
||||
RUN rpm -Uvh https://ftp.lysator.liu.se/pub/opensuse/source/distribution/leap/15.6/repo/oss/src/libheimdal-7.8.0-bp156.4.4.src.rpm \
|
||||
&& wget -nv -O "${HOME}/rpmbuild/SOURCES/heimdal-7.8.0.tar.gz" "https://github.com/heimdal/heimdal/releases/download/heimdal-7.8.0/heimdal-7.8.0.tar.gz" \
|
||||
&& sed -i "${HOME}/rpmbuild/SPECS/libheimdal.spec" -e "/^Source0:/ s|.*|Source0: heimdal-7.8.0.tar.gz|" -e "/^Patch0/ s|^|#|" \
|
||||
&& rpmbuild -bc ${HOME}/rpmbuild/SPECS/libheimdal.spec \
|
||||
&& sudo make -C ${HOME}/rpmbuild/BUILD/heimdal-7.8.0/tools/ install
|
@ -0,0 +1,231 @@
|
||||
alsa-devel
|
||||
aspell
|
||||
aspell-devel
|
||||
audiofile-devel
|
||||
automake
|
||||
bdftopcf
|
||||
binutils-devel
|
||||
bison
|
||||
brp-check-suse
|
||||
brp-extract-appdata
|
||||
ccache
|
||||
cdparanoia
|
||||
cdparanoia-devel
|
||||
chmlib-devel
|
||||
chrpath
|
||||
clamav
|
||||
clamav-devel
|
||||
cln-devel
|
||||
clucene-core-devel
|
||||
cmake
|
||||
createrepo_c
|
||||
cups-devel
|
||||
curl
|
||||
cyrus-sasl-devel
|
||||
dbus-1-devel
|
||||
dbus-1-glib-devel
|
||||
djvulibre
|
||||
docbook-utils
|
||||
docbook-xsl-stylesheets
|
||||
docbook2x
|
||||
doxygen GraphicsMagick
|
||||
dssi-devel
|
||||
fdupes
|
||||
ffmpeg-devel
|
||||
fftw3-devel
|
||||
file-devel
|
||||
flac-devel
|
||||
flex
|
||||
font-util
|
||||
freetype-devel
|
||||
fribidi-devel
|
||||
gamin-devel
|
||||
gcc-c++
|
||||
giflib-devel
|
||||
git
|
||||
glu-devel
|
||||
gmime-devel
|
||||
gmime2_6-devel
|
||||
gmp-devel
|
||||
gperf xmlto
|
||||
GraphicsMagick-devel
|
||||
gsl-devel
|
||||
gstreamer-devel
|
||||
gstreamer-plugins-base-devel
|
||||
gstreamer-devel
|
||||
gtk2-devel
|
||||
gtk3-devel
|
||||
gtk-doc
|
||||
htdig
|
||||
html2ps
|
||||
hunspell-devel
|
||||
iceauth
|
||||
ImageMagick-devel
|
||||
imake
|
||||
imlib2-devel
|
||||
intltool
|
||||
java-1_8_0-openjdk-devel
|
||||
less
|
||||
libacl-devel
|
||||
libao-devel
|
||||
libart_lgpl-devel
|
||||
libavahi-devel
|
||||
libavcodec-devel
|
||||
libblkid-devel
|
||||
libboost_python-py3-1_66_0-devel
|
||||
libboost_system1_66_0-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
|
||||
libfontenc-devel
|
||||
libgadu-devel
|
||||
libGeoIP-devel
|
||||
libgpgme-devel
|
||||
libgphoto2-devel
|
||||
libgpod-devel
|
||||
libgssglue-devel
|
||||
libical-devel
|
||||
libICE-devel
|
||||
libidn-devel
|
||||
libiw-devel
|
||||
libjack-devel
|
||||
libjasper-devel
|
||||
libjpeg8-devel
|
||||
liblcms2-devel
|
||||
liblo-devel
|
||||
liblrdf-devel
|
||||
libmad-devel
|
||||
libmng-devel
|
||||
libmp3lame-devel
|
||||
libmpcdec-devel
|
||||
libmtp-devel
|
||||
libmusicbrainz-devel
|
||||
libmysqld-devel
|
||||
libneon-devel
|
||||
libnjb-devel
|
||||
libnsl-devel
|
||||
libofx-devel
|
||||
libotr-devel
|
||||
libpaper-devel
|
||||
libpng16-devel
|
||||
libpoppler-devel
|
||||
libpqxx-devel
|
||||
libpulse-devel
|
||||
libqalculate-devel
|
||||
libraw1394-devel
|
||||
librsvg-devel
|
||||
libsamplerate-devel
|
||||
libSDL-devel
|
||||
libSM-devel
|
||||
libsmbclient-devel
|
||||
libsndfile-devel
|
||||
libssh-devel
|
||||
libtag-devel
|
||||
libtheora-devel
|
||||
libtiff-devel
|
||||
libtirpc-devel
|
||||
libtool
|
||||
libtwolame-devel
|
||||
libudev1
|
||||
libudisks2-0-devel
|
||||
libuuid-devel
|
||||
libv4l-devel
|
||||
libvisual-devel
|
||||
libvorbis-devel
|
||||
libwmf-devel
|
||||
libwpd-devel
|
||||
libXaw-devel
|
||||
libXdmcp-devel
|
||||
libxine-devel
|
||||
libxkbfile-devel
|
||||
libXpm-devel
|
||||
libXmu-devel
|
||||
libXScrnSaver-devel
|
||||
libxslt-devel
|
||||
libXt-devel
|
||||
libXv-devel
|
||||
libXxf86dga-devel
|
||||
libXxf86vm-devel
|
||||
libyaz-devel
|
||||
libzrtpcpp-devel
|
||||
lirc-devel
|
||||
make
|
||||
makeinfo
|
||||
meanwhile-devel
|
||||
Mesa-devel
|
||||
Mesa-libGL-devel
|
||||
mozilla-nspr-devel
|
||||
mysql-devel
|
||||
net-tools
|
||||
net-tools-deprecated
|
||||
NetworkManager-devel
|
||||
ocaml
|
||||
openexr-devel
|
||||
opensc
|
||||
openslp-devel
|
||||
opensp-devel
|
||||
pam-devel
|
||||
patch
|
||||
pciutils-devel
|
||||
pcre-devel
|
||||
pcsc-lite-devel
|
||||
perl(Archive::Zip)
|
||||
perl(Getopt::ArgvFile)
|
||||
perl(IPC::Run3)
|
||||
perl(JSON)
|
||||
perl(Module::ScanDeps)
|
||||
perl(PAR)
|
||||
perl(PAR::Dist)
|
||||
perl-macros
|
||||
perl-pcsc
|
||||
pkcs11-helper-devel
|
||||
polkit-devel
|
||||
postgresql
|
||||
postgresql-devel
|
||||
postgresql-server-devel
|
||||
ppp
|
||||
python3-devel
|
||||
python3-sip-devel
|
||||
recode
|
||||
rpcgen
|
||||
rpm-build
|
||||
rpmlint
|
||||
rsvg-convert
|
||||
ruby
|
||||
ruby-devel
|
||||
sane-backends-devel
|
||||
scons
|
||||
speex-devel
|
||||
sqlite3-devel
|
||||
subversion-devel
|
||||
sudo
|
||||
swig
|
||||
sword-devel
|
||||
systemd-sysvinit
|
||||
texinfo
|
||||
torsocks
|
||||
transfig
|
||||
unixODBC-devel
|
||||
update-desktop-files
|
||||
usbutils
|
||||
utempter-devel
|
||||
valgrind
|
||||
vim
|
||||
wget
|
||||
wireless-tools
|
||||
wv2-devel
|
||||
xbase-devel
|
||||
xcb-proto-devel
|
||||
xorg-x11
|
||||
xscreensaver
|
||||
xscreensaver-data
|
||||
xscreensaver-data-extra
|
||||
xz-devel
|
@ -0,0 +1,7 @@
|
||||
%dist .oss156
|
||||
%_smp_mflags -j8
|
||||
%jobs 8
|
||||
%sle_version 150600
|
||||
%_build_insert_debug_package %nil
|
||||
%python python3
|
||||
%__python /usr/bin/python3
|
@ -1,4 +1,5 @@
|
||||
%dist .osstw
|
||||
%_smp_mflags -j8
|
||||
%jobs 8
|
||||
%__python %__python2
|
||||
%python python3
|
||||
%__python %__python3
|
||||
|
Binary file not shown.
Loading…
Reference in new issue