Browse Source

RPM packaging: update for R14

pull/3/head
François Andriot 4 years ago
parent
commit
d19d14a031
50 changed files with 2192 additions and 165 deletions
  1. 1
    0
      redhat/.gitignore
  2. 1
    1
      redhat/Makefile.r14
  3. 1
    1
      redhat/applications/kaffeine/kaffeine-14.0.0.spec
  4. 6
    1
      redhat/applications/kpilot/kpilot-14.0.0.spec
  5. 3
    1
      redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec
  6. 9
    13
      redhat/applications/tdesvn/tdesvn-14.0.0.spec
  7. 12
    2
      redhat/build/build_rpm_package.sh
  8. 1
    1
      redhat/build/get_installed_package_version.sh
  9. 31
    16
      redhat/build/get_latest_tarball_filename.sh
  10. 34
    25
      redhat/build/get_rpm_package_name.sh
  11. 4
    1
      redhat/build/get_source_files.sh
  12. 1
    1
      redhat/build/get_specfile.sh
  13. 17
    0
      redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
  14. 1
    0
      redhat/dependencies/tqt3/tqt3-14.0.0.spec
  15. 11
    1
      redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
  16. 52
    33
      redhat/extras/akode/akode-14.0.0.spec
  17. 101
    0
      redhat/extras/icons-nuvola/icons-nuvola-14.0.0.spec
  18. 138
    0
      redhat/extras/kdevmon/kdevmon-14.0.0.spec
  19. 175
    0
      redhat/extras/kdissert/kdissert-14.0.0.spec
  20. 135
    0
      redhat/extras/kitty/kitty-14.0.0.spec
  21. 163
    0
      redhat/extras/klamav/klamav-14.0.0.spec
  22. 126
    0
      redhat/extras/klibido/klibido-14.0.0.spec
  23. 139
    0
      redhat/extras/kompose/kompose-14.0.0.spec
  24. 142
    0
      redhat/extras/koverartist/koverartist-14.0.0.spec
  25. 142
    0
      redhat/extras/kpacman/kpacman-14.0.0.spec
  26. 4
    4
      redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec
  27. 1
    1
      redhat/main/tdeaddons/tdeaddons-14.0.0.spec
  28. 1
    1
      redhat/main/tdeadmin/tdeadmin-14.0.0.spec
  29. 7
    1
      redhat/main/tdeartwork/tdeartwork-14.0.0.spec
  30. 5
    0
      redhat/main/tdebase/pamd.kcheckpass-trinity.fc21
  31. 16
    0
      redhat/main/tdebase/pamd.kdm-trinity-np.fc21
  32. 19
    0
      redhat/main/tdebase/pamd.kdm-trinity.fc21
  33. 5
    0
      redhat/main/tdebase/pamd.kscreensaver-trinity.fc21
  34. 82
    40
      redhat/main/tdebase/tdebase-14.0.0.spec
  35. BIN
      redhat/main/tdebase/tdm.fc21.pp
  36. 12
    0
      redhat/main/tdebase/tdm.service.fc21
  37. 20
    9
      redhat/main/tdebindings/tdebindings-14.0.0.spec
  38. 1
    1
      redhat/main/tdegames/tdegames-14.0.0.spec
  39. 11
    6
      redhat/main/tdelibs/tdelibs-14.0.0.spec
  40. 6
    1
      redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec
  41. 4
    1
      redhat/main/tdepim/tdepim-14.0.0.spec
  42. 1
    1
      redhat/main/tdesdk/tdesdk-14.0.0.spec
  43. 1
    1
      redhat/main/tdeutils/tdeutils-14.0.0.spec
  44. 3
    1
      redhat/main/tdevelop/tdevelop-14.0.0.spec
  45. 2
    0
      redhat/packages.el5
  46. 2
    0
      redhat/packages.f20
  47. 202
    0
      redhat/packages.f21
  48. 2
    0
      redhat/packages.mga4
  49. 173
    0
      redhat/packages.oss123
  50. 166
    0
      redhat/packages.oss132

+ 1
- 0
redhat/.gitignore View File

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

+ 1
- 1
redhat/Makefile.r14 View File

@@ -269,7 +269,7 @@ libkexiv2: tqtinterface
libkipi: tqtinterface
$(call buildpkg,libraries/libkipi)

libksquirrel: tqtinterface
libksquirrel: tdelibs
$(call buildpkg,libraries/libksquirrel)

libtdeldap: tqtinterface

+ 1
- 1
redhat/applications/kaffeine/kaffeine-14.0.0.spec View File

@@ -108,7 +108,7 @@ BuildRequires: libgstreamer-plugins-base-devel >= 0.10
%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_xine 1
%if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{pclinuxos}
%if 0%{?pclinuxos}
BuildRequires: %{_lib}xine-devel
%else
BuildRequires: %{_lib}xine1.2-devel

+ 6
- 1
redhat/applications/kpilot/kpilot-14.0.0.spec View File

@@ -66,7 +66,7 @@ software does for Windows. KPilot can back-up and restore your Palm Pilot
and synchronize the built-in applications with their TDE counterparts.


%if 0%{?pclinuxos}
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif

@@ -112,6 +112,11 @@ export PATH="%{tde_bindir}:${PATH}"
# Unwanted files
%__rm -f %{?buildroot}%{tde_libdir}/libkpilot.so

# Updates applications categories for openSUSE
%if 0%{?suse_version}
%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kpilot.desktop Utility PDA SyncUtility X-KDE-Utilities-Peripherals
%suse_update_desktop_file -u -r %{?buildroot}%{tde_tdeappdir}/kpalmdoc.desktop Utility PDA X-TDE-Utilities-File
%endif


%clean

+ 3
- 1
redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec View File

@@ -111,6 +111,8 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/tde-settings-power.directory
%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/tde-settings-system.directory

%__rm -f %{buildroot}%{tde_datadir}/applications/tde/laptop.desktop

%clean
%__rm -rf %{buildroot}

@@ -134,7 +136,7 @@ update-desktop-database %{tde_tdeappdir} -q &> /dev/null
%{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/laptop.desktop
%{tde_datadir}/applications/tde/medianotifications.desktop
%{tde_datadir}/applications/tde/systemsettings.desktop
%{tde_datadir}/apps/systemsettings/systemsettingsui.rc

+ 9
- 13
redhat/applications/tdesvn/tdesvn-14.0.0.spec View File

@@ -112,15 +112,14 @@ This package is part of tdesvn-trinity.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}

# Moves HTML files to the correect location
find . -name "*.cmake" -exec %__sed -i {} \
-e "s,/doc/HTML,/doc/tde/HTML,g" \
\;
rm -f src/svnqt/CMakeLists.txt.orig
rm -fr src/svnqt/cache/sqlite3/



%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}"
export PATH="%{tde_bindir}:${PATH}"
export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}"

