RPM: update spec files for TDE 14.0.7

pull/92/head
François Andriot 5 years ago
parent 411aad4790
commit cd8eb9fd74

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg abakus
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# Default version for this component
%define tde_pkg adept
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
# TDE specific building variables

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg amarok
%define tde_prefix /opt/trinity
@ -207,7 +207,7 @@ BuildRequires: %{_lib}inotifytools-devel
%endif
# XINE support
%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?rhel} >= 5
%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?rhel} == 7
%define with_xine 1
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}xine1.2-devel
@ -343,8 +343,8 @@ Amarok is a multimedia player with:
%{tde_tdelibdir}/libamarok_xine-engine.*
%endif
## Gstreamer engine
#%{tde_datadir}/services/amarok_gst10engine_plugin.desktop
#%{tde_tdelibdir}/libamarok_gst10engine_plugin.*
#{tde_datadir}/services/amarok_gst10engine_plugin.desktop
#{tde_tdelibdir}/libamarok_gst10engine_plugin.*
# YAUAP
%if 0%{?with_yauap}
%{tde_datadir}/services/amarok_yauap-engine_plugin.desktop
@ -431,7 +431,7 @@ if ! ruby -rrbconfig -e "puts Config.expand( Config::MAKEFILE_CONFIG['MAJOR'] )"
-e "s|Config\.|RbConfig\.|g"
fi
%if 0%{?fedora} >= 30
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
%__sed -i "amarok/src/scripts/playlist2html/playlist2html.py" \
"amarok/src/scripts/playlist2html/PlaylistServer.py" \
"amarok/src/scripts/webcontrol/WebControl.py" \

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg basket
%define tde_prefix /opt/trinity
@ -174,10 +174,8 @@ echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop"
%{tde_datadir}/mimelnk/application/x-basket-template.desktop
%{tde_datadir}/services/basket_config_apps.desktop
%{tde_datadir}/services/basket_config_baskets.desktop
#%{tde_datadir}/services/basket_config_features.desktop
%{tde_datadir}/services/basket_config_general.desktop
%{tde_datadir}/services/basket_config_new_notes.desktop
#%{tde_datadir}/services/basket_config_notes.desktop
%{tde_datadir}/services/basket_config_notes_appearance.desktop
%{tde_datadir}/services/basket_part.desktop
%{tde_datadir}/services/basketthumbcreator.desktop

@ -23,7 +23,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg bibletime
%define tde_prefix /opt/trinity
@ -124,6 +124,10 @@ unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
%if 0%{?fedora} >= 31
CXXFLAGS="${RPM_OPT_FLAGS} -std=c++11"
%endif
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg digikam
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg dolphin
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg filelight
%define tde_prefix /opt/trinity

