RPM Packaging: massive update spec files

pull/3/head
François Andriot 10 years ago
parent d3c1f8ab66
commit 2835777e9a

@ -1,5 +1,5 @@
#
# spec file for package abakus (version R14.0.0)
# spec file for package abakus (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg abakus
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,6 +1,25 @@
#
# spec file for package adept (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/
#
# Default version for this component
%define tde_pkg adept
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"

@ -1,5 +1,5 @@
#
# spec file for package amarok (version R14.0.0)
# spec file for package amarok (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg amarok
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -419,6 +421,13 @@ use any of xmms' visualisation plugins with Amarok.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Fix some Ruby stuff
if ! ruby -rrbconfig -e "puts Config.expand( Config::MAKEFILE_CONFIG['MAJOR'] )" &>/dev/null; then
%__sed -i "amarok/src/mediadevice/daap/ConfigureChecks.cmake" \
-e "s|Config::|RbConfig::|g" \
-e "s|Config\.|RbConfig\.|g"
fi
%build
unset QTDIR QTINC QTLIB

@ -1,5 +1,5 @@
#
# spec file for package basket (version R14.0.0)
# spec file for package basket (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg basket
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package bibletime (version R14.0.0)
# spec file for package bibletime (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg bibletime
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -0,0 +1,185 @@
#
# spec file for package bibletime (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.1
%endif
%define tde_pkg bibletime
%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: 1.6.6.0
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: A bible study tool for Trinity
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: %{_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: autoconf automake libtool m4
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: libtool
BuildRequires: desktop-file-utils
BuildRequires: gettext
# 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
# BOOST support
BuildRequires: boost-devel
# Requires: clucene
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6
BuildRequires: clucene-core-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}clucene-devel
%endif
# Requires: sword
BuildRequires: sword-devel
Requires: sword
%description
BibleTime is a free and easy to use bible study tool for UNIX systems.
It requires a working TDE environment and the SWORD library.
BibleTime provides easy handling of digitized texts (Bibles, commentaries
and lexicons) and powerful features to work with these texts (search in
texts, write own notes, save, print etc.).
##########
%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/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}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility
# Not SMP safe !
%__make -C bibletime/frontend
# SMP safe !
%__make %{?_smp_mflags} || %__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/pics/*
%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/bibletimeui.rc
%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/tips
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_datadir}/applications/bibletime.desktop"
%clean
%__rm -rf %{buildroot}
%post
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
update-desktop-database %{tde_datadir}/applications -q &> /dev/null
%postun
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
update-desktop-database %{tde_datadir}/applications -q &> /dev/null
%files
%defattr(-,root,root,-)
%{tde_bindir}/bibletime
%{tde_tdeincludedir}/bibletimeinterface.h
%{tde_datadir}/applications/bibletime.desktop
%{tde_datadir}/apps/bibletime/
%{tde_datadir}/icons/hicolor/*/*/*.png
%{tde_tdedocdir}/HTML/en/bibletime/
%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:1.6.6.0-1
- Initial release for TDE 14.0.0

@ -1,5 +1,5 @@
#
# spec file for package digikam (version R14.0.0)
# spec file for package digikam (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg digikam
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package dolphin (version R14.0.0)
# spec file for package dolphin (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg dolphin
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package filelight (version R14.0.0)
# spec file for package filelight (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg filelight
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,6 +1,8 @@
# 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())")

@ -1,5 +1,5 @@
#
# spec file for package gtk-qt-engine (version R14.0.0)
# spec file for package gtk-qt-engine (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg gtk-qt-engine
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications
@ -73,8 +75,12 @@ BuildRequires: libtool
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
BuildRequires: gtk2-devel
%else
%if 0%{?mgaversion} >= 5
BuildRequires: %{_lib}gtk+2.0-devel
%else
BuildRequires: gtk+2.0-devel
%endif
%endif
# SUSE desktop files utility
%if 0%{?suse_version}

@ -1,5 +1,5 @@
#
# spec file for package gtk3-tqt-engine (version R14.0.0)
# spec file for package gtk3-tqt-engine (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg gtk3-tqt-engine
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package gwenview-i18n (version R14.0.0)
# spec file for package gwenview-i18n (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg gwenview-i18n
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package gwenview (version R14.0.0)
# spec file for package gwenview (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg gwenview
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package k3b-i18n (version R14.0.0)
# spec file for package k3b-i18n (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg k3b-i18n
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package k3b (version R14.0.0)
# spec file for package k3b (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg k3b
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package k9copy (version R14.0.0)
# spec file for package k9copy (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg k9copy
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -0,0 +1,177 @@
#
# spec file for package k9copy (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.0
%endif
%define tde_pkg k9copy
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications
%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: 1.2.3
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: DVD backup tool for Trinity
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: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: trinity-k3b-devel
BuildRequires: autoconf automake libtool m4
BuildRequires: gcc-c++
BuildRequires: pkgconfig
# SUSE desktop files utility
%if 0%{?suse_version}
BuildRequires: update-desktop-files
%endif
%if 0%{?opensuse_bs} && 0%{?suse_version}
# for xdg-menu script
BuildRequires: brp-check-trinity
%endif
# Warning: the target distribution must have ffmpeg !
BuildRequires: ffmpeg-devel
Requires: ffmpeg
%description
k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9
to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R).
This is the Trinity version.
##########
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
##########
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Removes internal dvdread headers
%__rm -rf dvdread
%__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}"
# FFMPEG ...
if [ -d /usr/include/ffmpeg ]; then
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg"
fi
# NOTICE: --enable-final causes FTBFS !
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--disable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility \
\
--enable-k3bdevices
%__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
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
update-desktop-database %{tde_appdir} &> /dev/null
%postun
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
update-desktop-database %{tde_appdir} &> /dev/null
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{tde_bindir}/k9copy
%{tde_tdeappdir}/k9copy.desktop
%{tde_datadir}/apps/k9copy/
%{tde_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop
%lang(en) %{tde_tdedocdir}/HTML/en/k9copy/
%{tde_datadir}/icons/hicolor/*/apps/k9copy.png
%changelog
* Mon Jul 29 2013 Francois Andriot <francois.andriot@free.fr> - 2:1.2.3-1
- Initial release for TDE 14.0.0

@ -1,6 +1,25 @@
#
# spec file for package kaffeine-mozilla (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/
#
# Default version for this component
%define tde_pkg kaffeine-mozilla
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"

@ -1,5 +1,5 @@
#
# spec file for package kaffeine (version R14.0.0)
# spec file for package kaffeine (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kaffeine
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications
@ -184,7 +186,7 @@ BuildRequires: kernel-headers
BuildRequires: glibc-kernheaders
%endif
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
%description
Kaffeine is a xine-based media player for TDE. It plays back CDs,
@ -229,7 +231,7 @@ update-desktop-database >& /dev/null ||:
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: trinity-tdelibs-devel
%description devel
@ -254,7 +256,7 @@ Summary: %{name} runtime libraries
Group: System Environment/Libraries
# include to be paranoid, installing libs-only is still mostly untested -- Rex
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description libs
%{summary}.

@ -1,5 +1,5 @@
#
# spec file for package kasablanca (version R14.0.0)
# spec file for package kasablanca (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kasablanca
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications
@ -54,7 +56,7 @@ Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch0: %{tde_pkg}-%{tde_version}.patch
Patch0: %{tde_pkg}-14.0.0.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}

@ -1,5 +1,5 @@
#
# spec file for package katapult (version R14.0.0)
# spec file for package katapult (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg katapult
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package kbarcode (version R14.0.0)
# spec file for package kbarcode (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kbarcode
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications
@ -79,7 +81,7 @@ BuildRequires: brp-check-trinity
# PCRE support
BuildRequires: pcre-devel
Requires: %{name}-tdefile-plugin = %{version}-%{release}
Requires: %{name}-tdefile-plugin = %{?epoch:%{epoch}:}%{version}-%{release}
%description
@ -134,7 +136,7 @@ update-desktop-database %{tde_appdir} &> /dev/null
%package tdefile-plugin
Summary: tdefile-plugin for %{name}
Group: Applications/Utilities
#Requires: %{name} = %{version}-%{release}
#Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description tdefile-plugin
%{summary}.

@ -1,5 +1,5 @@
#
# spec file for package kbfx (version R14.0.0)
# spec file for package kbfx (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kbfx
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package kbibtex (version R14.0.0)
# spec file for package kbibtex (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kbibtex
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package kbiff (version R14.0.0)
# spec file for package kbiff (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kbiff
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package kbookreader (version R14.0.0)
# spec file for package kbookreader (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kbookreader
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package kchmviewer (version R14.0.0)
# spec file for package kchmviewer (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kchmviewer
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package kcmautostart (version R14.0.0)
# spec file for package kcmautostart (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kcmautostart
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package kcmldap (version R14.0.0)
# spec file for package kcmldap (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kcmldap
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications
@ -62,8 +64,8 @@ BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: trinity-libtdeldap-devel >= 0.5
Requires: trinity-tde-ldap-cert-updater = %{version}-%{release}
Requires: trinity-kcontrol-ldap-bonding = %{version}-%{release}
Requires: trinity-tde-ldap-cert-updater = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: trinity-kcontrol-ldap-bonding = %{?epoch:%{epoch}:}%{version}-%{release}
BuildRequires: autoconf automake libtool m4
BuildRequires: gcc-c++
@ -98,7 +100,7 @@ This is a meta-package that installs all kcmldap related packages.
%package -n trinity-kcontrol-ldap-bonding
Summary: Kerberos control module for the TDE control center
Group: Applications/Utilities
Requires: trinity-tde-ldap-cert-updater = %{version}-%{release}
Requires: trinity-tde-ldap-cert-updater = %{?epoch:%{epoch}:}%{version}-%{release}
%description -n trinity-kcontrol-ldap-bonding
This is a TDE control center module to manage TDE connections to Kerberos realms.
@ -125,7 +127,7 @@ touch --no-create %{tde_datadir}/icons/hicolor || :
%package -n trinity-tde-ldap-cert-updater
Summary: Service to keep LDAP certificates up-to-date
Group: Applications/Utilities
Requires: trinity-kcontrol-ldap-bonding = %{version}-%{release}
Requires: trinity-kcontrol-ldap-bonding = %{?epoch:%{epoch}:}%{version}-%{release}
%description -n trinity-tde-ldap-cert-updater
This is a small daemon which keeps the LDAP root certificate up to date with the LDAP server

@ -1,5 +1,5 @@
#
# spec file for package kcmldapcontroller (version R14.0.0)
# spec file for package kcmldapcontroller (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kcmldapcontroller
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -83,7 +85,7 @@ BuildRequires: openldap-devel
BuildRequires: openldap2-devel
%endif
Requires: trinity-kcontrol-ldap-controller = %{version}-%{release}
Requires: trinity-kcontrol-ldap-controller = %{?epoch:%{epoch}:}%{version}-%{release}
%description
This is a meta-package that installs all kcmldap related packages.

@ -1,5 +1,5 @@
#
# spec file for package kcmldapmanager (version R14.0.0)
# spec file for package kcmldapmanager (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kcmldapmanager
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -83,7 +85,7 @@ BuildRequires: openldap-devel
BuildRequires: openldap2-devel
%endif
Requires: trinity-kcontrol-ldap-manager = %{version}-%{release}
Requires: trinity-kcontrol-ldap-manager = %{?epoch:%{epoch}:}%{version}-%{release}
%description
This is a meta-package that installs all kcmldap related packages.

@ -1,5 +1,5 @@
#
# spec file for package kcpuload (version R14.0.0)
# spec file for package kcpuload (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kcpuload
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kdbg (version R14.0.0)
# spec file for package kdbg (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kdbg
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kdbusnotification (version R14.0.0)
# spec file for package kdbusnotification (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kdbusnotification
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kdiff3 (version R14.0.0)
# spec file for package kdiff3 (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kdiff3
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kdirstat (version R14.0.0)
# spec file for package kdirstat (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kdirstat
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package keep (version R14.0.0)
# spec file for package keep (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg keep
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kerberostray (version R14.0.0)
# spec file for package kerberostray (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kerberostray
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,6 +1,25 @@
#
# spec file for package kerry (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/
#
# Default version for this component
%define tde_pkg kerry
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"

@ -1,5 +1,5 @@
#
# spec file for package kftprgrabber (version R14.0.0)
# spec file for package kftprgrabber (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kftpgrabber
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -53,7 +55,7 @@ Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch0: %{tde_pkg}-%{tde_version}.patch
Patch0: %{tde_pkg}-14.0.0.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}

@ -1,5 +1,5 @@
#
# spec file for package kgtk-qt3 (version R14.0.0)
# spec file for package kgtk-qt3 (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kgtk-qt3
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kile (version R14.0.0)
# spec file for package kile (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kile
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kima (version R14.0.0)
# spec file for package kima (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kima
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package kiosktool (version R14.0.0)
# spec file for package kiosktool (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kiosktool
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package kkbswitch (version R14.0.0)
# spec file for package kkbswitch (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kkbswitch
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package klcddimmer (version R14.0.0)
# spec file for package klcddimmer (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg klcddimmer
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications

@ -1,5 +1,5 @@
#
# spec file for package kmplayer (version R14.0.0)
# spec file for package kmplayer (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kmplayer
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -54,7 +56,7 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch0: %{tde_pkg}-%{tde_version}.patch
Patch0: %{tde_pkg}-14.0.0.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
@ -145,7 +147,7 @@ BuildRequires: dbus-1-glib-devel
BuildRequires: dbus-glib-devel
%endif
Requires: %{name}-base = %{version}-%{release}
Requires: %{name}-base = %{?epoch:%{epoch}:}%{version}-%{release}
%description
@ -224,7 +226,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%package konq-plugins
Group: Applications/Multimedia
Requires: %{name}-base = %{version}-%{release}
Requires: %{name}-base = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: trinity-konqueror >= %{tde_version}
Summary: KMPlayer plugin for KHTML/Konqueror [Trinity]
@ -246,7 +248,7 @@ browser plugins.
%package doc
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Summary: Handbook for KMPlayer [Trinity]
%description doc