if ! rpm -E %%cmake|grep -q "cd build"; then
@@ -142,7 +141,6 @@ fi
-DINCLUDE_INSTALL_DIR=%{tde_includedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DMAN_INSTALL_DIR=%{tde_mandir}/man1 \
-DDATA_INSTALL_DIR=%{tde_datadir} \
-DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
\
@@ -217,11 +215,11 @@ fi
%{tde_tdelibdir}/tdesvnpart.la
%{tde_tdelibdir}/tdesvnpart.so
%{tde_datadir}/applications/tde/tdesvn.desktop
%{tde_datadir}/tdeconf_update/tdesvn-use-external-update.sh
%{tde_datadir}/tdeconf_update/tdesvnpartrc-use-external.upd
%{tde_datadir}/tdesvn/tdesvnui.rc
%{tde_datadir}/tdesvnpart/tdesvn_part.rc
%{tde_datadir}/konqueror/servicemenus/tdesvn_subversion.desktop
%{tde_datadir}/apps/tdeconf_update/tdesvn-use-external-update.sh
%{tde_datadir}/apps/tdeconf_update/tdesvnpartrc-use-external.upd
%{tde_datadir}/apps/tdesvn/tdesvnui.rc
%{tde_datadir}/apps/tdesvnpart/tdesvn_part.rc
%{tde_datadir}/apps/konqueror/servicemenus/tdesvn_subversion.desktop
%{tde_datadir}/config.kcfg/tdesvn_part.kcfg
%{tde_datadir}/icons/hicolor/*/*/*.png
%{tde_datadir}/icons/hicolor/*/*/*.svgz
@@ -239,8 +237,6 @@ fi
%{tde_libdir}/libtdesvnevents.so
%{tde_libdir}/libtdesvnhelpers.la
%{tde_libdir}/libtdesvnhelpers.so
#%{tde_datadir}/tdesvn/icons/hicolor/*/apps/tdesvn.png
#%{tde_datadir}/tdesvn/icons/hicolor/scalable/apps/tdesvn.svgz

%files -n trinity-libsvnqt
%defattr(-,root,root,-)

+ 12
- 2
redhat/build/build_rpm_package.sh View File

@@ -21,9 +21,18 @@ LOGFILE=/tmp/log.${COMP##*/}
TEMPDIR="$(mktemp -d)"
cp -f ${SPECFILE} ${SOURCES} ${TARBALL} "${TEMPDIR}"

# Check if there are local patches
### Check for patches

# 1. Check if there is a big, monolithic patch
PATCHDIR="${SPECFILE%/*}/patches"
BIGPATCH="${PATCHDIR}/${PKGNAME}-${TDE_VERSION}.patch"
if [ -r "${BIGPATCH}" ]; then
cp -f "${BIGPATCH}" "${TEMPDIR}/one.patch"
fi

# 2. Check if there are small, local patches
PATCHDIR="${SPECFILE%/*}/patches/${TDE_VERSION}"
PATCHLIST="${PATCHDIR}/patches"
PATCHLIST="${PATCHDIR}/patches.list"
if [ -r "${PATCHLIST}" ]; then
while read l; do
APPLY=""
@@ -69,6 +78,7 @@ rpmbuild -ba \
--define "tde_version ${TDE_VERSION}" \
--define "tde_prefix /opt/trinity" \
--define "preversion ${PREVERSION:-}" \
--define "tde_patch 1" \
--define "with_akode 1" \
--define "with_jack 1" \
--define "with_lame 1" \

+ 1
- 1
redhat/build/get_installed_package_version.sh View File

@@ -14,7 +14,7 @@ if [ -z "${VERSION}" ] || [[ "${VERSION}" =~ "not installed" ]]; then
fi

VERSION=${VERSION/-*_/\~}
VERSION=${VERSION%-[0-9]}
#VERSION=${VERSION%-[0-9]}
VERSION=${VERSION%.opt}
VERSION=${VERSION%.[a-z]*}


+ 31
- 16
redhat/build/get_latest_tarball_filename.sh View File

@@ -6,22 +6,37 @@ TDE_VERSION="${2:-14.0.0}"
[ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1
[ -d "${TARBALLS_DIR}" ] || TARBALLS_DIR=~/tde/tde-tarballs/${TDE_VERSION}/
[ -d "${TDE_PACKAGING_DIR}" ] || TDE_PACKAGING_DIR=~/tde/tde-packaging
[ -d "${DIST_PACKAGING_DIR}" ] || DIST_PACKAGING_DIR=${PACKAGING_DIR}/redhat/
[ -d "${DIST_PACKAGING_DIR}" ] || DIST_PACKAGING_DIR=${TDE_PACKAGING_DIR}/redhat/

EXTRA_DIR="$(cd ${TARBALLS_DIR}/../extras/; pwd)"

RET=$(find "${TARBALLS_DIR}" -name "trinity-${PKGNAME}-${TDE_VERSION}*.tar.gz" | sort -n | tail -n 1)
[ -r "${RET}" ] && echo "${RET}" && exit 0

RET=$(find "${TARBALLS_DIR}" "${EXTRA_DIR}" -name "${PKGNAME}-${TDE_VERSION}*.tar.gz" | sort -n | tail -n 1)
[ -r "${RET}" ] && echo "${RET}" && exit 0

RET=$(find "${TARBALLS_DIR}" -name "trinity-${PKGNAME}-[0-9]*.tar.gz" | sort -n | tail -n 1)
if [ -z "${RET}" ]; then
RET=$(find "${TARBALLS_DIR}/../extras/" -name "${PKGNAME}[-_][0-9]*.tar.*" | sort -n | tail -n 1)
fi
if [ ! -r "${RET}" ]; then
# Retry without 'trinity-*', and allow any TAR extension.
RET=$(find "${DIST_PACKAGING_DIR}" -name "${PKGNAME}-[0-9]*.tar*" | sort -n | tail -n 1)
if [ ! -r "${RET}" ]; then
# Retry by removing numbers in package name, e.g "imlib1" => "imlib"
RET=$(find "${DIST_PACKAGING_DIR}" -name "$(tr -d "[0-9]" <<< ${PKGNAME})-[0-9]*.tar*" | sort -n | tail -n 1)
fi
fi

[ -z "${RET}" ] && exit 2

echo "${RET}"
[ -r "${RET}" ] && echo "${RET}" && exit 0

RET=$(find "${EXTRA_DIR}" -name "${PKGNAME}[-_][0-9]*.tar.*" | sort -n | tail -n 1)
[ -r "${RET}" ] && echo "${RET}" && exit 0

# Now look in the 'tde-packaging' directory
RET=$(find "${DIST_PACKAGING_DIR}" -name "${PKGNAME}-[0-9]*.tar*" | sort -n | tail -n 1)
[ -r "${RET}" ] && echo "${RET}" && exit 0

# Retry without 'trinity-*', and allow any TAR extension.
RET=$(find "${DIST_PACKAGING_DIR}" -name "${PKGNAME}-[0-9]*.tar*" | sort -n | tail -n 1)
[ -r "${RET}" ] && echo "${RET}" && exit 0

# Retry without 'trinity-*', and allow any TAR extension.
RET=$(find "${DIST_PACKAGING_DIR}" -name "${PKGNAME}-[0-9]*.tar*" | sort -n | tail -n 1)
[ -r "${RET}" ] && echo "${RET}" && exit 0

# Retry by removing numbers in package name, e.g "imlib1" => "imlib"
RET=$(find "${DIST_PACKAGING_DIR}" -name "$(tr -d "[0-9]" <<< ${PKGNAME})-[0-9]*.tar*" | sort -n | tail -n 1)
[ -r "${RET}" ] && echo "${RET}" && exit 0


exit 0

+ 34
- 25
redhat/build/get_rpm_package_name.sh View File

@@ -20,7 +20,9 @@ case "${PKGNAME}" in
# In case prefix is already there, don't add it again.
"trinity-"*) PREFIX="";;
# Most TDE dependencies have no prefix
"avahi-tqt"|"dbus-tqt"|"dbus-1-tqt"|"libart-lgpl"|"libcarddav"|"libcaldav"|"python-tqt"|"sip4-tqt"|"qt3"|"tqscintilla"|"tqt3"|"tqtinterface"|"tqca"|"tqca-tls") PREFIX="";;
"avahi-tqt"|"dbus-tqt"|"dbus-1-tqt"|"libart-lgpl"|"libcaldav"|"libcarddav"|"python-tqt"|"sip4-tqt"|"qt3"|"tqscintilla"|"tqt3"|"tqtinterface"|"tqca"|"tqca-tls") PREFIX="";;
# Most TDE libraries have no prefix
#"libkdcraw") PREFIX="";;
# 3rd party dependencies
"esound"|"fileshareset"|"hk_classes"|"python-qt3") PREFIX="";;
# Extra build stuff
@@ -40,23 +42,27 @@ fi