@ -1,92 +0,0 @@
# Default version for this component
%define tde_pkg fusion-icon
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%if "%{?python2_sitelib}" == ""
%define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%endif
# TDE specific building variables
%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 _docdir %{tde_docdir}
Name: trinity-%{tde_pkg}
Summary: tray icon to launch and manage Compiz Fusion [Trinity]
Version: 0.0.0+git20071028
Release: 2%{?dist}
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tdelibs-devel
BuildRequires: trinity-tdebase-devel
BuildRequires: desktop-file-utils
BuildRequires: python
Requires: python
Requires: trinity-compizconfig-backend-kconfig
%description
The OpenCompositing Project brings 3D desktop visual effects that
improve the usability and eye candy of the X Window System and provide
increased productivity.
This package contains a tray icon that can launch Compiz and its
decorators.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
%__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install \
DESTDIR=%{buildroot} \
PREFIX=%{tde_prefix}
# Removes 'egg-info'
find "%{?buildroot}%{python2_sitelib}" -name "*.egg-info" -delete
%clean
%__rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{tde_bindir}/fusion-icon
%{python2_sitelib}/FusionIcon/
%{tde_datadir}/applications/fusion-icon.desktop
%{tde_datadir}/icons/hicolor/*/apps/fusion-icon.png
%{tde_datadir}/icons/hicolor/scalable/apps/fusion-icon.svg
%changelog

@ -1,6 +1,6 @@
# Default version for this component
%define tde_pkg fusion-icon
%define tde_version 14.0.0
%define tde_version 14.0.7
%if "%{?python2_sitelib}" == ""
%define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg gtk-qt-engine
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg gtk3-tqt-engine
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg gwenview-i18n
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg gwenview
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg k3b-i18n
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg k3b
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg k9copy
%define tde_prefix /opt/trinity

@ -19,7 +19,7 @@
%define tde_pkg kaffeine-mozilla
%define tde_prefix /opt/trinity
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
# TDE specific building variables
@ -38,7 +38,7 @@
%define _docdir %{tde_docdir}
%if 0%{?fedora} >= 27 || 0%{?mgaversion} >= 7
%if 0%{?fedora} >= 27 || 0%{?mgaversion} >= 7 || 0%{?rhel} >= 8
%define debug_package %{nil}
%endif
@ -59,9 +59,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
# Fix 'nspr' includes location
Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch
BuildRequires: autoconf automake libtool m4
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@ -100,7 +97,6 @@ when a page containing a supported media format is loaded.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .nspr
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/"*"/ltmain.sh" "ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "ltmain.sh"

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kaffeine
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kasablanca
%define tde_prefix /opt/trinity
@ -63,7 +63,7 @@ BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: autoconf automake libtool m4
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@ -117,43 +117,44 @@ Kasablanca is an ftp client, among its features are currently:
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
## Needed(?) for older/legacy setups, harmless otherwise
if pkg-config openssl ; then
export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I openssl)"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--libdir=%{tde_libdir} \
--includedir=%{tde_tdeincludedir} \
--datadir=%{tde_datadir} \
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_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}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
..
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf $RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT -C build
# locale's
%find_lang %{tde_pkg}
@ -177,6 +178,7 @@ export PATH="%{tde_bindir}:${PATH}"
%{tde_datadir}/icons/hicolor/*/apps/kasablanca.png
%{tde_tdedocdir}/HTML/en/kasablanca/
%{tde_tdeappdir}/kasablanca.desktop
%{tde_mandir}/man1/kasablanca.*
%changelog

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg katapult
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kbarcode
%define tde_prefix /opt/trinity
@ -114,7 +114,7 @@ to use them in another application.
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%doc AUTHORS ChangeLog COPYING README TODO
%{tde_bindir}/kbarcode
%{tde_tdeappdir}/kbarcode-batch.desktop
%{tde_tdeappdir}/kbarcode-editor.desktop

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kbfx
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kbibtex
%define tde_prefix /opt/trinity
@ -162,7 +162,7 @@ fi
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS BUGS COPYING NEWS README TODO ChangeLog
%doc AUTHORS COPYING NEWS README TODO ChangeLog
%{tde_bindir}/kbibtex
%{tde_tdelibdir}/libkbibtexpart.la
%{tde_tdelibdir}/libkbibtexpart.so

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kbiff
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kbookreader
%define tde_prefix /opt/trinity
@ -151,12 +151,14 @@ export PATH="%{tde_bindir}:${PATH}"
%suse_update_desktop_file "%{?buildroot}%{tde_tdeappdir}/bookreader.desktop" Office Viewer
%endif
%find_lang %{tde_pkg}
%clean
%__rm -rf %{buildroot}
%files
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{tde_bindir}/bookreader

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kchmviewer
%define tde_prefix /opt/trinity
@ -61,7 +61,7 @@ BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: autoconf automake libtool m4
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@ -76,7 +76,12 @@ BuildRequires: brp-check-trinity
%endif
# CHMLIB support
%if 0%{?rhel} == 8
%define with_chmlib 0
%else
%define with_chmlib 1
BuildRequires: chmlib-devel
%endif
%description
@ -112,47 +117,47 @@ support. Correctly detects and shows encoding of any valid chm file.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%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}"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
# Warning: --enable-final causes FTBFS !
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_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}" \
-DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility \
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
-DWITH_CHMLIB=%{?with_chmlib} \
\
--with-x \
--with-kde
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
..
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%__make install DESTDIR=%{buildroot} -C build
%find_lang %{tde_pkg}
@ -185,6 +190,7 @@ echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kchmviewer.desktop"
%{tde_datadir}/services/msits.protocol
%{tde_tdedocdir}/HTML/en/kchmviewer/
%{tde_tdedocdir}/HTML/en/tdeioslave/msits/
%{tde_mandir}/man1/kchmviewer.*
%changelog

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kcmautostart
%define tde_prefix /opt/trinity
@ -152,7 +152,7 @@ export PATH="%{tde_bindir}:${PATH}"
%files -f autostart.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
%doc AUTHORS ChangeLog COPYING INSTALL README
%{tde_tdelibdir}/kcm_autostart.la
%{tde_tdelibdir}/kcm_autostart.so
%{tde_tdeappdir}/autostart.desktop

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kcmldap
%define tde_prefix /opt/trinity
@ -101,13 +101,16 @@ BuildRequires: openldap2-devel
BuildRequires: openldap24-libs-devel
%endif
# KRB5 support
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
@ -208,11 +211,6 @@ fi
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
%if 0%{?suse_version}
-DKRB5_FOUND=1 \
-DKRB5_LIBRARIES="-lkrb5" \
-DKRB5_INCLUDE_DIRS="/usr/include" \
%endif
..
%__make %{?_smp_mflags} || %__make

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kcmldapcontroller
%define tde_prefix /opt/trinity
@ -63,7 +63,7 @@ BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: trinity-libtdeldap-devel >= 0.5
BuildRequires: autoconf automake libtool m4
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@ -91,13 +91,16 @@ BuildRequires: openldap2-devel
BuildRequires: openldap24-libs-devel
%endif
# KRB5 support
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
@ -134,7 +137,7 @@ This is a TDE control center module to manage users, groups, and machines in Ker
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING
%{tde_bindir}/primaryrccertupdater
%if 0%{?pclinuxos} == 0
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?rhel}
%{tde_libdir}/slapi-acl-manager.la
%{tde_libdir}/slapi-acl-manager.so
%endif
@ -161,55 +164,48 @@ This is a TDE control center module to manage users, groups, and machines in Ker
%__rm -rf acl-updater
%endif
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
extra_includes="%{_includedir}"
extra_libs="%{_libdir}"
if [ -d "%{_includedir}/openldap24" ]; then
extra_includes="%{_includedir}/openldap24:${extra_includes}"
extra_libs="%{_libdir}/openldap24:${extra_libs}"
fi
if [ -d "%{_includedir}/heimdal" ]; then
extra_includes="%{_includedir}/heimdal:${extra_includes}"
extra_libs="%{_libdir}/heimdal:${extra_libs}"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
--docdir=%{tde_tdedocdir} \
--libdir=%{tde_libdir} \
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_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}" \
-DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility \
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
--with-extra-includes=${extra_includes} \
--with-extra-libs=${extra_libs} \
..
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%__make install DESTDIR=%{buildroot} -C build
%clean

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kcmldapmanager
%define tde_prefix /opt/trinity
@ -63,7 +63,7 @@ BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: trinity-libtdeldap-devel >= 0.5
BuildRequires: autoconf automake libtool m4
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@ -88,13 +88,16 @@ BuildRequires: openldap2-devel
BuildRequires: openldap24-libs-devel
%endif
# KRB5 support
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
@ -146,55 +149,47 @@ This is a TDE control center module to manage users, groups, and machines in Ker
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
extra_includes="%{_includedir}"
extra_libs="%{_libdir}"
if [ -d "%{_includedir}/openldap24" ]; then
extra_includes="%{_includedir}/openldap24:${extra_includes}"
extra_libs="%{_libdir}/openldap24:${extra_libs}"
fi
if [ -d "%{_includedir}/heimdal" ]; then
extra_includes="%{_includedir}/heimdal:${extra_includes}"
extra_libs="%{_libdir}/heimdal:${extra_libs}"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
--docdir=%{tde_tdedocdir} \
--libdir=%{tde_libdir} \
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_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}" \
-DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility \
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
--with-extra-includes=${extra_includes} \
--with-extra-libs=${extra_libs} \
..
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%__make install DESTDIR=%{buildroot} -C build
%clean

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kcpuload
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kdbg
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kdbusnotification
%define tde_prefix /opt/trinity
@ -59,7 +59,7 @@ BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: autoconf automake libtool m4
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: libtool
@ -102,38 +102,53 @@ DBUS notifications via unobtrusive, easily dismissed passive popups.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
# Fix for Fedora 31
if [ -r "/usr/include/harfbuzz/hb.h" ]; then
#export CMAKE_INCLUDE_PATH="/usr/include/harfbuzz"
RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/include/harfbuzz"
fi
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_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}" \
-DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
\
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility
..
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%__make install DESTDIR=%{buildroot} -C build

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kdiff3
%define tde_prefix /opt/trinity
@ -60,7 +60,7 @@ BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: autoconf automake libtool m4
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: libtool
@ -91,52 +91,61 @@ Unicode & UTF-8 support
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_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}" \
-DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
\
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility
..
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%__make install DESTDIR=%{buildroot} -C build
# Unwanted files
# These are not HTML files but weird files in wrong place ??
%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/kdiff3/
%find_lang %{tde_pkg}
%find_lang %{tde_pkg}_plugin
%clean
%__rm -rf %{buildroot}
%files -f %{tde_pkg}.lang
%files -f %{tde_pkg}.lang -f %{tde_pkg}_plugin.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{tde_bindir}/kdiff3
@ -144,10 +153,11 @@ export PATH="%{tde_bindir}:${PATH}"
%{tde_datadir}/apps/kdiff3part/
%{tde_datadir}/icons/hicolor/*/apps/kdiff3.png
%{tde_datadir}/icons/locolor/*/apps/kdiff3.png
%{tde_docdir}/kdiff3/
%{tde_tdedocdir}/HTML/*/kdiff3/
%{tde_datadir}/services/kdiff3_plugin.desktop
%{tde_datadir}/services/kdiff3part.desktop
%{tde_datadir}/applnk/Development/*.desktop
%{tde_tdeappdir}/kdiff3.desktop
%{tde_datadir}/applnk/.hidden/kdiff3plugin.desktop
%{tde_mandir}/man*/*
%{tde_tdelibdir}/libkdiff3part.la

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kdirstat
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg keep
%define tde_prefix /opt/trinity
@ -62,7 +62,7 @@ BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: autoconf automake libtool m4
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: libtool
@ -99,39 +99,47 @@ Homepage: http://jr.falleri.free.fr/keep
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_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}" \
-DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
\
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility
..
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%__make install DESTDIR=%{buildroot} -C build
%find_lang %{tde_pkg}
@ -156,6 +164,7 @@ export PATH="%{tde_bindir}:${PATH}"
%{tde_datadir}/config.kcfg/keepsettings.kcfg
%{tde_datadir}/icons/hicolor/*/apps/keep.png
%{tde_datadir}/services/kded/keep.desktop
%{tde_mandir}/man1/keep.*
%changelog

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kerberostray
%define tde_prefix /opt/trinity
@ -63,7 +63,7 @@ BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: trinity-libtdeldap-devel >= 0.5
BuildRequires: autoconf automake libtool m4
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@ -88,13 +88,16 @@ BuildRequires: openldap2-devel
BuildRequires: openldap24-libs-devel
%endif
# KRB5 support
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
@ -125,55 +128,47 @@ Kerberos ticket manager which sits in the system tray and allows viewing/control
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
extra_includes="%{_includedir}"
extra_libs="%{_libdir}"
if [ -d "%{_includedir}/openldap24" ]; then
extra_includes="%{_includedir}/openldap24:${extra_includes}"
extra_libs="%{_libdir}/openldap24:${extra_libs}"
fi
if [ -d "%{_includedir}/heimdal" ]; then
extra_includes="%{_includedir}/heimdal:${extra_includes}"
extra_libs="%{_libdir}/heimdal:${extra_libs}"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
--docdir=%{tde_tdedocdir} \
--libdir=%{tde_libdir} \
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_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}" \
-DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility \
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
--with-extra-includes=${extra_includes} \
--with-extra-libs=${extra_libs} \
..
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%__make install DESTDIR=%{buildroot} -C build
# Apps that should stay in TDE
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop"

@ -18,7 +18,7 @@
# Default version for this component
%define tde_pkg kerry
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
# TDE specific building variables
@ -54,7 +54,6 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: kerry.1.docbook
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
@ -63,6 +62,7 @@ BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: cmake >= 2.8
BuildRequires: gettext
BuildRequires: libbeagle-devel >= 0.3.0
@ -86,46 +86,46 @@ filesystems, chat logs, mail and data, RSS and other.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=OFF \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility
%__make %{?_smp_mflags}
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
-DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=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}
%__make install DESTDIR=%{buildroot} -C build
#%__install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/kerry.1.docbook
#docbook2man %{buildroot}%{_mandir}/man1/kerry.1.docbook
%find_lang %{tde_pkg}

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg keximdb
%define tde_prefix /opt/trinity

@ -1,39 +0,0 @@
diff --git a/kftpgrabber/src/engine/ftpdirectoryparser.cpp b/kftpgrabber/src/engine/ftpdirectoryparser.cpp
index 981d0b6..71e2cd2 100644
--- a/kftpgrabber/src/engine/ftpdirectoryparser.cpp
+++ b/kftpgrabber/src/engine/ftpdirectoryparser.cpp
@@ -421,6 +421,8 @@ bool FtpDirectoryParser::parseUnixPermissions(const TQString &permissions, Direc
if (permissions[9] == 't' || permissions[9] == 'T') p |= S_ISVTX;
entry.setPermissions(p);
+
+ return(p);
}
bool FtpDirectoryParser::parseLine(const TQString &line, DirectoryEntry &entry)
diff --git a/kftpgrabber/src/misc/desencryptor.cpp b/kftpgrabber/src/misc/desencryptor.cpp
index 126fad7..fac681f 100644
--- a/kftpgrabber/src/misc/desencryptor.cpp
+++ b/kftpgrabber/src/misc/desencryptor.cpp
@@ -65,8 +65,8 @@ void DESEncryptor::DESExec(const TQString &str, int mode)
char *o_message = (char*) malloc(8);
char *o_output = (char*) malloc(8);
- memset(o_message, 0, 9);
- memset(o_output, 0, 9);
+ memset(o_message, 0, sizeof o_message);
+ memset(o_output, 0, sizeof o_output);
//out.resize(in.size() * 2);
while (i < in.size()) {
@@ -79,8 +79,8 @@ void DESEncryptor::DESExec(const TQString &str, int mode)
i += 8;
// Clear everything
- memset(o_message, 0, 9);
- memset(o_output, 0, 9);
+ memset(o_message, 0, sizeof o_message);
+ memset(o_output, 0, sizeof o_output);
}
free(o_message);

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kftpgrabber
%define tde_prefix /opt/trinity
@ -55,7 +55,6 @@ Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch0: %{tde_pkg}-14.0.0.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
@ -124,7 +123,6 @@ Requires: %{name} = %{version}-%{release}
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch0 -p1 -b .orig
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kgtk-qt3
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kile
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kima
%define tde_prefix /opt/trinity
@ -63,7 +63,7 @@ BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: autoconf automake libtool m4
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@ -102,40 +102,48 @@ panel.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_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}" \
-DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
-DWITH_NVCONTROL=OFF \
\
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility
..
# SMP safe !
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%__make install DESTDIR=%{buildroot} -C build
%find_lang %{tde_pkg}

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kiosktool
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kkbswitch
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg klcddimmer
%define tde_prefix /opt/trinity
@ -138,12 +138,14 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build
%find_lang %{tde_pkg}
%clean
%__rm -rf %{buildroot}
%files
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING LICENSE NEWS README
%{tde_libdir}/libklcddimmer_panelapplet.la

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kmplayer
%define tde_prefix /opt/trinity
@ -160,7 +160,7 @@ KMPlayer can:
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm
%doc AUTHORS COPYING ChangeLog INSTALL README TODO
%{tde_bindir}/kmplayer
%{tde_bindir}/knpplayer
%{tde_bindir}/kxvplayer

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kmyfirewall
%define tde_prefix /opt/trinity

@ -1,4 +1,4 @@
%if 0%{?fedora} >= 23
%if 0%{?fedora} >= 23 || 0%{?rhel} >= 8
%define _configure_libtool_hardening_hack 0
%endif
@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kmymoney
%define tde_prefix /opt/trinity
@ -207,7 +207,7 @@ unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
%if 0%{?fedora} >= 29
%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
LDFLAGS="-Wl,--allow-shlib-undefined"
%endif

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg knemo
%define tde_prefix /opt/trinity
@ -61,7 +61,7 @@ BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: autoconf automake libtool m4
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: libtool
@ -111,40 +111,45 @@ Homepage: http://extragear.kde.org/apps/knemo/
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_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 \
-DWITH_GCC_VISIBILITY=ON \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
..
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%__make install DESTDIR=%{buildroot} -C build
%clean

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg knetload
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg knetstats
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg knetworkmanager
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg knights
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg knmap
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg knowit
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg knutclient
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg koffice-i18n
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg koffice
%define tde_prefix /opt/trinity
@ -101,7 +101,6 @@ BuildRequires: libjpeg-devel
BuildRequires: ImageMagick-devel
BuildRequires: zlib-devel
BuildRequires: openssl-devel
BuildRequires: python-devel
BuildRequires: pcre-devel
BuildRequires: gettext-devel
BuildRequires: mysql-devel
@ -113,6 +112,17 @@ BuildRequires: OpenEXR-devel
BuildRequires: libexif-devel
BuildRequires: readline-devel
# PYTHON support
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31
%define python python2
%define __python %__python2
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%else
%define python python
%endif
BuildRequires: %{python}
BuildRequires: %{python}-devel
# LCMS support
%if 0%{?suse_version} || 0%{?rhel} >= 7
BuildRequires: liblcms-devel
@ -712,6 +722,8 @@ Requires: fonts-ttf-dejavu
%else
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
Requires: dejavu-lgc-sans-fonts
%endif
%if 0%{?fedora} >= 11 || 0%{?rhel} == 6 || 0%{?rhel} == 7
Requires: lyx-cmex10-fonts
%endif
%if 0%{?rhel} == 5

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg konversation
%define tde_prefix /opt/trinity
@ -109,7 +109,7 @@ BuildRequires: libXi6-devel
# RHEL 5: available in centos-extras
# RHEL 6: available in EPEL
# RHEL 7: available in NUX
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?suse_version}
%define with_xscreensaver 1
%if 0%{?fedora} || 0%{?rhel} >= 5
@ -176,7 +176,7 @@ and experienced users alike will appreciate its many features:
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?fedora} >= 30
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
%__sed -i "konversation/scripts/media" \
"konversation/scripts/weather" \
-e "s|/usr/bin/env python|/usr/bin/env python2|"

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.1
%define tde_version 14.0.7
%endif
%define tde_pkg kooldock
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kopete-otr
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kpicosim
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kpilot
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kplayer
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kpowersave
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg krecipes
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg krename
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg krusader
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kscope
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg ksensors
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kshowmail
%define tde_prefix /opt/trinity
@ -61,7 +61,7 @@ BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: trinity-tdepim-devel >= %{tde_version}
BuildRequires: autoconf automake libtool m4
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: fdupes
@ -93,37 +93,45 @@ All without dragging any messages into your computer.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=OFF \
\
-DCMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" \
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
\
--disable-dependency-tracking \
--disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility
%__make %{?_smp_mflags}
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
\
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
..
%__make %{?_smp_mflags} || %__make
%install
%__rm -rf $RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT -C build
%find_lang %{tde_pkg}
@ -182,6 +190,7 @@ install -D -m 644 "pics/kshowmail.png" "$RPM_BUILD_ROOT%{tde_datadir}/i
%lang(it) %{tde_tdedocdir}/HTML/it/kshowmail/
%lang(ru) %{tde_tdedocdir}/HTML/ru/kshowmail/
%lang(sv) %{tde_tdedocdir}/HTML/sv/kshowmail/
%{tde_mandir}/man1/kshowmail.*
%changelog

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kshutdown
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg ksplash-engine-moodin
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg ksquirrel
%define tde_prefix /opt/trinity

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kstreamripper
%define tde_prefix /opt/trinity

@ -0,0 +1,151 @@
#
# spec file for package kstreamripper (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/
#
%if 0%{?fedora} >= 28 || 0%{?mgaversion} >= 7 || 0%{?rhel} >= 8
%global debug_package %{nil}
%endif
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.7
%endif
%define tde_pkg kstreamripper
%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.3.4
Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
Summary: TDE frontend for streamripper
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
Source1: scons-local-2.5.1.tar.gz
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: autoconf automake libtool m4
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
#BuildRequires: scons
# PYTHON support
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30
%define python python2
%define __python %__python2
%else
%define python python
%endif
BuildRequires: %{python}
%description
KStreamRipper is a small frontend for the streamripper command
line utility. Streamripper captures internet shoutcast radio streams
on your harddisk and splits them up in mp3 files. KStreamRipper helps
you with managing/ripping your preferred streams.
##########
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
##########
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -a 1
%__rm -f kde.py
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export QTDIR=/usr
%__python ./scons.py configure prefix="%{_prefix}"
%__python ./scons.py %{?_smp_mflags}
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
DESTDIR="%{?buildroot}" %__python ./scons.py install
# Missing icon file will make this fail.
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop"
# Updates applications categories for openSUSE
%if 0%{?suse_version}
%suse_update_desktop_file kstreamripper Audio Recorder
%endif
%clean
%__rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{tde_bindir}/kstreamripper
%{tde_tdeappdir}/kstreamripper.desktop
%{tde_datadir}/apps/kstreamripper/
%{tde_tdedocdir}/HTML/en/kstreamripper/
%changelog

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg ksystemlog
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg ktechlab
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg ktorrent
%define tde_prefix /opt/trinity

@ -0,0 +1,168 @@
#
# spec file for package kuickshow (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.0.7
%endif
%define tde_pkg kuickshow
%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.8.13
Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
Summary: Quick picture viewer 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: autoconf automake libtool m4
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
# IMLIB1 support
%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?suse_version}
BuildRequires: imlib-devel
%endif
%if 0%{?mgaversion}
BuildRequires: imlib1-devel
%endif
# GIF support
%if 0%{?suse_version} || 0%{?fedora} >= 28
BuildRequires: giflib-devel
%else
BuildRequires: libungif-devel
%endif
%description
Kuickshow is a picture viewer for TDE. It displays the directory structure,
displaying images as thumbnails.
Clicking on an image shows the image in its normal size.
##########
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
##########
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility
%__make %{?_smp_mflags}
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{?buildroot}
# Missing category will make this fail.
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop"
%clean
%__rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{tde_bindir}/kuickshow
%{tde_datadir}/applications/*/*.desktop
%{tde_datadir}/apps/kuickshow/
%{tde_datadir}/icons/hicolor/*/*/*
%{tde_libdir}/libtdeinit_%{tde_pkg}.so
%{tde_libdir}/*.la
%{tde_tdelibdir}/*.so
%{tde_tdelibdir}/*.la
%{tde_tdedocdir}/HTML/en/kuickshow/
%changelog

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kvirc
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kvkbd
%define tde_prefix /opt/trinity

@ -1,19 +0,0 @@
--- trinity-kvpnc-14.0.0~pre118+1ae72fe0/src/Makefile.am.ORI 2013-07-20 12:35:51.155931996 +0200
+++ trinity-kvpnc-14.0.0~pre118+1ae72fe0/src/Makefile.am 2013-07-20 12:37:49.601226585 +0200
@@ -57,13 +57,13 @@
install-data-local:
- $(mkinstalldirs) $(kde_appsdir)/
- $(INSTALL_DATA) $(srcdir)/kvpnc.desktop $(kde_appsdir)/kvpnc.desktop
+ $(mkinstalldirs) $(xdg_appsdir)/
+ $(INSTALL_DATA) $(srcdir)/kvpnc.desktop $(xdg_appsdir)/kvpnc.desktop
$(mkinstalldirs) $(kde_datadir)/kvpnc/
$(INSTALL_DATA) $(srcdir)/kvpncui.rc $(kde_datadir)/kvpnc/kvpncui.rc
$(mkinstalldirs) $(kde_datadir)/kvpnc/
$(INSTALL_DATA) $(srcdir)/eventsrc $(kde_datadir)/kvpnc/eventsrc
- $(INSTALL_DATA) $(srcdir)/ping_check.sh $(kde_datadir)/kvpnc/ping_check.sh
+ $(INSTALL_SCRIPT) $(srcdir)/ping_check.sh $(kde_datadir)/kvpnc/ping_check.sh
$(INSTALL_DATA) $(srcdir)/newprofilewizard.png $(kde_datadir)/kvpnc/newprofilewizard.png
$(INSTALL_DATA) $(srcdir)/newprofilewizard_final.png $(kde_datadir)/kvpnc/newprofilewizard_final.png
# $(INSTALL_DATA) $(srcdir)/x-cisco.desktop $(kde_mimedir)/application/x-cisco.desktop

@ -1,19 +0,0 @@
--- trinity-kvpnc-14.0.0~pre118+1ae72fe0/src/Makefile.am.ORI 2013-07-20 12:35:51.155931996 +0200
+++ trinity-kvpnc-14.0.0~pre118+1ae72fe0/src/Makefile.am 2013-07-20 12:37:49.601226585 +0200
@@ -57,13 +57,13 @@
install-data-local:
- $(mkinstalldirs) $(kde_appsdir)/
- $(INSTALL_DATA) $(srcdir)/kvpnc.desktop $(kde_appsdir)/kvpnc.desktop
+ $(mkinstalldirs) $(xdg_appsdir)/
+ $(INSTALL_DATA) $(srcdir)/kvpnc.desktop $(xdg_appsdir)/kvpnc.desktop
$(mkinstalldirs) $(kde_datadir)/kvpnc/
$(INSTALL_DATA) $(srcdir)/kvpncui.rc $(kde_datadir)/kvpnc/kvpncui.rc
$(mkinstalldirs) $(kde_datadir)/kvpnc/
$(INSTALL_DATA) $(srcdir)/eventsrc $(kde_datadir)/kvpnc/eventsrc
- $(INSTALL_DATA) $(srcdir)/ping_check.sh $(kde_datadir)/kvpnc/ping_check.sh
+ $(INSTALL_SCRIPT) $(srcdir)/ping_check.sh $(kde_datadir)/kvpnc/ping_check.sh
$(INSTALL_DATA) $(srcdir)/newprofilewizard.png $(kde_datadir)/kvpnc/newprofilewizard.png
$(INSTALL_DATA) $(srcdir)/newprofilewizard_final.png $(kde_datadir)/kvpnc/newprofilewizard_final.png
# $(INSTALL_DATA) $(srcdir)/x-cisco.desktop $(kde_mimedir)/application/x-cisco.desktop

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kvpnc
%define tde_prefix /opt/trinity
@ -56,8 +56,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch0: %{tde_pkg}-14.0.0.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
@ -111,7 +109,6 @@ It supports :
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch0 -p1 -b .installdir
%build

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kxmleditor
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg mplayerthumbs
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg piklab
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg potracegui
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg qalculate-tde
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg qt4-tqt-theme-engine
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg rosegarden
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg smartcardauth
%define tde_prefix /opt/trinity
@ -37,6 +37,7 @@
%define debug_package %{nil}
%endif
%define dont_check_desktop_files 1
Name: trinity-%{tde_pkg}
Epoch: %{tde_epoch}
@ -65,7 +66,7 @@ BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: autoconf automake libtool m4
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: fdupes
@ -80,10 +81,8 @@ BuildRequires: update-desktop-files
BuildRequires: brp-check-trinity
%endif
#BuildRequires: perl-PAR-Packer
# PCSC support
%if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?mgaversion} || 0%{?mdkversion} || 9%{?pclinuxos}
Requires: perl-pcsc-perl
%endif
%if 0%{?rhel} || 0%{?fedora}
@ -105,11 +104,11 @@ BuildRequires: pkcs11-helper-devel
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion}
%define with_db 1
%if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?pclinuxos}
BuildRequires: db4-devel
%else
#%if 0%{?pclinuxos}
#BuildRequires: db4-devel
#%else
BuildRequires: db5-devel
%endif
#%endif
%endif
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
BuildRequires: libdb-devel
@ -133,6 +132,9 @@ BuildRequires: libgnutls-devel
BuildRequires: gnutls-devel
%endif
# The 'pp' utility
BuildRequires: perl-PAR-Packer
%description
This utility will allow you to set up your computer to accept a SmartCard as an authentication source for:
@ -162,28 +164,50 @@ in addition to the PKCS certificate functionality
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
cd src
make CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}"
if [ -x "%{_libdir}/nss/unsupported-tools/pp" ]; then
PATH="%{_libdir}/nss/unsupported-tools:${PATH}"
fi
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=OFF \
\
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
%if 0%{?mgaversion} || 0%{?pclinuxos}
-DPERL_PAR_PACKER="pp.pl" \
%endif
%if 0%{?mgaversion} == 6 || 0%{?pclinuxos}
-DPERL_LIB_CHIPCARD="%{perl_sitearch}" \
%endif
\
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
..
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%if "%{tde_version}" == "14.1.0"
%__make install DESTDIR="%{?buildroot}"
%else
%__install -D -m 755 "scriptor_standalone.pl" "%{buildroot}%{_bindir}/scriptor.pl"
%__install -D -m 755 "src/ckpasswd" "%{buildroot}%{_bindir}/smartauthckpasswd"
%__ln_s "smartauthckpasswd" "%{buildroot}%{_bindir}/smartauthmon"
%__cp -Rp "usr/"* "%{buildroot}%{_prefix}"
sed -i "%{?buildroot}%{_datadir}/applications/"*".desktop" -e "/^Categories/ s|TDE|X-TDE|"
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{_datadir}/applications/smartcardauth.desktop"
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{_datadir}/applications/smartcardrestrict.desktop"
%endif
%__make install DESTDIR="%{?buildroot}" -C build
%clean
@ -195,10 +219,7 @@ echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{_datadir}/applications/smartcardrestric
%doc gpl.txt
%{_bindir}/cryptosmartcard.sh
%{_datadir}/initramfs-tools/
%if "%{tde_version}" == "14.1.0"
%{_bindir}/cardpincheck
%else
%{_bindir}/scriptor.pl
%{_bindir}/scriptor_standalone
%{_bindir}/setupcard.sh
%{_bindir}/setupslavecard.sh
%{_bindir}/smartauth.sh
@ -208,7 +229,8 @@ echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{_datadir}/applications/smartcardrestric
%{_datadir}/applications/smartcardrestrict.desktop
%{_datadir}/icons/hicolor/16x16/apps/smartcardauth.png
%{_datadir}/icons/hicolor/32x32/apps/smartcardauth.png
%endif
%{_sysconfdir}/smartauth/
%{_sysconfdir}/init/smartauthlogin.conf
%changelog

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg smb4k
%define tde_prefix /opt/trinity
@ -160,6 +160,7 @@ export PATH="%{tde_bindir}:${PATH}"
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \
--program-prefix="" \
\
--disable-dependency-tracking \
--disable-debug \

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg soundkonverter
%define tde_prefix /opt/trinity
@ -146,6 +146,7 @@ export PATH="%{tde_bindir}:${PATH}"
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \
--program-prefix="" \
\
--disable-dependency-tracking \
--disable-debug \

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tastymenu
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tde-guidance
%define tde_prefix /opt/trinity
@ -105,7 +105,7 @@ BuildRequires: libXxf86vm-devel
# RHEL 4: disabled
# RHEL 6: available in EPEL
# RHEL 7: available in NUX
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?suse_version}
%define with_xscreensaver 1
%if 0%{?fedora} || 0%{?rhel} >= 5
@ -140,10 +140,18 @@ BuildRequires: xscreensaver-gl
%endif
%endif
# PYTHON
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31
%define python python2
%define __python %__python2
%else
%define python python
%endif
BuildRequires: %{python}
Requires: python-tqt
Requires: trinity-python-trinity
Requires: trinity-pytdeextensions
Requires: python
%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
Requires: hwdata
%endif
@ -212,7 +220,7 @@ Summary: collection of system administration tools for GNU/Linux [Trinity]
%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
Requires: hwdata
%endif
Requires: python
Requires: %{python}
Obsoletes: trinity-guidance-backends < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-guidance-backends = %{?epoch:%{epoch}:}%{version}-%{release}
@ -307,7 +315,7 @@ if [ -d /usr/X11R6 ]; then
%__sed -i "setup.py" -e "s|/usr/X11R6/lib|/usr/X11R6/%{_lib}|g"
fi
./setup.py build
%__python ./setup.py build
%install
@ -324,7 +332,7 @@ export PYTHONPATH="%{python_sitearch}/sip4_tqt:${PYTHONPATH}"
export PYTHONDONTWRITEBYTECODE=
%__rm -rf %{buildroot}
./setup.py install \
%__python ./setup.py install \
--prefix=%{tde_prefix} \
--root=%{buildroot}
@ -421,7 +429,7 @@ chmod 0755 %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py
# Replace all '#!' calls to python with /usr/bin/python
# and make them executable
%if 0%{?fedora} >= 30
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
%define python /usr/bin/python2
%else
%define python /usr/bin/python

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tde-style-baghira
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tde-style-domino
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tde-style-ia-ora
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tde-style-lipstik
%define tde_prefix /opt/trinity
@ -65,7 +65,7 @@ BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: autoconf automake libtool m4
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: fdupes
@ -100,37 +100,44 @@ Lipstik also provides Lipstik-color-schemes
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=OFF \
\
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DDATA_INSTALL_DIR="%{tde_datadir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
\
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
--disable-dependency-tracking \
--disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility
..
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%__make install DESTDIR=%{buildroot} -C build
%clean
@ -145,10 +152,10 @@ export PATH="%{tde_bindir}:${PATH}"
%{tde_tdelibdir}/tdestyle_lipstik_config.so
%{tde_tdelibdir}/plugins/styles/lipstik.la
%{tde_tdelibdir}/plugins/styles/lipstik.so
%{tde_datadir}/apps/tdedisplay/color-schemes/lipstiknoble.kcsrc
%{tde_datadir}/apps/tdedisplay/color-schemes/lipstikstandard.kcsrc
%{tde_datadir}/apps/tdedisplay/color-schemes/lipstikwhite.kcsrc
%{tde_datadir}/apps/tdestyle/themes/lipstik.themerc
%{tde_datadir}/tdedisplay/color-schemes/lipstiknoble.kcsrc
%{tde_datadir}/tdedisplay/color-schemes/lipstikstandard.kcsrc
%{tde_datadir}/tdedisplay/color-schemes/lipstikwhite.kcsrc
%{tde_datadir}/tdestyle/themes/lipstik.themerc
%changelog

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tde-style-qtcurve
%define tde_prefix /opt/trinity

@ -0,0 +1,14 @@
[Desktop Entry]
Encoding=UTF-8
Name=Laptops & Power
Name[br]=Gremm
Name[el]=Ισχύς
Name[it]=Energia
Name[mt]=Elettriku
Name[nl]=Energie
Name[pa]=ਊਰਜਾ(power)
Name[pt_BR]=Energia
Name[ru]=Управление питанием
Name[sv]=Effekt
Icon=energy
OnlyShowIn=TDE;

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tde-systemsettings
%define tde_prefix /opt/trinity
@ -57,7 +57,7 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: kde-settings-laptops.directory
Source1: tde-settings-laptops.directory
Provides: trinity-kde-systemsettings = %{?epoch:%{epoch}:}%{version}-%{release}
@ -120,6 +120,7 @@ export kde_confdir="%{tde_confdir}"
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
--sysconfdir=%{tde_sysconfdir} \
--program-prefix="" \
\
--disable-dependency-tracking \
--disable-debug \
@ -169,7 +170,6 @@ echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/systemsettings.desktop"
%{tde_datadir}/applications/tde/audioencoding.desktop
%{tde_datadir}/applications/tde/defaultapplication.desktop
%{tde_datadir}/applications/tde/kcm_knetworkconfmodule_ss.desktop
#%{tde_datadir}/applications/tde/laptop.desktop
%{tde_datadir}/applications/tde/medianotifications.desktop
%{tde_datadir}/applications/tde/systemsettings.desktop
%{tde_datadir}/apps/systemsettings/

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdedocker
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdeio-apt
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdeio-ftps
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdeio-gopher
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdeio-locate
%define tde_prefix /opt/trinity

@ -23,7 +23,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdeio-sword
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdeio-umountwrapper
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdenetworkmanager
%define tde_prefix /opt/trinity
@ -84,7 +84,7 @@ Provides: trinity-knetworkmanager = %{version}-%{release}
%if 0%{?rhel} || 0%{?fedora}
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
Requires: NetworkManager
%if 0%{?fedora} >= 29
%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
BuildRequires: NetworkManager-libnm-devel
%else
BuildRequires: NetworkManager-devel
@ -98,7 +98,7 @@ Requires: networkmanager
%endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
%if 0%{?pclinuxos} == 0
%if 0%{?fedora} >= 29
%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
BuildRequires: NetworkManager-libnm-devel
%else
BuildRequires: NetworkManager-glib-devel
@ -151,7 +151,7 @@ if [ -r "/etc/xdg/autostart/nm-applet.desktop" ]; then
fi
fi
%files -f %{tde_pkg}.lang
%files
%defattr(-,root,root,-)
%{tde_bindir}/tdenetworkmanager
%{tde_libdir}/*.la
@ -163,11 +163,11 @@ fi
%{tde_datadir}/servicetypes/tdenetworkmanager_plugin.desktop
%{tde_datadir}/servicetypes/tdenetworkmanager_vpnplugin.desktop
%{tde_datadir}/autostart/tdenetworkmanager.desktop
%{tde_datadir}/services/tdenetman_openvpn.desktop
%{tde_datadir}/services/tdenetman_pptp.desktop
%{tde_datadir}/services/tdenetman_strongswan.desktop
%{tde_datadir}/services/tdenetman_vpnc.desktop
%{tde_tdedocdir}/HTML/en/tdenetworkmanager/
#{tde_datadir}/services/tdenetman_openvpn.desktop
#{tde_datadir}/services/tdenetman_pptp.desktop
#{tde_datadir}/services/tdenetman_strongswan.desktop
#{tde_datadir}/services/tdenetman_vpnc.desktop
#{tde_tdedocdir}/HTML/en/tdenetworkmanager/
##########
@ -231,8 +231,6 @@ fi
%__rm -rf $RPM_BUILD_ROOT
%__make install DESTDIR=%{?buildroot} -C build
%find_lang %{tde_pkg}
# Updates applications categories for openSUSE
%if 0%{?suse_version}
%suse_update_desktop_file -r %{tde_pkg} Utility TrayIcon System Applet

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdepowersave
%define tde_prefix /opt/trinity
@ -241,6 +241,7 @@ fi
%{tde_datadir}/icons/hicolor/*/*/*.png
%{tde_datadir}/autostart/tdepowersave-autostart.desktop
%{tde_confdir}/tdepowersaverc
%{tde_mandir}/man1/tdepowersave.*
%lang(cs) %{tde_tdedocdir}/HTML/cs/tdepowersave/
%lang(de) %{tde_tdedocdir}/HTML/de/tdepowersave/

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tderadio
%define tde_prefix /opt/trinity
@ -166,6 +166,7 @@ export PATH="%{tde_bindir}:${PATH}"
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \
--program-prefix="" \
\
--disable-dependency-tracking \
--disable-debug \

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdesudo
%define tde_prefix /opt/trinity

@ -1,57 +0,0 @@
--- trinity-tdesvn-14.0.0~pre185+fddfb277/src/svnqt/CMakeLists.txt.sqlite3 2013-12-30 17:57:05.867723485 +0100
+++ trinity-tdesvn-14.0.0~pre185+fddfb277/src/svnqt/CMakeLists.txt 2014-09-16 21:49:29.774968683 +0200
@@ -45,19 +45,6 @@
cache/DatabaseException.cpp
)
-# IF (SQLITE_FOUND)
- MESSAGE(STATUS "Build own sqlite3 database modul")
- SET(SOURCES
- ${SOURCES}
- cache/sqlite3/qsqlcachedresult.cpp
- cache/sqlite3/qsql_sqlite3.cpp
- cache/sqlite3/qsqlcachedresult.h
- cache/sqlite3/qsql_sqlite3.h
- )
-# ELSE (SQLITE_FOUND)
-# MESSAGE(SEND_ERROR "The QT3 version requires sqlite3 but could not found")
-# ENDIF (SQLITE_FOUND)
-
SET(CACHEINST_HEADERS
cache/LogCache.hpp
cache/ReposLog.hpp
@@ -150,7 +137,7 @@
# IF (SQLITE_FOUND)
TARGET_LINK_LIBRARIES(${svnqt-name} ${SQLITE_LIBRARIES})
- INCLUDE_DIRECTORIES(SQLITE_INCLUDE_DIR)
+ INCLUDE_DIRECTORIES(${SQLITE_INCLUDE_DIR})
# ELSE (SQLITE_FOUND)
# TARGET_LINK_LIBRARIES(${svnqt-name} ${QT_QTSQL_LIBRARY})
# ENDIF (SQLITE_FOUND)
--- trinity-tdesvn-14.0.0~pre185+fddfb277/src/svnqt/cache/LogCache.cpp.sqlite3 2014-01-28 20:25:28.711539518 +0100
+++ trinity-tdesvn-14.0.0~pre185+fddfb277/src/svnqt/cache/LogCache.cpp 2014-09-16 21:51:37.826387614 +0200
@@ -10,9 +10,10 @@
#include "svnqt/cache/DatabaseException.hpp"
#ifndef NO_SQLITE3
-#include "sqlite3/qsql_sqlite3.h"
+#include <qsql_sqlite3.h>
#define SQLTYPE "QSQLITE3"
#else
+#include <qsql_sqlite.h>
#define SQLTYPE "QSQLITE"
#endif
@@ -262,11 +263,6 @@
void LogCache::setupMainDb()
{
-#ifndef NO_SQLITE3
- if (!TQSqlDatabase::isDriverAvailable(SQLTYPE)) {
- TQSqlDatabase::registerSqlDriver(SQLTYPE,new TQSqlDriverCreator<TQSQLite3Driver>);
- }
-#endif
TQDataBase mainDB = m_CacheData->getMainDB();
if (!mainDB || !mainDB->open()) {
tqWarning("Failed to open main database: %s", (mainDB?mainDB->lastError().text().TOUTF8().data():"No database object."));

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdesvn
%define tde_prefix /opt/trinity
@ -55,7 +55,6 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch0: %{tde_pkg}-14.0.0.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
@ -247,7 +246,6 @@ fi
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch0 -p1
rm -f src/svnqt/CMakeLists.txt.orig
rm -fr src/svnqt/cache/sqlite3/

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdmtheme
%define tde_prefix /opt/trinity

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tellico
%define tde_prefix /opt/trinity
@ -272,7 +272,7 @@ if [ -r /usr/include/libv4l1-videodev.h ]; then
%__sed -i "src/barcode/barcode_v4l.h" -e "s|linux/videodev.h|libv4l1.h|"
fi
%if 0%{?fedora} >= 30
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
%__sed -i "src/fetch/scripts/dark_horse_comics.py" \
"src/fetch/scripts/ministerio_de_cultura.py" \
"src/fetch/scripts/fr.allocine.py" \

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tork
%define tde_prefix /opt/trinity
@ -117,6 +117,7 @@ export PATH="%{tde_bindir}:${PATH}"
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
--mandir=%{tde_mandir} \
--program-prefix="" \
\
--disable-dependency-tracking \
--disable-debug \

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg twin-style-crystal
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg wlassistant
%define tde_prefix /opt/trinity
@ -99,8 +99,15 @@ BuildRequires: libidn-devel
%define with_gamin 1
BuildRequires: gamin-devel
%endif
# PYTHON support
BuildRequires: python
# PYTHON
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31
%define python python2
%define __python %__python2
%else
%define python python
%endif
BuildRequires: %{python}
# OPENSSL support
BuildRequires: openssl-devel

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg yakuake
%define tde_prefix /opt/trinity

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

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg arts
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}

@ -19,7 +19,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
@ -51,6 +51,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: libtool
@ -165,6 +166,7 @@ especially suitable for embedded applications.
%{_includedir}/libart-2.0/libart_lgpl/libart-features.h
%{_includedir}/libart-2.0/libart_lgpl/libart.h
%{_libdir}/pkgconfig/libart-2.0.pc
%{_mandir}/man1/libart2-config.*
##########
@ -177,30 +179,42 @@ especially suitable for embedded applications.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "ltmain.sh"
autoreconf -fiv
%build
unset QTDIR QTINC QTLIB
%configure \
--prefix=%{_prefix} \
--exec-prefix=%{_prefix} \
--bindir=%{_bindir} \
--libdir=%{_libdir} \
--datadir=%{_datadir} \
--includedir=%{_includedir} \
export PATH="%{tde_bindir}:${PATH}"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=OFF \
\
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
-DSHARE_INSTALL_PREFIX="%{_datadir}" \
\
--disable-dependency-tracking
%__make %{?_smp_mflags}
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
\
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
..
%__make %{?_smp_mflags} || %__make
%install
%__rm -rf $RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT -C build
%clean

@ -1,193 +0,0 @@
diff --git a/src/add-caldav-object.c b/src/add-caldav-object.c
index 68a4377..35aef48 100644
--- a/src/add-caldav-object.c
+++ b/src/add-caldav-object.c
@@ -103,7 +103,6 @@ gboolean caldav_add(caldav_settings* settings, caldav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (res != 0) {
error->code = -1;
diff --git a/src/delete-caldav-object.c b/src/delete-caldav-object.c
index 9a85168..ea5733f 100644
--- a/src/delete-caldav-object.c
+++ b/src/delete-caldav-object.c
@@ -150,7 +150,6 @@ gboolean caldav_delete(caldav_settings* settings, caldav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
g_free(search);
curl_slist_free_all(http_header);
@@ -249,7 +248,6 @@ gboolean caldav_delete(caldav_settings* settings, caldav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (LOCKSUPPORT && lock_token) {
caldav_unlock_object(
@@ -380,7 +378,6 @@ gboolean caldav_tasks_delete(caldav_settings* settings, caldav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
g_free(search);
curl_slist_free_all(http_header);
@@ -479,7 +476,6 @@ gboolean caldav_tasks_delete(caldav_settings* settings, caldav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (LOCKSUPPORT && lock_token) {
caldav_unlock_object(
diff --git a/src/get-caldav-report.c b/src/get-caldav-report.c
index d916259..0021cb8 100644
--- a/src/get-caldav-report.c
+++ b/src/get-caldav-report.c
@@ -169,7 +169,6 @@ gboolean caldav_getall(caldav_settings* settings, caldav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (res != 0) {
error->code = -1;
@@ -266,7 +265,6 @@ gboolean caldav_getrange(caldav_settings* settings, caldav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (res != 0) {
error->code = -1;
@@ -349,7 +347,6 @@ gboolean caldav_tasks_getall(caldav_settings* settings, caldav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (res != 0) {
error->code = -1;
@@ -446,7 +443,6 @@ gboolean caldav_tasks_getrange(caldav_settings* settings, caldav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (res != 0) {
error->code = -1;
diff --git a/src/get-display-name.c b/src/get-display-name.c
index 8fc0ff8..c205efd 100644
--- a/src/get-display-name.c
+++ b/src/get-display-name.c
@@ -99,7 +99,6 @@ gboolean caldav_getname(caldav_settings* settings, caldav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (res != 0) {
error->code = -1;
diff --git a/src/get-freebusy-report.c b/src/get-freebusy-report.c
index f75ab92..40a5a3c 100644
--- a/src/get-freebusy-report.c
+++ b/src/get-freebusy-report.c
@@ -104,7 +104,6 @@ gboolean caldav_freebusy(caldav_settings* settings, caldav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (res != 0) {
error->code = -1;
diff --git a/src/lock-caldav-object.c b/src/lock-caldav-object.c
index 30f2d20..6845551 100644
--- a/src/lock-caldav-object.c
+++ b/src/lock-caldav-object.c
@@ -107,7 +107,6 @@ gchar* caldav_lock_object(
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "LOCK");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
curl_slist_free_all(http_header);
if (res != 0) {
@@ -211,7 +210,6 @@ gboolean caldav_unlock_object(gchar* lock_token, gchar* URI,
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "UNLOCK");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
curl_slist_free_all(http_header);
if (res != 0) {
diff --git a/src/modify-caldav-object.c b/src/modify-caldav-object.c
index fb3a4d0..f3563d8 100644
--- a/src/modify-caldav-object.c
+++ b/src/modify-caldav-object.c
@@ -151,7 +151,6 @@ gboolean caldav_modify(caldav_settings* settings, caldav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
curl_slist_free_all(http_header);
http_header = NULL;
@@ -249,7 +248,6 @@ gboolean caldav_modify(caldav_settings* settings, caldav_error* error) {
strlen(settings->file));
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
res = curl_easy_perform(curl);
if (LOCKSUPPORT && lock_token) {
@@ -391,7 +389,6 @@ gboolean caldav_tasks_modify(caldav_settings* settings, caldav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
curl_slist_free_all(http_header);
http_header = NULL;
@@ -489,7 +486,6 @@ gboolean caldav_tasks_modify(caldav_settings* settings, caldav_error* error) {
strlen(settings->file));
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
res = curl_easy_perform(curl);
if (LOCKSUPPORT && lock_token) {
diff --git a/src/options-caldav-server.c b/src/options-caldav-server.c
index 1d97d04..0045afe 100644
--- a/src/options-caldav-server.c
+++ b/src/options-caldav-server.c
@@ -74,7 +74,6 @@ gboolean caldav_getoptions(CURL* curl, caldav_settings* settings, response* resu
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "OPTIONS");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (res == 0) {
gchar* head;
@@ -102,15 +101,12 @@ gboolean caldav_getoptions(CURL* curl, caldav_settings* settings, response* resu
}
else if (
(res == CURLE_SSL_CONNECT_ERROR ||
- CURLE_PEER_FAILED_VERIFICATION ||
CURLE_SSL_ENGINE_NOTFOUND ||
CURLE_SSL_ENGINE_SETFAILED ||
CURLE_SSL_CERTPROBLEM ||
CURLE_SSL_CIPHER ||
CURLE_SSL_CACERT ||
- CURLE_SSL_CACERT_BADFILE ||
- CURLE_SSL_CRL_BADFILE ||
- CURLE_SSL_ISSUER_ERROR) && settings->usehttps) {
+ CURLE_SSL_CRL_BADFILE ) && settings->usehttps) {
error->code = -2;
error->str = g_strdup(error_buf);
}

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg libcaldav
%define tde_prefix /opt/trinity
@ -54,8 +54,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: libcaldav-14.0.1-rhel5.patch
BuildRequires: cmake >= 2.8
BuildRequires: make
BuildRequires: libtool
BuildRequires: fdupes
@ -100,7 +99,7 @@ easy to integrate CalDAV support into any PIM application.
%defattr(-,root,root,-)
%{_libdir}/libcaldav.so.0
%{_libdir}/libcaldav.so.0.0.6
%{_docdir}/libcaldav-%{version}/
%{_docdir}/libcaldav/
%post -n %{libcaldav}0
/sbin/ldconfig
@ -151,45 +150,53 @@ This package includes the development files.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?rhel} == 5
%patch1 -p1 -b .ftbfs
%endif
autoreconf -fiv
%build
# CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5
export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${RPM_OPT_FLAGS}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
# RHEL4 stuff
if [ -d /usr/evolution28 ]; then
export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%configure \
--docdir=%{_docdir}/libcaldav \
--includedir=%{_includedir} \
--libdir=%{_libdir} \
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=OFF \
\
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
-DSHARE_INSTALL_PREFIX="%{_datadir}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
\
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
--disable-dependency-tracking
..
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
# Unwanted files
%__rm -f %{buildroot}%{_libdir}/*.a
# Fix doc dir
mv -f %{?buildroot}%{_docdir}/libcaldav/ %{?buildroot}%{_docdir}/libcaldav-%{version}/
%__make install DESTDIR=%{buildroot} -C build
# Fix duplicate files
%fdupes %{?buildroot}
# Fix doc directory
%if "%{_docdir}" != "%{_datadir}/doc"
%__mkdir_p "%{?buildroot}/%{_docdir}"
%__mv -f "%{?buildroot}/%{_datadir}/doc/libcaldav" "%{?buildroot}/%{_docdir}/libcaldav"
%endif
%clean
%__rm -rf %{buildroot}

@ -1,164 +0,0 @@
diff --git a/src/add-carddav-object.c b/src/add-carddav-object.c
index 5574991..a1586d8 100644
--- a/src/add-carddav-object.c
+++ b/src/add-carddav-object.c
@@ -104,7 +104,6 @@ gboolean carddav_add(carddav_settings* settings, carddav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (res != 0) {
error->code = -1;
diff --git a/src/delete-carddav-object.c b/src/delete-carddav-object.c
index 96b9033..6984a82 100644
--- a/src/delete-carddav-object.c
+++ b/src/delete-carddav-object.c
@@ -132,7 +132,6 @@ gboolean carddav_delete(carddav_settings* settings, carddav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
g_free(search);
curl_slist_free_all(http_header);
@@ -231,7 +230,6 @@ gboolean carddav_delete(carddav_settings* settings, carddav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (LOCKSUPPORT && lock_token) {
carddav_unlock_object(
@@ -417,7 +415,6 @@ gboolean carddav_delete_by_uri(carddav_settings* settings, carddav_error* error)
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (LOCKSUPPORT && lock_token) {
carddav_unlock_object(
diff --git a/src/get-carddav-report.c b/src/get-carddav-report.c
index b44fd2c..7655b29 100644
--- a/src/get-carddav-report.c
+++ b/src/get-carddav-report.c
@@ -117,7 +117,6 @@ static gchar* carddav_dirlist(carddav_settings* settings, carddav_error* error)
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (res != 0) {
error->code = -1;
@@ -243,7 +242,6 @@ gboolean carddav_getall(carddav_settings* settings, carddav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (res != 0) {
error->code = -1;
@@ -345,7 +343,6 @@ gboolean carddav_getall_by_uri(carddav_settings* settings, carddav_error* error)
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (res != 0) {
error->code = -1;
@@ -378,4 +375,4 @@ gboolean carddav_getall_by_uri(carddav_settings* settings, carddav_error* error)
curl_easy_cleanup(curl);
g_free(dav_file_listing);
return result;
-}
\ No newline at end of file
+}
diff --git a/src/get-display-name.c b/src/get-display-name.c
index 9e782e0..16c3e4b 100644
--- a/src/get-display-name.c
+++ b/src/get-display-name.c
@@ -100,7 +100,6 @@ gboolean carddav_getname(carddav_settings* settings, carddav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
if (res != 0) {
error->code = -1;
diff --git a/src/lock-carddav-object.c b/src/lock-carddav-object.c
index 163264c..2292cad 100644
--- a/src/lock-carddav-object.c
+++ b/src/lock-carddav-object.c
@@ -109,7 +109,6 @@ gchar* carddav_lock_object(
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "LOCK");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
curl_slist_free_all(http_header);
if (res != 0) {
@@ -214,7 +213,6 @@ gboolean carddav_unlock_object(gchar* lock_token, gchar* URI,
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "UNLOCK");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
curl_slist_free_all(http_header);
if (res != 0) {
diff --git a/src/modify-carddav-object.c b/src/modify-carddav-object.c
index 1822068..a8b6de2 100644
--- a/src/modify-carddav-object.c
+++ b/src/modify-carddav-object.c
@@ -133,7 +133,6 @@ gboolean carddav_modify(carddav_settings* settings, carddav_error* error) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
res = curl_easy_perform(curl);
curl_slist_free_all(http_header);
http_header = NULL;
@@ -231,7 +230,6 @@ gboolean carddav_modify(carddav_settings* settings, carddav_error* error) {
strlen(settings->file));
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
res = curl_easy_perform(curl);
if (LOCKSUPPORT && lock_token) {
@@ -430,7 +428,6 @@ gboolean carddav_modify_by_uri(carddav_settings* settings, carddav_error* error)
strlen(settings->file));
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
res = curl_easy_perform(curl);
if (LOCKSUPPORT && lock_token) {
diff --git a/src/options-carddav-server.c b/src/options-carddav-server.c
index b774401..b44aae2 100644
--- a/src/options-carddav-server.c
+++ b/src/options-carddav-server.c
@@ -75,7 +75,6 @@ gboolean carddav_getoptions(CURL* curl, carddav_settings* settings, response* re
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "OPTIONS");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
if (settings->debug) {
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
}
@@ -106,15 +105,12 @@ gboolean carddav_getoptions(CURL* curl, carddav_settings* settings, response* re
}
else if (
(res == CURLE_SSL_CONNECT_ERROR ||
- CURLE_PEER_FAILED_VERIFICATION ||
CURLE_SSL_ENGINE_NOTFOUND ||
CURLE_SSL_ENGINE_SETFAILED ||
CURLE_SSL_CERTPROBLEM ||
CURLE_SSL_CIPHER ||
CURLE_SSL_CACERT ||
- CURLE_SSL_CACERT_BADFILE ||
- CURLE_SSL_CRL_BADFILE ||
- CURLE_SSL_ISSUER_ERROR) && settings->usehttps) {
+ CURLE_SSL_CRL_BADFILE ) && settings->usehttps) {
error->code = -2;
error->str = g_strdup(error_buf);
}

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg libcarddav
%define tde_prefix /opt/trinity
@ -54,8 +54,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: libcarddav-14.0.1-rhel5.patch
BuildRequires: cmake >= 2.8
BuildRequires: make
BuildRequires: libtool
@ -100,6 +99,7 @@ Build dependencies are minimal, requiring only libcurl.
%defattr(-,root,root,-)
%{_libdir}/libcarddav.so.0
%{_libdir}/libcarddav.so.0.0.6
%{_docdir}/libcarddav/
%post -n %{libcarddav}0
/sbin/ldconfig
@ -151,43 +151,49 @@ This package contains the development files.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?rhel} == 5
%patch1 -p1 -b .ftbfs
%endif
# Fix empty ChangeLog cause invalid macro in 'configure.ac'
echo "%{name} (%{version})" >ChangeLog
autoreconf -fiv
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
# CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5
export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${RPM_OPT_FLAGS}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
# RHEL4 stuff
if [ -d /usr/evolution28 ]; then
export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%configure \
--includedir=%{_includedir} \
--libdir=%{_libdir} \
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=OFF \
\
--disable-dependency-tracking
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
-DSHARE_INSTALL_PREFIX="%{_datadir}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
\
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
..
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%__make install DESTDIR=%{buildroot} -C build
# Unwanted files
%__rm -f %{buildroot}%{_libdir}/libcarddav.a
# Fix doc directory
%if "%{_docdir}" != "%{_datadir}/doc"
%__mkdir_p "%{?buildroot}/%{_docdir}"
%__mv -f "%{?buildroot}/%{_datadir}/doc/libcarddav" "%{?buildroot}/%{_docdir}/libcarddav"
%endif
%clean

@ -19,12 +19,10 @@
# Remove qt-devel and qt3-devel and any kde*-devel on your system !
# Having KDE libraries may cause FTBFS here !
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg python-tqt
%define tde_prefix /opt/trinity
@ -71,8 +69,17 @@ BuildRequires: sip4-tqt-devel >= %{?epoch:%{epoch}:}4.10.5
BuildRequires: libtqscintilla-devel >= %{?epoch:%{epoch}:}1.7.1
BuildRequires: gcc-c++
BuildRequires: python
BuildRequires: python-devel
# PYTHON
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31
%define python python2
%define __python %__python2
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%else
%define python python
%endif
BuildRequires: %{python}
BuildRequires: %{python}-devel
# MESA support
%if 0%{?rhel} || 0%{?fedora}

@ -28,7 +28,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg sip4-tqt
%define tde_prefix /opt/trinity
@ -71,8 +71,15 @@ BuildRequires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0
BuildRequires: trinity-filesystem >= %{tde_version}
BuildRequires: gcc-c++
BuildRequires: python
BuildRequires: python-devel
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31
%define python python2
%define __python %__python2
%else
%define python python
%endif
BuildRequires: %{python}
BuildRequires: %{python}-devel
%description
SIP is a tool for generating bindings for C++ classes with some ideas
@ -85,7 +92,7 @@ specificity towards C++ and Python.
Summary: Python/C++ bindings generator (Runtime Library)
Group: Development/Tools/Building
Requires: trinity-filesystem >= %{tde_version}
Requires: python
Requires: %{python}
%description -n sip4-tqt
SIP is a tool for generating bindings for C++ classes with some ideas
@ -94,11 +101,7 @@ specificity towards C++ and Python.
%files -n sip4-tqt
%defattr(-,root,root,-)
%dir %{python_sitearch}/sip4_tqt
%{python_sitearch}/sip4_tqt/sip.so
%{python_sitearch}/sip4_tqt/sipconfig.py*
%{python_sitearch}/sip4_tqt/sipdistutils.py*
%{python_sitearch}/sip4_tqt/__init__.py*
%{python_sitearch}/sip4_tqt/
##########
@ -106,7 +109,7 @@ specificity towards C++ and Python.
Summary: Python/C++ bindings generator (Development Files)
Group: Development/Libraries/Python
Requires: sip4-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: python-devel
Requires: %{python}-devel
%description -n sip4-tqt-devel
SIP is a tool for generating bindings for C++ classes with some ideas

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tqca-tls
%define tde_prefix /opt/trinity
@ -101,7 +101,7 @@ contains the TLS plugin.
unset QTDIR QTINC QTLIB
./configure \
--qtdir=%{_prefix}
--tqtdir=%{_prefix}
%__make %{?_smp_mflags}

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tqca
%define tde_prefix /opt/trinity
@ -147,7 +147,7 @@ unset QTDIR QTINC QTLIB
./configure \
--prefix=%{_prefix} \
--qtdir=/usr \
--tqtdir=/usr \
--debug

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tqscintilla
%define tde_prefix /opt/trinity

@ -1,13 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Exec=tqassistant
Name=TQt3 Assistant
Name[de]=TQt3 Assistent
GenericName=Document Browser
Comment=TQt3 Helpcenter
Comment[de]= TQt3 Hilfezentrum
MimeType=application/x-assistant;
Icon=tqassistant
Terminal=false
Type=Application
Categories=Qt;Development;

@ -1,78 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Exec=tqdesigner
Name=TQt3 Designer
Name[bg]=TQt3 Дизайнер
Name[br]=Ergrafer TQt3
Name[ca]=Dissenyador TQt3
Name[cs]=TQt3 designer
Name[de]=TQt3-Designer
Name[eo]=TQt3-Desegnilo
Name[es]=Diseñador TQt3
Name[et]=TQt3 disainer
Name[eu]=TQt3 Diseinatzailea
Name[gl]=Deseñador de TQt3
Name[he]=TQt3 בצעמ
Name[it]=Designer TQt3
Name[ja]=TQt3デザイナー
Name[ko]=TQt3 디자이너
Name[lv]=TQt3 Dizainers
Name[mk]=TQt3 дизајнер
Name[no]=TQt3-designer
Name[oc]=Dessinador TQt3
Name[pl]=Projektant TQt3
Name[sk]=TQt3 Dizajnér
Name[sl]=Snovalnik TQt3
Name[ta]=TQt3 À¨¼ôÀ¡Ç÷
Name[uk]=Дизайнер TQt3
Name[zh_CN.GB2312]=TQt3 设计者
Name[zh_TW.Big5]=TQt3 設計器
GenericName=Interface Designer
Comment=TQt3 interface designer
Comment[az]=TQt3 axtar üz dizayn proqramı
Comment[bg]=TQt3 interface дизайнер
Comment[br]=Ergrafer etrefas TQt3
Comment[ca]=Dissenyador d'interfícies TQt3
Comment[cs]=Editor UI pro TQt3
Comment[da]=TQt3 grænseflade designer
Comment[de]=Schnittstellen-Designer für TQt3
Comment[el]=Σχεδιασμός περιβάλλοντων TQt3
Comment[eo]=TQt3-Interfacdesegnilo
Comment[es]=Diseñador de interfaces de TQt3
Comment[et]=TQt3 dialoogide redaktor
Comment[eu]=TQt3 interfaze diseinatzailea
Comment[fi]=TQt3:n käyttöliittymäsuunnittelija
Comment[fr]=Conception d'interfaces avec TQt3
Comment[gl]=Editor de interfaces de TQt3
Comment[he]=TQt3-ל םיקשממ בצעמ
Comment[hu]=TQt3 felülettervező
Comment[is]=Viðmótshönnunartól fyrir TQt3
Comment[it]=Editor per le interfaccie TQt3
Comment[ja]=TQt3インターフェースデザイナー
Comment[ko]=TQt3 인터페이스 디자이너
Comment[lt]=TQt3 sąsajos redaktorius
Comment[lv]=TQt3 starsejas dizainers
Comment[mk]=Дизајнер на TQt3 дијалози
Comment[nl]=TQt3 interface-ontwerper
Comment[no]=TQt3-grensesnittdesigner
Comment[no_NY]=Redigering av TQt3-miljø
Comment[oc]=Dessinador d'interfacies TQt3
Comment[pl]=Projektant interfejsu TQt3
Comment[pt]=Editor de interfaces do TQt3
Comment[pt_BR]=Designer de interface TQt3
Comment[ro]=Dezvoltator de interfeţe TQt3
Comment[ru]=редактор интерфейсов приложений TQt3
Comment[sk]=TQt3 dizajnér rozhrania
Comment[sl]=Snovalnik vmesnikov za TQt3
Comment[sr]=Dizajner TQt3 interfejsa
Comment[sv]=Editor för gränssnitt till TQt3
Comment[ta]=TQt3 À¨¼ôÀ¡Ç÷
Comment[tr]=TQt3 arayüz tasarım programı
Comment[uk]=Редактор інтерфейсу для TQt3
Comment[zh_CN.GB2312]=TQt3 界面设计程序
Comment[zh_TW.Big5]=TQt3 介面編輯器
MimeType=application/x-designer;
Icon=tqdesigner
Terminal=false
Type=Application
Categories=Qt;Development;

@ -1,26 +0,0 @@
[Desktop Entry]
Exec=tqlinguist
Name=TQt3 Linguist
Name[de]=TQt3-Linguist
Name[eo]=TQt3-Lingvisto
Name[es]=Lingüista TQt3
Name[ko]=TQt3 언어학자
Name[lv]=TQt3 Lingvists
GenericName=Translation Tool
Comment=Tool for translating message catalogues of TQt3 based programs
Comment[da]=Redskab til at oversætte TQt3 baserede programmer
Comment[de]=Dienstprogramm zur Übersetzung von Programmen, die auf TQt3 basieren
Comment[eo]=Ilo por tradukado de mesaĝaroj de TQt3-bazitaj programoj
Comment[es]=Herramienta para la traducción de catálogos de mensajes de programas basados en TQt3
Comment[he]=TQt3 תוססובמ תוינכות לש תועדוה יגולטק םוגרתל ילכ
Comment[hu]=Segédprogram a TQt3-alapú programok üzenetfájljainak lefordításához
Comment[ko]=TQt3를 바탕으로 하는 프로그램에서 쓸 번역된 메세지 목록을 관리하는 도구
Comment[lv]=Rīks ziņojumu katalogu tulkošanai uz TQt3 bāzētās programmās
Comment[pt]=Ferramenta para traduzir os catálogos de mensagens de programas do TQt3
Comment[pt_BR]=Ferramenta para traduzir os catálogos de mensagens de programas do TQt3
Comment[sv]=Verktyg för att översätta meddelandekataloger från TQt3-baserade program
MimeType=application/x-linguist;
Terminal=false
Icon=tqlinguist
Type=Application
Categories=Qt;Development

@ -17,7 +17,7 @@
# TDE variables
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
@ -49,12 +49,6 @@ BuildRoot: %{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: build-examples.sh
Source11: tqassistant.desktop
Source12: tqdesigner.desktop
Source13: tqlinguist.desktop
Source14: tqtconfig.desktop
BuildRequires: glibc-devel
BuildRequires: gcc-c++
BuildRequires: make
@ -274,7 +268,7 @@ BuildRequires: sqlite3-devel
# POSTGRESQL support
BuildRequires: postgresql
%if 0%{?fedora} >= 30
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
BuildRequires: postgresql-server-devel
%else
BuildRequires: postgresql-devel
@ -295,12 +289,12 @@ BuildRequires: %{_lib}fbclient-devel
%define with_nis 1
# RPC support
%if 0%{?fedora} >= 28 || 0%{?suse_version} >= 1500
%if 0%{?fedora}
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 28
BuildRequires: libnsl2-devel
%else
BuildRequires: libnsl-devel
BuildRequires: libtirpc-devel
%endif
%if 0%{?suse_version} >= 1500
BuildRequires: libnsl-devel
BuildRequires: libtirpc-devel
%endif
@ -346,9 +340,6 @@ applications.
%files -n %{libtqt3}-mt
%defattr(-,root,root,-)
%doc FAQ LICENSE* README* changes*
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/32x32
%dir %{_datadir}/icons/hicolor/32x32/apps
%dir %{_datadir}/tqt3/
%dir %{_datadir}/tqt3/doc/
%dir %{_datadir}/tqt3/doc/html/
@ -1015,7 +1006,7 @@ or automake.
%{_datadir}/tqt3/tools/tqtcreatecw/main.cpp
%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw.pro
%{_datadir}/applications/tqdesigner.desktop
%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png
%{_datadir}/pixmaps/tqdesigner.png
###########
@ -1082,7 +1073,7 @@ development files by the translator.
%dir %{_docdir}/tqt3-linguist
%{_docdir}/tqt3-linguist/qt_untranslated.ts
%{_datadir}/applications/tqlinguist.desktop
%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png
%{_datadir}/pixmaps/tqlinguist.png
##########
@ -1107,11 +1098,10 @@ the package tqt3-apps-devel.
%files -n tqt3-assistant
%defattr(-,root,root,-)
%{_bindir}/tqassistant
%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png
%{_datadir}/tqt3/doc/html/assistant*html
%{_datadir}/tqt3/doc/html/assistant*dcf
%{_datadir}/applications/tqassistant.desktop
%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png
%{_datadir}/pixmaps/tqassistant.png
##########
@ -1134,7 +1124,7 @@ install this package.
%defattr(-,root,root,-)
%{_bindir}/tqtconfig
%{_datadir}/applications/tqtconfig.desktop
%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png
%{_datadir}/pixmaps/tqtconfig.png
###########
@ -1275,11 +1265,6 @@ things that are possible with TQt3.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Fix strange FTBFS on RHEL5
%if 0%{?rhel} == 5
%__sed -i "src/kernel/ntqstyle.h" -e "s|#ifdef ENABLE_T*QSTYLECONTROLELEMENTDATA_SLOW_COPY|#if 1|"
%endif
%if 0%{?suse_version}
echo "suse_version = %{?suse_version}"
echo "sle_version = %{?sle_version}"
@ -1355,6 +1340,7 @@ echo yes | ./configure \
-docdir "%{_datadir}/tqt3/doc" \
-plugindir "%{_libdir}/tqt3/plugins" \
-translationdir "%{_datadir}/tqt3/translations" \
-sysshare "%{_datadir}" \
\
-thread \
-shared \
@ -1471,12 +1457,6 @@ for i in designer/designer assistant linguist/linguist; do
popd
done
# desktop lnk files
%__install -m644 -D "%{SOURCE11}" "%{?buildroot}%{_datadir}/applications/tqassistant.desktop"
%__install -m644 -D "%{SOURCE12}" "%{?buildroot}%{_datadir}/applications/tqdesigner.desktop"
%__install -m644 -D "%{SOURCE13}" "%{?buildroot}%{_datadir}/applications/tqlinguist.desktop"
%__install -m644 -D "%{SOURCE14}" "%{?buildroot}%{_datadir}/applications/tqtconfig.desktop"
%if 0%{?suse_version}
%suse_update_desktop_file tqassistant Documentation
%suse_update_desktop_file tqdesigner GUIDesigner
@ -1485,10 +1465,10 @@ done
%endif
# Install applications icons
%__install -m644 -D "tools/assistant/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png"
%__install -m644 -D "tools/designer/designer/images/designer_appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png"
%__install -m644 -D "tools/linguist/linguist/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png"
%__install -m644 -D "tools/qtconfig/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png"
#__install -m644 -D "tools/assistant/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png"
#__install -m644 -D "tools/designer/designer/images/designer_appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png"
#__install -m644 -D "tools/linguist/linguist/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png"
#__install -m644 -D "tools/qtconfig/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png"
# build attic package and copy it to tqt3-compat-headers
pushd src

@ -1,13 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Exec=tqtconfig
Name=TQt3 Configuration
Name[de]=TQt3 Konfiguration
GenericName=Configuration Utility
Comment=A graphical configuration tool for programs using TQt 3
Comment[de]=Ein grafisches Konfigurationstool für TQt3-Programme
MimeType=application/x-qtconfig;
Terminal=false
Icon=tqtconfig
Type=Application
Categories=Qt;Settings;

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tqtinterface
%define cmake_modules_dir %{_datadir}/cmake/Modules
@ -77,7 +77,7 @@ BuildRequires: pkgconfig
# PTHREAD support
%if 0%{?rhel} >= 5 || 0%{?mdkversion} || 0%{?mgaversion}
%if 0%{?mdkversion} || 0%{?mgaversion}
%if 0%{?mgaversion} >= 7
BuildRequires: %{_lib}npth-devel
%else
@ -87,6 +87,9 @@ BuildRequires: pth-devel
%if 0%{?fedora} && 0%{?fedora} <= 26
BuildRequires: pth-devel
%endif
%if 0%{?rhel} >= 5 && 0%{?rhel} <= 7
BuildRequires: pth-devel
%endif
%if 0%{?suse_version} && 0%{?suse_version} < 1500
BuildRequires: libpth-devel
%endif

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

@ -18,7 +18,7 @@
# Default version for this component
%define tde_pkg icons-nuvola
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
# TDE specific building variables

@ -18,7 +18,7 @@
# Default version for this component
%define tde_pkg kdevmon
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
# TDE specific building variables

@ -18,7 +18,7 @@
# Default version for this component
%define tde_pkg klibido
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
# TDE specific building variables

@ -18,7 +18,7 @@
# Default version for this component
%define tde_pkg kompose
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
# TDE specific building variables

@ -18,7 +18,7 @@
# Default version for this component
%define tde_pkg koverartist
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
# TDE specific building variables

@ -18,7 +18,7 @@
# Default version for this component
%define tde_pkg kpacman
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
# TDE specific building variables

@ -1,6 +1,6 @@
# Default version for this component
%define tde_pkg style-ia-ora
%define tde_version 14.0.0
%define tde_version 14.0.7
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
@ -112,5 +112,3 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog
* Sat Jan 19 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.8-4
- Initial release for TDE 14.0.0

@ -1,23 +1,23 @@
[trinity-3.5.13]
name=trinity-3.5.13
#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/f$releasever/trinity-3.5.13/RPMS/$basearch
mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/f$releasever/trinity-3.5.13-$basearch.list
#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/rpm/f$releasever/trinity-3.5.13/RPMS/$basearch
mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/rpm/f$releasever/trinity-3.5.13-$basearch.list
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-trinity
[trinity-3.5.13-noarch]
name=trinity-3.5.13-noarch
#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/f$releasever/trinity-3.5.13/RPMS/noarch
mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/f$releasever/trinity-3.5.13-noarch.list
#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/rpm/f$releasever/trinity-3.5.13/RPMS/noarch
mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/rpm/f$releasever/trinity-3.5.13-noarch.list
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-trinity
[trinity-3.5.13-source]
name=trinity-3.5.13-source
#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/f$releasever/trinity-3.5.13/SRPMS
mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/f$releasever/trinity-3.5.13-SRPMS.list
#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/rpm/f$releasever/trinity-3.5.13/SRPMS
mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/rpm/f$releasever/trinity-3.5.13-SRPMS.list
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-trinity

@ -1,23 +1,23 @@
[trinity-3.5.13]
name=trinity-3.5.13
#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/el$releasever/trinity-3.5.13/RPMS/$basearch
mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/el$releasever/trinity-3.5.13-$basearch.list
#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/rpm/el$releasever/trinity-3.5.13/RPMS/$basearch
mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/rpm/el$releasever/trinity-3.5.13-$basearch.list
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-trinity
[trinity-3.5.13-noarch]
name=trinity-3.5.13-noarch
#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/el$releasever/trinity-3.5.13/RPMS/noarch
mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/el$releasever/trinity-3.5.13-noarch.list
#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/rpm/el$releasever/trinity-3.5.13/RPMS/noarch
mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/rpm/el$releasever/trinity-3.5.13-noarch.list
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-trinity
[trinity-3.5.13-source]
name=trinity-3.5.13-noarch
#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/el$releasever/trinity-3.5.13/SRPMS
mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/el$releasever/trinity-3.5.13-SRPMS.list
#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/rpm/el$releasever/trinity-3.5.13/SRPMS
mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/rpm/el$releasever/trinity-3.5.13-SRPMS.list
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-trinity

@ -15,11 +15,8 @@
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
#
# Starting with TDE R14.0.0, TDE is not intended to run in RHEL4 and older.
# Minimum (oldest) distribution supported is RHEL5.
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
@ -64,8 +61,8 @@ Requires: trinity-tdegraphics >= %{version}
Requires: trinity-tdemultimedia >= %{version}
Requires: trinity-tdenetwork >= %{version}
Requires: trinity-tdepim >= %{version}
Requires: trinity-tdeutils >= %{version}
Requires: trinity-tdetoys >= %{version}
Requires: trinity-tdeutils >= %{version}
%if 0%{?rhel} || 0%{?fedora}
# YUM configuration file
@ -89,9 +86,6 @@ authentication, and much more!
Group: User Interface/Desktops
Summary: Meta-package to install TDE development tools
Obsoletes: trinity-desktop-dev < %{version}-%{release}
Provides: trinity-desktop-dev = %{version}-%{release}
Requires: trinity-tdesdk >= %{version}
Requires: trinity-tdevelop >= %{version}
Requires: trinity-tdewebdev >= %{version}
@ -108,7 +102,6 @@ Group: User Interface/Desktops
Summary: Meta-package to install all TDE applications
# Warning, k9copy requires ffmpeg
# Warning, tderadio requires libmp3lame
Requires: trinity-abakus
Requires: trinity-amarok
@ -118,6 +111,8 @@ Requires: trinity-digikam
Requires: trinity-dolphin
Requires: trinity-filelight
Requires: trinity-gwenview
Requires: trinity-k3b
Requires: trinity-k9copy
Requires: trinity-kaffeine
Requires: trinity-kaffeine-mozilla
Requires: trinity-kasablanca
@ -129,15 +124,19 @@ Requires: trinity-kbiff
Requires: trinity-kbookreader
Requires: trinity-kchmviewer
Requires: trinity-kcmautostart
Requires: trinity-kcmldap
Requires: trinity-kcmldapcontroller
Requires: trinity-kcmldapmanager
Requires: trinity-kcpuload
Requires: trinity-kdbg
Requires: trinity-kdbusnotification
Requires: trinity-kdiff3
Requires: trinity-kdirstat
Requires: trinity-keep
Requires: trinity-keximdb
Requires: trinity-kerberostray
Requires: trinity-kftpgrabber
Requires: trinity-kile
Requires: trinity-kima
Requires: trinity-kiosktool
Requires: trinity-kkbswitch
Requires: trinity-klcddimmer
@ -153,10 +152,9 @@ Requires: trinity-knmap
Requires: trinity-knutclient
Requires: trinity-koffice-suite
Requires: trinity-konversation
Requires: trinity-kooldock
Requires: trinity-kopete-otr
Requires: trinity-kpicosim
Requires: trinity-kplayer
Requires: trinity-kpilot
Requires: trinity-krecipes
Requires: trinity-krename
Requires: trinity-krusader
@ -170,22 +168,16 @@ Requires: trinity-kstreamripper
Requires: trinity-ksystemlog
Requires: trinity-ktechlab
Requires: trinity-ktorrent
Requires: trinity-kuickshow
Requires: trinity-kvirc
Requires: trinity-kvkbd
Requires: trinity-kvpnc
Requires: trinity-kxmleditor
Requires: trinity-mplayerthumbs
Requires: trinity-piklab
Requires: trinity-potracegui
Requires: trinity-smb4k
Requires: trinity-smartcardauth
Requires: trinity-soundkonverter
Requires: trinity-tastymenu
Requires: trinity-tde-guidance
Requires: trinity-tde-style-baghira
Requires: trinity-tde-style-domino
Requires: trinity-tde-style-ia-ora
Requires: trinity-tde-style-lipstik
Requires: trinity-tde-style-qtcurve
Requires: trinity-tde-systemsettings
@ -194,39 +186,17 @@ Requires: trinity-tdeio-ftps
Requires: trinity-tdeio-locate
Requires: trinity-tdeio-sword
Requires: trinity-tdeio-umountwrapper
Requires: trinity-tdepowersave
Requires: trinity-tderadio
Requires: trinity-tdesudo
Requires: trinity-tdesvn
Requires: trinity-tellico
Requires: trinity-tdmtheme
Requires: trinity-tork
Requires: trinity-twin-style-crystal
Requires: trinity-wlassistant
Requires: trinity-yakuake
# PCLinuxOS does not have sudo ...
%if 0%{?pclinuxos} == 0
Requires: trinity-tdesudo
%endif
# PCLinuxOS and RHEL 5 don't have heimdal ...
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%if 0%{?pclinuxos} == 0
Requires: trinity-kcmldap
Requires: trinity-kcmldapcontroller
Requires: trinity-kcmldapmanager
Requires: trinity-kerberostray
%endif
%endif
# RHEL5: UDEV is too old
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
Requires: trinity-k3b
Requires: trinity-k9copy
Requires: trinity-kima
Requires: trinity-kpilot
Requires: trinity-tellico
Requires: trinity-tdepowersave
%endif
# Network management
# RHEL 6 and openSUSE 11.x: knetworkmanager8
%if 0%{?suse_version} && 0%{?suse_version} <= 1140 || 0%{?rhel} == 6
@ -235,8 +205,6 @@ Requires: trinity-knetworkmanager
# Other distros use tdenetworkmanager (since R14)
%if 0%{?rhel} >= 7 || 0%{?suse_version} >= 1210 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos} || 0%{?fedora}
Requires: trinity-tdenetworkmanager
Obsoletes: trinity-knetworkmanager
Obsoletes: trinity-knetworkmanager8
%endif
# Power management
@ -248,11 +216,6 @@ Obsoletes: trinity-tde-guidance-powermanager
#Requires: trinity-gtk3-tqt-engine
#Requires: trinity-qt4-tqt-theme-engine
# Missing qalculate on older RHEL ...
%if 0%{?rhel} == 0 || 0%{?rhel} >= 7
Requires: trinity-qalculate-tde
%endif
# On RHEL 5/7, lilypond is not available, so no rosegarden :'-(
%if 0%{?rhel} == 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos} || 0%{?fedora}
Requires: trinity-rosegarden

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

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg kipi-plugins
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg libkdcraw
%define tde_prefix /opt/trinity

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg libkexiv2
%define tde_prefix /opt/trinity
@ -67,18 +67,10 @@ Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: cmake >= 2.8
BuildRequires: gettext
BuildRequires: gcc-c++
# AUTOTOOLS
BuildRequires: automake autoconf libtool
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}ltdl-devel
%endif
%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220
BuildRequires: libtool-ltdl-devel
%endif
# EXIV2
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}exiv2-devel
@ -145,41 +137,44 @@ Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--libdir=%{tde_libdir} \
--includedir=%{tde_tdeincludedir} \
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=OFF \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
\
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
..
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
# RHEL4: pkgconfig files do not support 'URL' keyword .
%if 0%{?rhel} == 4
%__sed -i %{?buildroot}%{tde_libdir}/pkgconfig/*.pc -e "s/^URL: /#URL: /"
%endif
%__make install DESTDIR=%{buildroot} -C build
%clean

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg libkipi
%define tde_prefix /opt/trinity
@ -82,14 +82,8 @@ BuildRequires: lcms-devel
# JPEG support
BuildRequires: libjpeg-devel
# AUTOTOOLS
BuildRequires: automake autoconf libtool
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}ltdl-devel
%endif
%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220
BuildRequires: libtool-ltdl-devel
%endif
# CMAKE
BuildRequires: cmake >= 2.8
%description
Libkipi is a library
@ -120,7 +114,7 @@ Homepage: http://www.kipi-plugins.org/
%defattr(-,root,root,-)
%{tde_libdir}/libkipi.so.0
%{tde_libdir}/libkipi.so.0.1.1
%{tde_datadir}/apps/kipi/
%{tde_datadir}/kipi/
%{tde_datadir}/icons/hicolor/*/apps/kipi.png
%{tde_datadir}/servicetypes/kipiplugin.desktop
@ -161,37 +155,45 @@ Homepage: http://www.kipi-plugins.org/
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--datadir=%{tde_datadir} \
--libdir=%{tde_libdir} \
--includedir=%{tde_tdeincludedir} \
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=OFF \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility
%__make %{?_smp_mflags}
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
-DDATA_INSTALL_DIR="%{tde_datadir}" \
-DSERVICETYPES_INSTALL_DIR="%{tde_datadir}/servicetypes" \
-DICON_INSTALL_DIR="%{tde_datadir}/icons" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_GCC_VISIBILITY=ON \
\
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
\
..
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%__make install DESTDIR=%{buildroot} -C build
%find_lang %{tde_pkg}