@ -0,0 +1,323 @@
#
# spec file for package kmplayer (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.0
%endif
%define tde_pkg kmplayer
%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.10.0c
Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant}
Summary: Media player for Trinity
Group: Applications/Multimedia
URL: http://www.trinitydesktop.org/
#URL: http://kmplayer.kde.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: libtool
# 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
# DBUS support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
%endif
# GSTREAMER support
%if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?pclinuxos}
BuildRequires: libgstreamer0.10-devel
%else
BuildRequires: %{_lib}gstreamer0.10-devel
%endif
BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel
%endif
%if 0%{?rhel} == 4
BuildRequires: gstreamer-devel
#BuildRequires: gstreamer-plugins-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-base-devel
%endif
%if 0%{?suse_version}
BuildRequires: gstreamer-0_10-devel
BuildRequires: gstreamer-0_10-plugins-base-devel
%endif
# XINE support
%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}
BuildRequires: %{_lib}xine-devel
%else
BuildRequires: %{_lib}xine1.2-devel
%endif
%endif
%if 0%{?fedora} || 0%{?rhel}
BuildRequires: xine-lib-devel
%endif
%if 0%{?suse_version}
BuildRequires: libxine-devel
%endif
%endif
# X11 stuff
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libxt-devel
BuildRequires: libxv-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1210
BuildRequires: libXv-devel
%endif
%if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel
%endif
%if 0%{?suse_version} == 1140
BuildRequires: xorg-x11-libXv-devel
%endif
# GTK2 stuff
BuildRequires: gtk2-devel
# DBUS stuff
%if 0%{?suse_version}
BuildRequires: dbus-1-glib-devel
%else
BuildRequires: dbus-glib-devel
%endif
Requires: %{name}-base = %{?epoch:%{epoch}:}%{version}-%{release}
%description
A basic audio/video viewer application for Trinity.
KMPlayer can:
* play DVD (DVDNav only with the Xine player)
* play VCD
* let the backend players play from a pipe (read from stdin)
* play from a TV device (experimental)
* show backend player's console output
* launch ffserver (only 0.4.8 works) when viewing from a v4l device
* DCOP KMediaPlayer interface support
* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard TDE
shortcut configure window
* Lots of configurable shortcuts. Highly recommended for the VDR keys
(if you have VDR) and volume increase/decrease
%post
/sbin/ldconfig || :
%postun
/sbin/ldconfig || :
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm
%{tde_bindir}/kmplayer
%{tde_bindir}/knpplayer
%{tde_bindir}/kxvplayer
%{tde_libdir}/libtdeinit_kmplayer.la
%{tde_libdir}/libtdeinit_kmplayer.so
%{tde_tdelibdir}/kmplayer.la
%{tde_tdelibdir}/kmplayer.so
%{tde_tdeappdir}/kmplayer.desktop
%exclude %{tde_datadir}/apps/kmplayer/bookmarks.xml
%exclude %{tde_datadir}/apps/kmplayer/kmplayerpartui.rc
%exclude %{tde_datadir}/apps/kmplayer/noise.gif
%exclude %{tde_datadir}/apps/kmplayer/pluginsinfo
%{tde_datadir}/apps/kmplayer/
##########
%package base
Group: Applications/Multimedia
Summary: Base files for KMPlayer [Trinity]
%description base
Core files needed for KMPlayer.
%post base
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
/sbin/ldconfig || :
%postun base
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
/sbin/ldconfig || :
%files base
%defattr(-,root,root,-)
%{tde_libdir}/libkmplayercommon.la
%{tde_libdir}/libkmplayercommon.so
%{tde_bindir}/kgstplayer
%{tde_bindir}/kxineplayer
%{tde_datadir}/config/kmplayerrc
%{tde_datadir}/apps/kmplayer/bookmarks.xml
%{tde_datadir}/apps/kmplayer/noise.gif
%{tde_datadir}/icons/hicolor/*/apps/kmplayer.png
%{tde_datadir}/icons/hicolor/*/apps/kmplayer.svgz
%{tde_datadir}/mimelnk/application/x-kmplayer.desktop
%{tde_datadir}/mimelnk/video/x-ms-wmp.desktop
##########
%package konq-plugins
Group: Applications/Multimedia
Requires: %{name}-base = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: trinity-konqueror >= %{tde_version}
Summary: KMPlayer plugin for KHTML/Konqueror [Trinity]
%description konq-plugins
This plugin enables audio/video playback inside konqueror, using Xine (with
*kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web
tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin
browser plugins.
%files konq-plugins
%defattr(-,root,root,-)
%{tde_tdelibdir}/libkmplayerpart.la
%{tde_tdelibdir}/libkmplayerpart.so
%{tde_datadir}/apps/kmplayer/kmplayerpartui.rc
%{tde_datadir}/apps/kmplayer/pluginsinfo
%{tde_datadir}/services/kmplayer_part.desktop
##########
%package doc
Group: Applications/Multimedia
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Summary: Handbook for KMPlayer [Trinity]
%description doc
Documention for KMPlayer, a basic audio/video viewer application for TDE.
%files doc
%defattr(-,root,root,-)
%{tde_tdedocdir}/HTML/*/kmplayer
##########
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
##########
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/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:${PKG_CONFIG_PATH}"
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--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}
# Removes unwanted files
%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop
# Updates applications categories for openSUSE
%if 0%{?suse_version}
%suse_update_desktop_file -r "%{tde_pkg}" TDE AudioVideo Player Video
%endif
%clean
%__rm -rf %{buildroot}
%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:0.10.0c-1
- Initial release for TDE 14.0.0

@ -1,5 +1,5 @@
#
# spec file for package kmyfirewall (version R14.0.0)
# spec file for package kmyfirewall (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kmyfirewall
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kmymoney (version R14.0.0)
# spec file for package kmymoney (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kmymoney
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -54,6 +56,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: kmymoneytitlelabel.png
Patch0: kmymoney-14.0.1-ftbfs.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
@ -100,7 +103,7 @@ BuildRequires: openjade-devel
BuildRequires: libtqt3-mt-sqlite3
Requires: libtqt3-mt-sqlite3
Requires: %{name}-common == %{version}-%{release}
Requires: %{name}-common = %{?epoch:%{epoch}:}%{version}-%{release}
%description
@ -142,7 +145,7 @@ done
%package common
Summary: KMyMoney architecture independent files
Group: Applications/Utilities
Requires: %{name} == %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description common
This package contains architecture independent files needed for KMyMoney to
@ -175,7 +178,7 @@ have '%{name}' package installed, you will hardly find this package useful.
%package devel
Summary: KMyMoney development files
Group: Development/Libraries
Requires: %{name} == %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel
This package contains development files needed for KMyMoney plugins.
@ -200,6 +203,7 @@ This package contains development files needed for KMyMoney plugins.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch0 -p1 -b .ftbfs
%__install -m644 %{SOURCE1} kmymoney2/widgets/

@ -0,0 +1,11 @@
--- trinity-kmymoney-14.0.1~pre4+bb123ba2/kmymoney2/mymoney/Makefile.am.orig 2015-06-28 12:58:53.565869007 +0200
+++ trinity-kmymoney-14.0.1~pre4+bb123ba2/kmymoney2/mymoney/Makefile.am 2015-06-28 12:59:16.595869143 +0200
@@ -33,7 +33,7 @@
libkmm_mymoney_la_METASOURCES = AUTO
libkmm_mymoney_la_SOURCES = mymoneymoney.cpp mymoneyfinancialcalculator.cpp mymoneytransactionfilter.cpp mymoneyobject.cpp mymoneykeyvaluecontainer.cpp mymoneyobserver.cpp mymoneysubject.cpp mymoneysplit.cpp mymoneyinstitution.cpp mymoneyexception.cpp mymoneyinvesttransaction.cpp mymoneyutils.cpp mymoneysecurity.cpp mymoneytransaction.cpp mymoneyscheduled.cpp mymoneypayee.cpp mymoneyfile.cpp mymoneycategory.cpp mymoneyaccount.cpp mymoneyreport.cpp mymoneystatement.cpp mymoneyprice.cpp mymoneybudget.cpp mymoneyobjectcontainer.cpp mymoneyforecast.cpp
-libkmm_mymoney_la_LDFLAGS = $(all_libraries) -version-info $(LIBVERSION)
+libkmm_mymoney_la_LDFLAGS = $(all_libraries) -version-info $(LIBVERSION) $(LIB_QT) $(LIB_TDECORE)
SUBDIRS = storage

@ -1,5 +1,5 @@
#
# spec file for package knemo (version R14.0.0)
# spec file for package knemo (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg knemo
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package knetload (version R14.0.0)
# spec file for package knetload (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg knetload
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package knetstats (version R14.0.0)
# spec file for package knetstats (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg knetstats
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package knetworkmanager8 (version R14.0.0)
# spec file for package knetworkmanager8 (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg knetworkmanager
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package knights (version R14.0.0)
# spec file for package knights (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg knights
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package knmap (version R14.0.0)
# spec file for package knmap (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg knmap
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package knowit (version R14.0.0)
# spec file for package knowit (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg knowit
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package knutclient (version R14.0.0)
# spec file for package knutclient (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg knutclient
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package koffice-i18n (version R14.0.0)
# spec file for package koffice-i18n (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg koffice-i18n
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package koffice (version R14.0.0)
# spec file for package koffice (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg koffice
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -243,23 +245,22 @@ KOffice is an integrated office suite.
%package suite
Summary: An integrated office suite
Group: Applications/Productivity
Obsoletes: %{name} <= %{version}-%{release}
Obsoletes: %{name}-i18n < 4:%{version}
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-kword = %{version}-%{release}
Requires: %{name}-kspread = %{version}-%{release}
Requires: %{name}-kpresenter = %{version}-%{release}
Requires: %{name}-kivio = %{version}-%{release}
Requires: %{name}-karbon = %{version}-%{release}
Requires: %{name}-kugar = %{version}-%{release}
Requires: %{name}-kexi = %{version}-%{release}
Requires: %{name}-kexi-driver-mysql = %{version}-%{release}
%{?with_postgresql:Requires: %{name}-kexi-driver-pgsql = %{version}-%{release}}
Requires: %{name}-kchart = %{version}-%{release}
Requires: %{name}-kformula = %{version}-%{release}
Requires: %{name}-filters = %{version}-%{release}
Requires: %{name}-kplato = %{version}-%{release}
Requires: %{name}-chalk = %{version}-%{release}
Obsoletes: %{name} <= %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-kword = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-kspread = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-kpresenter = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-kivio = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-karbon = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-kugar = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-kexi = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-kexi-driver-mysql = %{?epoch:%{epoch}:}%{version}-%{release}
%{?with_postgresql:Requires: %{name}-kexi-driver-pgsql = %{?epoch:%{epoch}:}%{version}-%{release}}
Requires: %{name}-kchart = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-kformula = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-filters = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-kplato = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-chalk = %{?epoch:%{epoch}:}%{version}-%{release}
%description suite
KOffice is an integrated office suite.
@ -272,7 +273,7 @@ KOffice is an integrated office suite.
%package core
Summary: Core support files for %{name}
Group: Applications/Productivity
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl
%description core
@ -408,7 +409,7 @@ License: LGPLv2+
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
License: LGPLv2+
%description devel
@ -428,7 +429,7 @@ License: LGPLv2+
%package kword
Summary: A frame-based word processor capable of professional standard documents
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release}
%description kword
%{summary}.
@ -462,7 +463,7 @@ update-desktop-database -q &> /dev/null ||:
%package kspread
Summary: A powerful spreadsheet application
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release}
%description kspread
%{summary}.
@ -499,7 +500,7 @@ Requires: %{name}-core = %{version}-%{release}
%package kpresenter
Summary: A full-featured presentation program
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release}
%description kpresenter
%{summary}.
@ -533,7 +534,7 @@ update-desktop-database -q &> /dev/null ||:
%package kivio
Summary: A flowcharting application
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: kivio < %{version}-%{release}
%description kivio
@ -557,7 +558,7 @@ Obsoletes: kivio < %{version}-%{release}
%package karbon
Summary: A vector drawing application
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release}
%description karbon
%{summary}.
@ -589,7 +590,7 @@ Requires: %{name}-core = %{version}-%{release}
%package kugar
Summary: A tool for generating business quality reports
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release}
%description kugar
%{summary}.
@ -627,7 +628,7 @@ update-desktop-database -q &> /dev/null ||:
%package kexi
Summary: An integrated environment for managing data
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release}
%if 0%{?with_postgresql} == 0
Obsoletes: %{name}-kexi-driver-pgsql
@ -681,7 +682,7 @@ update-desktop-database -q &> /dev/null ||:
%package kexi-driver-mysql
Summary: Mysql-driver for kexi
Group: Applications/Productivity
Requires: %{name}-kexi = %{version}-%{release}
Requires: %{name}-kexi = %{?epoch:%{epoch}:}%{version}-%{release}
%description kexi-driver-mysql
%{summary}.
@ -700,7 +701,7 @@ Requires: %{name}-kexi = %{version}-%{release}
%package kexi-driver-pgsql
Summary: Postgresql driver for kexi
Group: Applications/Productivity
Requires: %{name}-kexi = %{version}-%{release}
Requires: %{name}-kexi = %{?epoch:%{epoch}:}%{version}-%{release}
%description kexi-driver-pgsql
%{summary}.
@ -719,7 +720,7 @@ Requires: %{name}-kexi = %{version}-%{release}
%package kchart
Summary: An integrated graph and chart drawing tool
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release}
%description kchart
%{summary}.
@ -749,7 +750,7 @@ update-desktop-database -q &> /dev/null ||:
%package kformula
Summary: A powerful formula editor
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release}
%if 0%{?mgaversion} || 0%{?mdkversion}
Requires: fonts-ttf-dejavu
@ -788,7 +789,7 @@ Requires: dejavu
%package filters
Summary: Import and Export Filters for KOffice
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release}
%description filters
%{summary}.
@ -858,7 +859,7 @@ Requires: %{name}-core = %{version}-%{release}
%package kplato
Summary: An integrated project management and planning tool
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release}
%description kplato
%{summary}.
@ -879,9 +880,9 @@ Requires: %{name}-core = %{version}-%{release}
%package chalk
Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity]
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-chalk-data = %{version}-%{release}
Requires: %{name}-filters
Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-chalk-data = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-filters = %{?epoch:%{epoch}:}%{version}-%{release}
%description chalk
Chalk is a painting and image editing application for KOffice. Chalk contains

@ -1,5 +1,5 @@
#
# spec file for package konversation (version R14.0.0)
# spec file for package konversation (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg konversation
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kopete-otr (version R14.0.0)
# spec file for package kopete-otr (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kopete-otr
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kpicosim (version R14.0.0)
# spec file for package kpicosim (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kpicosim
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kpilot (version R14.0.0)
# spec file for package kpilot (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kpilot
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kpowersave (version R14.0.0)
# spec file for package kpowersave (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kpowersave
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package krecipes (version R14.0.0)
# spec file for package krecipes (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg krecipes
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package krename (version R14.0.0)
# spec file for package krename (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg krename
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package krusader (version R14.0.0)
# spec file for package krusader (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg krusader
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kscope (version R14.0.0)
# spec file for package kscope (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kscope
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package ksensors (version R14.0.0)
# spec file for package ksensors (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg ksensors
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kshowmail (version R14.0.0)
# spec file for package kshowmail (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kshowmail
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kshutdown (version R14.0.0)
# spec file for package kshutdown (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kshutdown
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package ksplash-engine-moodin (version R14.0.0)
# spec file for package ksplash-engine-moodin (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg ksplash-engine-moodin
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package ksquirrel (version R14.0.0)
# spec file for package ksquirrel (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg ksquirrel
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kstreamripper (version R14.0.0)
# spec file for package kstreamripper (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kstreamripper
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package ksystemlog (version R14.0.0)
# spec file for package ksystemlog (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg ksystemlog
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package ktechlab (version R14.0.0)
# spec file for package ktechlab (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg ktechlab
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package ktorrent (version R14.0.0)
# spec file for package ktorrent (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg ktorrent
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -54,7 +56,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch0: %{tde_pkg}-%{tde_version}.patch
Patch0: %{tde_pkg}-14.0.0.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}

@ -0,0 +1,226 @@
#
# spec file for package ktorrent (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.0
%endif
%define tde_pkg ktorrent
%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: 2.2.8
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: BitTorrent client for Trinity
Group: Applications/Utilities
URL: http://ktorrent.org
%if 0%{?suse_version}
License: GPL-2.0+
%else
License: GPLv2+
%endif
#Vendor: Trinity Desktop
#Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: 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
# GMP support
BuildRequires: gmp-devel
# AVAHI support
# Disabled on RHEL4 and RHEL5
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
%define with_avahi 1
BuildRequires: trinity-avahi-tqt-devel
Requires: trinity-avahi-tqt
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}avahi-client-devel
Requires: %{_lib}avahi-client3
%else
BuildRequires: avahi-devel
Requires: avahi
%endif
%endif
%description
KTorrent is a BitTorrent program for Trinity. Its features include speed capping
(both down and up), integrated searching, UDP tracker support, preview of
certain file types (video and audio) and integration into the TDE Panel
enabling background downloading.
##########
%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/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}" \
--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 \
\
%{?!with_avahi:--without-avahi}
# Not SMP safe !
%__make
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf "%{buildroot}"
%__make install DESTDIR="%{buildroot}"
%find_lang %{tde_pkg}
# Unwanted files
%__rm -f "%{?buildroot}%{tde_libdir}/libktorrent.so"
%clean
%__rm -rf "%{buildroot}"
%post
update-desktop-database %{tde_tdeappdir} > /dev/null
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
/sbin/ldconfig || :
%postun
update-desktop-database %{tde_tdeappdir} > /dev/null
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
/sbin/ldconfig || :
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%{tde_bindir}/ktcachecheck
%{tde_bindir}/ktorrent
%{tde_bindir}/ktshell
%{tde_bindir}/kttorinfo
%{tde_bindir}/ktupnptest
%{tde_libdir}/libktorrent-%{version}.so
%{tde_libdir}/libktorrent.la
%{tde_tdelibdir}/ktinfowidgetplugin.la
%{tde_tdelibdir}/ktinfowidgetplugin.so
%{tde_tdelibdir}/ktipfilterplugin.la
%{tde_tdelibdir}/ktipfilterplugin.so
%{tde_tdelibdir}/ktlogviewerplugin.la
%{tde_tdelibdir}/ktlogviewerplugin.so
%{tde_tdelibdir}/ktpartfileimportplugin.la
%{tde_tdelibdir}/ktpartfileimportplugin.so
%{tde_tdelibdir}/ktrssfeedplugin.la
%{tde_tdelibdir}/ktrssfeedplugin.so
%{tde_tdelibdir}/ktscanfolderplugin.la
%{tde_tdelibdir}/ktscanfolderplugin.so
%{tde_tdelibdir}/ktschedulerplugin.la
%{tde_tdelibdir}/ktschedulerplugin.so
%{tde_tdelibdir}/ktsearchplugin.la
%{tde_tdelibdir}/ktsearchplugin.so
%{tde_tdelibdir}/ktstatsplugin.la
%{tde_tdelibdir}/ktstatsplugin.so
%{tde_tdelibdir}/ktupnpplugin.la
%{tde_tdelibdir}/ktupnpplugin.so
%{tde_tdelibdir}/ktwebinterfaceplugin.la
%{tde_tdelibdir}/ktwebinterfaceplugin.so
%{tde_tdeappdir}/ktorrent.desktop
%{tde_datadir}/apps/ktorrent/
%{tde_datadir}/config.kcfg/*.kcfg
%{tde_datadir}/icons/hicolor/*/*/*.png
%{tde_datadir}/icons/hicolor/*/*/*.svgz
%{tde_datadir}/services/*.desktop
%{tde_datadir}/servicetypes/ktorrentplugin.desktop
%{tde_tdedocdir}/HTML/en/ktorrent/
%if 0%{?with_avahi}
%{tde_tdelibdir}/ktzeroconfplugin.la
%{tde_tdelibdir}/ktzeroconfplugin.so
%endif
%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:2.2.8-1
- Initial release for TDE 14.0.0

@ -1,5 +1,5 @@
#
# spec file for package kuickshow (version R14.0.0)
# spec file for package kuickshow (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kuickshow
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kvirc (version R14.0.0)
# spec file for package kvirc (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kvirc
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -74,7 +76,7 @@ BuildRequires: update-desktop-files
BuildRequires: brp-check-trinity
%endif
Requires: %{name}-data = %{version}-%{release}
Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
%description
@ -90,7 +92,7 @@ you need to install the kvirc-dev package.
%package data
Group: Applications/Utilities
Summary: Data files for KVIrc
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description data
This package contains the architecture-independent data needed by KVIrc in
@ -106,7 +108,7 @@ with the Trinity Desktop Environment version 3.
%package devel
Group: Development/Libraries
Summary: Development files for KVIrc
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel
This package contains KVIrc libraries and include files you need if you

@ -1,5 +1,5 @@
#
# spec file for package kvkbd (version R14.0.0)
# spec file for package kvkbd (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kvkbd
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package kvpnc (version R14.0.0)
# spec file for package kvpnc (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg kvpnc
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -54,7 +56,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch0: %{tde_pkg}-%{tde_version}.patch
Patch0: %{tde_pkg}-14.0.0.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}

@ -1,5 +1,5 @@
#
# spec file for package mplayerthumbs (version R14.0.0)
# spec file for package mplayerthumbs (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg mplayerthumbs
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package piklab (version R14.0.0)
# spec file for package piklab (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg piklab
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package potracegui (version R14.0.0)
# spec file for package potracegui (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg potracegui
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package qt4-tqt-theme-engine (version R14.0.0)
# spec file for package qt4-tqt-theme-engine (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg qt4-tqt-theme-engine
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package rosegarden (version R14.0.0)
# spec file for package rosegarden (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg rosegarden
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -125,7 +127,7 @@ Requires: libsndfile-utils
%endif
Requires: %{name}-data == %{version}-%{release}
Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
%description
@ -136,7 +138,7 @@ lilypond and Csound files export, etc.
%package data
Group: Applications/Multimedia
Requires: %{name} == %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Summary: music editor and MIDI/audio sequencer data files [Trinity]
%description data

@ -0,0 +1,380 @@
diff --git a/src/ckpass.c b/src/ckpass.c
index 1da83c6..f3a14d0 100644
--- a/src/ckpass.c
+++ b/src/ckpass.c
@@ -8,6 +8,8 @@
** or PAM.
*/
+extern x_malloc(size_t size, const char *file, int line);
+
/* Used for unused parameters to silence gcc warnings. */
#define UNUSED __attribute__((__unused__))
@@ -46,7 +48,7 @@
number information for debugging error messages without the user having to
pass those in every time. */
#define xcalloc(n, size) x_calloc((n), (size), __FILE__, __LINE__)
-#define xmalloc(size) x_malloc((size), __FILE__, __LINE__)
+#define smartcardauth_xmalloc(size) x_malloc((size), __FILE__, __LINE__)
#define xrealloc(p, size) x_realloc((p), (size), __FILE__, __LINE__)
#define xstrdup(p) x_strdup((p), __FILE__, __LINE__)
#define xstrndup(p, size) x_strndup((p), (size), __FILE__, __LINE__)
@@ -71,7 +73,7 @@ struct auth_info {
** This function allocates an array of struct pam_response to return to the
** PAM libraries that's never freed. For this program, this isn't much of an
** issue, since it will likely only be called once and then the program will
-** exit. This function uses malloc and strdup instead of xmalloc and xstrdup
+** exit. This function uses malloc and strdup instead of smartcardauth_xmalloc and xstrdup
** intentionally so that the PAM conversation will be closed cleanly if we
** run out of memory rather than simply terminated.
**
@@ -82,8 +84,9 @@ static int pass_conv(int num_msg, const struct pam_message **msgm UNUSED, struct
int i;
*response = malloc(num_msg * sizeof(struct pam_response));
- if (*response == NULL)
+ if (*response == NULL) {
return PAM_CONV_ERR;
+ }
for (i = 0; i < num_msg; i++) {
(*response)[i].resp = strdup((char *)appdata_ptr);
(*response)[i].resp_retcode = 0;
@@ -115,17 +118,21 @@ static bool auth_pam(const char *username, char *password)
conv.conv = pass_conv;
conv.appdata_ptr = password;
status = pam_start("nnrpd", username, &conv, &pamh);
- if (status != PAM_SUCCESS)
+ if (status != PAM_SUCCESS) {
die("pam_start failed: %s", pam_strerror(pamh, status));
+ }
status = pam_authenticate(pamh, PAM_SILENT);
- if (status != PAM_SUCCESS)
+ if (status != PAM_SUCCESS) {
die("pam_authenticate failed: %s", pam_strerror(pamh, status));
+ }
status = pam_acct_mgmt(pamh, PAM_SILENT);
- if (status != PAM_SUCCESS)
+ if (status != PAM_SUCCESS) {
die("pam_acct_mgmt failed: %s", pam_strerror(pamh, status));
+ }
status = pam_end(pamh, status);
- if (status != PAM_SUCCESS)
+ if (status != PAM_SUCCESS) {
die("pam_end failed: %s", pam_strerror(pamh, status));
+ }
/* If we get to here, the user successfully authenticated. */
return true;
@@ -153,8 +160,9 @@ password_dbm(char *name, const char *file)
char *password;
database = dbm_open(file, O_RDONLY, 0600);
- if (database == NULL)
+ if (database == NULL) {
return NULL;
+ }
key.dptr = name;
key.dsize = strlen(name);
value = dbm_fetch(database, key);
@@ -162,7 +170,7 @@ password_dbm(char *name, const char *file)
dbm_close(database);
return NULL;
}
- password = xmalloc(value.dsize + 1);
+ password = smartcardauth_xmalloc(value.dsize + 1);
strlcpy(password, value.dptr, value.dsize + 1);
dbm_close(database);
return password;
@@ -188,8 +196,10 @@ password_shadow(const char *user)
struct spwd *spwd;
spwd = getspnam(user);
- if (spwd != NULL)
- return xstrdup(spwd->sp_pwdp);
+ if (spwd != NULL) {
+ char* ret = xstrdup(spwd->sp_pwdp);
+ return ret;
+ }
return NULL;
}
#endif /* HAVE_GETSPNAM */
@@ -206,8 +216,10 @@ password_system(const char *username)
struct passwd *pwd;
pwd = getpwnam(username);
- if (pwd != NULL)
- return xstrdup(pwd->pw_passwd);
+ if (pwd != NULL) {
+ char* ret = xstrdup(pwd->pw_passwd);
+ return ret;
+ }
return NULL;
}
@@ -225,12 +237,15 @@ group_system(const char *username)
struct group *gr;
pwd = getpwnam(username);
- if (pwd == NULL)
+ if (pwd == NULL) {
return NULL;
+ }
gr = getgrgid(pwd->pw_gid);
- if (gr == NULL)
+ if (gr == NULL) {
return NULL;
- return xstrdup(gr->gr_name);
+ }
+ char* ret = xstrdup(gr->gr_name);
+ return ret;
}
@@ -242,12 +257,13 @@ output_user(const char *username, bool wantgroup)
{
if (wantgroup) {
char *group = group_system(username);
- if (group == NULL)
+ if (group == NULL) {
die("group info for user %s not available", username);
+ }
printf("User:%s@%s\n", username, group);
- }
- else
+ } else {
printf("User:%s\n", username);
+ }
}
@@ -264,7 +280,7 @@ check_password(const char* username, const char* password)
bool wantgroup = false;
struct auth_info *authinfo = NULL;
- authinfo = xmalloc(sizeof(struct auth_info));
+ authinfo = smartcardauth_xmalloc(sizeof(struct auth_info));
authinfo->username = username;
authinfo->password = password;
@@ -273,12 +289,14 @@ check_password(const char* username, const char* password)
return 0;
}
password = password_system(authinfo->username);
- if (password == NULL)
+ if (password == NULL) {
return 1;
- if (strcmp(password, crypt(authinfo->password, password)) != 0)
+ }
+ if (strcmp(password, crypt(authinfo->password, password)) != 0) {
return 1;
+ }
/* The password matched. */
output_user(authinfo->username, wantgroup);
return 0;
-}
\ No newline at end of file
+}
diff --git a/src/ckpasswd.c b/src/ckpasswd.c
index 9dbdbcf..a0faa15 100644
--- a/src/ckpasswd.c
+++ b/src/ckpasswd.c
@@ -83,8 +83,9 @@ static int pass_conv(int num_msg, const struct pam_message **msgm UNUSED, struct
int i;
*response = malloc(num_msg * sizeof(struct pam_response));
- if (*response == NULL)
+ if (*response == NULL) {
return PAM_CONV_ERR;
+ }
for (i = 0; i < num_msg; i++) {
(*response)[i].resp = strdup((char *)appdata_ptr);
(*response)[i].resp_retcode = 0;
@@ -116,17 +117,21 @@ static bool auth_pam(const char *username, char *password)
conv.conv = pass_conv;
conv.appdata_ptr = password;
status = pam_start("nnrpd", username, &conv, &pamh);
- if (status != PAM_SUCCESS)
+ if (status != PAM_SUCCESS) {
die("pam_start failed: %s", pam_strerror(pamh, status));
+ }
status = pam_authenticate(pamh, PAM_SILENT);
- if (status != PAM_SUCCESS)
+ if (status != PAM_SUCCESS) {
die("pam_authenticate failed: %s", pam_strerror(pamh, status));
+ }
status = pam_acct_mgmt(pamh, PAM_SILENT);
- if (status != PAM_SUCCESS)
+ if (status != PAM_SUCCESS) {
die("pam_acct_mgmt failed: %s", pam_strerror(pamh, status));
+ }
status = pam_end(pamh, status);
- if (status != PAM_SUCCESS)
+ if (status != PAM_SUCCESS) {
die("pam_end failed: %s", pam_strerror(pamh, status));
+ }
/* If we get to here, the user successfully authenticated. */
return true;
@@ -154,8 +159,9 @@ password_dbm(char *name, const char *file)
char *password;
database = dbm_open(file, O_RDONLY, 0600);
- if (database == NULL)
+ if (database == NULL) {
return NULL;
+ }
key.dptr = name;
key.dsize = strlen(name);
value = dbm_fetch(database, key);
@@ -189,8 +195,10 @@ password_shadow(const char *user)
struct spwd *spwd;
spwd = getspnam(user);
- if (spwd != NULL)
- return xstrdup(spwd->sp_pwdp);
+ if (spwd != NULL) {
+ char* ret = xstrdup(spwd->sp_pwdp);
+ return ret;
+ }
return NULL;
}
#endif /* HAVE_GETSPNAM */
@@ -207,8 +215,10 @@ password_system(const char *username)
struct passwd *pwd;
pwd = getpwnam(username);
- if (pwd != NULL)
- return xstrdup(pwd->pw_passwd);
+ if (pwd != NULL) {
+ char* ret = xstrdup(pwd->pw_passwd);
+ return ret;
+ }
return NULL;
}
@@ -226,12 +236,15 @@ group_system(const char *username)
struct group *gr;
pwd = getpwnam(username);
- if (pwd == NULL)
+ if (pwd == NULL) {
return NULL;
+ }
gr = getgrgid(pwd->pw_gid);
- if (gr == NULL)
+ if (gr == NULL) {
return NULL;
- return xstrdup(gr->gr_name);
+ }
+ char* ret = xstrdup(gr->gr_name);
+ return ret;
}
@@ -243,12 +256,13 @@ output_user(const char *username, bool wantgroup)
{
if (wantgroup) {
char *group = group_system(username);
- if (group == NULL)
+ if (group == NULL) {
die("group info for user %s not available", username);
+ }
printf("User:%s@%s\n", username, group);
- }
- else
+ } else {
printf("User:%s\n", username);
+ }
}
@@ -276,29 +290,35 @@ main(int argc, char *argv[])
while ((opt = getopt(argc, argv, "gf:u:p:" OPT_DBM OPT_SHADOW)) != -1) {
switch (opt) {
case 'g':
- if (type == AUTH_DBM || type == AUTH_FILE)
+ if (type == AUTH_DBM || type == AUTH_FILE) {
die("-g option is incompatible with -d or -f");
+ }
wantgroup = true;
break;
case 'd':
- if (type != AUTH_NONE)
+ if (type != AUTH_NONE) {
die("only one of -s, -f, or -d allowed");
- if (wantgroup)
+ }
+ if (wantgroup) {
die("-g option is incompatible with -d or -f");
+ }
type = AUTH_DBM;
filename = optarg;
break;
case 'f':
- if (type != AUTH_NONE)
+ if (type != AUTH_NONE) {
die("only one of -s, -f, or -d allowed");
- if (wantgroup)
+ }
+ if (wantgroup) {
die("-g option is incompatible with -d or -f");
+ }
type = AUTH_FILE;
filename = optarg;
break;
case 's':
- if (type != AUTH_NONE)
+ if (type != AUTH_NONE) {
die("only one of -s, -f, or -d allowed");
+ }
type = AUTH_SHADOW;
break;
case 'u':
@@ -319,12 +339,15 @@ main(int argc, char *argv[])
exit(1);
}
}
- if (argc != optind)
- die("extra arguments given");
- if (authinfo != NULL && authinfo->username == NULL)
+ if (argc != optind) {
+ die("extra arguments given");
+ }
+ if (authinfo != NULL && authinfo->username == NULL) {
die("-u option is required if -p option is given");
- if (authinfo != NULL && authinfo->password == NULL)
+ }
+ if (authinfo != NULL && authinfo->password == NULL) {
die("-p option is required if -u option is given");
+ }
// /* Unless a username or password was given on the command line, assume
// we're being run by nnrpd. */
@@ -339,8 +362,9 @@ main(int argc, char *argv[])
switch (type) {
case AUTH_SHADOW:
password = password_shadow(authinfo->username);
- if (password == NULL)
+ if (password == NULL) {
password = password_system(authinfo->username);
+ }
break;
// case AUTH_FILE:
// password = password_file(authinfo->username, filename);
@@ -357,10 +381,12 @@ main(int argc, char *argv[])
break;
}
- if (password == NULL)
+ if (password == NULL) {
die("user %s unknown", authinfo->username);
- if (strcmp(password, crypt(authinfo->password, password)) != 0)
+ }
+ if (strcmp(password, crypt(authinfo->password, password)) != 0) {
die("invalid password for user %s", authinfo->username);
+ }
/* The password matched. */
output_user(authinfo->username, wantgroup);