case "${PKGNAME}" in
# Some packages have different runtime name than source package.
"avahi-tqt") PKGRUNTIME="${lib}avahi-tqt1";;
"dbus-tqt") PKGRUNTIME="${lib}dbus-tqt-1-0";;
"dbus-1-tqt") PKGRUNTIME="${lib}dbus-1-tqt0";;
"esound") PKGRUNTIME="esound-libs";;
"koffice") PKGRUNTIME="koffice-suite";;
"libart-lgpl") PKGRUNTIME="${lib}art_lgpl_2-2";;
"libcaldav") PKGRUNTIME="${lib}caldav0";;
"libcarddav") PKGRUNTIME="${lib}carddav0";;
"tqscintilla") PKGRUNTIME="${lib}tqscintilla7";;
"tqca") PKGRUNTIME="${lib}tqca1";;
"tqca-tls") PKGRUNTIME="${lib}tqt3-mt-tqca-tls";;
"tqt3") PKGRUNTIME="${lib}tqt3-mt";;
"avahi-tqt") PKGRUNTIME="${lib}avahi-tqt1";;
"dbus-tqt") PKGRUNTIME="${lib}dbus-tqt-1-0";;
"dbus-1-tqt") PKGRUNTIME="${lib}dbus-1-tqt0";;
"esound") PKGRUNTIME="esound-libs";;
"koffice") PKGRUNTIME="koffice-suite";;
"libart-lgpl") PKGRUNTIME="${lib}art_lgpl_2-2";;
"libcaldav") PKGRUNTIME="${lib}caldav0";;
"libcarddav") PKGRUNTIME="${lib}carddav0";;
"libkdcraw") PKGRUNTIME="${lib}kdcraw4";;
"libkexiv2") PKGRUNTIME="${lib}kexiv2-5";;
"libkipi") PKGRUNTIME="${lib}kipi0";;
"tqscintilla") PKGRUNTIME="${lib}tqscintilla7";;
"tqca") PKGRUNTIME="${lib}tqca1";;
"tqca-tls") PKGRUNTIME="${lib}tqt3-mt-tqca-tls";;
"tqt3") PKGRUNTIME="${lib}tqt3-mt";;
"tqtinterface") PKGRUNTIME="${lib}tqt4";;
# Language package: install only French language package
"k3b-i18n"|"koffice-i18n"|"tde-i18n") PKGRUNTIME="${PKGNAME}-French";;
"k3b-i18n"|"koffice-i18n"|"tde-i18n")
PKGRUNTIME="${PKGNAME}-French";;
# Default case: runtime package has same name as source package
*) PKGRUNTIME="${PKGNAME}";;
*) PKGRUNTIME="${PKGNAME}";;
esac

# Finally, display the runtime package name.
@@ -80,19 +86,22 @@ if [ -n "${DEVEL}" ]; then

# Some package have specific development package.
case "${PKGNAME}" in
"avahi-tqt") PKGDEVEL="libavahi-tqt-devel";;
"dbus-tqt") PKGDEVEL="libdbus-tqt-1-devel";;
"dbus-1-tqt") PKGDEVEL="libdbus-1-tqt-devel";;
"esound") PKGDEVEL="esound-devel";;
"pan") PKGDEVEL="uulib-devel";;
"avahi-tqt") PKGDEVEL="libavahi-tqt-devel";;
"dbus-tqt") PKGDEVEL="libdbus-tqt-1-devel";;
"dbus-1-tqt") PKGDEVEL="libdbus-1-tqt-devel";;
"esound") PKGDEVEL="esound-devel";;
"pan") PKGDEVEL="uulib-devel";;
"libart-lgpl") PKGDEVEL="libart_lgpl-devel";;
"libcaldav") PKGDEVEL="${lib}caldav-devel";;
"libcarddav") PKGDEVEL="${lib}carddav-devel";;
"tqca") PKGDEVEL="${lib}tqca-devel";;
"libcaldav") PKGDEVEL="${lib}caldav-devel";;
"libcarddav") PKGDEVEL="${lib}carddav-devel";;
"libkdcraw") PKGDEVEL="${lib}kdcraw-devel";;
"libkexiv2") PKGDEVEL="${lib}kexiv2-devel";;
"libkipi") PKGDEVEL="${lib}kipi-devel";;
"tqca") PKGDEVEL="${lib}tqca-devel";;
"tqscintilla") PKGDEVEL="${lib}tqscintilla-devel";;
"tqt3") PKGDEVEL="tqt3-dev-tools tqt3-apps-devel tqt3-compat-headers";;
"tqt3") PKGDEVEL="tqt3-dev-tools tqt3-apps-devel tqt3-compat-headers";;
# Default case: development package has same name as runtime package, plus '-devel' suffix.
*) PKGDEVEL="${PKGRUNTIME}-devel";;
*) PKGDEVEL="${PKGRUNTIME}-devel";;
esac

# Finally, other packages do have a '-devel'

+ 4
- 1
redhat/build/get_source_files.sh View File

@@ -11,10 +11,13 @@ SPECDIR="${SPECFILE%/*}"

while read var val; do
case "${var}" in
Version:*) VERSION="${val}";;
Source[0-9]*:|Source:|Patch[0-9]*:)
FILE=$(rpm -E "${SPECDIR}/${val##*/}")
FILE=$(rpm --define "tde_pkg ${PKGNAME}" --define "tde_version ${TDE_VERSION}" --define "name ${PKGNAME}" --define "version ${VERSION}" -E "${SPECDIR}/${val##*/}")
if [ -r "${FILE}" ]; then
echo "${FILE}"
else
echo "Warning: cannot find '${FILE}'" >&2
fi
;;
esac

+ 1
- 1
redhat/build/get_specfile.sh View File