@ -1,4 +1,4 @@
%if 0%{?fedora} >= 23
%if 0%{?fedora} >= 23 || 0%{?rhel} >= 8
%define _hardened_ldflags %nil
%endif
@ -26,7 +26,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg libksquirrel
%define tde_prefix /opt/trinity
@ -97,7 +97,7 @@ BuildRequires: OpenEXR-devel
BuildRequires: libtiff-devel
# GIF support
%if 0%{?suse_version} || 0%{?fedora} >= 28
%if 0%{?suse_version} || 0%{?fedora} >= 28 || 0%{?rhel} >= 8
BuildRequires: giflib-devel
%else
BuildRequires: libungif-devel
@ -107,7 +107,7 @@ BuildRequires: libungif-devel
BuildRequires: libmng-devel
# DJVU support
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%if 0%{?fedora} || 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_djvu 1
BuildRequires: djvulibre
%endif
@ -135,7 +135,11 @@ BuildRequires: librsvg2-tools
BuildRequires: librsvg
%endif
%if 0%{?suse_version}
%if 0%{?suse_version} >= 1550
BuildRequires: rsvg-convert
%else
BuildRequires: rsvg-view
%endif
BuildRequires: librsvg-devel
%endif
%endif

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg libtdeldap
%define tde_prefix /opt/trinity
@ -94,12 +94,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

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg libtqt-perl
%define tde_prefix /opt/trinity