@ -1,5 +1,5 @@
#
# spec file for package smartcardauth (version R14.0.0)
# spec file for package smartcardauth (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg smartcardauth
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -54,7 +56,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: trinity-%{tde_pkg}-rpmlintrc
Patch0: %{tde_pkg}-%{tde_version}.patch
Patch0: %{tde_pkg}-14.0.0.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
@ -137,7 +139,9 @@ in addition to the PKCS certificate functionality
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?rhel} != 6
%patch0 -p1 -b .ftbfs
%endif
%__sed -i "Makefile" \
-e "s|/usr/lib/perl5/Chipcard|%{_libdir}/perl5/vendor_perl/Chipcard|g"

@ -0,0 +1 @@
setBadness('64bit-portability-issue', 0)

@ -1,5 +1,5 @@
#
# spec file for package smb4k (version R14.0.0)
# spec file for package smb4k (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg smb4k
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package soundkonverter (version R14.0.0)
# spec file for package soundkonverter (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg soundkonverter
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tde-guidance (version R14.0.0)
# spec file for package tde-guidance (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tde-guidance
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -146,14 +148,14 @@ Requires: python
Requires: hwdata
%endif
Requires: %{name}-backends = %{version}-%{release}
Requires: %{name}-backends = %{?epoch:%{epoch}:}%{version}-%{release}
# POWERMANAGER support (requires HAL)
#define with_powermanager 1
Obsoletes: trinity-tde-guidance-powermanager
Obsoletes: trinity-guidance < %{version}-%{release}
Provides: trinity-guidance = %{version}-%{release}
Obsoletes: trinity-guidance < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-guidance = %{?epoch:%{epoch}:}%{version}-%{release}
%description
Guidance currently consists of four programs designed to help you
@ -222,8 +224,8 @@ Requires: hwdata
%endif
Requires: python
Obsoletes: trinity-guidance-backends < %{version}-%{release}
Provides: trinity-guidance-backends = %{version}-%{release}
Obsoletes: trinity-guidance-backends < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-guidance-backends = %{?epoch:%{epoch}:}%{version}-%{release}
%description backends
This package contains the platform neutral backends used in the
@ -246,11 +248,11 @@ Guidance configuration tools.
%package powermanager
Group: Applications/Utilities
Summary: HAL based power manager applet [Trinity]
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: hal
Obsoletes: trinity-guidance-powermanager < %{version}-%{release}
Provides: trinity-guidance-powermanager = %{version}-%{release}
Obsoletes: trinity-guidance-powermanager < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-guidance-powermanager = %{?epoch:%{epoch}:}%{version}-%{release}
%if "%{tde_prefix}" == "/usr"
Conflicts: guidance-power-manager

@ -1,5 +1,5 @@
#
# spec file for package tde-style-lipstik (version R14.0.0)
# spec file for package tde-style-lipstik (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tde-style-lipstik
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tde-style-qtcurve (version R14.0.0)
# spec file for package tde-style-qtcurve (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tde-style-qtcurve
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tde-systemsettings (version R14.0.0)
# spec file for package tde-systemsettings (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tde-systemsettings
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -55,14 +57,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: kde-settings-laptops.directory
Patch0: %{tde_pkg}-%{tde_version}.patch
Patch0: %{tde_pkg}-14.0.0.patch
Provides: trinity-kde-systemsettings = %{version}-%{release}
Obsoletes: trinity-kde-systemsettings < %{version}-%{release}
Provides: trinity-systemsettings = %{version}-%{release}
Obsoletes: trinity-systemsettings < %{version}-%{release}
Provides: trinity-kde-systemsettings = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-systemsettings < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-systemsettings = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-systemsettings < %{?epoch:%{epoch}:}%{version}-%{release}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}