@@ -6,7 +6,7 @@ TDE_VERSION="${2:-14.0.0}"
[ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1

[ -d "${TDE_PACKAGING_DIR}" ] || TDE_PACKAGING_DIR=~/tde/tde-packaging
[ -d "${DIST_PACKAGING_DIR}" ] || DIST_PACKAGING_DIR=${PACKAGING_DIR}/redhat
[ -d "${DIST_PACKAGING_DIR}" ] || DIST_PACKAGING_DIR=${TDE_PACKAGING_DIR}/redhat

# Special case for QT3
if [ "${PKGNAME}" = "qt3" ]; then

+ 17
- 0
redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec View File

@@ -54,9 +54,26 @@ BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: libtool

# GLIB2 support
BuildRequires: glib2-devel

# GETTEXT support
BuildRequires: gettext-devel

# Xi support
%if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}xi-devel
%endif
%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: libXi-devel
%endif
%if 0%{?suse_version} == 1140
BuildRequires: libXi6-devel
%endif

# DBUS support
%if 0%{?suse_version}
BuildRequires: dbus-1-devel

+ 1
- 0
redhat/dependencies/tqt3/tqt3-14.0.0.spec View File

@@ -1291,6 +1291,7 @@ for d in \
%{_includedir}/Xft2/X11/Xft \
%{_includedir}/mysql \
%{_includedir}/libpng15 \
%{_includedir}/libpng16 \
; do
if [ -d "${d}" ]; then
INCDIRS="${INCDIRS} -I${d}"

+ 11
- 1
redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec View File

@@ -69,6 +69,16 @@ BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig

# UUID support
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6
%define uuid_devel libuuid-devel
%endif
%if 0%{?rhel} == 5
%define uuid_devel e2fsprogs-devel
%endif
%{?uuid_devel:BuildRequires: %{uuid_devel}}


# PTHREAD support
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
BuildRequires: pth-devel
@@ -92,7 +102,7 @@ BuildRequires: Mesa-libGLU-devel
BuildRequires: xorg-x11-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}xi-devel
BuildRequires: libxi-devel
%endif
%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: libXi-devel

+ 52
- 33
redhat/extras/akode/akode-14.0.0.spec View File

@@ -1,34 +1,56 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif

# TDE 3.5.13 specific building variables
#
# spec file for package akode (version R14.0.0)
#
# 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/
#

# BUILD WARNING:
# Remove qt-devel and qt3-devel and any kde*-devel on your system !
# Having KDE libraries may cause FTBFS here !

# TDE variables
%define tde_epoch 2
%define tde_version 14.0.0
%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/kde
%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

%define _docdir %{tde_docdir}
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif

Summary: Audio-decoding framework
Name: trinity-akode
Summary: Audio-decoding framework
Group: System Environment/Libraries
Epoch: %{tde_epoch}
Version: 2.0.2
Release: 6%{?dist}%{?_variant}
Release: 1%{?dist}%{?_variant}
URL: http://www.kde-apps.org/content/show.php?content=30375

License: LGPLv2+
Group: System Environment/Libraries
#URL: http://carewolf.com/akode/
URL: http://www.kde-apps.org/content/show.php?content=30375

Source0: akode-14.0.0.tar.gz
Source0: akode-%{tde_version}.tar.gz

Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -135,15 +157,15 @@ aKode also has the following audio outputs:
%package devel
Summary: Headers for developing programs that will use %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%{?_with_jack:Requires: %{name}-jack = %{version}-%{release}}
%{?_with_pulseaudio:Requires: %{name}-pulseaudio = %{version}-%{release}}
%{?_with_libsamplerate:Requires: %{name}-libsamplerate = %{version}-%{release}}
%{?_with_libmad:Requires: %{name}-libmad = %{version}-%{release}}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%{?_with_jack:Requires: %{name}-jack = %{?epoch:%{epoch}:}%{version}-%{release}}
%{?_with_pulseaudio:Requires: %{name}-pulseaudio = %{?epoch:%{epoch}:}%{version}-%{release}}
%{?_with_libsamplerate:Requires: %{name}-libsamplerate = %{?epoch:%{epoch}:}%{version}-%{release}}
%{?_with_libmad:Requires: %{name}-libmad = %{?epoch:%{epoch}:}%{version}-%{release}}
Requires: pkgconfig

%description devel
%{summary}.
This package contains the development files for Akode.

%files devel
%defattr(-,root,root,-)
@@ -166,10 +188,10 @@ Requires: pkgconfig
%package jack
Summary: Jack audio output backend for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}

%description jack
%{summary}.
This package contains the Jack audio output backend for Akode.

%files jack
%defattr(-,root,root,-)
@@ -191,10 +213,10 @@ Requires: %{name} = %{version}-%{release}
%package pulseaudio
Summary: Pulseaudio output backend for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}

%description pulseaudio
%{summary}.
This package contains the pulseaudio backend for Akode.
Recommended for network transparent audio.

%files pulseaudio
@@ -219,10 +241,10 @@ Recommended for network transparent audio.
Summary: Resampler based on libsamplerate for %{name}
Group: Development/Libraries
License: GPLv2+
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}

%description libsamplerate
%{summary}.
This package contains the samplerate decoder for Akode.

# License: GPLv2+
%files libsamplerate
@@ -245,10 +267,10 @@ Requires: %{name} = %{version}-%{release}
%package libmad
Summary: Decoder based on libmad for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}

%description libmad
%{summary}.
This package contains the mad decoder for Akode.

%files libmad
%{tde_libdir}/libakode_mpeg_decoder.la
@@ -264,7 +286,7 @@ Requires: %{name} = %{version}-%{release}

##########

%if 0%{?suse_version} || 0%{?pclinuxos}
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif

@@ -279,9 +301,6 @@ Requires: %{name} = %{version}-%{release}


%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"

export CXXFLAGS="${RPM_OPT_FLAGS} -DHAVE_STDINT_H"

%configure \
@@ -331,5 +350,5 @@ done


%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-6
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:2.0.2-1
- Initial release for TDE 14.0.0

+ 101
- 0
redhat/extras/icons-nuvola/icons-nuvola-14.0.0.spec View File

@@ -0,0 +1,101 @@
# Default version for this component
%define tde_pkg icons-nuvola
%define tde_version 14.0.0

# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif

# TDE specific building variables
%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_appdir %{tde_datadir}/applications

%define tde_tdeappdir %{tde_appdir}/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity

%define _docdir %{tde_docdir}


Name: trinity-%{tde_pkg}
Summary: Nuvola icons for TDE Desktop
Version: 1.0
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}

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: icons-nuvola-14.0.0.tar.bz2

BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils

BuildRequires: gettext


%description
Nuvola SVG evolution of SKY icon theme.
NUVOLA is an SVG based icon theme.
This mean that all icons where designed with a vector graphics software and
then exported to SVG.
Icons of the TDE version of Nuvola are PNG images (unscalable).
SVG files are available (not always updated) on my web site in the "svg"
section.


%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif


%prep
%setup -q -n nuvola


%build


%install
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/16x16
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/32x32
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/48x48
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/64x64
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/128x128
rm -f thanks.to~
cp -fr * %{buildroot}%{tde_datadir}/icons/nuvola/


%clean
%__rm -rf %{buildroot}




%files
%defattr(-,root,root,-)
%doc author license.txt readme.txt
%{tde_datadir}/icons/nuvola/


%changelog
* Sat Sep 20 2014 Francois Andriot <francois.andriot@free.fr> - 1.0-1
- Initial release for TDE 14.0.0

+ 138
- 0
redhat/extras/kdevmon/kdevmon-14.0.0.spec View File

@@ -0,0 +1,138 @@
# Default version for this component
%define tde_pkg kdevmon
%define tde_version 14.0.0

# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif

# TDE specific building variables
%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_appdir %{tde_datadir}/applications

%define tde_tdeappdir %{tde_appdir}/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity

%define _docdir %{tde_docdir}


Name: trinity-%{tde_pkg}
Summary: A utility for monitoring the throughput of one network device
Version: 0.4.6
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}

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: %{tde_pkg}-%{tde_version}.tar.gz

BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils

BuildRequires: gettext


%description
Kdevmon is a utility for TDE that monitors the throughput of a network device.
It docks in Kicker (the panel of TDE) and shows the current network traffic
as a diagram. There also is a resizable main window that provides a larger
traffic diagram and displays the current net speed in bits per second.
Middle-clicking on the dock window or on the main window offers
you an overview of the amount of incoming/outgoing bits and the current and
the maximum bit rate.

%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif


%prep
%setup -q -n %{tde_pkg}-%{version}

%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/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} \
--docdir=%{tde_tdedocdir} \
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility

%__make %{?_smp_mflags} || %__make


%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}


%clean
%__rm -rf %{buildroot}


%post
for f in locolor ; do
touch --no-create %{tde_datadir}/icons/${f} || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done
/sbin/ldconfig


%postun
for f in locolor ; do
touch --no-create %{tde_datadir}/icons/${f} || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done
/sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{tde_bindir}/kdevmon
%{tde_datadir}/applnk/Internet/kdevmon.desktop
%{tde_tdedocdir}/HTML/en/kdevmon/
%{tde_datadir}/icons/locolor/16x16/apps/kdevmon.png
%{tde_datadir}/icons/locolor/32x32/apps/kdevmon.png


%changelog
* Sat Sep 20 2014 Francois Andriot <francois.andriot@free.fr> - 0.4.6-1
- Initial release for TDE 14.0.0

+ 175
- 0
redhat/extras/kdissert/kdissert-14.0.0.spec View File

@@ -0,0 +1,175 @@
# Default version for this component
%define tde_pkg kdissert
%define tde_version 14.0.0

# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif

# TDE specific building variables
%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_appdir %{tde_datadir}/applications

%define tde_tdeappdir %{tde_appdir}/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity

%define _docdir %{tde_docdir}


Name: trinity-%{tde_pkg}
Summary: Mindmapping Tool
Version: 1.0.6c
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}

License: GPLv2+
Group: Applications/Utilities

Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
#URL: http://www.trinitydesktop.org/
URL: http://freehackers.org/~tnagy/kdissert/

Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Source0: %{tde_pkg}-%{tde_version}.tar.gz
Source1: TDE.py

BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils

BuildRequires: gettext


%description
KDissert is a mindmapping tool dedicated to the creation of complex
documents: dissertations, thesis, presentations, and reports. It
features several document generators: latex reports, latex slides
(based on Prosper and Beamer), OpenOffice.org writer and impress, html,
and plain text.

%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif


%prep
%setup -q -n %{tde_pkg}-%{version}


%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"

%__rm -rf "$HOME/.waf*"
./waf || :
%__install -D "%{SOURCE1}" "$HOME/.waf-0.9.0/wafadmin/Tools/KDE3.py"

export CPPFLAGS="${CPPFLAGS} -I%{tde_tdeincludedir} -I%{_includedir}/tqt -I%{_includedir}/tqt3"

./waf configure --libsuffix=64 \
%ifarch x86_64 ppc64 s390x
--libsuffix=64 \
%endif
--prefix=%{tde_prefix} \
--qtdir=/usr \
--qtincludes=/usr/include/tqt3 \
--kdeincludes=%{tde_tdeincludedir}

./waf


%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
./waf --destdir=%{buildroot} install

%find_lang %{tde_pkg}


%clean
%__rm -rf %{buildroot}
%__rm -rf "$HOME/.waf*"


%post
for f in hicolor ; do
touch --no-create %{tde_datadir}/icons/${f} || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done
/sbin/ldconfig


%postun
for f in hicolor ; do
touch --no-create %{tde_datadir}/icons/${f} || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done
/sbin/ldconfig


%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%{tde_bindir}/kdissert
%{tde_tdelibdir}/libkdissOOOdoc.la
%{tde_tdelibdir}/libkdissOOOdoc.so
%{tde_tdelibdir}/libkdissOOOimpress.la
%{tde_tdelibdir}/libkdissOOOimpress.so
%{tde_tdelibdir}/libkdissapplet.la
%{tde_tdelibdir}/libkdissapplet.so
%{tde_tdelibdir}/libkdissasciidoc.la
%{tde_tdelibdir}/libkdissasciidoc.so
%{tde_tdelibdir}/libkdissbeamerslides.la
%{tde_tdelibdir}/libkdissbeamerslides.so
%{tde_tdelibdir}/libkdissdocbook.la
%{tde_tdelibdir}/libkdissdocbook.so
%{tde_tdelibdir}/libkdisshtmldoc.la
%{tde_tdelibdir}/libkdisshtmldoc.so
%{tde_tdelibdir}/libkdisspdflatexarticle.la
%{tde_tdelibdir}/libkdisspdflatexarticle.so
%{tde_tdelibdir}/libkdisspdflatexbook.la
%{tde_tdelibdir}/libkdisspdflatexbook.so
%{tde_tdelibdir}/libkdissprosperslides.la
%{tde_tdelibdir}/libkdissprosperslides.so
%{tde_tdelibdir}/libkdissstx.la
%{tde_tdelibdir}/libkdissstx.so
%{tde_tdeappdir}/kdissert.desktop
%{tde_datadir}/apps/kdissert/
%{tde_datadir}/apps/kdissertpart/kdissertpart.rc
%{tde_datadir}/config.kcfg/kdissert.kcfg
%{tde_datadir}/doc/tde/HTML/en/kdissert/
%lang(fr) %{tde_datadir}/doc/tde/HTML/fr/kdissert/
%{tde_datadir}/icons/hicolor/128x128/actions/kdissert_sort.png
%{tde_datadir}/icons/hicolor/128x128/apps/kdissert.png
%{tde_datadir}/icons/hicolor/16x16/actions/kdissert_link.png
%{tde_datadir}/icons/hicolor/16x16/actions/kdissert_point.png
%{tde_datadir}/icons/hicolor/16x16/actions/kdissert_sort.png
%{tde_datadir}/icons/hicolor/16x16/apps/kdissert.png
%{tde_datadir}/icons/hicolor/22x22/actions/kdissert_link.png
%{tde_datadir}/icons/hicolor/22x22/actions/kdissert_point.png
%{tde_datadir}/icons/hicolor/22x22/actions/kdissert_sort.png
%{tde_datadir}/icons/hicolor/22x22/apps/kdissert.png
%{tde_datadir}/icons/hicolor/32x32/actions/kdissert_link.png
%{tde_datadir}/icons/hicolor/32x32/actions/kdissert_point.png
%{tde_datadir}/icons/hicolor/32x32/actions/kdissert_sort.png
%{tde_datadir}/icons/hicolor/32x32/apps/kdissert.png
%{tde_datadir}/icons/hicolor/64x64/actions/kdissert_sort.png
%{tde_datadir}/icons/hicolor/64x64/apps/kdissert.png
%{tde_datadir}/mimelnk/application/x-kdissert.desktop
%{tde_datadir}/services/kdissertpart.desktop