@ -15,12 +15,11 @@
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
#
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg pytdeextensions
%define tde_prefix /opt/trinity
@ -76,6 +75,15 @@ Requires: trinity-libpythonize0 = %{?epoch:%{epoch}:}%{version}-%{release}
BuildRequires: sip4-tqt-devel >= 4.10.5
Requires: sip4-tqt >= 4.10.5
# PYTHON support
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31
%define python python2
%define __python %__python2
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%else
%define python python
%endif
Obsoletes: trinity-pykdeextensions < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-pykdeextensions = %{?epoch:%{epoch}:}%{version}-%{release}
@ -185,7 +193,7 @@ fi
%__sed -i "src/pythonize."* -e "s|const char \*object|char \*object|g"
%endif
%if 0%{?fedora} >= 30
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
%__sed -i "app_templates/kcontrol_module/setup.py" \
"app_templates/kcontrol_module/src/kcontrol_module.py" \
"app_templates/kdeapp/setup.py" \
@ -203,7 +211,7 @@ unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
%__mkdir_p build
./setup.py build_libpythonize
%__python ./setup.py build_libpythonize
%install
@ -215,7 +223,7 @@ export PYTHONDONTWRITEBYTECODE=
%__rm -rf %{buildroot}
./setup.py install \
%__python ./setup.py install \
--root=%{buildroot} \
--prefix=%{tde_prefix} \
--install-clib=%{tde_libdir} \