@ -0,0 +1,192 @@
#
# spec file for package tde-systemsettings (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.0
%endif
%define tde_pkg tde-systemsettings
%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_sysconfdir %{_sysconfdir}/trinity
%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.0svn20070312
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: Easy to use control centre 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
Source1: kde-settings-laptops.directory
Provides: trinity-kde-systemsettings = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-systemsettings < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-systemsettings = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-systemsettings < %{?epoch:%{epoch}:}%{version}-%{release}
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
Requires: trinity-guidance
%description
System preferences is a replacement for the TDE
Control Centre with an improved user interface.
##########
%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/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} \
--includedir=%{tde_tdeincludedir} \
--sysconfdir=%{tde_sysconfdir} \
\
--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}
%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/desktop-directories/tde-settings-laptops.directory
# Unwanted files
%__rm -f %{buildroot}%{tde_datadir}/applications/tde/kcmfontinst.desktop
%__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
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/audioencoding.desktop"
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/defaultapplication.desktop"
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kcm_knetworkconfmodule_ss.desktop"
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/medianotifications.desktop"
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/systemsettings.desktop"
%clean
%__rm -rf %{buildroot}
%post
touch --no-create %{tde_datadir}/icons/crystalsvg || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
update-desktop-database %{tde_tdeappdir} -q &> /dev/null
%postun
touch --no-create %{tde_datadir}/icons/crystalsvg || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
update-desktop-database %{tde_tdeappdir} -q &> /dev/null
%files
%defattr(-,root,root,-)
%doc README TODO
%dir %{tde_sysconfdir}/xdg
%dir %{tde_sysconfdir}/xdg/menus
%dir %{tde_sysconfdir}/xdg/menus/applications-merged
%{tde_sysconfdir}/xdg/menus/applications-merged/tde-system-settings-merge.menu
%{tde_sysconfdir}/xdg/menus/tde-system-settings.menu
%{tde_bindir}/systemsettings
%{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/
%{tde_datadir}/config/systemsettingsrc
%{tde_datadir}/desktop-directories/*.directory
%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png
%{tde_tdedocdir}/HTML/en/systemsettings/
%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:0.0svn20070312-1
- Initial release for TDE 14.0.0

@ -1,5 +1,5 @@
#
# spec file for package tdeio-apt (version R14.0.0)
# spec file for package tdeio-apt (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdeio-apt
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdeio-ftps (version R14.0.0)
# spec file for package tdeio-ftps (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdeio-ftps
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdeio-locate (version R14.0.0)
# spec file for package tdeio-locate (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdeio-locate
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdeio-sword (version R14.0.0)
# spec file for package tdeio-sword (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdeio-sword
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdeio-umountwrapper (version R14.0.0)
# spec file for package tdeio-umountwrapper (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdeio-umountwrapper
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdenetworkmanager (version R14.0.0)
# spec file for package tdenetworkmanager (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdenetworkmanager
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdepowersave (version R14.0.0)
# spec file for package tdepowersave (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdepowersave
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tderadio (version R14.0.0)
# spec file for package tderadio (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tderadio
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdesudo (version R14.0.0)
# spec file for package tdesudo (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdesudo
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdesvn (version R14.0.0)
# spec file for package tdesvn (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdesvn
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -53,7 +55,7 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch0: %{tde_pkg}-%{tde_version}.patch
Patch0: %{tde_pkg}-14.0.0.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
@ -91,11 +93,11 @@ BuildRequires: libidn-devel
BuildRequires: gamin-devel
%endif
Requires: %{name}-tdeio-plugins = %{version}-%{release}
Requires: trinity-libsvnqt = %{version}-%{release}
Requires: %{name}-tdeio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: trinity-libsvnqt = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kdesvn < %{version}-%{release}
Provides: trinity-kdesvn = %{version}-%{release}
Obsoletes: trinity-kdesvn < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kdesvn = %{?epoch:%{epoch}:}%{version}-%{release}
%description
@ -173,7 +175,7 @@ written in C++.
%package -n trinity-libsvnqt-devel
Group: Development/Libraries
Requires: trinity-libsvnqt = %{version}-%{release}
Requires: trinity-libsvnqt = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: qt-devel
Requires: subversion-devel
Summary: Qt wrapper library for subversion (development files) [Trinity]
@ -194,10 +196,10 @@ Group: Development/Libraries
Conflicts: trinity-kdesdk-tdeio-plugins
Summary: subversion I/O slaves for Trinity
Obsoletes: trinity-kdesvn-kio-plugins < %{version}-%{release}
Provides: trinity-kdesvn-kio-plugins = %{version}-%{release}
Obsoletes: trinity-tdesvn-kio-plugins < %{version}-%{release}
Provides: trinity-tdesvn-kio-plugins = %{version}-%{release}
Obsoletes: trinity-kdesvn-kio-plugins < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kdesvn-kio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-tdesvn-kio-plugins < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-tdesvn-kio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
%description tdeio-plugins
This packages includes TDEIO slaves for svn, svn+file, svn+http,

@ -1,5 +1,5 @@
#
# spec file for package tdmtheme (version R14.0.0)
# spec file for package tdmtheme (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdmtheme
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tellico (version R14.0.0)
# spec file for package tellico (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tellico
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -98,8 +100,8 @@ BuildRequires: libv4l-devel
BuildRequires: %{_lib}v4l-devel
%endif
Requires: %{name}-data = %{version}-%{release}
Requires: %{name}-scripts = %{version}-%{release}
Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-scripts = %{?epoch:%{epoch}:}%{version}-%{release}
%description

@ -1,5 +1,5 @@
#
# spec file for package tork (version R14.0.0)
# spec file for package tork (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tork
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package twin-style-crystal (version R14.0.0)
# spec file for package twin-style-crystal (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg twin-style-crystal
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package wlassistant (version R14.0.0)
# spec file for package wlassistant (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg wlassistant
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -53,7 +55,7 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch0: %{tde_pkg}-%{tde_version}.patch
Patch0: %{tde_pkg}-14.0.0.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}

@ -0,0 +1,206 @@
#
# spec file for package wlassistant (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.0
%endif
%define tde_pkg wlassistant
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
%define tde_mandir %{tde_datadir}/man
%define tde_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
Name: trinity-%{tde_pkg}
Epoch: %{tde_epoch}
Version: 0.5.7
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: User friendly TDE frontend for wireless network connection
Group: Applications/Utilities
URL: http://wlassistant.sourceforge.net/
%if 0%{?suse_version}
License: GPL-2.0+
%else
License: GPLv2+
%endif
#Vendor: Trinity Desktop
#Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: cmake libtool
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
# Wireless support
%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5
BuildRequires: wireless-tools-devel
%endif
%if 0%{?mgaversion} == 2 || 0%{?mdkversion}
BuildRequires: %{_lib}iw29-devel
%endif
%if 0%{?rhel} == 5 || 0%{?suse_version}
BuildRequires: wireless-tools
%endif
%if 0%{?suse_version} || 0%{?mgaversion} >= 3
BuildRequires: libiw-devel
%endif
# IDN support
BuildRequires: libidn-devel
# GAMIN support
# Not on openSUSE.
%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_gamin 1
BuildRequires: gamin-devel
%endif
# PYTHON support
BuildRequires: python
%description
Wireless Assistant scans for wireless access points and displays link quality,
encryption and other useful information. When user wants to connect to a
network, Wireless Assistant opens up its wizards and guides the user through
Wi-Fi settings. After a successful connection is made the settings are
remembered so next time the user won't have to enter them again.
##########
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
##########
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
# Shitty hack for RHEL4 ...
if [ -d "/usr/X11R6" ]; then
export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
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 \
\
-DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
\
-DBUILD_ALL=on \
..
%__make %{?_smp_mflags}
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build
# Updates applications categories for openSUSE
%if 0%{?suse_version}
%suse_update_desktop_file -i -r "%{?buildroot}%{tde_tdeappdir}/wlassistant.desktop" System Network
%endif
%clean
%__rm -rf %{buildroot}
%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 || :
%files
%defattr(-,root,root,-)
%doc ChangeLog VERSION
%{tde_bindir}/wlassistant
%{tde_tdeappdir}/wlassistant.desktop
%{tde_datadir}/icons/hicolor/16x16/apps/wlassistant.png
%{tde_datadir}/icons/hicolor/32x32/apps/wlassistant.png
%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/wlassistant.mo
%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/wlassistant.mo
%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/wlassistant.mo
%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/wlassistant.mo
%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/wlassistant.mo
%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/wlassistant.mo
%lang(pt) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/wlassistant.mo
%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/wlassistant.mo
%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/wlassistant.mo
%lang(zh_TW) %{tde_datadir}/locale/zh_TW/LC_MESSAGES/wlassistant.mo
%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:0.5.7-1
- Initial release for TDE 14.0.0

@ -1,5 +1,5 @@
#
# spec file for package yakuake (version R14.0.0)
# spec file for package yakuake (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg yakuake
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -11,20 +11,24 @@ TDE_VERSION="${2:-14.0.0}"
# Special case for QT3
if [ "${PKGNAME}" = "qt3" ]; then
case "$(rpmdist.sh --dist)" in
.oss*) DIST_PACKAGING_DIR=${TDE_PACKAGING_DIR}/opensuse ;;
.mga*|.mdk*|.pclos*) DIST_PACKAGING_DIR=${TDE_PACKAGING_DIR}/mageia ;;
.oss*) DIST_PACKAGING_DIR="${TDE_PACKAGING_DIR}/opensuse" ;;
.mga*|.mdk*|.pclos*) DIST_PACKAGING_DIR="${TDE_PACKAGING_DIR}/mageia" ;;
esac
fi
SPECFILE=$(find "${DIST_PACKAGING_DIR}" -name "${PKGNAME}-${TDE_VERSION}.spec")
if [ ! -r "${SPECFILE}" ]; then
SPECFILE=$(find "${DIST_PACKAGING_DIR}" -name "${PKGNAME}.spec")
if [ ! -r "${SPECFILE}" ]; then
SPECFILE=$(find "${DIST_PACKAGING_DIR}" -name "trinity-${PKGNAME}-${TDE_VERSION}.spec")
if [ ! -r "${SPECFILE}" ]; then
SPECFILE=$(find "${DIST_PACKAGING_DIR}" -name "trinity-${PKGNAME}.spec")
fi
for filename in \
"${PKGNAME}-${TDE_VERSION}.spec" \
"${PKGNAME}-14.0.0.spec" \
"${PKGNAME}.spec" \
"trinity-${PKGNAME}-${TDE_VERSION}.spec" \
"trinity-${PKGNAME}-14.0.0.spec" \
"trinity-${PKGNAME}.spec" \
; do
SPECFILE="$(find "${DIST_PACKAGING_DIR}" -name "${filename}")"
if [ -r "${SPECFILE}" ]; then
echo "${SPECFILE}"
exit 0
fi
fi
done
echo ${SPECFILE}
exit 1

@ -8,7 +8,9 @@ done
PKGNAME="${1}"
if [ -x /usr/sbin/urpmi ]; then
if [ -x /usr/bin/dnf ]; then
PKGINST="sudo dnf install -y --refresh"
elif [ -x /usr/sbin/urpmi ]; then
PKGINST='sudo urpmi --auto --no-verify-rpm'
elif [ -x /usr/bin/zypper ]; then
PKGINST="sudo zypper install -y"

@ -15,7 +15,9 @@ RPMDIR=$(rpm -E %{_rpmdir}.tde-${TDE_VERSION})
[ -d "${RPMDIR}/noarch" ] || mkdir -p "${RPMDIR}/noarch"
[ -d "${RPMDIR}/${ARCH}" ] || mkdir -p "${RPMDIR}/${ARCH}"
if [ -x /usr/sbin/urpmi ]; then
if [ -x /usr/bin/dnf ]; then
REPOUPDATE='(cd ${RPMDIR}; createrepo --workers=${WORKERS} ${ARCH} & createrepo --workers=${WORKERS} noarch & wait; sudo dnf clean all --disablerepo="*" --enablerepo="rpmbuild*")'
elif [ -x /usr/sbin/urpmi ]; then
REPOUPDATE='(cd ${RPMDIR}; genhdlist2 --clean --allow-empty noarch & genhdlist2 --clean --allow-empty ${ARCH} & wait; sudo urpmi.update rpmbuild.${ARCH} rpmbuild.noarch)'
elif [ -x /usr/bin/zypper ]; then
REPOUPDATE='(cd ${RPMDIR}; createrepo --workers=${WORKERS} ${ARCH} & createrepo --workers=${WORKERS} noarch & wait; sudo zypper refresh rpmbuild.${ARCH} rpmbuild.noarch)'

@ -3,7 +3,7 @@
# This file can be sourced in your .bashrc
TDE_BASEDIR=~/tde
TDE_VERSION=14.0.1
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.1"
TDE_GITBASESRC=${TDE_BASEDIR}/tde_r14
TDE_GITBASEPKG=${TDE_BASEDIR}/tde-packaging/redhat
TDE_TARBALLS=${TDE_BASEDIR}/tde-tarballs/${TDE_VERSION}

@ -265,7 +265,9 @@ BuildRequires: unixODBC-devel
BuildRequires: sqlite-devel
# SQLITE3 support
%if 0%{?mgaversion}
BuildRequires: sqlite3-devel
%endif
# POSTGRESQL support
BuildRequires: postgresql

@ -1,5 +1,5 @@
#
# spec file for package brp-check-trinity (version R14.0.0)
# spec file for package brp-check-trinity (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -16,7 +16,9 @@
#
# TDE variables
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_prefix /opt/trinity
Name: brp-check-trinity

@ -1,6 +1,25 @@
#
# spec file for package icons-nuvola (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/
#
# Default version for this component
%define tde_pkg icons-nuvola
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"

@ -1,6 +1,25 @@
#
# spec file for package kdevmon (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/
#
# Default version for this component
%define tde_pkg kdevmon
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
@ -39,7 +58,7 @@ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{tde_pkg}-%{tde_version}.tar.gz
Source0: %{tde_pkg}-14.0.0.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10

@ -1,6 +1,25 @@
#
# spec file for package kdissert (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/
#
# Default version for this component
%define tde_pkg kdissert
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
@ -40,7 +59,7 @@ URL: http://freehackers.org/~tnagy/kdissert/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{tde_pkg}-%{tde_version}.tar.gz
Source0: %{tde_pkg}-14.0.0.tar.gz
Source1: TDE.py
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}

@ -1,9 +1,28 @@
#
# spec file for package kitty (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 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
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin

@ -1,6 +1,25 @@
#
# spec file for package klamav (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/
#
# Default version for this component
%define tde_pkg klamav
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
@ -40,7 +59,7 @@ Url: http://klamav.sourceforge.net/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{tde_pkg}-%{tde_version}.tar.gz
Source0: %{tde_pkg}-14.0.0.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10

@ -1,6 +1,25 @@
#
# spec file for package klibido (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/
#
# Default version for this component
%define tde_pkg klibido
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"

@ -1,6 +1,25 @@
#
# spec file for package kompose (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/
#
# Default version for this component
%define tde_pkg kompose
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
@ -39,7 +58,7 @@ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{tde_pkg}-%{tde_version}.tar.gz
Source0: %{tde_pkg}-14.0.0.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10

@ -1,6 +1,25 @@
#
# spec file for package koverartist (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/
#
# Default version for this component
%define tde_pkg koverartist
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
@ -39,7 +58,7 @@ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{tde_pkg}-%{tde_version}.tar.gz
Source0: %{tde_pkg}-14.0.0.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10

@ -1,6 +1,25 @@
#
# spec file for package kpacman (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/
#
# Default version for this component
%define tde_pkg kpacman
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"

@ -1,6 +1,25 @@
#
# spec file for package style-ia-ora (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/
#
# Default version for this component
%define tde_pkg style-ia-ora
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
@ -36,7 +55,7 @@ URL: http://www.mandrivalinux.com/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{tde_pkg}-%{tde_version}.tar.gz
Source0: %{tde_pkg}-14.0.0.tar.gz
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

@ -1,6 +1,27 @@
#
# spec file for package trinity-desktop (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/
#
# 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
%endif
# 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
@ -9,7 +30,7 @@
%endif
Name: trinity-desktop
Version: 14.0.0
Version: %{tde_version}
Release: 1%{?dist}%{?_variant}
License: GPL
Summary: Meta-package to install TDE

@ -1,5 +1,5 @@
#
# spec file for package trinity-filesystem (version R14.0.0)
# spec file for package trinity-filesystem (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -16,7 +16,9 @@
#
# TDE variables
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share

@ -1,5 +1,5 @@
#
# spec file for package libkdcraw (version R14.0.0)
# spec file for package libkdcraw (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg libkdcraw
%define tde_prefix /opt/trinity
%define tde_datadir %{tde_prefix}/share

@ -1,5 +1,5 @@
#
# spec file for package libkexiv2 (version R14.0.0)
# spec file for package libkexiv2 (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg libkexiv2
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package libkipi (version R14.0.0)
# spec file for package libkipi (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg libkipi
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package libksquirrel (version R14.0.0)
# spec file for package libksquirrel (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg libksquirrel
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -0,0 +1,568 @@
#
# spec file for package libksquirrel (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/
#
# 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
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg libksquirrel
%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_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
# 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
Name: trinity-%{tde_pkg}
Summary: Trinity image viewer
Group: System/Libraries
Epoch: %{tde_epoch}
Version: 0.8.0
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
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: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: pkgconfig
# 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
# TRANSFIG support
BuildRequires: transfig
# GETTEXT support
BuildRequires: gettext
BuildRequires: gettext-devel
# OPENEXR support
BuildRequires: OpenEXR-devel
# TIFF support
BuildRequires: libtiff-devel
# GIF support
%if 0%{?suse_version}
BuildRequires: giflib-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel}
BuildRequires: libungif-devel
%endif
# MNG support
BuildRequires: libmng-devel
# DJVU support
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_djvu 1
BuildRequires: djvulibre
%endif
# XMEDCON support
%if 0%{?fedora}
%define with_xmedcon 1
BuildRequires: xmedcon
BuildRequires: xmedcon-devel
%endif
# RSVG support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_svg 1
%if 0%{?fedora} || 0%{?rhel}
BuildRequires: librsvg2
%endif
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
BuildRequires: librsvg2-tools
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: librsvg
%endif
%if 0%{?suse_version}
BuildRequires: rsvg-view
BuildRequires: librsvg-devel
%endif
%endif
# JASPER support
%if 0%{?rhel} >=4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_jasper 1
%if 0%{?suse_version}
BuildRequires: libjasper-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}jasper-devel
%endif
%if 0%{?rhel} || 0%{?fedora}
BuildRequires: jasper-devel
%endif
%endif
# FREETYPE support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_freetype 1
%if 0%{?suse_version} == 1140
BuildRequires: freetype2-devel
%else
BuildRequires: freetype-devel
%endif
%endif
# WMF support
BuildRequires: libwmf-devel
# XML2 support
BuildRequires: libxml2-devel
# NETPBM support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
BuildRequires: netpbm
%else
BuildRequires: netpbm-progs
%endif
%description
This package contains the runtime libraries for KSquirrel.
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING LICENSE README
%dir %{tde_libdir}/ksquirrel-libs
%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0
%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0
%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0
%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0
%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0
%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0.8.0
%if 0%{?with_xmedcon}
%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0
%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0.8.0
%endif
%if 0%{?with_djvu}
%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0
%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0
%endif
%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0
%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0
%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0
%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0
%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0
%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0
%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0
%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0
%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0
%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0
%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0
%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0
%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0
%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0
%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0
%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0
%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0
%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0
%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0
%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0
%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0
%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0
%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0
%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0
%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_png.so.0
%{tde_libdir}/ksquirrel-libs/libkls_png.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0
%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0
%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0
%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0
%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0
%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0
%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0
%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0
%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0
%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0.8.0
%if 0%{?with_svg}
%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0
%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0.8.0
%endif
%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0
%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0
%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0.8.0
%if 0%{?with_freetype}
%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0
%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0.8.0
%endif
%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0
%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0
%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0
%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0
%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0
%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0
%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0
%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0
%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0
%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0.8.0
%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0
%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0.8.0
%{tde_libdir}/libksquirrel-libs-png.so.0
%{tde_libdir}/libksquirrel-libs-png.so.0.0.0
%{tde_libdir}/libksquirrel-libs.so.0
%{tde_libdir}/libksquirrel-libs.so.0.8.0
%dir %{tde_datadir}/ksquirrel-libs
%{tde_datadir}/ksquirrel-libs/libkls_camera.so.ui
%if 0%{?with_djvu}
%{tde_datadir}/ksquirrel-libs/libkls_djvu.so.ui
%endif
%if 0%{?with_svg}
%{tde_datadir}/ksquirrel-libs/libkls_svg.so.ui
%endif
%{tde_datadir}/ksquirrel-libs/libkls_tiff.so.ui
%{tde_datadir}/ksquirrel-libs/libkls_xcf.so.ui
%{tde_datadir}/ksquirrel-libs/rgbmap
%post
/sbin/ldconfig || :
%postun
/sbin/ldconfig || :
##########
%package devel
Group: Development/Libraries/Other
Summary: Trinity image viewer
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel
This package contains the development libraries for KSquirrel.
%files devel
%defattr(-,root,root,-)
%dir %{tde_includedir}/ksquirrel-libs
%{tde_includedir}/ksquirrel-libs/error.h
%{tde_includedir}/ksquirrel-libs/fileio.h
%{tde_includedir}/ksquirrel-libs/fmt_codec_base.h
%{tde_includedir}/ksquirrel-libs/fmt_defs.h
%{tde_includedir}/ksquirrel-libs/fmt_types.h
%{tde_includedir}/ksquirrel-libs/fmt_utils.h
%{tde_includedir}/ksquirrel-libs/settings.h
%{tde_libdir}/ksquirrel-libs/libkls_avs.la
%{tde_libdir}/ksquirrel-libs/libkls_avs.so
%{tde_libdir}/ksquirrel-libs/libkls_bmp.la
%{tde_libdir}/ksquirrel-libs/libkls_bmp.so
%{tde_libdir}/ksquirrel-libs/libkls_camera.la
%{tde_libdir}/ksquirrel-libs/libkls_camera.so
%{tde_libdir}/ksquirrel-libs/libkls_cut.la
%{tde_libdir}/ksquirrel-libs/libkls_cut.so
%{tde_libdir}/ksquirrel-libs/libkls_dds.la
%{tde_libdir}/ksquirrel-libs/libkls_dds.so
%if 0%{?with_xmedcon}
%{tde_libdir}/ksquirrel-libs/libkls_dicom.la
%{tde_libdir}/ksquirrel-libs/libkls_dicom.so
%endif
%if 0%{?with_djvu}
%{tde_libdir}/ksquirrel-libs/libkls_djvu.la
%{tde_libdir}/ksquirrel-libs/libkls_djvu.so
%endif
%{tde_libdir}/ksquirrel-libs/libkls_eps.la
%{tde_libdir}/ksquirrel-libs/libkls_eps.so
%{tde_libdir}/ksquirrel-libs/libkls_fig.la
%{tde_libdir}/ksquirrel-libs/libkls_fig.so
%{tde_libdir}/ksquirrel-libs/libkls_fli.la
%{tde_libdir}/ksquirrel-libs/libkls_fli.so
%{tde_libdir}/ksquirrel-libs/libkls_gif.la
%{tde_libdir}/ksquirrel-libs/libkls_gif.so
%{tde_libdir}/ksquirrel-libs/libkls_hdr.la
%{tde_libdir}/ksquirrel-libs/libkls_hdr.so
%{tde_libdir}/ksquirrel-libs/libkls_ico.la
%{tde_libdir}/ksquirrel-libs/libkls_ico.so
%{tde_libdir}/ksquirrel-libs/libkls_iff.la
%{tde_libdir}/ksquirrel-libs/libkls_iff.so
%{tde_libdir}/ksquirrel-libs/libkls_jbig.la
%{tde_libdir}/ksquirrel-libs/libkls_jbig.so
%{tde_libdir}/ksquirrel-libs/libkls_jpeg.la
%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so
%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.la
%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so
%{tde_libdir}/ksquirrel-libs/libkls_koala.la
%{tde_libdir}/ksquirrel-libs/libkls_koala.so
%{tde_libdir}/ksquirrel-libs/libkls_leaf.la
%{tde_libdir}/ksquirrel-libs/libkls_leaf.so
%{tde_libdir}/ksquirrel-libs/libkls_lif.la
%{tde_libdir}/ksquirrel-libs/libkls_lif.so
%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.la
%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so
%{tde_libdir}/ksquirrel-libs/libkls_mac.la
%{tde_libdir}/ksquirrel-libs/libkls_mac.so
%{tde_libdir}/ksquirrel-libs/libkls_mdl.la
%{tde_libdir}/ksquirrel-libs/libkls_mdl.so
%{tde_libdir}/ksquirrel-libs/libkls_mng.la
%{tde_libdir}/ksquirrel-libs/libkls_mng.so
%{tde_libdir}/ksquirrel-libs/libkls_mtv.la
%{tde_libdir}/ksquirrel-libs/libkls_mtv.so
%{tde_libdir}/ksquirrel-libs/libkls_neo.la
%{tde_libdir}/ksquirrel-libs/libkls_neo.so
%{tde_libdir}/ksquirrel-libs/libkls_openexr.la
%{tde_libdir}/ksquirrel-libs/libkls_openexr.so
%{tde_libdir}/ksquirrel-libs/libkls_pcx.la
%{tde_libdir}/ksquirrel-libs/libkls_pcx.so
%{tde_libdir}/ksquirrel-libs/libkls_pi1.la
%{tde_libdir}/ksquirrel-libs/libkls_pi1.so
%{tde_libdir}/ksquirrel-libs/libkls_pi3.la
%{tde_libdir}/ksquirrel-libs/libkls_pi3.so
%{tde_libdir}/ksquirrel-libs/libkls_pix.la
%{tde_libdir}/ksquirrel-libs/libkls_pix.so
%{tde_libdir}/ksquirrel-libs/libkls_png.la
%{tde_libdir}/ksquirrel-libs/libkls_png.so
%{tde_libdir}/ksquirrel-libs/libkls_pnm.la
%{tde_libdir}/ksquirrel-libs/libkls_pnm.so
%{tde_libdir}/ksquirrel-libs/libkls_psd.la
%{tde_libdir}/ksquirrel-libs/libkls_psd.so
%{tde_libdir}/ksquirrel-libs/libkls_psp.la
%{tde_libdir}/ksquirrel-libs/libkls_psp.so
%{tde_libdir}/ksquirrel-libs/libkls_pxr.la
%{tde_libdir}/ksquirrel-libs/libkls_pxr.so
%{tde_libdir}/ksquirrel-libs/libkls_ras.la
%{tde_libdir}/ksquirrel-libs/libkls_ras.so
%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.la
%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so
%{tde_libdir}/ksquirrel-libs/libkls_sct.la
%{tde_libdir}/ksquirrel-libs/libkls_sct.so
%{tde_libdir}/ksquirrel-libs/libkls_sgi.la
%{tde_libdir}/ksquirrel-libs/libkls_sgi.so
%{tde_libdir}/ksquirrel-libs/libkls_sun.la
%{tde_libdir}/ksquirrel-libs/libkls_sun.so
%if 0%{?with_svg}
%{tde_libdir}/ksquirrel-libs/libkls_svg.la
%{tde_libdir}/ksquirrel-libs/libkls_svg.so
%endif
%{tde_libdir}/ksquirrel-libs/libkls_tga.la
%{tde_libdir}/ksquirrel-libs/libkls_tga.so
%{tde_libdir}/ksquirrel-libs/libkls_tiff.la
%{tde_libdir}/ksquirrel-libs/libkls_tiff.so
%if 0%{?with_freetype}
%{tde_libdir}/ksquirrel-libs/libkls_ttf.la
%{tde_libdir}/ksquirrel-libs/libkls_ttf.so
%endif
%{tde_libdir}/ksquirrel-libs/libkls_utah.la
%{tde_libdir}/ksquirrel-libs/libkls_utah.so
%{tde_libdir}/ksquirrel-libs/libkls_wal.la
%{tde_libdir}/ksquirrel-libs/libkls_wal.so
%{tde_libdir}/ksquirrel-libs/libkls_wbmp.la
%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so
%{tde_libdir}/ksquirrel-libs/libkls_wmf.la
%{tde_libdir}/ksquirrel-libs/libkls_wmf.so
%{tde_libdir}/ksquirrel-libs/libkls_xbm.la
%{tde_libdir}/ksquirrel-libs/libkls_xbm.so
%{tde_libdir}/ksquirrel-libs/libkls_xcf.la
%{tde_libdir}/ksquirrel-libs/libkls_xcf.so
%{tde_libdir}/ksquirrel-libs/libkls_xcur.la
%{tde_libdir}/ksquirrel-libs/libkls_xcur.so
%{tde_libdir}/ksquirrel-libs/libkls_xim.la
%{tde_libdir}/ksquirrel-libs/libkls_xim.so
%{tde_libdir}/ksquirrel-libs/libkls_xpm.la
%{tde_libdir}/ksquirrel-libs/libkls_xpm.so
%{tde_libdir}/ksquirrel-libs/libkls_xwd.la
%{tde_libdir}/ksquirrel-libs/libkls_xwd.so
%{tde_libdir}/libksquirrel-libs-png.la
%{tde_libdir}/libksquirrel-libs-png.so
%{tde_libdir}/libksquirrel-libs.la
%{tde_libdir}/libksquirrel-libs.so
%{tde_libdir}/pkgconfig/ksquirrellibs.pc
%{tde_docdir}/ksquirrel-libs/
%post devel
/sbin/ldconfig || :
%postun devel
/sbin/ldconfig || :
##########
%package tools
Summary: Trinity image viewer
Group: System/Libraries
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description tools
This package contains the tools for KSquirrel.
%files tools
%defattr(-,root,root,-)
%{tde_bindir}/ksquirrel-libs-camera2ppm
%{tde_bindir}/ksquirrel-libs-dcraw
%if 0%{?with_xmedcon}
%{tde_bindir}/ksquirrel-libs-dicom2png
%endif
%{tde_bindir}/ksquirrel-libs-fig2ppm
%{tde_bindir}/ksquirrel-libs-iff2ppm
%{tde_bindir}/ksquirrel-libs-leaf2ppm
%{tde_bindir}/ksquirrel-libs-ljpeg2ppm
%{tde_bindir}/ksquirrel-libs-ljpeg2ppm-s
%{tde_bindir}/ksquirrel-libs-mac2ppm
%{tde_bindir}/ksquirrel-libs-neo2ppm
%{tde_bindir}/ksquirrel-libs-pi12ppm
%{tde_bindir}/ksquirrel-libs-pi32ppm
%if 0%{?with_svg}
%{tde_bindir}/ksquirrel-libs-svg2png
%endif
%if 0%{?with_freetype}
%{tde_bindir}/ksquirrel-libs-ttf2pnm
%endif
%{tde_bindir}/ksquirrel-libs-utah2ppm
%{tde_bindir}/ksquirrel-libs-xcf2pnm
%{tde_bindir}/ksquirrel-libs-xim2ppm
##########
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
##########
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# FIXME: under PCLinuxOS, headers are under 'freetype2' not 'freetype'
if [ -r /usr/include/freetype2/ftbitmap.h ]; then
%__sed -i "configure.ac" -e "s|freetype/ftbitmap.h|freetype2/ftbitmap.h|"
%__sed -i "kernel/kls_ttf/ttf2pnm.cpp" -e "s|freetype/config/|freetype2/config/|"
fi
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/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} \
--includedir=%{tde_includedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
--disable-gcc-hidden-visibility \
\
%{?with_djvu:--enable-djvu}
%__make %{?_smp_mflags}
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%clean
%__rm -rf %{buildroot}
%Changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:0.8.0-1
- Initial release for TDE 14.0.0

@ -1,5 +1,5 @@
#
# spec file for package libtdeldap (version R14.0.0)
# spec file for package libtdeldap (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg libtdeldap
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package libtqt-perl (version R14.0.0)
# spec file for package libtqt-perl (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg libtqt-perl
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package pytdeextensions (version R14.0.0)
# spec file for package pytdeextensions (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -19,7 +19,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg pytdeextensions
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -146,7 +148,7 @@ This package contains the libpythonize development files.
%package devel
Summary: Meta-package to install all pytdeextensions development files
Group: Development/Libraries/Python
Requires: %{name}-devel = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: trinity-libpythonize-devel = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel

@ -1,5 +1,5 @@
#
# spec file for package python-trinity (version R14.0.0)
# spec file for package python-trinity (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg python-trinity
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tde-i18n (version R14.0.0)
# spec file for package tde-i18n (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tde-i18n
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdeaccessibility (version R14.0.0)
# spec file for package tdeaccessibility (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdeaccessibility
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdeaddons (version R14.0.0)
# spec file for package tdeaddons (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -20,7 +20,9 @@
# Having KDE libraries may cause FTBFS here !
# TDE variables
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdeaddons
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdeadmin (version R14.0.0)
# spec file for package tdeadmin (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdeadmin
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdeartwork (version R14.0.0)
# spec file for package tdeartwork (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdeartwork
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -714,7 +716,7 @@ This package is part of Trinity, and a component of the TDE artwork module.
%{tde_datadir}/applnk/System/ScreenSavers/geodesic.desktop
%endif
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7 || 0%{?pclinuxos}
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7 || 0%{?pclinuxos} || 0%{?mgaversion} >= 5
%{tde_datadir}/applnk/System/ScreenSavers/projectiveplane.desktop
%{tde_datadir}/applnk/System/ScreenSavers/tessellimage.desktop
%endif

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

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

@ -0,0 +1,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,11 @@
#%PAM-1.0
auth required pam_env.so
auth required pam_permit.so
account required pam_nologin.so
account include system-auth
password include system-auth
session required pam_loginuid.so
session optional pam_console.so
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session include system-auth

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

@ -0,0 +1,15 @@
#%PAM-1.0
auth required pam_env.so
auth required pam_succeed_if.so
auth sufficient pam_succeed_if.so user ingroup nopasswdlogin
auth substack system-auth
-auth optional pam_kwallet.so
account required pam_nologin.so
account include system-auth
password include system-auth
session required pam_loginuid.so
session optional pam_console.so
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session include system-auth
-session optional pam_kwallet.so

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

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

@ -1,5 +1,5 @@
#
# spec file for package tdebase (version R14.0.0)
# spec file for package tdebase (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdebase
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

File diff suppressed because it is too large Load Diff

@ -0,0 +1,11 @@
module tdm.fc18 1.0;
require {
type fprintd_t;
type initrc_t;
class dbus send_msg;
}
#============= fprintd_t ==============
allow fprintd_t initrc_t:dbus send_msg;

@ -0,0 +1,11 @@
module tdm.fc20 1.0;
require {
type fprintd_t;
type init_t;
class dbus send_msg;
}
#============= fprintd_t ==============
allow fprintd_t init_t:dbus send_msg;

Binary file not shown.

@ -0,0 +1,11 @@
module tdm.fc20 1.0;
require {
type fprintd_t;
type init_t;
class dbus send_msg;
}
#============= fprintd_t ==============
allow fprintd_t init_t:dbus send_msg;

@ -0,0 +1,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

@ -1,5 +1,5 @@
#
# spec file for package tdebindings (version R14.0.0)
# spec file for package tdebindings (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdebindings
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -119,7 +121,7 @@ BuildRequires: mozilla-xulrunner20-devel
BuildRequires: openssl-devel
# GTK1 support
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?rhel} >= 5
%define with_gtk1 1
BuildRequires: glib-devel
BuildRequires: gtk+-devel
@ -211,10 +213,10 @@ BuildRequires: java-devel >= 1.4.2
%if 0%{?suse_version} >= 1320
BuildRequires: java-1_8_0-openjdk-devel
%endif
%if 0%{?fedora} >= 21
%if 0%{?fedora} >= 21 || 0%{?mgaversion} >= 5
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%{?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

@ -1,5 +1,5 @@
#
# spec file for package tdeedu (version R14.0.0)
# spec file for package tdeedu (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdeedu
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdegames (version R14.0.0)
# spec file for package tdegames (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdegames
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdegraphics (version R14.0.0)
# spec file for package tdegraphics (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdegraphics
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdelibs (version R14.0.0)
# spec file for package tdelibs (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdelibs
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@ -161,7 +163,10 @@ BuildRequires: bzip2-devel
%endif
# UTEMPTER support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}utempter-devel
%endif
%if 0%{?rhel} >=5 || 0%{?fedora}
BuildRequires: libutempter-devel
%endif
%if 0%{?rhel} == 4
@ -265,7 +270,7 @@ Requires: ca-certificates
%endif
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{pclinuxos}
%if 0%{?pclinuxos}
Requires: rootcerts
%define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt
%else

@ -0,0 +1,700 @@
#
# spec file for package tdelibs (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/
#
# 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
%if "%{?tde_version}" == ""
%define tde_version 14.0.1
%endif
%define tde_pkg tdelibs
%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_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
# 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
Name: trinity-%{tde_pkg}
Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: TDE Libraries
Group: System/GUI/Other
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}-%{version}%{?preversion:~%{preversion}}.tar.gz
Source1: %{name}-rpmlintrc
Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release}
Obsoletes: trinity-kdelibs < %{version}-%{release}
Provides: trinity-kdelibs = %{version}-%{release}
Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release}
Provides: trinity-kdelibs-apidocs = %{version}-%{release}
# for set_permissions macro
%if 0%{?suse_version}
PreReq: permissions
%endif
# Trinity dependencies
BuildRequires: libtqt4-devel = %{tde_epoch}:4.2.0
BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
BuildRequires: libdbus-tqt-1-devel >= %{tde_epoch}:0.63
BuildRequires: libdbus-1-tqt-devel >= %{tde_epoch}:0.9
BuildRequires: trinity-filesystem >= %{tde_version}
Requires: trinity-arts >= %{tde_epoch}:1.5.10
Requires: trinity-filesystem >= %{tde_version}
Requires: fileshareset >= 2.0
BuildRequires: cmake >= 2.8
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
# KRB5 support
BuildRequires: krb5-devel
# XSLT support
BuildRequires: libxslt-devel
# ALSA support
BuildRequires: alsa-lib-devel
# IDN support
BuildRequires: libidn-devel
# CUPS support
BuildRequires: cups-devel
# TIFF support
BuildRequires: libtiff-devel
# OPENSSL support
BuildRequires: openssl-devel
# GLIB2 support
BuildRequires: glib2-devel
# LUA support are not ready yet
#BuildRequires: lua-devel
# LIBART_LGPL support
BuildRequires: libart_lgpl-devel
# ASPELL support
BuildRequires: aspell
BuildRequires: aspell-devel
# GAMIN support
# Not on openSUSE.
%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_gamin 1
BuildRequires: gamin-devel
%endif
# PCRE support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_pcre 1
BuildRequires: pcre-devel
%endif
# INOTIFY support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_inotify 1
%endif
# BZIP2 support
%if 0%{?suse_version}
BuildRequires: libbz2-devel
%else
BuildRequires: bzip2-devel
%endif
# UTEMPTER support
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}utempter-devel
%endif
%if 0%{?rhel} >=5 || 0%{?fedora}
BuildRequires: libutempter-devel
%endif
%if 0%{?rhel} == 4
BuildRequires: utempter
%endif
%if 0%{?suse_version}
BuildRequires: utempter-devel
%endif
# HSPELL support
%if 0%{?rhel} >=6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_hspell 1
BuildRequires: hspell-devel
%endif
# JASPER support
%if 0%{?rhel} >=6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_jasper 1
%if 0%{?suse_version}
BuildRequires: libjasper-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}jasper-devel
%endif
%if 0%{?rhel} || 0%{?fedora}
BuildRequires: jasper-devel
%endif
%endif
# AVAHI support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_avahi 1
BuildRequires: libavahi-tqt-devel >= 1:0.6.30
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}avahi-client-devel
Requires: %{_lib}avahi-client3
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: avahi-devel
Requires: avahi
%endif
%endif
# OPENEXR support
%if 0%{?rhel} >=6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_openexr 1
BuildRequires: OpenEXR-devel
%endif
# LIBTOOL
BuildRequires: libtool
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}ltdl-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
BuildRequires: libtool-ltdl-devel
%endif
# X11 support
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: x11-proto-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: xorg-x11-proto-devel
%endif
%if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel
%endif
# ICEAUTH
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220
Requires: iceauth
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora}
Requires: xorg-x11-server-utils
%endif
%if 0%{?rhel} == 4 || 0%{?suse_version}
Requires: xorg-x11
%endif
# XZ support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
%define with_lzma 1
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}lzma-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: xz-devel
%endif
%endif
# Certificates support
%if 0%{?fedora} || 0%{?rhel} >= 6
BuildRequires: ca-certificates
Requires: ca-certificates
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 6
%define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt
%endif
%if 0%{?fedora} == 18 || 0%{?fedora} == 19
%define cacert %{_sysconfdir}/ssl/certs/ca-certificates.crt
%endif
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?pclinuxos}
Requires: rootcerts
%define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt
%else
%define cacert %{_sysconfdir}/ssl/certs/ca-bundle.crt
Requires: openssl
%endif
%endif
%if 0%{?rhel} == 5
%define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt
Requires: openssl
%endif
%if 0%{?suse_version}
%define cacert %{_sysconfdir}/ssl/ca-bundle.pem
BuildRequires: ca-certificates
Requires: ca-certificates
%endif
%if "%{cacert}" != ""
Requires: %{cacert}
%endif
# XRANDR support
# On RHEL5, xrandr library is too old.
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
%define with_xrandr 1
%endif
# XCOMPOSITE support
%if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?mgaversion} >= 4
%define xcomposite_devel %{_lib}xcomposite-devel
%else
%define xcomposite_devel %{_lib}xcomposite%{?mgaversion:1}-devel
%endif
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
%define xcomposite_devel libXcomposite-devel
%endif
%{?xcomposite_devel:BuildRequires: %{xcomposite_devel}}
# XT support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%define xt_devel libXt-devel
%endif
%{?xt_devel:BuildRequires: %{xt_devel}}
### New features in TDE R14
# LIBMAGIC support
%if 0%{?rhel} == 5
BuildRequires: file
%else
BuildRequires: file-devel
%endif
# NETWORKMANAGER support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version}
%define with_nm 1
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}nm-util-devel
%endif
%if 0%{?rhel} >= 6 || 0%{?fedora}
BuildRequires: NetworkManager-glib-devel
%endif
%if 0%{?suse_version}
BuildRequires: NetworkManager-devel
%endif
%endif
# UDEV support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6
%define with_tdehwlib 1
BuildRequires: libudev-devel
%endif
# HAL support
%if 0%{?rhel} == 5
%define with_hal 1
%endif
# UDISKS support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} == 6
%if 0%{?pclinuxos} == 0
%define with_udisks 1
BuildRequires: udisks-devel
Requires: udisks
%endif
%endif
# PMOUNT support
#Requires: pmount
# UDISKS2 support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 7
%define with_udisks2 1
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
BuildRequires: libudisks2-devel
%else
BuildRequires: udisks2-devel
%endif
Requires: udisks2
%endif
# DEVICEKIT POWER support
%if 0%{?rhel} == 6
%define with_devkitpower 1
Requires: DeviceKit-power
%endif
# UPOWER support
%if 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?rhel} >= 7
%define with_upower 1
Requires: upower
%endif
# SYSTEMD support
%if 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?rhel} >= 7
%define with_systemd 1
%endif
%description
Libraries for the Trinity Desktop Environment:
TDE Libraries included: tdecore (TDE core library), tdeui (user interface),
kfm (file manager), tdehtmlw (HTML widget), tdeio (Input/Output, networking),
kspell (spelling checker), jscript (javascript), kab (addressbook),
kimgio (image manipulation).
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO
%{tde_bindir}/artsmessage
%{tde_bindir}/cupsdconf
%{tde_bindir}/cupsdoprint
%{tde_bindir}/dcop
%{tde_bindir}/dcopclient
%{tde_bindir}/dcopfind
%{tde_bindir}/dcopobject
%{tde_bindir}/dcopquit
%{tde_bindir}/dcopref
%{tde_bindir}/dcopserver
%{tde_bindir}/dcopserver_shutdown
%{tde_bindir}/dcopstart
%{tde_bindir}/imagetops
%{tde_bindir}/tdeab2tdeabc
%{tde_bindir}/kaddprinterwizard
%{tde_bindir}/tdebuildsycoca
%{tde_bindir}/tdecmshell
%{tde_bindir}/tdeconf_update
%{tde_bindir}/kcookiejar
%{tde_bindir}/tde-config
%{tde_bindir}/tde-menu
%{tde_bindir}/kded
%{tde_bindir}/tdeinit
%{tde_bindir}/tdeinit_shutdown
%{tde_bindir}/tdeinit_wrapper
%{tde_bindir}/tdesu_stub
%{tde_bindir}/kdetcompmgr
%{tde_bindir}/kdontchangethehostname
%{tde_bindir}/tdedostartupconfig
%{tde_bindir}/tdefile
%{tde_bindir}/kfmexec
%{tde_bindir}/tdehotnewstuff
%{tde_bindir}/kinstalltheme
%{tde_bindir}/tdeio_http_cache_cleaner
%{tde_bindir}/tdeio_uiserver
%{tde_bindir}/tdeioexec
%{tde_bindir}/tdeioslave
%{tde_bindir}/tdeiso_info
%{tde_bindir}/tdelauncher
%if 0%{?with_elficon}
%{tde_bindir}/tdelfeditor
%endif
%{tde_bindir}/tdemailservice
%{tde_bindir}/tdemimelist
%{tde_bindir}/tdesendbugmail
%{tde_bindir}/kshell
%{tde_bindir}/tdestartupconfig
%{tde_bindir}/tdetelnetservice
%{tde_bindir}/tdetradertest
%{tde_bindir}/kwrapper
%{tde_bindir}/lnusertemp
%{tde_bindir}/make_driver_db_cups
%{tde_bindir}/make_driver_db_lpr
%{tde_bindir}/meinproc
%{tde_bindir}/networkstatustestservice
%{tde_bindir}/start_tdeinit_wrapper
%{tde_bindir}/checkXML
%{tde_bindir}/ksvgtopng
%{tde_bindir}/tdeunittestmodrunner
%{tde_bindir}/preparetips
%{tde_tdelibdir}/*
%{tde_libdir}/lib*.so.*
%{tde_libdir}/libtdeinit_*.la
%{tde_libdir}/libtdeinit_*.so
%{tde_datadir}/applications/tde/*.desktop
%{tde_datadir}/autostart/tdeab2tdeabc.desktop
%{tde_datadir}/applnk/tdeio_iso.desktop
%{tde_datadir}/apps/*
%exclude %{tde_datadir}/apps/ksgmltools2/
%{tde_datadir}/config/*
%{tde_datadir}/emoticons/*
%{tde_datadir}/icons/crystalsvg/
%{tde_datadir}/icons/default.tde
%{tde_datadir}/icons/hicolor/index.theme
%{tde_datadir}/locale/all_languages
%{tde_datadir}/mimelnk/*/*.desktop
%{tde_datadir}/services/*
%{tde_datadir}/servicetypes/*
%{tde_tdedocdir}/HTML/en/common/*
%{tde_tdedocdir}/HTML/en/tdespell/
# Some setuid binaries need special care
%if 0%{?suse_version}
%verify(not mode) %{tde_bindir}/kgrantpty
%verify(not mode) %{tde_bindir}/kpac_dhcp_helper
%verify(not mode) %{tde_bindir}/start_tdeinit
%else
%attr(4755,root,root) %{tde_bindir}/kgrantpty
%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper
%attr(4711,root,root) %{tde_bindir}/start_tdeinit
%endif
%config %{_sysconfdir}/xdg/menus/tde-applications.menu
%config %{_sysconfdir}/xdg/menus/tde-applications.menu-no-kde
# DBUS stuff, related to TDE hwlib
%if 0%{?with_tdehwlib}
%{tde_bindir}/tde_dbus_hardwarecontrol
%config %{_sysconfdir}/dbus-1/system.d/org.trinitydesktop.hardwarecontrol.conf
%{_datadir}/dbus-1/system-services/org.trinitydesktop.hardwarecontrol.service
%endif
%pre
# TDE Bug #1074
if [ -d "%{tde_datadir}/locale/all_languages" ]; then
rm -rf "%{tde_datadir}/locale/all_languages"
fi
%post
/sbin/ldconfig || :
%if 0%{?suse_version}
# Sets permissions on setuid files (openSUSE specific)
%set_permissions %{tde_bindir}/kgrantpty
%set_permissions %{tde_bindir}/kpac_dhcp_helper
%set_permissions %{tde_bindir}/start_tdeinit
%endif
%postun
/sbin/ldconfig || :
##########
%package devel
Summary: TDE Libraries (Development files)
Group: Development/Libraries/X11
Requires: %{name} = %{version}-%{release}
Obsoletes: tdelibs-devel < %{version}-%{release}
Provides: tdelibs-devel = %{version}-%{release}
Obsoletes: trinity-kdelibs-devel < %{version}-%{release}
Provides: trinity-kdelibs-devel = %{version}-%{release}
Requires: libtqt3-mt-devel >= 3.5.0
Requires: libtqt4-devel = %{tde_epoch}:4.2.0
Requires: trinity-arts-devel >= %{tde_epoch}:1.5.10
Requires: libart_lgpl-devel
%{?xcomposite_devel:Requires: %{xcomposite_devel}}
%{?xt_devel:Requires: %{xt_devel}}
%description devel
This package includes the header files you will need to compile
applications for TDE.
%files devel
%defattr(-,root,root,-)
%{tde_bindir}/dcopidl*
%{tde_bindir}/*config_compiler
%{tde_bindir}/maketdewidgets
%{tde_datadir}/apps/ksgmltools2/
%{tde_tdeincludedir}/*
%{tde_libdir}/*.la
%{tde_libdir}/*.so
%{tde_libdir}/*.a
%exclude %{tde_libdir}/libtdeinit_*.la
%exclude %{tde_libdir}/libtdeinit_*.so
%{tde_datadir}/cmake/tdelibs.cmake
%{tde_libdir}/pkgconfig/tdelibs.pc
%post devel
/sbin/ldconfig || :
%postun devel
/sbin/ldconfig || :
##########
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
##########
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
if [ -d "/usr/X11R6" ]; then
export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include"
fi
export TDEDIR="%{tde_prefix}"
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_NO_BUILTIN_CHRPATH=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=ON \
\
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DBIN_INSTALL_DIR="%{tde_bindir}" \
-DDOC_INSTALL_DIR="%{tde_docdir}" \
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
-DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_ARTS=ON \
-DWITH_ALSA=ON \
-DWITH_LIBART=ON \
-DWITH_LIBIDN=ON \
-DWITH_SSL=ON \
-DWITH_CUPS=ON \
-DWITH_LUA=OFF \
-DWITH_TIFF=ON \
%{?!with_jasper:-DWITH_JASPER=OFF} \
%{?!with_openexr:-DWITH_OPENEXR=OFF} \
-DWITH_UTEMPTER=ON \
%{?!with_elficon:-DWITH_ELFICON=OFF} \
%{?!with_avahi:-DWITH_AVAHI=OFF} \
%{?!with_pcre:-DWITH_PCRE=OFF} \
%{?!with_inotify:-DWITH_INOTIFY=OFF} \
%{?!with_gamin:-DWITH_GAMIN=OFF} \
%{?!with_tdehwlib:-DWITH_TDEHWLIB=OFF} \
%{?!with_tdehwlib:-DWITH_TDEHWLIB_DAEMONS=OFF} \
%{?with_hal:-DWITH_HAL=ON} \
%{?with_devkitpower:-DWITH_DEVKITPOWER=ON} \
%{?with_systemd:-DWITH_LOGINDPOWER=ON} \
%{?!with_upower:-DWITH_UPOWER=OFF} \
%{?!with_udisks:-DWITH_UDISKS=OFF} \
%{?!with_udisks2:-DWITH_UDISKS2=OFF} \
-DWITH_CONSOLEKIT=ON \
%{?with_nm:-DWITH_NETWORK_MANAGER_BACKEND=ON} \
-DWITH_SUDO_TDESU_BACKEND=OFF \
-DWITH_OLD_XDG_STD=OFF \
%{?!with_lzma:-DWITH_LZMA=OFF} \
-DWITH_LIBBFD=OFF \
%{?!with_xrandr:-DWITH_XRANDR=OFF} \
-DWITH_XCOMPOSITE=ON \
-DWITH_KDE4_MENU_SUFFIX=OFF \
\
-DWITH_ASPELL=ON \
%{?!with_hspell:-DWITH_HSPELL=OFF} \
-DWITH_TDEICONLOADER_DEBUG=OFF \
..
%__make %{?_smp_mflags} || %__make
%install
%__rm -rf "%{?buildroot}"
%__make install DESTDIR="%{?buildroot}" -C build
# Use system-wide CA certificates
%if "%{?cacert}" != ""
%__rm -f "%{?buildroot}%{tde_datadir}/apps/kssl/ca-bundle.crt"
%__ln_s "%{cacert}" "%{?buildroot}%{tde_datadir}/apps/kssl/ca-bundle.crt"
%endif
# Symlinks duplicate files (mostly under 'ksgmltools2')
%fdupes -s "%{?buildroot}"
# Fix 'tderesources.desktop' (openSUSE only)
%if 0%{?suse_version}
%suse_update_desktop_file -r tderesources Qt X-TDE-settings-desktop
%endif
# Remove setuid bit on some binaries.
chmod 0755 "%{?buildroot}%{tde_bindir}/kgrantpty"
chmod 0755 "%{?buildroot}%{tde_bindir}/kpac_dhcp_helper"
chmod 0755 "%{?buildroot}%{tde_bindir}/start_tdeinit"
# fileshareset 2.0 is provided separately.
# Remove integrated fileshareset 1.0 .
%__rm -f "%{?buildroot}%{tde_bindir}/filesharelist"
%__rm -f "%{?buildroot}%{tde_bindir}/fileshareset"
%clean
%__rm -rf "%{?buildroot}"
%if 0%{?suse_version}
# Check permissions on setuid files (openSUSE specific)
%verifyscript
%verify_permissions -e %{tde_bindir}/kgrantpty
%verify_permissions -e %{tde_bindir}/kpac_dhcp_helper
%verify_permissions -e %{tde_bindir}/start_tdeinit
%endif
%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
- Initial release for TDE 14.0.0

@ -1,5 +1,5 @@
#
# spec file for package tdemultimedia (version R14.0.0)
# spec file for package tdemultimedia (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdemultimedia
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

File diff suppressed because it is too large Load Diff

@ -1,5 +1,5 @@
#
# spec file for package tdenetwork (version R14.0.0)
# spec file for package tdenetwork (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdenetwork
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdepim (version R14.0.0)
# spec file for package tdepim (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdepim
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdesdk (version R14.0.0)
# spec file for package tdesdk (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdesdk
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdetoys (version R14.0.0)
# spec file for package tdetoys (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -20,7 +20,9 @@
# Having KDE libraries may cause FTBFS here !
# TDE variables
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdetoys
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdeutils (version R14.0.0)
# spec file for package tdeutils (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -20,7 +20,9 @@
# Having KDE libraries may cause FTBFS here !
# TDE variables
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdeutils
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
#
# spec file for package tdevelop (version R14.0.0)
# spec file for package tdevelop (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdevelop
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -0,0 +1,671 @@
#
# spec file for package tdevelop (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/
#
# 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
%if "%{?tde_version}" == ""
%define tde_version 14.0.1
%endif
%define tde_pkg tdevelop
%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_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
# 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
Name: trinity-%{tde_pkg}
Summary: Integrated Development Environment for C++/C
Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Group: Development/Tools
URL: http://www.trinitydesktop.org/
%if 0%{?suse_version}
License: GPL-2.0+
%else
License: GPLv2+
%endif
#Vendor: Trinity Project
#Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Requires: %{name}-libs = %{version}-%{release}
BuildRequires: tqt3-apps-devel >= 3.5.0
BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-tdesdk-devel >= %{tde_version}
Obsoletes: trinity-kdevelop < %{version}-%{release}
Provides: trinity-kdevelop = %{version}-%{release}
# 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: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: fdupes
BuildRequires: desktop-file-utils
BuildRequires: make
Requires: make
Requires: perl
Requires: tqt3-designer >= 3.5.0
Requires: libtqt3-mt-devel >= 3.5.0
Requires: gettext
Requires: ctags
# LIBIDN support
BuildRequires: libidn-devel
# GAMIN support
# Not on openSUSE.
%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_gamin 1
BuildRequires: gamin-devel
%endif
# PCRE support
BuildRequires: pcre-devel
# DB4 support
%if 0%{?rhel} || 0%{?fedora}
BuildRequires: db4-devel
%endif
# FLEX support
BuildRequires: flex
Requires: flex >= 2.5.4
# SVN support
BuildRequires: subversion-devel
# NEON support
BuildRequires: neon-devel
# LDAP support
%if 0%{?suse_version}
BuildRequires: openldap2-devel
%else
BuildRequires: openldap-devel
%endif
# LIBACL support
%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libacl-devel
%endif
%description
The TDevelop Integrated Development Environment provides many features
that developers need as well as providing a unified interface to programs
like gdb, the C/C++ compiler, and make. TDevelop manages or provides:
All development tools needed for C++ programming like Compiler,
Linker, automake and autoconf; KAppWizard, which generates complete,
ready-to-go sample applications; Classgenerator, for creating new
classes and integrating them into the current project; File management
for sources, headers, documentation etc. to be included in the
project; The creation of User-Handbooks written with SGML and the
automatic generation of HTML-output with the KDE look and feel;
Automatic HTML-based API-documentation for your project's classes with
cross-references to the used libraries; Internationalization support
for your application, allowing translators to easily add their target
language to a project;
tdevelop also includes WYSIWYG (What you see is what you get)-creation
of user interfaces with a built-in dialog editor; Debugging your
application by integrating KDbg; Editing of project-specific pixmaps
with KIconEdit; The inclusion of any other program you need for
development by adding it to the "Tools"-menu according to your
individual needs.
%files
%defattr(-,root,root,-)
%{tde_bindir}/kdevassistant
%{tde_bindir}/kdevdesigner
%{tde_bindir}/tdevelop
%{tde_bindir}/tdevelop-htdig
%{tde_bindir}/kdevprj2kdevelop
%{tde_bindir}/kdevprofileeditor
%{tde_libdir}/tdeconf_update_bin/kdev-gen-settings-tdeconf_update
%{tde_tdeappdir}/kdevassistant.desktop
%{tde_tdeappdir}/kdevdesigner.desktop
%{tde_tdeappdir}/tdevelop.desktop
%{tde_tdeappdir}/tdevelop_c_cpp.desktop
%{tde_tdeappdir}/tdevelop_kde_cpp.desktop
%{tde_tdeappdir}/tdevelop_ruby.desktop
%{tde_tdeappdir}/tdevelop_scripting.desktop
%{tde_tdelibdir}/tdeio_chm.la
%{tde_tdelibdir}/tdeio_chm.so
%{tde_tdelibdir}/tdeio_csharpdoc.la
%{tde_tdelibdir}/tdeio_csharpdoc.so
%{tde_tdelibdir}/tdeio_perldoc.la
%{tde_tdelibdir}/tdeio_perldoc.so
%{tde_tdelibdir}/tdeio_pydoc.la
%{tde_tdelibdir}/tdeio_pydoc.so
%{tde_tdelibdir}/libdocchmplugin.la
%{tde_tdelibdir}/libdocchmplugin.so
%{tde_tdelibdir}/libdoccustomplugin.la
%{tde_tdelibdir}/libdoccustomplugin.so
%{tde_tdelibdir}/libdocdevhelpplugin.la
%{tde_tdelibdir}/libdocdevhelpplugin.so
%{tde_tdelibdir}/libdocdoxygenplugin.la
%{tde_tdelibdir}/libdocdoxygenplugin.so
%{tde_tdelibdir}/libdockdevtocplugin.la
%{tde_tdelibdir}/libdockdevtocplugin.so
%{tde_tdelibdir}/libdocqtplugin.la
%{tde_tdelibdir}/libdocqtplugin.so
%{tde_tdelibdir}/libkchmpart.la
%{tde_tdelibdir}/libkchmpart.so
%{tde_tdelibdir}/libkdevabbrev.la
%{tde_tdelibdir}/libkdevabbrev.so
%{tde_tdelibdir}/libkdevadaproject.la
%{tde_tdelibdir}/libkdevadaproject.so
%{tde_tdelibdir}/libkdevadasupport.la
%{tde_tdelibdir}/libkdevadasupport.so
%{tde_tdelibdir}/libkdevantproject.la
%{tde_tdelibdir}/libkdevantproject.so
%{tde_tdelibdir}/libkdevappview.la
%{tde_tdelibdir}/libkdevappview.so
%{tde_tdelibdir}/libkdevappwizard.la
%{tde_tdelibdir}/libkdevappwizard.so
%{tde_tdelibdir}/libkdevastyle.la
%{tde_tdelibdir}/libkdevastyle.so
%{tde_tdelibdir}/libkdevautoproject.la
%{tde_tdelibdir}/libkdevautoproject.so
%{tde_tdelibdir}/libkdevbashsupport.la
%{tde_tdelibdir}/libkdevbashsupport.so
%{tde_tdelibdir}/libkdevbookmarks.la
%{tde_tdelibdir}/libkdevbookmarks.so
%{tde_tdelibdir}/libkdevclassview.la
%{tde_tdelibdir}/libkdevclassview.so
%{tde_tdelibdir}/libkdevcppsupport.la
%{tde_tdelibdir}/libkdevcppsupport.so
%{tde_tdelibdir}/libkdevcsharpsupport.la
%{tde_tdelibdir}/libkdevcsharpsupport.so
%{tde_tdelibdir}/libkdevctags2.la
%{tde_tdelibdir}/libkdevctags2.so
%{tde_tdelibdir}/libkdevcustompcsimporter.la
%{tde_tdelibdir}/libkdevcustompcsimporter.so
%{tde_tdelibdir}/libkdevcustomproject.la
%{tde_tdelibdir}/libkdevcustomproject.so
%{tde_tdelibdir}/libkdevdccoptions.la
%{tde_tdelibdir}/libkdevdccoptions.so
%{tde_tdelibdir}/libkdevdebugger.la
%{tde_tdelibdir}/libkdevdebugger.so
%{tde_tdelibdir}/libkdevdesignerpart.la
%{tde_tdelibdir}/libkdevdesignerpart.so
%{tde_tdelibdir}/libkdevdiff.la
%{tde_tdelibdir}/libkdevdiff.so
%{tde_tdelibdir}/libkdevdistpart.la
%{tde_tdelibdir}/libkdevdistpart.so
%{tde_tdelibdir}/libkdevdocumentation.la
%{tde_tdelibdir}/libkdevdocumentation.so
%{tde_tdelibdir}/libkdevdoxygen.la
%{tde_tdelibdir}/libkdevdoxygen.so
%{tde_tdelibdir}/libkdeveditorchooser.la
%{tde_tdelibdir}/libkdeveditorchooser.so
%{tde_tdelibdir}/libkdevfilecreate.la
%{tde_tdelibdir}/libkdevfilecreate.so
%{tde_tdelibdir}/libkdevfilegroups.la
%{tde_tdelibdir}/libkdevfilegroups.so
%{tde_tdelibdir}/libkdevfilelist.la
%{tde_tdelibdir}/libkdevfilelist.so
%{tde_tdelibdir}/libkdevfileselector.la
%{tde_tdelibdir}/libkdevfileselector.so
%{tde_tdelibdir}/libkdevfileview.la
%{tde_tdelibdir}/libkdevfileview.so
%{tde_tdelibdir}/libkdevfilter.la
%{tde_tdelibdir}/libkdevfilter.so
%{tde_tdelibdir}/libkdevfortransupport.la
%{tde_tdelibdir}/libkdevfortransupport.so
%{tde_tdelibdir}/libkdevfpcoptions.la
%{tde_tdelibdir}/libkdevfpcoptions.so
%{tde_tdelibdir}/libkdevfullscreen.la
%{tde_tdelibdir}/libkdevfullscreen.so
%{tde_tdelibdir}/libkdevgccoptions.la
%{tde_tdelibdir}/libkdevgccoptions.so
%{tde_tdelibdir}/libkdevgrepview.la
%{tde_tdelibdir}/libkdevgrepview.so
%{tde_tdelibdir}/libkdevjavasupport.la
%{tde_tdelibdir}/libkdevjavasupport.so
%{tde_tdelibdir}/libkdevtdelibsimporter.la
%{tde_tdelibdir}/libkdevtdelibsimporter.so
%{tde_tdelibdir}/libkdevkonsoleview.la
%{tde_tdelibdir}/libkdevkonsoleview.so
%{tde_tdelibdir}/libkdevmakeview.la
%{tde_tdelibdir}/libkdevmakeview.so
%{tde_tdelibdir}/libkdevopenwith.la
%{tde_tdelibdir}/libkdevopenwith.so
%{tde_tdelibdir}/libkdevpartexplorer.la
%{tde_tdelibdir}/libkdevpartexplorer.so
%{tde_tdelibdir}/libkdevpascalproject.la
%{tde_tdelibdir}/libkdevpascalproject.so
%{tde_tdelibdir}/libkdevpascalsupport.la
%{tde_tdelibdir}/libkdevpascalsupport.so
%{tde_tdelibdir}/libkdevperlsupport.la
%{tde_tdelibdir}/libkdevperlsupport.so
%{tde_tdelibdir}/libkdevpgioptions.la
%{tde_tdelibdir}/libkdevpgioptions.so
%{tde_tdelibdir}/libkdevphpsupport.la
%{tde_tdelibdir}/libkdevphpsupport.so
%{tde_tdelibdir}/libkdevpythonsupport.la
%{tde_tdelibdir}/libkdevpythonsupport.so
%{tde_tdelibdir}/libkdevqt4importer.la
%{tde_tdelibdir}/libkdevqt4importer.so
%{tde_tdelibdir}/libkdevqtimporter.la
%{tde_tdelibdir}/libkdevqtimporter.so
%{tde_tdelibdir}/libkdevquickopen.la
%{tde_tdelibdir}/libkdevquickopen.so
%{tde_tdelibdir}/libkdevrbdebugger.la
%{tde_tdelibdir}/libkdevrbdebugger.so
%{tde_tdelibdir}/libkdevregexptest.la
%{tde_tdelibdir}/libkdevregexptest.so
%{tde_tdelibdir}/libkdevreplace.la
%{tde_tdelibdir}/libkdevreplace.so
%{tde_tdelibdir}/libkdevrubysupport.la
%{tde_tdelibdir}/libkdevrubysupport.so
%{tde_tdelibdir}/libkdevscripting.la
%{tde_tdelibdir}/libkdevscripting.so
%{tde_tdelibdir}/libkdevscriptproject.la
%{tde_tdelibdir}/libkdevscriptproject.so
%{tde_tdelibdir}/libkdevsnippet.la
%{tde_tdelibdir}/libkdevsnippet.so
%{tde_tdelibdir}/libkdevsqlsupport.la
%{tde_tdelibdir}/libkdevsqlsupport.so
%{tde_tdelibdir}/libkdevtexttools.la
%{tde_tdelibdir}/libkdevtexttools.so
%{tde_tdelibdir}/libkdevtipofday.la
%{tde_tdelibdir}/libkdevtipofday.so
%{tde_tdelibdir}/libkdevtools.la
%{tde_tdelibdir}/libkdevtools.so
%{tde_tdelibdir}/libkdevtrollproject.la
%{tde_tdelibdir}/libkdevtrollproject.so
%{tde_tdelibdir}/libkdevuichooser.la
%{tde_tdelibdir}/libkdevuichooser.so
%{tde_tdelibdir}/libkdevvalgrind.la
%{tde_tdelibdir}/libkdevvalgrind.so
%{tde_tdelibdir}/libkdevvcsmanager.la
%{tde_tdelibdir}/libkdevvcsmanager.so
%{tde_datadir}/apps/tdeconf_update/
%{tde_datadir}/apps/kdevabbrev/
%{tde_datadir}/apps/kdevadaproject/
%{tde_datadir}/apps/kdevadasupport/
%{tde_datadir}/apps/kdevantproject/
%{tde_datadir}/apps/kdevappoutputview/
%{tde_datadir}/apps/kdevappwizard/
%{tde_datadir}/apps/kdevassistant/
%{tde_datadir}/apps/kdevastyle/
%{tde_datadir}/apps/kdevautoproject/
%{tde_datadir}/apps/kdevbashsupport/
%{tde_datadir}/apps/kdevclassview/
%{tde_datadir}/apps/kdevcppsupport/
%{tde_datadir}/icons/hicolor/*/actions/breakpoint_add.png
%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete.png
%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete_all.png
%{tde_datadir}/icons/hicolor/*/actions/breakpoint_edit.png
%{tde_datadir}/icons/hicolor/*/actions/ktip.png
%{tde_datadir}/icons/hicolor/*/apps/kdevassistant.png
%{tde_datadir}/icons/hicolor/*/apps/kdevdesigner.png
%{tde_datadir}/icons/hicolor/*/apps/tdevelop.png
%{tde_datadir}/icons/locolor/*/actions/tdevelop_tip.png
%{tde_datadir}/mimelnk/application/x-tdevelop.desktop
%{tde_datadir}/services/chm.protocol
%{tde_datadir}/services/csharpdoc.protocol
%{tde_datadir}/services/docchmplugin.desktop
%{tde_datadir}/services/doccustomplugin.desktop
%{tde_datadir}/services/docdevhelpplugin.desktop
%{tde_datadir}/services/docdoxygenplugin.desktop
%{tde_datadir}/services/dockdevtocplugin.desktop
%{tde_datadir}/services/docqtplugin.desktop
%{tde_datadir}/services/kchmpart.desktop
%{tde_datadir}/services/kdevabbrev.desktop
%{tde_datadir}/services/kdevadaproject.desktop
%{tde_datadir}/services/kdevadasupport.desktop
%{tde_datadir}/services/kdevantproject.desktop
%{tde_datadir}/services/kdevappoutputview.desktop
%{tde_datadir}/services/kdevappwizard.desktop
%{tde_datadir}/services/kdevastyle.desktop
%{tde_datadir}/services/kdevautoproject.desktop
%{tde_datadir}/services/kdevbashsupport.desktop
%{tde_datadir}/services/kdevbookmarks.desktop
%{tde_datadir}/services/kdevclassview.desktop
%{tde_datadir}/services/kdevcppsupport.desktop
%{tde_datadir}/services/kdevcsharpsupport.desktop
%{tde_datadir}/services/kdevcsupport.desktop
%{tde_datadir}/services/kdevctags2.desktop
%{tde_datadir}/services/kdevcustomproject.desktop
%{tde_datadir}/services/kdevdccoptions.desktop
%{tde_datadir}/services/kdevdebugger.desktop
%{tde_datadir}/services/kdevdesigner_part.desktop
%{tde_datadir}/services/kdevdiff.desktop
%{tde_datadir}/services/kdevdistpart.desktop
%{tde_datadir}/services/kdevdocumentation.desktop
%{tde_datadir}/services/kdevdoxygen.desktop
%{tde_datadir}/services/kdeveditorchooser.desktop
%{tde_datadir}/services/kdevfilecreate.desktop
%{tde_datadir}/services/kdevfilegroups.desktop
%{tde_datadir}/services/kdevfilelist.desktop
%{tde_datadir}/services/kdevfileselector.desktop
%{tde_datadir}/services/kdevfileview.desktop
%{tde_datadir}/services/kdevfilter.desktop
%{tde_datadir}/services/kdevfortransupport.desktop
%{tde_datadir}/services/kdevfpcoptions.desktop
%{tde_datadir}/services/kdevfullscreen.desktop
%{tde_datadir}/services/kdevg77options.desktop
%{tde_datadir}/services/kdevgccoptions.desktop
%{tde_datadir}/services/kdevgppoptions.desktop
%{tde_datadir}/services/kdevgrepview.desktop
%{tde_datadir}/services/kdevjavasupport.desktop
%{tde_datadir}/services/kdevtdeautoproject.desktop
%{tde_datadir}/services/kdevtdelibsimporter.desktop
%{tde_datadir}/services/kdevkonsoleview.desktop
%{tde_datadir}/services/kdevmakeview.desktop
%{tde_datadir}/services/kdevopenwith.desktop
%{tde_datadir}/services/kdevpartexplorer.desktop
%{tde_datadir}/services/kdevpascalproject.desktop
%{tde_datadir}/services/kdevpascalsupport.desktop
%{tde_datadir}/services/kdevpcscustomimporter.desktop
%{tde_datadir}/services/kdevperlsupport.desktop
%{tde_datadir}/services/kdevpgf77options.desktop
%{tde_datadir}/services/kdevpghpfoptions.desktop
%{tde_datadir}/services/kdevphpsupport.desktop
%{tde_datadir}/services/kdevpythonsupport.desktop
%{tde_datadir}/services/kdevqt4importer.desktop
%{tde_datadir}/services/kdevqtimporter.desktop
%{tde_datadir}/services/kdevquickopen.desktop
%{tde_datadir}/services/kdevrbdebugger.desktop
%{tde_datadir}/services/kdevregexptest.desktop
%{tde_datadir}/services/kdevreplace.desktop
%{tde_datadir}/services/kdevrubysupport.desktop
%{tde_datadir}/services/kdevscripting.desktop
%{tde_datadir}/services/kdevscriptproject.desktop
%{tde_datadir}/services/kdevsnippet.desktop
%{tde_datadir}/services/kdevsqlsupport.desktop
%{tde_datadir}/services/kdevtexttools.desktop
%{tde_datadir}/services/kdevtipofday.desktop
%{tde_datadir}/services/kdevtmakeproject.desktop
%{tde_datadir}/services/kdevtools.desktop
%{tde_datadir}/services/kdevtrollproject.desktop
%{tde_datadir}/services/kdevuichooser.desktop
%{tde_datadir}/services/kdevvalgrind.desktop
%{tde_datadir}/services/kdevvcsmanager.desktop
%{tde_datadir}/services/perldoc.protocol
%{tde_datadir}/services/pydoc.protocol
%{tde_datadir}/servicetypes/tdevelopappfrontend.desktop
%{tde_datadir}/servicetypes/tdevelopcodebrowserfrontend.desktop
%{tde_datadir}/servicetypes/tdevelopcompileroptions.desktop
%{tde_datadir}/servicetypes/tdevelopcreatefile.desktop
%{tde_datadir}/servicetypes/tdevelopdifffrontend.desktop
%{tde_datadir}/servicetypes/tdevelopdocumentationplugins.desktop
%{tde_datadir}/servicetypes/tdeveloplanguagesupport.desktop
%{tde_datadir}/servicetypes/tdevelopmakefrontend.desktop
%{tde_datadir}/servicetypes/tdeveloppcsimporter.desktop
%{tde_datadir}/servicetypes/tdevelopplugin.desktop
%{tde_datadir}/servicetypes/tdevelopproject.desktop
%{tde_datadir}/servicetypes/tdevelopquickopen.desktop
%{tde_datadir}/servicetypes/tdevelopsourceformatter.desktop
%{tde_datadir}/servicetypes/tdevelopvcsintegrator.desktop
%{tde_datadir}/servicetypes/tdevelopversioncontrol.desktop
%{tde_datadir}/apps/kdevcsharpsupport/
%{tde_datadir}/apps/kdevctags2/
%{tde_datadir}/apps/kdevcustomproject/
%{tde_datadir}/apps/kdevdebugger/
%{tde_datadir}/apps/kdevdesigner/
%{tde_datadir}/apps/kdevdesignerpart/
%{tde_datadir}/apps/kdevdesignerpart/
%{tde_datadir}/apps/kdevdiff/
%{tde_datadir}/apps/kdevdistpart/
%{tde_datadir}/apps/kdevdocumentation/
%{tde_datadir}/apps/kdevdoxygen/
%{tde_datadir}/apps/tdevelop/
%{tde_datadir}/apps/kdevfilecreate/
%{tde_datadir}/apps/kdevfilelist/
%{tde_datadir}/apps/kdevfilter/
%{tde_datadir}/apps/kdevfortransupport/
%{tde_datadir}/apps/kdevfullscreen/
%{tde_datadir}/apps/kdevgrepview/
%{tde_datadir}/apps/kdevjavasupport/
%{tde_datadir}/apps/kdevmakeview/
%{tde_datadir}/apps/kdevpartexplorer/
%{tde_datadir}/apps/kdevpascalproject/
%{tde_datadir}/apps/kdevpascalsupport/
%{tde_datadir}/apps/kdevperlsupport/
%{tde_datadir}/apps/kdevphpsupport/
%{tde_datadir}/apps/kdevpythonsupport/
%{tde_datadir}/apps/kdevquickopen/
%{tde_datadir}/apps/kdevrbdebugger/
%{tde_datadir}/apps/kdevregexptest/
%{tde_datadir}/apps/kdevreplace/
%{tde_datadir}/apps/kdevrubysupport/
%{tde_datadir}/apps/kdevscripting/
%{tde_datadir}/apps/kdevscriptproject/
%{tde_datadir}/apps/kdevsnippet/
%{tde_datadir}/apps/kdevsqlsupport
%{tde_datadir}/apps/kdevtipofday/
%{tde_datadir}/apps/kdevtools/
%{tde_datadir}/apps/kdevtrollproject/
%{tde_datadir}/apps/kdevvalgrind/
%{tde_datadir}/apps/tdeio_pydoc/
%{tde_datadir}/config/kdevassistantrc
%{tde_datadir}/config/tdeveloprc
%{tde_datadir}/desktop-directories/tde-development-tdevelop.directory
%{tde_tdedocdir}/HTML/en/tdevelop/
%{tde_libdir}/libd.so.0
%{tde_libdir}/libd.so.0.0.0
%{tde_libdir}/libkinterfacedesigner.so.0
%{tde_libdir}/libkinterfacedesigner.so.0.0.0
%{tde_tdelibdir}/libkdevvisualboyadvance.la
%{tde_tdelibdir}/libkdevvisualboyadvance.so
%{tde_datadir}/apps/kdevdesignerpart/pics/
%{tde_datadir}/apps/kdevvisualboyadvance/
%{tde_tdedocdir}/HTML/en/tde_app_devel/
%{tde_datadir}/mimelnk/text/x-fortran.desktop
%{tde_datadir}/services/kdevvisualboyadvance.desktop
%{tde_tdedocdir}/HTML/en/kdevdesigner/
%post
for f in hicolor locolor ; do
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
done
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%postun
for f in hicolor locolor ; do
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
done
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
##########
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/Other
Requires: %{name}-libs = %{version}-%{release}
Obsoletes: trinity-kdevelop-devel < %{version}-%{release}
Provides: trinity-kdevelop-devel = %{version}-%{release}
%description devel
This package contains the development files for tdevelop.
%files devel
%defattr(-,root,root,-)
%{tde_libdir}/lib*.so
%{tde_libdir}/lib*.la
%{tde_includedir}/*
%post devel
/sbin/ldconfig || :
%postun devel
/sbin/ldconfig || :
##########
%package libs
Summary: %{name} runtime libraries
Group: System Environment/Libraries
Requires: trinity-tdelibs >= %{tde_version}
# include to be paranoid, installing libs-only is still mostly untested -- Rex
Requires: %{name} = %{version}-%{release}
Obsoletes: trinity-kdevelop-libs < %{version}-%{release}
Provides: trinity-kdevelop-libs = %{version}-%{release}
%description libs
This package contains the libraries needed for the tdevelop programs.
%files libs
%defattr(-,root,root,-)
%{tde_libdir}/libdesignerintegration.so.0
%{tde_libdir}/libdesignerintegration.so.0.0.0
%{tde_libdir}/libdocumentation_interfaces.so.0
%{tde_libdir}/libdocumentation_interfaces.so.0.0.0
%{tde_libdir}/libgdbmi_parser.so.0
%{tde_libdir}/libgdbmi_parser.so.0.0.0
%{tde_libdir}/libkdevbuildbase.so.0
%{tde_libdir}/libkdevbuildbase.so.0.0.0
%{tde_libdir}/libkdevbuildtoolswidgets.so.0
%{tde_libdir}/libkdevbuildtoolswidgets.so.0.0.0
%{tde_libdir}/libkdevcatalog.so.0
%{tde_libdir}/libkdevcatalog.so.0.0.0
%{tde_libdir}/libkdevcppparser.so.0
%{tde_libdir}/libkdevcppparser.so.0.0.0
%{tde_libdir}/libtdevelop.so.1
%{tde_libdir}/libtdevelop.so.1.0.0
%{tde_libdir}/libkdevextras.so.0
%{tde_libdir}/libkdevextras.so.0.0.0
%{tde_libdir}/libkdevpropertyeditor.so.0
%{tde_libdir}/libkdevpropertyeditor.so.0.0.0
%{tde_libdir}/libkdevqmakeparser.so.0
%{tde_libdir}/libkdevqmakeparser.so.0.0.0
%{tde_libdir}/libkdevshell.so.0
%{tde_libdir}/libkdevshell.so.0.0.0
%{tde_libdir}/libkdevwidgets.so.0
%{tde_libdir}/libkdevwidgets.so.0.0.0
%{tde_libdir}/liblang_debugger.so.0
%{tde_libdir}/liblang_debugger.so.0.0.0
%{tde_libdir}/liblang_interfaces.so.0
%{tde_libdir}/liblang_interfaces.so.0.0.0
%{tde_libdir}/libprofileengine.so.0
%{tde_libdir}/libprofileengine.so.0.0.0
%post libs
/sbin/ldconfig || :
%postun libs
/sbin/ldconfig || :
##########
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
##########
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
# Specific path for RHEL4
if [ -d /usr/X11R6 ]; then
export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
fi
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
# Warning: GCC visibility causes FTBFS [Bug #1285]
%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=OFF \
\
-DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
\
-DWITH_BUILDTOOL_ALL=ON \
-DWITH_LANGUAGE_ALL=ON \
-DWITH_VCS_ALL=OFF \
-DBUILD_ALL=ON \
..
%__make %{?_smp_mflags} || %__make
%install
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build
# Links duplicate files
%fdupes "%{?buildroot}%{tde_datadir}"
%clean
%__rm -rf %{buildroot}
%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
- Initial release for TDE 14.0.0

@ -1,5 +1,5 @@
#
# spec file for package tdewebdev (version R14.0.0)
# spec file for package tdewebdev (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0
%endif
%define tde_pkg tdewebdev
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin

@ -0,0 +1,199 @@
alsa-lib-devel
aspell
aspell-devel
audiofile-devel
autotrace
avahi-devel
bind-devel
binutils-devel
bison
boost-devel
bzip2-devel
ccache
ccrtp-devel
cdparanoia
cdparanoia-devel
chrpath
clucene-core-devel
cmake
commoncpp2-devel
cpp
cppunit-devel
createrepo
cups-devel
db4-devel
dbus-glib-devel
djvulibre
djvulibre-devel
doxygen
dssi-devel
esound-devel
exiv2-devel
fdupes
ffmpeg-devel
fftw-devel
file-devel
flac-devel
flex-static
fribidi-devel
gamin-devel
gcc
gcc-c++
gettext-devel
glib-devel
gmp-devel
gnokii-devel
gperf
gpgme-devel
gphoto2-devel
GraphicsMagick-devel
gsl-devel
gstreamer-devel
gstreamer-plugins-base-devel
gtk2-devel
gtk+-devel
gtk-doc
guile-devel
hspell-devel
html2ps
icu
ImageMagick-devel
imake
imlib-devel
jack-audio-connection-kit-devel
jasper-devel
java-1.8.0-openjdk-devel
java-devel
java-openjdk
lame-devel
lcms-devel
libacl-devel
libart_lgpl-devel
libblkid-devel
libcap-devel
libcdio-devel
libcdio-paranoia-devel
libcurl-devel
libdb-cxx-devel
libdb-devel
libdvdread-devel
libfontenc-devel
libgadu-devel
libgpod-devel
libgsf-devel
libical-devel
libidn-devel
libifp-devel
liblo-devel
liblrdf-devel
libmad-devel
libmng-devel
libmp4v2-devel
libmpcdec-devel
libmtp-devel
libmusicbrainz-devel
libnjb-devel
libofx-devel
libogg-devel
libotr-devel
libpaper-devel
libpqxx-devel
libraw1394-devel
librsvg2
librsvg2-tools
libsamplerate-devel
libsmbclient-devel
libsndfile-devel
libssh2-devel
libtheora-devel
libtiff-devel
libtool
libtool-ltdl-devel
libtunepimp-devel
libudev-devel
libutempter-devel
libv4l-devel
libvisual-devel
libvorbis-devel
libwmf-devel
libwpd-devel
libXaw-devel
libXcomposite-devel
libXdamage-devel
libXdmcp-devel
libxkbfile-devel
libXScrnSaver-devel
libxslt-devel
libXtst-devel
libXv-devel
libXxf86dga-devel
libXxf86vm-devel
libzrtpcpp-devel
lirc-devel
lm_sensors-devel
meanwhile-devel
mftrace
mysql-devel
nas-devel
neon-devel
netpbm-progs
net-snmp-devel
net-tools
NetworkManager-glib-devel
ocaml
ocaml(compiler)
OpenEXR-devel
openldap-devel
openslp-devel
opensp-devel
ortp-devel
pam-devel
pciutils-devel
pcre-devel
pcsc-lite-devel
perl
perl-devel
perl(ExtUtils::MakeMaker)
perl(XML::Parser)
pilot-link-devel
poppler-devel
postgresql-devel
pth-devel
pulseaudio-libs-devel
recode
redhat-rpm-config
rpm-build
ruby
ruby-devel
sane-backends-devel
scons
SDL-devel
sip-devel
speex-devel
sqlite-devel
subversion-devel
sword-devel
t1lib-devel
t1utils
taglib-devel
tar
transfig
udisks-devel
unixODBC-devel
valgrind
wireless-tools-devel
xine-lib-devel
xmedcon
xmedcon-devel
xmlto
xorg-x11-font-utils
xscreensaver
xscreensaver-extras
xulrunner-devel
xz-devel
texinfo
fontpackages-devel
libudisks2-devel
htdig
libconfig-devel
gtk3-devel

@ -0,0 +1,215 @@
GraphicsMagick-devel
libotr-devel
ImageMagick-devel
NetworkManager-glib-devel
OpenEXR-devel
SDL-devel
advancecomp
alsa-lib-devel
aspell
aspell-en
aspell-devel
audiofile-devel
bind-devel
bison
boost-devel
bzip2-devel
ccache
cdparanoia
chrpath
cmake
cups-devel
curl-devel
db5-devel
dbus-devel
dbus-glib
dbus-glib-devel
djvulibre
docbook-dtd412-xml
docbook-style-xsl
docbook-utils
doxygen
drakconf
dssi-devel
expat-devel
fftw-devel
flex
fontconfig-devel
freetype-devel
freetype2-devel
fribidi-devel
gamin-devel
gettext-devel
glib2-devel
gnokii-devel
gperf
gpgme-devel
gphoto2-devel
gsl-devel
gtk-doc
gtk2-devel
gtk+3.0-devel
hspell-devel
imake
java-1.8.0-openjdk
java-1.8.0-openjdk-devel
karma-sharp
kde-dev-scripts
lcms-devel
lib64apr-devel
lib64apr-util-devel
lib64binutils-devel
lib64clucene-devel
lib64commoncpp-devel
lib64curl-devel
lib64dvdread-devel
lib64ecpg9.4_6
lib64exiv2-devel
lib64ffmpeg-devel
lib64flac++-devel
lib64flac-devel
lib64fontenc-devel
lib64gstreamer0.10-devel
lib64inotifytools-devel
lib64jasper-devel
lib64jpeg-devel
lib64lame-devel
lib64lua-devel
lib64mad-devel
lib64paper-devel
lib64poppler-devel
lib64pulseaudio-devel
lib64sane1-devel
lib64t1lib-devel
lib64tiff-devel
lib64twolame-devel
lib64udev-devel
lib64usb1.0-devel
lib64v4l-devel
lib64xaw-devel
lib64xi-devel
lib64xine1.2-devel
lib64xscrnsaver-devel
lib64xtst-devel
lib64xxf86dga-devel
lib64yaz-devel
libart_lgpl-devel
libblkid-devel
libcdda-devel
libclucene-devel
libcommoncpp-devel
libconfig-devel
libcurl-devel
libdvdread-devel
libffmpeg-devel
libflac++-devel
libflac-devel
libgadu-devel
libgpod-devel
libgsf-devel
libgstreamer-plugins-base-devel
libhd-devel
libical-devel
libice-devel
libifp-devel
libinotifytools-devel
libiodbc-devel
libiw-devel
libjack-devel
libjasper-devel
libkarma-devel
liblo-devel
liblrdf-devel
libmad-devel
libmng-devel
libmp4v2-devel
libmpcdec-devel
libmtp-devel
libmusicbrainz-devel
libnjb-devel
libofx-devel
libpaper-devel
libraw1394-devel
librsvg
libsm-devel
libsmbclient-devel
libsndfile-devel
libt1lib-devel
libtheora-devel
libungif-devel
lib64utempter-devel
libvisual-devel
libvorbis-devel
libwmf-devel
libwpd-devel
libx11-devel
libxcursor-devel
libxext-devel
libxft-devel
libxi-devel
libxinerama-devel
libxkbfile-devel
libxmu-devel
libxrandr-devel
libxrender-devel
libxslt-devel
libxv-devel
libxxf86dga-devel
libyaz-devel
lilo
lirc-devel
lm_sensors-devel
mesaglu-devel
mysql-devel
nas-devel
neon-devel
net-snmp-devel
netpbm
ocaml
openldap-devel
openslp-devel
opensp-devel
optipng
pam-devel
pciutils-devel
perl(XML::Parser)
perl-devel
pilot-link-devel
pkgconfig(audiofile)
pkgconfig(libpng16)
postgresql9.4
postgresql9.4-devel
pth-devel
python-devel
python-sip
qt4-devel
readline-devel
recode
rpm-build
rpm-devel
ruby-devel
scons
speex-devel
sqlite-devel
sqlite3-devel
subversion-devel
sword-devel
taglib-devel
transfig
udisks-devel
udisks2-devel
unixODBC-devel
valgrind
wv2-devel
x11-font-util
xmlto
xscreensaver
xscreensaver-base
xscreensaver-extrusion
xscreensaver-gl
yaz
zlib-devel
fdupes
firebird-devel
GraphicsMagick-devel
dssi-devel
Loading…
Cancel
Save