%changelog
* Sat Sep 20 2014 Francois Andriot <francois.andriot@free.fr> - 1.0.6c-1
- Initial release for TDE 14.0.0

+ 135
- 0
redhat/extras/kitty/kitty-14.0.0.spec View File

@@ -0,0 +1,135 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif

%define tde_version 14.0.0

# TDE specific building variables
%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/kde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity

%define _docdir %{tde_docdir}

Summary: a TQt/TDE based RSS podcast and video aggregator
Name: trinity-kitty
Version: 0.9.2
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}

License: GPL
Group: Applications/Network

Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org

Source: kitty_0.9.2.orig.tar.gz
Patch1: kitty_0.9.2-2.1.diff.gz
Patch2: kitty-14.0.0-ftbfs.patch

Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)


BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: automake
BuildRequires: libtool


%description
Kitty is a simple graphical podcast and video podcast client which allows
you to tune in, watch, download and bookmark podcasts and video podcasts.

%files
%defattr(-,root,root,-)
%{tde_bindir}/kitty
%{tde_datadir}/applnk/Utilities/kitty.desktop
%{tde_datadir}/apps/kitty/
%{tde_tdedocdir}/HTML/en/kitty/
%{tde_datadir}/icons/hicolor/*/apps/kitty.png

%post
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :

%postun
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :

##########

%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif

##########

%prep
%setup -q -n kitty-0.9.2.orig
%patch1 -p1
patch -p1 < debian/patches/00_am_edit.patch
patch -p1 < debian/patches/01_qsizepolicy.patch

rm -rf admin
~/tde/tde_r14/experimental/qt3-tqt3/convert_existing_qt3_app_to_tqt3
~/tde/tde_r14/experimental/kde-tde/convert_existing_kde3_app_to_tde
cp -rf ~/tde/tde_r14/main/common/admin/ .

mv src/khtml_kget_cancel.png src/tdehtml_kget_cancel.png
mv src/khtml_kget.png src/tdehtml_kget.png

%patch2 -p1

%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/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} \
--includedir=%{tde_includedir} \
--datadir=%{tde_datadir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility

%__make %{?_smp_mflags} || %__make


%install
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}



%clean
%__rm -rf %{buildroot}


%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.2-1
- Initial release for TDE 14.0.0

+ 163
- 0
redhat/extras/klamav/klamav-14.0.0.spec View File

@@ -0,0 +1,163 @@
# Default version for this component
%define tde_pkg klamav
%define tde_version 14.0.0

# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif

# TDE specific building variables
%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_appdir %{tde_datadir}/applications

%define tde_tdeappdir %{tde_appdir}/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity

%define _docdir %{tde_docdir}


Name: trinity-%{tde_pkg}
Summary: Frontend for clamav
Version: 0.46
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}

License: GPLv2+
Group: Applications/Utilities

Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
#URL: http://www.trinitydesktop.org/
Url: http://klamav.sourceforge.net/

Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Source0: %{tde_pkg}-%{tde_version}.tar.gz

BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils

BuildRequires: gettext
BuildRequires: curl-devel
BuildRequires: gmp-devel
BuildRequires: sqlite-devel
#BuildRequires: unsermake
BuildRequires: fdupes

BuildRequires: clamav
Requires: clamav

%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: clamav-devel
%endif


%description
A TDE front-end for the Clam AntiVirus antivirus toolkit.

%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif


%prep
%setup -q -n %{tde_pkg}-%{version}

%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/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}"

# Warning: --enable-final causes FTBFS
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--docdir=%{tde_tdedocdir} \
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility \
\
--without-included-sqlite \
--with-extra-includes=%{_includedir}/tqt

find . -name "*.cpp" | while read f; do
mf="${f%.cpp}.moc"
if grep -qw "${mf##*/}" "${f}" && [ ! -f "${mf}" ]; then
tqmoc "${f%.cpp}.h" -o "${mf}"
fi
done

%__make %{?_smp_mflags} || %__make


%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}

%find_lang %{tde_pkg}


%clean
%__rm -rf %{buildroot}

%post
for f in hicolor ; do
touch --no-create %{tde_datadir}/icons/${f} || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done
/sbin/ldconfig


%postun
for f in hicolor ; do
touch --no-create %{tde_datadir}/icons/${f} || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done
/sbin/ldconfig


%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%{tde_bindir}/ScanWithKlamAV
%{tde_bindir}/klamarkollon
%{tde_bindir}/klamav
%{tde_bindir}/klammail
%{tde_tdeappdir}/klamav.desktop
%{tde_datadir}/apps/klamav/
%{tde_datadir}/apps/konqueror/servicemenus/klamav-dropdown.desktop
%{tde_datadir}/config.kcfg/klamavconfig.kcfg
%{tde_tdedocdir}/HTML/en/klamav02/
%{tde_datadir}/icons/hicolor/32x32/apps/klamav.png
%{tde_datadir}/icons/hicolor/48x48/apps/klamav.png


%changelog
* Sat Sep 20 2014 Francois Andriot <francois.andriot@free.fr> - 0.46-1
- Initial release for TDE 14.0.0

+ 126
- 0
redhat/extras/klibido/klibido-14.0.0.spec View File

@@ -0,0 +1,126 @@
# Default version for this component
%define tde_pkg klibido
%define tde_version 14.0.0

# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif

# TDE specific building variables
%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_appdir %{tde_datadir}/applications

%define tde_tdeappdir %{tde_appdir}/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity

%define _docdir %{tde_docdir}

Name: trinity-%{tde_pkg}
Summary: A TDE usenet news grabber for Linux.
Version: 0.2.5
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}

License: GPL
Group: Applications/Network

Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://klibido.sourceforge.net/

Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Source0: %{tde_pkg}-%{version}.tar.gz

BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils

BuildRequires: uulib-devel


%description
KLibido is a TDE program to download encoded articles from the usenet news
service, using the nntp protocol. It supports multiple servers, multiple
download threads per server, automatic joining and decoding of articles.