@ -15,12 +15,10 @@
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
#
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg python-trinity
%define tde_prefix /opt/trinity
@ -65,7 +63,16 @@ BuildRequires: autoconf automake libtool m4
BuildRequires: gcc-c++
# PYTHON support
BuildRequires: python
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31
%define python python2
%define __python %__python2
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%else
%define python python
%endif
BuildRequires: %{python}
BuildRequires: %{python}-devel
BuildRequires: python-tqt-devel
Requires: python-tqt
@ -139,7 +146,7 @@ tips and working code you can use to learn from.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?fedora} >= 30
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
%__sed -i "contrib/tdepyuic" -e "s|/usr/bin/env python|/usr/bin/env python2|"
%endif

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tde-i18n
%define tde_prefix /opt/trinity

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdeaccessibility
%define tde_prefix /opt/trinity

@ -21,7 +21,7 @@
# TDE variables
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdeaddons
%define tde_prefix /opt/trinity
@ -116,13 +116,9 @@ BuildRequires: libacl-devel
# DB4/DB5 support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion}
%define with_db 1
%if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?pclinuxos}
BuildRequires: db4-devel
%else
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos}
BuildRequires: db5-devel
%endif
%endif
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
BuildRequires: libdb-devel
BuildRequires: libdb-cxx-devel
@ -141,6 +137,13 @@ BuildRequires: db4-devel
#BuildRequires: xmms-devel
#%endif
# PYTHON support
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30
%define python python3
%else
%define python python
%endif
Requires: trinity-atlantikdesigner = %{version}-%{release}
Requires: trinity-kaddressbook-plugins = %{version}-%{release}
Requires: trinity-kate-plugins = %{version}-%{release}
@ -391,7 +394,7 @@ controls XMMS, install the xmms-kde-trinity package.
Summary: scripts for KNewsTicker, the Trinity news ticker
Group: Applications/Utilities
Requires: perl
Requires: python
Requires: %{python}
#Requires: libfinance-quote-perl
#Requires: libmime-perl
#Requires: libnews-nntpclient-perl
@ -432,12 +435,12 @@ Requires: %{_lib}jpeg62
%if 0%{?suse_version} == 1230
Requires: libjpeg8
%endif
Requires: python
Requires: %{python}
Requires: rsync
#Requires: unison
Requires: trinity-konqueror
%if 0%{?fedora}
Requires: python-exif
Requires: %{python}-exif
%endif
%description -n trinity-konq-plugins
@ -664,12 +667,12 @@ of user interfaces, playlists and visualisation plugins.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%if 0%{?fedora} >= 30
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
# Fix shebangs
sed -i "knewsticker-scripts/sportscores.py" \
"konq-plugins/imagerotation/orient.py" \
"konq-plugins/imagerotation/exif.py" \
-e "s|env python|env python3|"
-e "s|env python|env %{python}|"
%endif

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdeadmin
%define tde_prefix /opt/trinity

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdeartwork
%define tde_prefix /opt/trinity
@ -103,7 +103,7 @@ BuildRequires: libart_lgpl-devel
# RHEL 4: disabled
# RHEL 6: available in EPEL
# RHEL 7: available in NUX
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || (0%{?rhel} >= 5 && 0%{?rhel} <= 7) || 0%{?suse_version}
%define with_xscreensaver 1
%if 0%{?fedora} || 0%{?rhel} >= 5

@ -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.pclos2018

@ -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.pclos2018

@ -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.pclos2018

@ -0,0 +1 @@
pamd.kscreensaver-trinity.el7

@ -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.pclos2018

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdebase
%define tde_prefix /opt/trinity
@ -74,7 +74,7 @@ Source6: suse-displaymanagers-tdm
%endif
# Fedora 18: use SYSTEMD for TDM startup
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 || 0%{?mgaversion} >= 6
Source7: tdm.service%{?dist}
%endif
@ -229,7 +229,31 @@ Requires: fedora-logos
# Fedora 28 Theme
%if 0%{?fedora} == 28
Requires: f28-backgrounds-base
%define tde_bg /usr/share/backgrounds/f27/default/standard/f28.png
%define tde_bg /usr/share/backgrounds/f28/default/standard/f28.png
Requires: fedora-logos
%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
%endif
# Fedora 29 Theme
%if 0%{?fedora} == 29
Requires: f29-backgrounds-base
%define tde_bg /usr/share/backgrounds/f29/default/standard/f29.png
Requires: fedora-logos
%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
%endif
# Fedora 30 Theme
%if 0%{?fedora} == 30
Requires: f30-backgrounds-base
%define tde_bg /usr/share/backgrounds/f30/default/standard/f30.png
Requires: fedora-logos
%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
%endif
# Fedora 31 Theme
%if 0%{?fedora} == 31
Requires: f28-backgrounds-base
%define tde_bg /usr/share/backgrounds/f31/default/standard/f31.png
Requires: fedora-logos
%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
%endif
@ -263,6 +287,13 @@ Requires: redhat-logos
%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png
%endif
# RHEL 8 Theme
%if 0%{?rhel} == 8
Requires: redhat-logos
%define tde_bg /usr/share/backgrounds/day.jpg
%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png
%endif
# Mageia 2 Theme
%if 0%{?mgaversion} == 2
Requires: mageia-theme-Default
@ -298,6 +329,13 @@ Requires: mageia-theme-Default
%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg
%endif
# Mageia 7 Theme
%if 0%{?mgaversion} == 7
Requires: mageia-theme-Default
%define tde_bg /usr/share/mga/backgrounds/default.jpg
%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg
%endif
# Mandriva 2011 Theme: "rosa"
%if "%{distribution}" == "Mandriva Linux" && "%{?mdkversion}" == "201100"
Requires: mandriva-theme
@ -381,6 +419,22 @@ Requires: hicolor-icon-theme-branding
%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
%endif
# OpenSuse 15.1 Theme
%if "%{?suse_version}" == "1510"
Requires: wallpaper-branding
%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
Requires: hicolor-icon-theme-branding
%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
%endif
# OpenSuse TW Theme
%if "%{?suse_version}" == "1550"
Requires: wallpaper-branding
%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
Requires: hicolor-icon-theme-branding
%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
%endif
BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
@ -956,7 +1010,7 @@ Some random features:
%{tde_tdeappdir}/kate.desktop
%{tde_datadir}/apps/kate/
%{tde_datadir}/apps/tdeconf_update/kate-2.4.upd
%config(noreplace) %{_sysconfdir}/trinity/katerc
%config(noreplace) %{tde_confdir}/katerc
%{tde_datadir}/icons/hicolor/*/apps/kate.png
%{tde_datadir}/icons/hicolor/*/apps/kate2.svgz
%{tde_datadir}/servicetypes/kateplugin.desktop
@ -1357,7 +1411,7 @@ TDE applications, particularly those in the TDE base module.
%{tde_bindir}/kreadconfig
%{tde_bindir}/kwriteconfig
%{tde_bindir}/kstart
%config(noreplace) %{_sysconfdir}/trinity/kxkb_groups
%config(noreplace) %{tde_confdir}/kxkb_groups
%{tde_bindir}/drkonqi
%{tde_bindir}/crashtest
%{tde_bindir}/kapplymousetheme
@ -1497,7 +1551,7 @@ needed for a basic TDE desktop installation.
%files data
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/trinity/tdeshorturifilterrc
%config(noreplace) %{tde_confdir}/tdeshorturifilterrc
%{tde_datadir}/applnk/.hidden/battery.desktop
%{tde_datadir}/applnk/.hidden/bwarning.desktop
%{tde_datadir}/applnk/.hidden/cwarning.desktop
@ -1755,7 +1809,6 @@ needed for a basic TDE desktop installation.
# XDG directories information
%dir %{_sysconfdir}/xdg/menus/applications-merged
%config(noreplace) %{_sysconfdir}/xdg/menus/applications-merged/tde-essential.menu
%config(noreplace) %{_sysconfdir}/xdg/menus/tde-information.menu
%config(noreplace) %{_sysconfdir}/xdg/menus/tde-screensavers.menu
%config(noreplace) %{_sysconfdir}/xdg/menus/tde-settings.menu
@ -2087,8 +2140,8 @@ the TDE desktop.
%files -n trinity-kdesktop
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/trinity/kdesktop_custom_menu1
%config(noreplace) %{_sysconfdir}/trinity/kdesktop_custom_menu2
%config(noreplace) %{tde_confdir}/kdesktop_custom_menu1
%config(noreplace) %{tde_confdir}/kdesktop_custom_menu2
%{tde_bindir}/kcheckrunning
%{tde_bindir}/kxdglauncher
%{tde_bindir}/tdeeject
@ -2192,6 +2245,9 @@ already. Most users won't need this.
%{tdm_datadir}/sessions/*.desktop
%{tdm_datadir}/themes/
%{tde_confdir}/%{tdm}
%if 0%{?with_selinux_policy}
%exclude %{tde_confdir}/%{tdm}/tdm.pp
%endif
%{tde_tdedocdir}/HTML/en/%{tdm}/
%if 0%{?suse_version} == 0
%config(noreplace) %{_sysconfdir}/pam.d/tdm-trinity
@ -2232,7 +2288,7 @@ already. Most users won't need this.
# SELINUX policy
%if 0%{?with_selinux_policy}
%{?_sysconfdir}/trinity/%{tdm}/tdm.pp
%{tde_confdir}/%{tdm}/tdm.pp
%endif
# Logrotate configuration
@ -2241,17 +2297,17 @@ already. Most users won't need this.
%pre -n trinity-tdm
# Make sure that TDM configuration files are now under '/etc/trinity/tdm'
if [ -d "%{tde_datadir}/config/%{tdm}" ] && [ ! -L "%{tde_datadir}/config/%{tdm}" ]; then
if [ -d "%{_sysconfdir}/trinity/%{tdm}" ]; then
if [ -d "%{tde_confdir}/%{tdm}" ]; then
# If there is already something under '/etc/trinity/tdm', simply delete old configuration
echo "Deleting TDM configuration under '%{tde_datadir}/config/%{tdm}'"
rm -rf "%{tde_datadir}/config/%{tdm}"
else
# Else, move '/opt/trinity/share/config/tdm' to '/etc/trinity/tdm'
if [ ! -d "%{_sysconfdir}/trinity" ]; then
mkdir -p "%{_sysconfdir}/trinity"
if [ ! -d "%{tde_confdir}" ]; then
mkdir -p "%{tde_confdir}"
fi
echo "Migrating TDM configuration from '%{tde_datadir}/config/%{tdm}' to '%{_sysconfdir}/trinity/%{tdm}'"
mv -f "%{tde_datadir}/config/%{tdm}" "%{_sysconfdir}/trinity/%{tdm}.migr"
echo "Migrating TDM configuration from '%{tde_datadir}/config/%{tdm}' to '%{tde_confdir}/%{tdm}'"
mv -f "%{tde_datadir}/config/%{tdm}" "%{tde_confdir}/%{tdm}.migr"
fi
fi
@ -2269,7 +2325,7 @@ fi
# SELINUX context for tdm
%if 0%{?with_selinux_policy}
/usr/sbin/semodule -i "%{?_sysconfdir}/trinity/%{tdm}/tdm.pp"
/usr/sbin/semodule -i "%{tde_confdir}/%{tdm}/tdm.pp"
%endif
%if 0%{?fedora} == 21 || 0%{?rhel} >= 7
@ -2288,7 +2344,7 @@ fi
# Sets default language for TDM
if [ "$1" = "1" ]; then
if [ -n "${LANG}" ] && [ "${LANG}" != "C" ]; then
sed -i "%{_sysconfdir}/trinity/%{tdm}/%{tdm}rc" -e "s|^#*Language=.*|Language=${LANG}|"
sed -i "%{tde_confdir}/%{tdm}/%{tdm}rc" -e "s|^#*Language=.*|Language=${LANG}|"
fi
fi
@ -2304,9 +2360,9 @@ update-alternatives --install /usr/lib/X11/displaymanagers/default-displaymanage
%posttrans -n trinity-tdm
# Make sure that TDM configuration files are now under '/etc/trinity/tdm'
if [ -d "%{_sysconfdir}/trinity/%{tdm}.migr" ] && [ -d "%{_sysconfdir}/trinity/%{tdm}" ]; then
mv -f "%{_sysconfdir}/trinity/%{tdm}.migr/"* "%{_sysconfdir}/trinity/%{tdm}/"
rmdir "%{_sysconfdir}/trinity/%{tdm}.migr/"
if [ -d "%{tde_confdir}/%{tdm}.migr" ] && [ -d "%{tde_confdir}/%{tdm}" ]; then
mv -f "%{tde_confdir}/%{tdm}.migr/"* "%{tde_confdir}/%{tdm}/"
rmdir "%{tde_confdir}/%{tdm}.migr/"
fi
%postun -n trinity-tdm
@ -2549,7 +2605,7 @@ web browser if the clipboard contains a URL.
%files -n trinity-klipper
%defattr(-,root,root,-)
%{tde_bindir}/klipper
%config(noreplace) %{_sysconfdir}/trinity/klipperrc
%config(noreplace) %{tde_confdir}/klipperrc
%{tde_tdelibdir}/klipper.la
%{tde_tdelibdir}/klipper.so
%{tde_tdelibdir}/klipper_panelapplet.la
@ -2628,7 +2684,7 @@ ever launching another application.
%files -n trinity-konqueror
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/trinity/konqsidebartng.rc
%config(noreplace) %{tde_confdir}/konqsidebartng.rc
%{tde_bindir}/kbookmarkmerger
%{tde_bindir}/keditbookmarks
%{tde_bindir}/kfmclient
@ -3040,7 +3096,7 @@ to monitor it through the daemon running there.
%files -n trinity-ksysguardd
%defattr(-,root,root,-)
%{tde_bindir}/ksysguardd
%config(noreplace) %{_sysconfdir}/trinity/ksysguarddrc
%config(noreplace) %{tde_confdir}/ksysguarddrc
##########
@ -3179,7 +3235,7 @@ These libraries allow you to use TDE dialogs in native TQt3 applications.
%files libtqt3-integration
%defattr(-,root,root,-)
%{tde_tdelibdir}/plugins/integration/
%{_libdir}/tqt3/plugins/integration/
%{tde_tdelibdir}/kded_kdeintegration.la
%{tde_tdelibdir}/kded_kdeintegration.so
%{tde_datadir}/services/kded/kdeintegration.desktop
@ -3357,8 +3413,8 @@ fi
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
-DCONFIG_INSTALL_DIR="%{_sysconfdir}/trinity" \
-DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \
-DCONFIG_INSTALL_DIR="%{tde_confdir}" \
-DSYSCONF_INSTALL_DIR="%{tde_confdir}" \
-DXDG_MENU_INSTALL_DIR="%{_sysconfdir}/xdg/menus" \
\
-DWITH_ALL_OPTIONS=ON \
@ -3470,7 +3526,7 @@ EOF
%endif
# TDM configuration
%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/%{tdm}/%{tdm}rc" \
%__sed -i "%{?buildroot}%{tde_confdir}/%{tdm}/%{tdm}rc" \
%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1210 || 0%{?rhel} >= 7 || 0%{?mageia} >= 4
-e "s/^#*MinShowUID=.*/MinShowUID=1000/"
%else
@ -3507,7 +3563,7 @@ fi
# SELINUX policy for RHEL / Fedora
%if 0%{?with_selinux_policy}
%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{?_sysconfdir}/trinity/%{tdm}/tdm.pp"
%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{tde_confdir}/%{tdm}/tdm.pp"
%endif
# Mageia icon for TDE menu