KLibido is not a NewsReader. It doesn't let you easily display the articles -
only their subject, and it discards all non-binary posts. If you want a nice
newsreader for TDE, try KNode.

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README RELEASE TODO
%{tde_bindir}/klibido
%{tde_datadir}/applnk/Utilities/klibido.desktop
%{tde_datadir}/apps/klibido/
%{tde_datadir}/doc/tde/HTML/en/klibido/
%{tde_datadir}/icons/hicolor/*/apps/klibido.png
%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/klibido.mo

##########

%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif

##########

%prep
%setup -q -n %{tde_pkg}-%{version}

%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/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}"

if [ -r /usr/include/db53/db_cxx.h ]; then
EXTRA_INCLUDES="/usr/include/db53"
fi

%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility \
\
--with-extra-includes=%{_includedir}/uulib:${EXTRA_INCLUDES}

%__make %{?_smp_mflags} || %__make


%install
%__rm -rf $RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%changelog
* Mon Dec 30 2013 François Andriot <francois.andriot@free.fr> - 0.25-1
- Initial release

+ 139
- 0
redhat/extras/kompose/kompose-14.0.0.spec View File

@@ -0,0 +1,139 @@
# Default version for this component
%define tde_pkg kompose
%define tde_version 14.0.0

# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif

# TDE specific building variables
%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_appdir %{tde_datadir}/applications

%define tde_tdeappdir %{tde_appdir}/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity

%define _docdir %{tde_docdir}


Name: trinity-%{tde_pkg}
Summary: Full-Screen Task Manager for TDE
Version: 0.5.3
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}

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: %{tde_pkg}-%{tde_version}.tar.gz

BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils

BuildRequires: gettext
BuildRequires: imlib2-devel


%description
Kompose creates a full-screen view in which every window is represented
by a scaled screen shot of it. It appears as a panel applet.


%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif


%prep
%setup -q -n %{tde_pkg}-%{version}

%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/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}"

# Warning: --enable-final causes FTBFS
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--docdir=%{tde_tdedocdir} \
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility

%__make %{?_smp_mflags} || %__make


%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}

%find_lang %{tde_pkg}


%clean
%__rm -rf %{buildroot}


%post
for f in hicolor ; do
touch --no-create %{tde_datadir}/icons/${f} || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done
/sbin/ldconfig


%postun
for f in hicolor ; do
touch --no-create %{tde_datadir}/icons/${f} || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done
/sbin/ldconfig


%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc TODO README AUTHORS ChangeLog COPYING
%{tde_bindir}/kompose
%{tde_datadir}/applnk/Utilities/kompose.desktop
%{tde_datadir}/apps/kompose/
%{tde_tdedocdir}/HTML/en/kompose/
%{tde_datadir}/icons/hicolor/16x16/apps/kompose.png
%{tde_datadir}/icons/hicolor/32x32/apps/kompose.png


%changelog
* Sat Sep 20 2014 Francois Andriot <francois.andriot@free.fr> - 0.5.3-1
- Initial release for TDE 14.0.0

+ 142
- 0
redhat/extras/koverartist/koverartist-14.0.0.spec View File

@@ -0,0 +1,142 @@
# Default version for this component
%define tde_pkg koverartist
%define tde_version 14.0.0

# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif

# TDE specific building variables
%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_appdir %{tde_datadir}/applications

%define tde_tdeappdir %{tde_appdir}/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity

%define _docdir %{tde_docdir}


Name: trinity-%{tde_pkg}
Summary: Fast Creation of CD/DVD Covers
Version: 0.5
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}

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: %{tde_pkg}-%{tde_version}.tar.gz

BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils

BuildRequires: gettext


%description
KoverArtist is a program for the fast creation of covers for
cd/dvd cases and boxes. The main idea behind it is to be able
to create decent looking covers with some mouseclicks.


%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif


%prep
%setup -q -n %{tde_pkg}-%{version}

%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/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} \
--docdir=%{tde_tdedocdir} \
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility

%__make %{?_smp_mflags} || %__make


%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}

%find_lang %{tde_pkg}


%clean
%__rm -rf %{buildroot}


%post
for f in hicolor ; do
touch --no-create %{tde_datadir}/icons/${f} || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done
/sbin/ldconfig


%postun
for f in hicolor ; do
touch --no-create %{tde_datadir}/icons/${f} || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done
/sbin/ldconfig


%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%{tde_bindir}/koverartist
%{tde_datadir}/applnk/Multimedia/koverartist.desktop
%{tde_datadir}/apps/koverartist/
%{tde_tdedocdir}/HTML/en/koverartist/
%{tde_datadir}/icons/hicolor/128x128/apps/koverartist.png
%{tde_datadir}/icons/hicolor/16x16/apps/koverartist.png
%{tde_datadir}/icons/hicolor/22x22/apps/koverartist.png
%{tde_datadir}/icons/hicolor/32x32/apps/koverartist.png
%{tde_datadir}/icons/hicolor/48x48/apps/koverartist.png
%{tde_datadir}/icons/hicolor/64x64/apps/koverartist.png
%{tde_datadir}/mimelnk/application/x-koverartist.desktop


%changelog
* Sat Sep 20 2014 Francois Andriot <francois.andriot@free.fr> - 0.5-1
- Initial release for TDE 14.0.0

+ 142
- 0
redhat/extras/kpacman/kpacman-14.0.0.spec View File

@@ -0,0 +1,142 @@
# Default version for this component
%define tde_pkg kpacman
%define tde_version 14.0.0

# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif

# TDE specific building variables
%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_appdir %{tde_datadir}/applications

%define tde_tdeappdir %{tde_appdir}/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity

%define _docdir %{tde_docdir}


Name: trinity-%{tde_pkg}
Summary: A pacman game for the Trinity Desktop.
Version: 0.3.2
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}

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: %{tde_pkg}-14.0.0.tar.gz

BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils

BuildRequires: gettext


%description
Pacman is a legendary game with an enthusiastic following from around
the world. Since its introduction in 1980, Pacman's image has been
splashed across magazine covers, television screens, T-shirts, and
bumper stickers. Created by Japan's Namco, and distributed in the
United States by Bally, Pacman is an icon of 1980's popular culture

%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif


%prep
%setup -q -n %{tde_pkg}-%{version}

%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/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} \
--docdir=%{tde_tdedocdir} \
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility

%__make %{?_smp_mflags} || %__make


%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}

%find_lang %{tde_pkg}

%clean
%__rm -rf %{buildroot}


%post
for f in hicolor locolor ; do
touch --no-create %{tde_datadir}/icons/${f} || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done
/sbin/ldconfig


%postun
for f in hicolor locolor ; do
touch --no-create %{tde_datadir}/icons/${f} || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done
/sbin/ldconfig


%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README TODO
%{tde_bindir}/kpacman
%{tde_datadir}/applnk/Games/kpacman.desktop
%{tde_datadir}/apps/kpacman/
%{tde_datadir}/config/kpacmanrc
%lang(de) %{tde_tdedocdir}/HTML/de/kpacman/
%{tde_tdedocdir}/HTML/en/kpacman/
%{tde_datadir}/icons/hicolor/16x16/apps/kpacman.png
%{tde_datadir}/icons/hicolor/32x32/apps/kpacman.png
%{tde_datadir}/icons/locolor/16x16/apps/kpacman.png
%{tde_datadir}/icons/locolor/32x32/apps/kpacman.png


%changelog
* Sat Sep 20 2014 Francois Andriot <francois.andriot@free.fr> - 0.3.2-1
- Initial release for TDE 14.0.0

+ 4
- 4
redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec View File

@@ -541,10 +541,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}

# Avoid conflict with tdelibs
%__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png
%__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/scalable/apps/kttsd.svgz

# Move desktop files to correct XDG location
%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Applications/kmag.desktop" "%{?buildroot}%{tde_tdeappdir}"
%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Applications/kmousetool.desktop" "%{?buildroot}%{tde_tdeappdir}"
@@ -558,6 +554,10 @@ for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i
for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kttsd.png hicolor/"$i"x"$i"/apps/kcmkttsd.png ;done
popd

# Avoid conflict with tdelibs
%__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png
%__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/scalable/apps/kttsd.svgz

# Updates applications categories for openSUSE
%if 0%{?suse_version}
%suse_update_desktop_file -r kmag Utility Accessibility

+ 1
- 1
redhat/main/tdeaddons/tdeaddons-14.0.0.spec View File

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

+ 1
- 1
redhat/main/tdeadmin/tdeadmin-14.0.0.spec View File

@@ -25,6 +25,7 @@
%define tde_pkg tdeadmin
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
%define tde_sbindir %{tde_prefix}/sbin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
@@ -99,7 +100,6 @@ BuildRequires: pam-devel
BuildRequires: lilo
%endif

Requires: trinity-tdeadmin = %{version}-%{release}
Requires: trinity-kcron = %{version}-%{release}
Requires: trinity-kdat = %{version}-%{release}
Requires: %{name}-kfile-plugins = %{version}-%{release}

+ 7
- 1
redhat/main/tdeartwork/tdeartwork-14.0.0.spec View File

@@ -106,7 +106,7 @@ BuildRequires: libXScrnSaver-devel
BuildRequires: xscreensaver
BuildRequires: xscreensaver-base
BuildRequires: xscreensaver-extras
%if 0%{?fedora} || 0%{?rhel} >= 6
%if 0%{?fedora}
BuildRequires: xscreensaver-extras-base
%endif
BuildRequires: xscreensaver-gl-base
@@ -716,6 +716,9 @@ This package is part of Trinity, and a component of the TDE artwork module.

%if 0%{?fedora} >= 20
%{tde_datadir}/applnk/System/ScreenSavers/winduprobot.desktop
%{tde_datadir}/applnk/System/ScreenSavers/binaryring.desktop
%{tde_datadir}/applnk/System/ScreenSavers/cityflow.desktop
%{tde_datadir}/applnk/System/ScreenSavers/geodesicgears.desktop
%endif

%endif
@@ -798,6 +801,9 @@ chmod +x "%{?buildroot}%{tde_bindir}/xscreensaver-getimage-file"

# Fix missing screensavers on Fedora 20
%if 0%{?with_xscreensaver} && 0%{?fedora} >= 20
touch "%{?buildroot}%{tde_datadir}/applnk/System/ScreenSavers/binaryring.desktop"
touch "%{?buildroot}%{tde_datadir}/applnk/System/ScreenSavers/cityflow.desktop"
touch "%{?buildroot}%{tde_datadir}/applnk/System/ScreenSavers/geodesicgears.desktop"
touch "%{?buildroot}%{tde_datadir}/applnk/System/ScreenSavers/projectiveplane.desktop"
touch "%{?buildroot}%{tde_datadir}/applnk/System/ScreenSavers/tessellimage.desktop"
touch "%{?buildroot}%{tde_datadir}/applnk/System/ScreenSavers/winduprobot.desktop"

+ 5
- 0
redhat/main/tdebase/pamd.kcheckpass-trinity.fc21 View File

@@ -0,0 +1,5 @@
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth
session include system-auth

+ 16
- 0
redhat/main/tdebase/pamd.kdm-trinity-np.fc21 View File

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

+ 19
- 0
redhat/main/tdebase/pamd.kdm-trinity.fc21 View File

@@ -0,0 +1,19 @@
#%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 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 include postlogin

+ 5
- 0
redhat/main/tdebase/pamd.kscreensaver-trinity.fc21 View File

@@ -0,0 +1,5 @@
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth
session include system-auth

+ 82
- 40
redhat/main/tdebase/tdebase-14.0.0.spec View File

@@ -170,6 +170,14 @@ Requires: fedora-logos
%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
%endif

# Fedora 21 Theme
%if 0%{?fedora} == 21
Requires: f21-backgrounds-base
%define tde_bg /usr/share/backgrounds/f21/default/standard/f21.png
Requires: fedora-logos
%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
%endif

# RHEL 4 Theme
%if 0%{?rhel} == 4
Requires: desktop-backgrounds-basic
@@ -235,7 +243,7 @@ Requires: desktop-common-data

# OpenSuse 11.4 Theme
%if "%{?suse_version}" == "1140"
Requires: hicolor-icon-theme-branding = 11.4
Requires: hicolor-icon-theme-branding
%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
%endif

@@ -243,7 +251,7 @@ Requires: hicolor-icon-theme-branding = 11.4
%if "%{?suse_version}" == "1220"
Requires: wallpaper-branding = 12.2
%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
Requires: hicolor-icon-theme-branding = 12.2
Requires: hicolor-icon-theme-branding
%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
%endif

@@ -251,7 +259,7 @@ Requires: hicolor-icon-theme-branding = 12.2
%if "%{?suse_version}" == "1230"
Requires: wallpaper-branding = 12.3
%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
Requires: hicolor-icon-theme-branding = 12.3
Requires: hicolor-icon-theme-branding
%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
%endif

@@ -259,7 +267,7 @@ Requires: hicolor-icon-theme-branding = 12.3
%if "%{?suse_version}" == "1310"
Requires: wallpaper-branding = 13.1
%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
Requires: hicolor-icon-theme-branding = 13.1
Requires: hicolor-icon-theme-branding
%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
%endif

@@ -267,7 +275,7 @@ Requires: hicolor-icon-theme-branding = 13.1
%if "%{?suse_version}" == "1320"
Requires: wallpaper-branding = 13.2
%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
Requires: hicolor-icon-theme-branding = 13.2
Requires: hicolor-icon-theme-branding
%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
%endif

@@ -533,7 +541,20 @@ BuildRequires: drakconf

# LIBCONFIG support
# Needed for "compton" stuff
%if 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora}
%define with_compton 1
BuildRequires: libconfig-devel
%endif

# KBDLEDSYNC support
%if 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora}
%define with_kbdledsync 1
%endif

# TDERANDR support
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%define with_tderandrtray 1
%endif

# tdebase is a metapackage that installs all sub-packages
Requires: %{name}-runtime-data-common = %{version}-%{release}
@@ -758,7 +779,7 @@ Summary: Common libraries used by kwrite and kate
Group: System/GUI/Other

%description -n trinity-libkateinterfaces
%{summary}.
This package contains the kateinterface library.

%files -n trinity-libkateinterfaces
%defattr(-,root,root,-)
@@ -961,8 +982,10 @@ plugdev group.
%{tde_tdelibdir}/kcm_fontinst.so
%{tde_tdelibdir}/kcm_fonts.la
%{tde_tdelibdir}/kcm_fonts.so
%if 0%{?with_tdehwlib}
%{tde_tdelibdir}/kcm_hwmanager.la
%{tde_tdelibdir}/kcm_hwmanager.so
%endif
%{tde_tdelibdir}/kcm_icons.la
%{tde_tdelibdir}/kcm_icons.so
%{tde_tdelibdir}/kcm_info.la
@@ -1062,7 +1085,9 @@ plugdev group.
%{tde_tdeappdir}/filebrowser.desktop
%{tde_tdeappdir}/filetypes.desktop
%{tde_tdeappdir}/fonts.desktop
%if 0%{?with_tdehwlib}
%{tde_tdeappdir}/hwmanager.desktop
%endif
%{tde_tdeappdir}/icons.desktop
%{tde_tdeappdir}/installktheme.desktop
%{tde_tdeappdir}/interrupts.desktop
@@ -1169,7 +1194,7 @@ plugdev group.
%{tde_tdedocdir}/HTML/en/tdefontview/

# The following features are not compiled under RHEL 5 and older
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%if 0%{?with_tderandrtray}
%{tde_bindir}/tderandrtray
%{tde_tdelibdir}/kcm_displayconfig.la
%{tde_tdelibdir}/kcm_displayconfig.so