Binary file not shown.

@ -0,0 +1,12 @@
[Unit]
Description=The Trinity login manager
Conflicts=getty@tty1.service
After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
[Service]
ExecStart=/opt/trinity/bin/kdm
Restart=always
IgnoreSIGPIPE=no
[Install]
Alias=display-manager.service

@ -0,0 +1,12 @@
[Unit]
Description=Trinity Display Manager
Documentation=man:tdm(1)
Conflicts=getty@tty1.service
After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service systemd-logind.service
[Service]
ExecStart=/opt/trinity/bin/tdm
Restart=always
[Install]
Alias=display-manager.service

@ -0,0 +1,12 @@
[Unit]
Description=Trinity Display Manager
Documentation=man:tdm(1)
Conflicts=getty@tty1.service
After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service systemd-logind.service
[Service]
ExecStart=/opt/trinity/bin/tdm
Restart=always
[Install]
Alias=display-manager.service

@ -27,7 +27,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdebindings
%define tde_prefix /opt/trinity
@ -122,7 +122,7 @@ BuildRequires: mozilla-xulrunner20-devel
BuildRequires: openssl-devel
# GTK1 support
%if 0%{?fedora} || 0%{?rhel} >= 5
%if 0%{?fedora} || (0%{?rhel} >= 5 && 0%{?rhel} <= 7)
%define with_gtk1 1
BuildRequires: glib-devel
BuildRequires: gtk+-devel
@ -170,7 +170,14 @@ BuildRequires: Mesa-libGLU-devel
## Python
BuildRequires: python-devel
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31
%define python python2
%define __python %__python2
%else
%define python python
%endif
BuildRequires: %{python}
BuildRequires: %{python}-devel
%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
## ruby
@ -234,10 +241,10 @@ BuildRequires: java-devel >= 1.4.2
%if 0%{?suse_version} >= 1320
BuildRequires: java-1_8_0-openjdk-devel
%endif
%if 0%{?fedora} >= 21 || 0%{?mgaversion} >= 5
%if 0%{?fedora} >= 21 || 0%{?mgaversion} >= 5 || 0%{?rhel} >= 8
BuildRequires: java-1.8.0-openjdk-devel
%endif
%if 0%{?fedora} == 17 || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?fedora} == 20 || 0%{?suse_version} == 1230 || 0%{?suse_version} == 1310 || 0%{?mgaversion} == 3 || 0%{?mgaversion} == 4 || 0%{?rhel} >= 7
%if 0%{?fedora} == 17 || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?fedora} == 20 || 0%{?suse_version} == 1230 || 0%{?suse_version} == 1310 || 0%{?mgaversion} == 3 || 0%{?mgaversion} == 4 || 0%{?rhel} == 7
BuildRequires: java-1.7.0-openjdk-devel
%endif
%if 0%{?rhel} == 5 || 0%{?rhel} == 6
@ -256,7 +263,9 @@ BuildRequires: java-1.6.0-openjdk-devel
%define java_home %{_usr}/lib/jvm/java
%endif
%endif
%if 0%{?pclinuxos} == 0
%define _with_java --with-java=%{java_home}
%endif
## Perl
# There is no 'perl-devel' package on RHEL5
@ -273,14 +282,18 @@ Obsoletes: trinity-kdebindings < %{version}-%{release}
Provides: trinity-kdebindings = %{version}-%{release}
# Metapackage requires
%if "%{?_with_java}" != ""
Requires: trinity-tdebindings-java = %{version}-%{release}
%endif
Requires: trinity-libsmoketqt = %{version}-%{release}
Requires: trinity-libsmoketde = %{version}-%{release}
Requires: perl-dcop = %{version}-%{release}
Requires: python-dcop = %{version}-%{release}
Requires: trinity-libkjsembed1 = %{version}-%{release}
Requires: trinity-kjscmd = %{version}-%{release}
%if "%{?_with_java}" != ""
Requires: trinity-juic = %{version}-%{release}
%endif
Requires: trinity-libkorundum0-ruby = %{version}-%{release}
Requires: trinity-libqt0-ruby = %{version}-%{release}
@ -314,6 +327,7 @@ This package is part of the official TDE bindings module.
##########
%if "%{?_with_java}" != ""
%package -n trinity-libdcop3-java
Summary: DCOP bindings for Java [Trinity]
Group: System/Libraries
@ -330,9 +344,11 @@ This package is part of the official TDE bindings module.
%files -n trinity-libdcop3-java
%defattr(-,root,root,-)
%{tde_libdir}/java/org/
%endif
##########
%if "%{?_with_java}" != ""
%package -n trinity-libdcop3-java-devel
Summary: DCOP bindings for Java (dcopidl2java program) [Trinity]
Group: Development/Languages/Java
@ -349,9 +365,11 @@ This package is part of the official TDE bindings module.
%files -n trinity-libdcop3-java-devel
%defattr(-,root,root,-)
%{tde_bindir}/dcopidl2java
%endif
##########
%if "%{?_with_java}" != ""
%package -n trinity-libdcop3-jni
Summary: DCOP bindings for Java ( Native libraries ) [Trinity]
Group: System/Libraries
@ -368,9 +386,11 @@ This package is part of the official TDE bindings module.
%defattr(-,root,root,-)
%{tde_libdir}/libjavadcop.la
%{tde_libdir}/libjavadcop.so
%endif
##########
%if "%{?_with_java}" != ""
%package -n trinity-libqt3-java
Summary: Java bindings for Qt [Trinity]
Group: System/Libraries
@ -392,9 +412,11 @@ This package is part of the official TDE bindings module.
%defattr(-,root,root,-)
%{tde_libdir}/java/qtjava*.jar
%{tde_tdedocdir}/HTML/en/javalib/
%endif
##########
%if "%{?_with_java}" != ""
%package -n trinity-libtqt3-jni
Summary: Java bindings for TQt ( Native libraries ) [Trinity]
Group: System/Libraries
@ -416,9 +438,11 @@ This package is part of the official TDE bindings module.
%{tde_libdir}/jni/lib*qtjava.la
%{tde_libdir}/jni/lib*qtjava.so.*
%doc qtjava/ChangeLog
%endif
##########
%if "%{?_with_java}" != ""
%package -n trinity-libtqt3-jni-devel
Summary: Development files fo Java bindings for TQt ( Native libraries ) [Trinity]
Group: Development/Languages/Java
@ -436,9 +460,11 @@ This package is part of the official TDE bindings module.
%defattr(-,root,root,-)
%{tde_libdir}/lib*qtjavasupport.so
%{tde_libdir}/jni/lib*qtjava.so
%endif
##########
%if "%{?_with_java}" != ""
%package -n trinity-libtrinity-java
Summary: Tdelibs bindings for Java [Trinity]
Group: System/Libraries
@ -458,9 +484,11 @@ This package is part of the official TDE bindings module.
%files -n trinity-libtrinity-java
%defattr(-,root,root,-)
%{tde_libdir}/java/koala*.jar
%endif
##########
%if "%{?_with_java}" != ""
%package -n trinity-libtrinity-jni
Summary: Tdelibs bindings for java ( Native libraries ) [Trinity]
Group: System/Libraries
@ -477,9 +505,11 @@ This package is part of the official TDE bindings module.
%{tde_libdir}/jni/libtdejava.la
%{tde_libdir}/jni/libtdejava.so.*
%doc tdejava/ChangeLog
%endif
##########
%if "%{?_with_java}" != ""
%package -n trinity-libtrinity-jni-devel
Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity]
Group: Development/Languages/Java
@ -493,6 +523,7 @@ This package is part of the official TDE bindings module.
%files -n trinity-libtrinity-jni-devel
%defattr(-,root,root,-)
%{tde_libdir}/jni/libtdejava.so
%endif
##########
@ -620,7 +651,7 @@ Perl bindings to the DCOP interprocess communication protocol used by TDE
%package -n python-dcop
Summary: DCOP bindings for Python
Group: System/Libraries
Requires: python
Requires: %{python}
Obsoletes: trinity-python-dcop < %{version}-%{release}
Provides: trinity-python-dcop = %{version}-%{release}
@ -729,6 +760,7 @@ This package is part of the official TDE bindings module.
##########
%if "%{?_with_java}" != ""
%package -n trinity-juic
Summary: The Qt Java UI Compiler
Group: Development/Languages/Java
@ -747,6 +779,7 @@ This package is part of the official TDE bindings module.
%defattr(-,root,root,-)
%{tde_bindir}/juic
%{tde_datadir}/juic/
%endif
##########
@ -967,13 +1000,17 @@ Provides: trinity-kdebindings-devel = %{version}-%{release}
# Metapackage
Requires: trinity-libsmoketqt-devel = %{version}-%{release}
%if "%{?_with_java}" != ""
Requires: trinity-libdcop3-java-devel = %{version}-%{release}
%endif
Requires: trinity-libsmoketde-devel = %{version}-%{release}
Requires: trinity-libkjsembed-devel = %{version}-%{release}
Requires: trinity-libxparts-devel = %{version}-%{release}
Requires: trinity-libdcop-c-devel = %{version}-%{release}
%if "%{?_with_java}" != ""
Requires: trinity-libtqt3-jni-devel = %{version}-%{release}
Requires: trinity-libtrinity-jni-devel = %{version}-%{release}
%endif
%description devel
This package contains the development files for the TDE bindings.
@ -1023,7 +1060,7 @@ exit 3
-e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|"
# Fix Fedora >= 28 automatic invalid dependency to '/usr/bin/kjscmd'
%if 0%{?fedora} >= 28 || 0%{?mgaversion} >= 7
%if 0%{?fedora} >= 28 || 0%{?mgaversion} >= 7 || 0%{?rhel} >= 8
%__sed -i "kjsembed/tdescript/swaptabs.js" \
-i "kjsembed/stdlib/cmdline.js" \
-e "s|/usr/bin/env kjscmd|%{tde_bindir}/kjscmd|"
@ -1095,11 +1132,7 @@ EXTRA_INCLUDES="/usr/include/ruby-%{rb_ver}:/usr/include/ruby-%{rb_ver}/%{_targe
# Build dcopperl with specific options
pushd dcopperl
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
# [Bug #348] Ugly hack to modify the man pages directory
sed -i "Makefile" -e "s|/usr/share/man|%{tde_mandir}|g"
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=%{tde_mandir}/man3
%__make OPTIMIZE="$RPM_OPT_FLAGS" ||:
popd
@ -1121,6 +1154,7 @@ export PATH="%{tde_bindir}:${PATH}"
find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
-o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
%if "%{?_with_java}" != ""
# Installs juic
%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic
%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common
@ -1130,6 +1164,7 @@ find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
%__install -m 644 qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java
%__install -m 644 qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java
%__install -m 644 qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic
%endif
# kjsembed sample files
%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
@ -1140,12 +1175,6 @@ find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
%__install -m 644 kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
%__install -m 644 kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
# Man installation location is wrong on RHEL4...
if [ -d "%{buildroot}%{_mandir}/man3" ]; then
mv -f %{buildroot}%{_mandir}/man3 %{buildroot}%{tde_mandir}/man3/
rm -rf %{buildroot}%{_mandir}
fi
# Move 'embedjs.desktop' to correct location
%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Utilities/embedjs.desktop" "%{?buildroot}%{tde_tdeappdir}/embedjs.desktop"
%__rm -rf "%{?buildroot}%{tde_datadir}/applnk"

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdeedu
%define tde_prefix /opt/trinity
@ -63,7 +63,7 @@ Source1: %{name}-rpmlintrc
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: autoconf automake libtool m4
BuildRequires: cmake >= 2.8
BuildRequires: desktop-file-utils
# SUSE desktop files utility
@ -80,8 +80,14 @@ BuildRequires: gcc-c++
BuildRequires: fdupes
# PYTHON support
BuildRequires: python-devel
BuildRequires: python
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || 0%{?suse_version} >= 1500
%define python python3
%define __python %__python2
%else
%define python python
%endif
BuildRequires: %{python}
BuildRequires: %{python}-devel
# BOOST support
BuildRequires: boost-devel
@ -89,18 +95,14 @@ BuildRequires: boost-devel
# OCAML support
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildRequires: ocaml(compiler)
#BuildRequires: ocaml-facile-devel
%else
BuildRequires: ocaml
#BuildRequires: ocaml-facile-devel
%endif
# KIG python scripting support
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%if 0%{?suse_version} == 1330 || 0%{?suse_version} >= 1500 || 0%{?fedora} >= 29
%define with_kig 0
%else
%define with_kig 1
%endif
%endif
Obsoletes: trinity-kdeedu < %{version}-%{release}
Provides: trinity-kdeedu = %{version}-%{release}
@ -212,6 +214,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/icons/hicolor/*/apps/blinken.png
%{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz
%{tde_tdedocdir}/HTML/en/blinken/
%{tde_mandir}/man1/blinken*
##########
@ -248,6 +251,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/icons/hicolor/*/apps/kalzium.png
%{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz
%{tde_tdedocdir}/HTML/en/kalzium/
%{tde_mandir}/man1/kalzium*
##########
@ -300,6 +304,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/icons/hicolor/*/apps/kanagram.png
%{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz
%{tde_tdedocdir}/HTML/en/kanagram/
%{tde_mandir}/man1/kanagram*
##########
@ -325,6 +330,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/icons/hicolor/scalable/apps/kbruch.svgz
%{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png
%{tde_tdedocdir}/HTML/en/kbruch/
%{tde_mandir}/man1/kbruch*
##########
@ -343,6 +349,7 @@ This package is part of Trinity, as a component of the TDE education module.
%defattr(-,root,root,-)
%{tde_bindir}/keduca
%{tde_bindir}/keducabuilder
%{tde_bindir}/keduca-shrinker
%{tde_tdelibdir}/libkeducapart.la
%{tde_tdelibdir}/libkeducapart.so
%{tde_tdeappdir}/keduca.desktop
@ -354,6 +361,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/mimelnk/application/x-edugallery.desktop
%{tde_datadir}/services/keduca_part.desktop
%{tde_tdedocdir}/HTML/en/keduca/
%{tde_mandir}/man1/keduca*
##########
@ -374,12 +382,14 @@ This package is part of Trinity, as a component of the TDE education module.
%files -n trinity-kgeography
%defattr(-,root,root,-)
%{tde_bindir}/kgeography
%{tde_bindir}/kgeography_gen_map.pl
%{tde_tdeappdir}/kgeography.desktop
%{tde_datadir}/config.kcfg/kgeography.kcfg
%{tde_datadir}/icons/crystalsvg/*/apps/kgeography.png
%{tde_datadir}/icons/crystalsvg/scalable/apps/kgeography.svgz
%{tde_datadir}/icons/hicolor/*/apps/kgeography.png
%{tde_tdedocdir}/HTML/en/kgeography
%{tde_mandir}/man1/kgeography*
##########
@ -430,6 +440,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/icons/hicolor/*/apps/khangman.png
%{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz
%{tde_tdedocdir}/HTML/en/khangman/
%{tde_mandir}/man1/khangman*
##########
@ -490,6 +501,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_tdedocdir}/HTML/en/kig/
%{tde_confdir}/magic/cabri.magic.mgc
%{tde_confdir}/magic/drgeo.magic.mgc
%{tde_mandir}/man1/kig*
##########
@ -516,6 +528,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_tdedocdir}/HTML/en/kiten/
%{tde_datadir}/icons/hicolor/*/apps/kiten.png
%{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz
%{tde_mandir}/man1/kiten*
##########
@ -550,6 +563,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/icons/hicolor/*/apps/klatin.png
%{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz
%{tde_tdedocdir}/HTML/en/klatin/
%{tde_mandir}/man1/klatin*
##########
@ -579,6 +593,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/icons/hicolor/*/apps/klettres.png
%{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz
%{tde_tdedocdir}/HTML/en/klettres/
%{tde_mandir}/man1/klettres*
##########
@ -635,6 +650,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/mimelnk/application/x-kmplot.desktop
%{tde_datadir}/services/kmplot_part.desktop
%{tde_tdedocdir}/HTML/en/kmplot/
%{tde_mandir}/man1/kmplot*
##########
@ -661,6 +677,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/icons/hicolor/*/apps/kpercentage.png
%{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz
%{tde_tdedocdir}/HTML/en/kpercentage/
%{tde_mandir}/man1/kpercentage*
##########
@ -695,6 +712,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/icons/hicolor/*/apps/kstars.png
%{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz
%{tde_tdedocdir}/HTML/en/kstars/
%{tde_mandir}/man1/kstars*
##########
@ -743,6 +761,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/icons/hicolor/*/apps/ktouch.png
%{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz
%{tde_tdedocdir}/HTML/en/ktouch/
%{tde_mandir}/man1/ktouch*
##########
@ -780,6 +799,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/config.kcfg/kturtle.kcfg
%{tde_datadir}/icons/hicolor/*/apps/kturtle.png
%{tde_tdedocdir}/HTML/en/kturtle/
%{tde_mandir}/man1/kturtle*
##########
@ -809,6 +829,7 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/icons/hicolor/*/apps/kverbos.png
%{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz
%{tde_tdedocdir}/HTML/en/kverbos/
%{tde_mandir}/man1/kverbos*
##########
@ -851,6 +872,8 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/config.kcfg/presettings.kcfg
%{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png
%{tde_tdedocdir}/HTML/en/kvoctrain/
%{tde_mandir}/man1/kvoctrain*
%{tde_mandir}/man1/spotlight2kvtml*
##########
@ -883,6 +906,8 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kwordquiz_doc.svg
%{tde_datadir}/mimelnk/application/x-kwordquiz.desktop
%{tde_tdedocdir}/HTML/en/kwordquiz/
%{tde_mandir}/man1/kwordquiz*
%{tde_mandir}/man1/langen*
##########
@ -1024,6 +1049,12 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_bindir}/temma
%{tde_bindir}/v4ldriver
%{tde_bindir}/v4lphilips
%{tde_mandir}/man1/celestrongps*
%{tde_mandir}/man1/fliccd*
%{tde_mandir}/man1/indi*
%{tde_mandir}/man1/lx200*
%{tde_mandir}/man1/temma*
%{tde_mandir}/man1/v4l*
##########
@ -1062,66 +1093,52 @@ This package contains the development files for tdeedu.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%if 0%{?fedora} >= 30
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
# Fix shebangs
sed -i "kig/pykig/pykig.py" \
-e "s|env python|env python3|"
-e "s|env python|env %{python}|"
%endif
# RHEL5 strange FTBFS on V4L stuff
%if 0%{?rhel} == 5
%__sed -i "admin/acinclude.m4.in" -e "s|-ansi||"
%endif
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export kde_confdir="%{tde_confdir}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
# Specific path for RHEL4
if [ -d "/usr/X11R6" ]; then
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
# Warning: GCC visibility causes FTBFS [Bug #1285]
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_NO_BUILTIN_CHRPATH=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=ON \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility \
-DBIN_INSTALL_DIR="%{tde_bindir}" \
-DCONFIG_INSTALL_DIR="%{tde_confdir}" \
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
-DCONFIG_INSTALL_DIR="%{tde_confdir}" \
-DSYSCONF_INSTALL_DIR="%{tde_confdir}" \
-DXDG_MENU_INSTALL_DIR="%{_sysconfdir}/xdg/menus" \
\
%if 0%{?with_kig}
--enable-kig-python-scripting \
%else
--disable-kig-python-scripting \
%endif
--enable-ocamlsolver
-DWITH_ALL_OPTIONS=ON \
-DWITH_OCAML_SOLVER=OFF \
..
%__make %{_smp_mflags} \
OCAMLLIB=$(ocamlc -where) \
FACILELIB=$(ocamlc -where)
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%__make install DESTDIR=%{buildroot} -C build
# Updates applications categories for openSUSE
%if 0%{?suse_version}

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdegames
%define tde_prefix /opt/trinity

@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdegraphics
%define tde_prefix /opt/trinity
@ -101,7 +101,7 @@ BuildRequires: pcre-devel
BuildRequires: libacl-devel
# GIF support
%if 0%{?suse_version} || 0%{?fedora} >= 28
%if 0%{?suse_version} || 0%{?fedora} >= 28 || 0%{?rhel} >= 8
BuildRequires: giflib-devel
%else
BuildRequires: libungif-devel
@ -130,7 +130,7 @@ BuildRequires: libpaper-devel
%define with_t1lib 1
BuildRequires: t1lib-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora}
%if 0%{?mgaversion} || 0%{?mdkversion} || (0%{?rhel} >= 5 && 0%{?rhel} <= 7) || 0%{?fedora}
%define with_t1lib 1
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}t1lib-devel

@ -1,31 +0,0 @@
diff --git a/tdecore/tdeglobal.h b/tdecore/tdeglobal.h
index b5fddb8..1269c36 100644
--- a/tdecore/tdeglobal.h
+++ b/tdecore/tdeglobal.h
@@ -25,8 +25,10 @@ class KCharsets;
class TDEConfig;
class TDESharedConfig;
class TDEIconLoader;
+#ifdef __TDE_HAVE_TDEHWLIB
class TDEHardwareDevices;
class TDEGlobalNetworkManager;
+#endif
class TDELocale;
class TDEStandardDirs;
class KStaticDeleterBase;
@@ -79,6 +81,7 @@ public:
*/
static TDEIconLoader *iconLoader();
+#ifdef __TDE_HAVE_TDEHWLIB
/**
* Returns a TDEHardwareDevices object.
* @return the global hardware devices object
@@ -90,6 +93,7 @@ public:
* @return the global network manager object
*/
static TDEGlobalNetworkManager *networkManager();
+#endif
/**
* Returns the global locale object.

@ -1,13 +0,0 @@
diff --git a/tdecore/CMakeLists.txt b/tdecore/CMakeLists.txt
index 4d9c4a4..fed951b 100644
--- a/tdecore/CMakeLists.txt
+++ b/tdecore/CMakeLists.txt
@@ -137,7 +137,7 @@ tde_add_library( ${target} SHARED AUTOMOC
EMBED tdecorenetwork-static ${TDEHW_LIB}
LINK ltdlc-static ${KDESVGICONS} DCOP-shared tdefx-shared ${ZLIB_LIBRARIES}
${LIBIDN_LIBRARIES} ${XCOMPOSITE_LIBRARIES} ICE SM ${GAMIN_LIBRARIES}
- ${LIBBFD_LIBRARIES} ${LIB_UTIL}
+ ${LIBBFD_LIBRARIES} ${LIB_UTIL} ${SSL_LIBRARIES}
DEPENDENCIES dcopidl dcopidl2cpp
DESTINATION ${LIB_INSTALL_DIR}
)

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdelibs
%define tde_prefix /opt/trinity
@ -60,9 +60,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Source1: %{name}-rpmlintrc
Patch0: tdelibs-14.0.1.patch
Patch1: tdelibs-14.1.0.patch
Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release}
Obsoletes: trinity-kdelibs < %{version}-%{release}
@ -622,8 +619,6 @@ applications for TDE.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch0 -p1 -b .ftbfs
%patch1 -p1 -b .ftbfs
# RHEL 5: remove tdehwlib stuff from include files, to avoid FTBFS in tdebindings
%if 0%{?rhel} == 5

@ -1 +0,0 @@
tdemultimedia-14.0.0-cmake.spec

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdemultimedia
%define tde_prefix /opt/trinity

@ -26,7 +26,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdenetwork
%define tde_prefix /opt/trinity
@ -46,11 +46,8 @@
# Avoids relinking, which breaks consolehelper
%define dont_relink 1
%if "%{?tde_version}" == "14.0.4"
%define with_aim 1
%else
# Disable AIM support
%define with_aim 0
%endif
Name: trinity-%{tde_pkg}
Summary: Trinity Desktop Environment - Network Applications
@ -184,7 +181,7 @@ BuildRequires: libiw-devel
%endif
# OpenSLP support
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%define with_openslp 1
BuildRequires: openslp-devel
%endif
@ -229,7 +226,7 @@ Requires: jasper
BuildRequires: libacl-devel
# MEANWHILE support
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version}
%if 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?fedora} >= 15 || 0%{?suse_version}
%define with_meanwhile 1
BuildRequires: meanwhile-devel
%endif
@ -915,7 +912,9 @@ and shouldn't be run on a multi-user machine.
%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.png
%{tde_datadir}/icons/hicolor/*/apps/ktalkd.png
%{tde_datadir}/sounds/ktalkd.wav
%if 0%{?fedora} == 0 || 0%{?fedora} <= 30
%dir %{_sysconfdir}/xinetd.d
%endif
%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk
%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd
%{tde_tdedocdir}/HTML/en/ktalkd

@ -1,90 +0,0 @@
diff --git a/kmail/kmkernel.cpp b/kmail/kmkernel.cpp
index aa01c96..d27f041 100644
--- a/kmail/kmkernel.cpp
+++ b/kmail/kmkernel.cpp
@@ -170,17 +170,8 @@ KMKernel::KMKernel (TQObject *parent, const char *name) :
connectDCOPSignal( 0, 0, "kmailSelectFolder(TQString)",
"selectFolder(TQString)", false );
- mNetworkManager = TDEGlobal::networkManager();
- if (mNetworkManager) {
- connect( mNetworkManager, TQT_SIGNAL( networkDeviceStateChanged( TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString ) ),
- this, TQT_SLOT( slotNetworkStateChanged( TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString ) ) );
- if (networkStateConnected()) {
- resumeNetworkJobs();
- }
- else {
- stopNetworkJobs();
- }
- }
+ // Assume connected
+ resumeNetworkJobs();
}
KMKernel::~KMKernel ()
@@ -2470,34 +2461,8 @@ int KMKernel::timeOfLastMessageCountChange() const
bool KMKernel::networkStateConnected()
{
- if (mNetworkManager) {
- TDENetworkGlobalManagerFlags::TDENetworkGlobalManagerFlags networkStatus = mNetworkManager->backendStatus();
- if ((networkStatus & TDENetworkGlobalManagerFlags::Connected)
- || (networkStatus & TDENetworkGlobalManagerFlags::BackendUnavailable)
- || (networkStatus == TDENetworkGlobalManagerFlags::Unknown)
- ){
- // Connected or no backend available
- return true;
- }
- else {
- // Not connected
- return false;
- }
- }
- else {
- // Assume connected
- return true;
- }
-}
-
-void KMKernel::slotNetworkStateChanged(TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString)
-{
- if (networkStateConnected()) {
- resumeNetworkJobs();
- }
- else {
- stopNetworkJobs();
- }
+ // Assume connected
+ return true;
}
Wallet *KMKernel::wallet() {
diff --git a/kmail/kmkernel.h b/kmail/kmkernel.h
index 0dc4644..37a3eec 100644
--- a/kmail/kmkernel.h
+++ b/kmail/kmkernel.h
@@ -14,8 +14,6 @@
#include <tdeimproxy.h>
#include <tdepimmacros.h>
-#include <tdenetworkconnections.h>
-
#include "kmailIface.h"
#include "kmmsgbase.h"
#include "globalsettings.h"
@@ -436,7 +434,6 @@ public slots:
protected slots:
void slotDataReq(TDEIO::Job*,TQByteArray&);
void slotResult(TDEIO::Job*);
- void slotNetworkStateChanged(TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString);
signals:
void configChanged();
@@ -527,7 +524,6 @@ private:
TQString mAddMessageLastFolder;
KMFolder *mAddMsgCurrentFolder;
- TDEGlobalNetworkManager *mNetworkManager;
};
#endif

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdepim
%define tde_prefix /opt/trinity

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdesdk
%define tde_prefix /opt/trinity
@ -98,7 +98,12 @@ BuildRequires: pcre-devel
# for kbugbuster/libkcal
BuildRequires: desktop-file-utils
# DB5 support
%if 0%{?rhel} >= 8
BuildRequires: libdb-devel
# DB4 support
%else
%if 0%{?mgaversion} || 0%{?mdkversion}
#BuildRequires: %{_lib}db4.8-devel
%endif
@ -108,6 +113,7 @@ BuildRequires: db4-devel
%if 0%{?suse_version}
BuildRequires: libdb-4_8-devel
%endif
%endif
# kbabel, F-7+: flex >= 2.5.33-9
BuildRequires: flex
@ -126,6 +132,13 @@ BuildRequires: perl-podlators
# OPENSSL support
BuildRequires: openssl-devel
# PYTHON support
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30
%define python python3
%else
%define python python
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}ltdl-devel
BuildRequires: %{_lib}binutils-devel
@ -454,7 +467,7 @@ This package is part of Trinity, and a component of the TDE SDK module.
%package -n trinity-tdecachegrind-converters
Summary: Format converters for tdecachegrind profiling visualisation tool
Group: Development/Languages/Other
Requires: python
Requires: %{python}
%if 0%{?suse_version} || 0%{?rhel} == 4
Requires: php
%else
@ -543,7 +556,7 @@ This package is part of Trinity, and a component of the TDE SDK module.
%package scripts
Summary: a set of useful development scripts for Trinity
Group: Development/Languages/Other
Requires: python
Requires: %{python}
%description scripts
This package contains a number of scripts which can be used to help in
@ -1007,13 +1020,13 @@ This package contains the development files for tdesdk.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%if 0%{?fedora} >= 30
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
# Fix shebangs
sed -i "scripts/kdelnk2desktop.py" \
"scripts/zonetab2pot.py" \
"tdecachegrind/converters/hotshot2calltree" \
"umbrello/umbrello/headings/heading.py" \
-e "s|env python|env python3|"
-e "s|env python|env %{python}|"
%endif

@ -21,7 +21,7 @@
# TDE variables
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdetoys
%define tde_prefix /opt/trinity

@ -21,7 +21,7 @@
# TDE variables
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdeutils
%define tde_prefix /opt/trinity

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdevelop
%define tde_prefix /opt/trinity
@ -108,10 +108,16 @@ BuildRequires: gamin-devel
# PCRE support
BuildRequires: pcre-devel
# DB5 support
%if 0%{?rhel} >= 8
BuildRequires: libdb-devel
%else
# DB4 support
%if 0%{?rhel} || 0%{?fedora}
BuildRequires: db4-devel
%endif
%endif
# FLEX support
BuildRequires: flex

@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%define tde_version 14.0.7
%endif
%define tde_pkg tdewebdev
%define tde_prefix /opt/trinity
Loading…
Cancel
Save