From cd8eb9fd74fafb2435bc1f878cbb2bc91f52d859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 3 Nov 2019 11:03:22 +0100 Subject: RPM: update spec files for TDE 14.0.7 --- redhat/main/tde-i18n/tde-i18n-14.0.0.spec | 1494 -------------------- redhat/main/tde-i18n/tde-i18n.spec | 1494 ++++++++++++++++++++ .../tdeaccessibility/tdeaccessibility-14.0.0.spec | 505 ------- redhat/main/tdeaccessibility/tdeaccessibility.spec | 505 +++++++ redhat/main/tdeaddons/tdeaddons-14.0.0.spec | 758 ---------- redhat/main/tdeaddons/tdeaddons.spec | 761 ++++++++++ redhat/main/tdeadmin/tdeadmin.spec | 2 +- redhat/main/tdeartwork/tdeartwork-14.0.0.spec | 772 ---------- redhat/main/tdeartwork/tdeartwork.spec | 772 ++++++++++ redhat/main/tdebase/pamd.kcheckpass-trinity.el8 | 1 + redhat/main/tdebase/pamd.kcheckpass-trinity.fc31 | 5 + redhat/main/tdebase/pamd.kcheckpass-trinity.pclos | 1 + redhat/main/tdebase/pamd.kdm-trinity-np.el8 | 1 + redhat/main/tdebase/pamd.kdm-trinity-np.fc31 | 16 + redhat/main/tdebase/pamd.kdm-trinity-np.pclos | 1 + redhat/main/tdebase/pamd.kdm-trinity.el8 | 1 + redhat/main/tdebase/pamd.kdm-trinity.fc31 | 23 + redhat/main/tdebase/pamd.kdm-trinity.pclos | 1 + redhat/main/tdebase/pamd.kscreensaver-trinity.el8 | 1 + redhat/main/tdebase/pamd.kscreensaver-trinity.fc31 | 5 + .../main/tdebase/pamd.kscreensaver-trinity.pclos | 1 + redhat/main/tdebase/tdebase.spec | 112 +- redhat/main/tdebase/tdm.el8.pp | 1 + redhat/main/tdebase/tdm.fc31.pp | Bin 0 -> 932 bytes redhat/main/tdebase/tdm.service.el8 | 1 + redhat/main/tdebase/tdm.service.fc31 | 12 + redhat/main/tdebase/tdm.service.mga6 | 12 + redhat/main/tdebase/tdm.service.mga7 | 12 + redhat/main/tdebindings/tdebindings-14.0.0.spec | 1164 --------------- redhat/main/tdebindings/tdebindings.spec | 1193 ++++++++++++++++ redhat/main/tdeedu/tdeedu-14.0.0.spec | 1158 --------------- redhat/main/tdeedu/tdeedu.spec | 1175 +++++++++++++++ redhat/main/tdegames/tdegames-14.0.0.spec | 1195 ---------------- redhat/main/tdegames/tdegames.spec | 1195 ++++++++++++++++ redhat/main/tdegraphics/tdegraphics-14.0.0.spec | 1120 --------------- redhat/main/tdegraphics/tdegraphics.spec | 1120 +++++++++++++++ redhat/main/tdelibs/tdelibs-14.0.1.patch | 31 - redhat/main/tdelibs/tdelibs-14.1.0.patch | 13 - redhat/main/tdelibs/tdelibs.spec | 7 +- .../tdemultimedia-14.0.0-autotools.spec | 1145 --------------- .../tdemultimedia/tdemultimedia-14.0.0-cmake.spec | 1158 --------------- .../main/tdemultimedia/tdemultimedia-14.0.0.spec | 1 - redhat/main/tdemultimedia/tdemultimedia.spec | 1158 +++++++++++++++ redhat/main/tdenetwork/tdenetwork-14.0.0.spec | 1187 ---------------- redhat/main/tdenetwork/tdenetwork.spec | 1186 ++++++++++++++++ redhat/main/tdepim/tdepim-14.0.0.patch | 90 -- redhat/main/tdepim/tdepim.spec | 2 +- redhat/main/tdesdk/tdesdk-14.0.0.spec | 1117 --------------- redhat/main/tdesdk/tdesdk.spec | 1130 +++++++++++++++ redhat/main/tdetoys/tdetoys.spec | 2 +- redhat/main/tdeutils/tdeutils.spec | 2 +- redhat/main/tdevelop/tdevelop-14.0.0.spec | 654 --------- redhat/main/tdevelop/tdevelop.spec | 660 +++++++++ redhat/main/tdewebdev/tdewebdev-14.0.0.spec | 529 ------- redhat/main/tdewebdev/tdewebdev.spec | 529 +++++++ 55 files changed, 13062 insertions(+), 14129 deletions(-) delete mode 100644 redhat/main/tde-i18n/tde-i18n-14.0.0.spec create mode 100644 redhat/main/tde-i18n/tde-i18n.spec delete mode 100644 redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec create mode 100644 redhat/main/tdeaccessibility/tdeaccessibility.spec delete mode 100644 redhat/main/tdeaddons/tdeaddons-14.0.0.spec create mode 100644 redhat/main/tdeaddons/tdeaddons.spec delete mode 100644 redhat/main/tdeartwork/tdeartwork-14.0.0.spec create mode 100644 redhat/main/tdeartwork/tdeartwork.spec create mode 120000 redhat/main/tdebase/pamd.kcheckpass-trinity.el8 create mode 100644 redhat/main/tdebase/pamd.kcheckpass-trinity.fc31 create mode 120000 redhat/main/tdebase/pamd.kcheckpass-trinity.pclos create mode 120000 redhat/main/tdebase/pamd.kdm-trinity-np.el8 create mode 100644 redhat/main/tdebase/pamd.kdm-trinity-np.fc31 create mode 120000 redhat/main/tdebase/pamd.kdm-trinity-np.pclos create mode 120000 redhat/main/tdebase/pamd.kdm-trinity.el8 create mode 100644 redhat/main/tdebase/pamd.kdm-trinity.fc31 create mode 120000 redhat/main/tdebase/pamd.kdm-trinity.pclos create mode 120000 redhat/main/tdebase/pamd.kscreensaver-trinity.el8 create mode 100644 redhat/main/tdebase/pamd.kscreensaver-trinity.fc31 create mode 120000 redhat/main/tdebase/pamd.kscreensaver-trinity.pclos create mode 120000 redhat/main/tdebase/tdm.el8.pp create mode 100644 redhat/main/tdebase/tdm.fc31.pp create mode 120000 redhat/main/tdebase/tdm.service.el8 create mode 100644 redhat/main/tdebase/tdm.service.fc31 create mode 100644 redhat/main/tdebase/tdm.service.mga6 create mode 100644 redhat/main/tdebase/tdm.service.mga7 delete mode 100644 redhat/main/tdebindings/tdebindings-14.0.0.spec create mode 100644 redhat/main/tdebindings/tdebindings.spec delete mode 100644 redhat/main/tdeedu/tdeedu-14.0.0.spec create mode 100644 redhat/main/tdeedu/tdeedu.spec delete mode 100644 redhat/main/tdegames/tdegames-14.0.0.spec create mode 100644 redhat/main/tdegames/tdegames.spec delete mode 100644 redhat/main/tdegraphics/tdegraphics-14.0.0.spec create mode 100644 redhat/main/tdegraphics/tdegraphics.spec delete mode 100644 redhat/main/tdelibs/tdelibs-14.0.1.patch delete mode 100644 redhat/main/tdelibs/tdelibs-14.1.0.patch delete mode 100644 redhat/main/tdemultimedia/tdemultimedia-14.0.0-autotools.spec delete mode 100644 redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec delete mode 120000 redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec create mode 100644 redhat/main/tdemultimedia/tdemultimedia.spec delete mode 100644 redhat/main/tdenetwork/tdenetwork-14.0.0.spec create mode 100644 redhat/main/tdenetwork/tdenetwork.spec delete mode 100644 redhat/main/tdepim/tdepim-14.0.0.patch delete mode 100644 redhat/main/tdesdk/tdesdk-14.0.0.spec create mode 100644 redhat/main/tdesdk/tdesdk.spec delete mode 100644 redhat/main/tdevelop/tdevelop-14.0.0.spec create mode 100644 redhat/main/tdevelop/tdevelop.spec delete mode 100644 redhat/main/tdewebdev/tdewebdev-14.0.0.spec create mode 100644 redhat/main/tdewebdev/tdewebdev.spec (limited to 'redhat/main') diff --git a/redhat/main/tde-i18n/tde-i18n-14.0.0.spec b/redhat/main/tde-i18n/tde-i18n-14.0.0.spec deleted file mode 100644 index bad847a91..000000000 --- a/redhat/main/tde-i18n/tde-i18n-14.0.0.spec +++ /dev/null @@ -1,1494 +0,0 @@ -# -# spec file for package tde-i18n (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-i18n -%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 - -# Builds all supported languages (not unsupported ones) -%if "%{?TDE_LANGS}" == "" -%define TDE_LANGS af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta te tg th tr uk uz uz@cyrillic vi wa zh_CN zh_TW -%endif - - -Name: trinity-%{tde_pkg} -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Internationalization support for Trinity -Group: User Interface/Desktops -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} - -BuildRequires: findutils -BuildRequires: gettext -BuildRequires: cmake -BuildRequires: gcc-c++ - -%description -This package contains %{summary}. - -########## - -%package Afrikaans -Summary: Afrikaans(af) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-af = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Afrikaans < %{version}-%{release} -Provides: trinity-kde-i18n-Afrikaans = %{version}-%{release} - -%description Afrikaans -This package contains %{summary}. - -%files Afrikaans -%defattr(-,root,root,-) -%{tde_datadir}/locale/af/ - -########## - -%package Arabic -Summary: Arabic(ar) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ar = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} -Provides: trinity-kde-i18n-Arabic = %{version}-%{release} - -%description Arabic -This package contains %{summary}. - -%files Arabic -%defattr(-,root,root,-) -%{tde_datadir}/locale/ar/ - -########## - -%package Azerbaijani -Summary: Azerbaijani(az) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-az = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} -Provides: trinity-kde-i18n-Arabic = %{version}-%{release} - -%description Azerbaijani -This package contains %{summary}. - -%files Azerbaijani -%defattr(-,root,root,-) -%{tde_datadir}/locale/az/ - -########## - -%package Belarusian -Summary: Belarusian(be) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-be = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Belarusian < %{version}-%{release} -Provides: trinity-kde-i18n-Belarusian = %{version}-%{release} - -%description Belarusian -This package contains %{summary}. - -%files Belarusian -%defattr(-,root,root,-) -%{tde_datadir}/locale/be/ - -########## - -%package Bulgarian -Summary: Bulgarian(bg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bg = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Bulgarian < %{version}-%{release} -Provides: trinity-kde-i18n-Bulgarian = %{version}-%{release} - -%description Bulgarian -This package contains %{summary}. - -%files Bulgarian -%defattr(-,root,root,-) -%{tde_datadir}/locale/bg/ - -########## - -%package Bengali -Summary: Bengali(bn) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bn = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Bengali < %{version}-%{release} -Provides: trinity-kde-i18n-Bengali = %{version}-%{release} - -%description Bengali -This package contains %{summary}. - -%files Bengali -%defattr(-,root,root,-) -%{tde_datadir}/locale/bn/ - -########## - -%package Tibetan -Summary: Tibetan(bo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Tibetan < %{version}-%{release} -Provides: trinity-kde-i18n-Tibetan = %{version}-%{release} - -%description Tibetan -This package contains %{summary}. - -#%files Tibetan -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/bo/ - -########## - -%package Breton -Summary: Breton(br) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-br = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Breton < %{version}-%{release} -Provides: trinity-kde-i18n-Breton = %{version}-%{release} - -%description Breton -This package contains %{summary}. - -%files Breton -%defattr(-,root,root,-) -%{tde_datadir}/locale/br/ - -########## - -%package Bosnian -Summary: Bosnian(bs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bs = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Bosnian < %{version}-%{release} -Provides: trinity-kde-i18n-Bosnian = %{version}-%{release} - -%description Bosnian -This package contains %{summary}. - -%files Bosnian -%defattr(-,root,root,-) -%{tde_datadir}/locale/bs/ - -########## - -%package Catalan -Summary: Catalan(ca) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ca = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Catalan < %{version}-%{release} -Provides: trinity-kde-i18n-Catalan = %{version}-%{release} - -%description Catalan -This package contains %{summary}. - -%files Catalan -%defattr(-,root,root,-) -%{tde_datadir}/locale/ca/ -%{tde_tdedocdir}/HTML/ca/ - -########## - -%package Czech -Summary: Czech(cs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cs = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Czech < %{version}-%{release} -Provides: trinity-kde-i18n-Czech = %{version}-%{release} - -%description Czech -This package contains %{summary}. - -%files Czech -%defattr(-,root,root,-) -%{tde_datadir}/locale/cs/ -%{tde_tdedocdir}/HTML/cs/ - -########## - -%package Kashubian -Summary: Kashubian(csb) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-csb = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Kashubian < %{version}-%{release} -Provides: trinity-kde-i18n-Kashubian = %{version}-%{release} - -%description Kashubian -This package contains %{summary}. - -%files Kashubian -%defattr(-,root,root,-) -%{tde_datadir}/locale/csb/ - -########## - -%package Cymraeg -Summary: Cymraeg language support for TDE -Group: User Interface/Desktops -Obsoletes: trinity-kde-i18n-Cymraeg < %{version}-%{release} -Provides: trinity-kde-i18n-Cymraeg = %{version}-%{release} - -%description Cymraeg -This package contains %{summary}. - -########## - -%package Welsh -Summary: Welsh(cy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cy = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Welsh < %{version}-%{release} -Provides: trinity-kde-i18n-Welsh = %{version}-%{release} - -%description Welsh -This package contains %{summary}. - -%files Welsh -%defattr(-,root,root,-) -%{tde_datadir}/locale/cy/ - -########## - -%package Danish -Summary: Danish(da) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-da = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Danish < %{version}-%{release} -Provides: trinity-kde-i18n-Danish = %{version}-%{release} - -%description Danish -This package contains %{summary}. - -%files Danish -%defattr(-,root,root,-) -%{tde_datadir}/locale/da/ -%{tde_tdedocdir}/HTML/da/ - -########## - -%package German -Summary: German(de) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-de = %{version}-%{release} -Obsoletes: trinity-kde-i18n-German < %{version}-%{release} -Provides: trinity-kde-i18n-German = %{version}-%{release} - -%description German -This package contains %{summary}. - -%files German -%defattr(-,root,root,-) -%{tde_datadir}/locale/de/ -%{tde_tdedocdir}/HTML/de/ - -########## - -%package Greek -Summary: Greek(el) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-el = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Greek < %{version}-%{release} -Provides: trinity-kde-i18n-Greek = %{version}-%{release} - -%description Greek -This package contains %{summary}. - -%files Greek -%defattr(-,root,root,-) -%{tde_datadir}/locale/el/ - -########## - -%package British -Summary: British(en_GB) English support for TDE -Group: User Interface/Desktops -Provides: %{name}-en_GB = %{version}-%{release} -Obsoletes: trinity-kde-i18n-British < %{version}-%{release} -Provides: trinity-kde-i18n-British = %{version}-%{release} - -%description British -This package contains %{summary}. - -%files British -%defattr(-,root,root,-) -%{tde_datadir}/locale/en_GB/ -%{tde_tdedocdir}/HTML/en_GB/ - -########## - -%package Esperanto -Summary: Esperanto(eo) support for TDE -Group: User Interface/Desktops -Provides: %{name}-eo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Esperanto < %{version}-%{release} -Provides: trinity-kde-i18n-Esperanto = %{version}-%{release} - -%description Esperanto -This package contains %{summary}. - -%files Esperanto -%defattr(-,root,root,-) -%{tde_datadir}/locale/eo/ - -########## - -%package Spanish -Summary: Spanish(es) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-es = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Spanish < %{version}-%{release} -Provides: trinity-kde-i18n-Spanish = %{version}-%{release} - -%description Spanish -This package contains %{summary}. - -%files Spanish -%defattr(-,root,root,-) -%{tde_datadir}/locale/es/ -%{tde_tdedocdir}/HTML/es/ - -########## - -%package Estonian -Summary: Estonian(et) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-et = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Estonian < %{version}-%{release} -Provides: trinity-kde-i18n-Estonian = %{version}-%{release} - -%description Estonian -This package contains %{summary}. - -%files Estonian -%defattr(-,root,root,-) -%{tde_datadir}/locale/et/ -%{tde_tdedocdir}/HTML/et/ - -########## - -%package Basque -Summary: Basque(eu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-eu = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Basque < %{version}-%{release} -Provides: trinity-kde-i18n-Basque = %{version}-%{release} - -%description Basque -This package contains %{summary}. - -%files Basque -%defattr(-,root,root,-) -%{tde_datadir}/locale/eu/ -%{tde_tdedocdir}/HTML/eu/ - -########## - -%package Farsi -Summary: Farsi(fa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fa = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Farsi < %{version}-%{release} -Provides: trinity-kde-i18n-Farsi = %{version}-%{release} - -%description Farsi -This package contains %{summary}. - -%files Farsi -%defattr(-,root,root,-) -%{tde_datadir}/locale/fa/ - -########## - -%package Finnish -Summary: Finnish(fi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Finnish < %{version}-%{release} -Provides: trinity-kde-i18n-Finnish = %{version}-%{release} - -%description Finnish -This package contains %{summary}. - -%files Finnish -%defattr(-,root,root,-) -%{tde_datadir}/locale/fi/ -%{tde_tdedocdir}/HTML/fi/ - -########## - -%package Faroese -Summary: Faroese(fo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Faroese < %{version}-%{release} -Provides: trinity-kde-i18n-Faroese = %{version}-%{release} - -%description Faroese -This package contains %{summary}. - -#%files Faroese -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/fo/ - -########## - -%package French -Summary: French(fr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-French < %{version}-%{release} -Provides: trinity-kde-i18n-French = %{version}-%{release} - -%description French -This package contains %{summary}. - -%files French -%defattr(-,root,root,-) -%{tde_datadir}/locale/fr/ -%{tde_tdedocdir}/HTML/fr/ - -########## - -%package Frisian -Summary: Frisian(fy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fy = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Frisian < %{version}-%{release} -Provides: trinity-kde-i18n-Frisian = %{version}-%{release} - -%description Frisian -This package contains %{summary}. - -%files Frisian -%defattr(-,root,root,-) -%{tde_datadir}/locale/fy/ - -########## - -%package Irish -Summary: Irish(ga) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ga = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Irish < %{version}-%{release} -Provides: trinity-kde-i18n-Irish = %{version}-%{release} - -%description Irish -This package contains %{summary}. - -%files Irish -%defattr(-,root,root,-) -%{tde_datadir}/locale/ga/ - -########## - -%package Galician -Summary: Galician(gl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-gl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Galician < %{version}-%{release} -Provides: trinity-kde-i18n-Galician = %{version}-%{release} - -%description Galician -This package contains %{summary}. - -%files Galician -%defattr(-,root,root,-) -%{tde_datadir}/locale/gl/ - -########## - -%package Hebrew -Summary: Hebrew(he) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-he = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Hebrew < %{version}-%{release} -Provides: trinity-kde-i18n-Hebrew = %{version}-%{release} - -%description Hebrew -This package contains %{summary}. - -%files Hebrew -%defattr(-,root,root,-) -%{tde_datadir}/locale/he/ -%{tde_tdedocdir}/HTML/he/ - -########## - -%package Hindi -Summary: Hindi(hi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Hindi < %{version}-%{release} -Provides: trinity-kde-i18n-Hindi = %{version}-%{release} - -%description Hindi -This package contains %{summary}. - -%files Hindi -%defattr(-,root,root,-) -%{tde_datadir}/locale/hi/ - -########## - -%package Croatian -Summary: Croatian(hr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Croatian < %{version}-%{release} -Provides: trinity-kde-i18n-Croatian = %{version}-%{release} - -%description Croatian -This package contains %{summary}. - -%files Croatian -%defattr(-,root,root,-) -%{tde_datadir}/locale/hr/ -%{tde_tdedocdir}/HTML/hr/ - -########## - -%package Hungarian -Summary: Hungarian(hu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hu = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Hungarian < %{version}-%{release} -Provides: trinity-kde-i18n-Hungarian = %{version}-%{release} - -%description Hungarian -This package contains %{summary}. - -%files Hungarian -%defattr(-,root,root,-) -%{tde_datadir}/locale/hu/ -%{tde_tdedocdir}/HTML/hu/ - -########## - -%package Indonesian -Summary: Indonesian(id) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-id = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Indonesian < %{version}-%{release} -Provides: trinity-kde-i18n-Indonesian = %{version}-%{release} - -%description Indonesian -This package contains %{summary}. - -#%files Indonesian -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/id/ - -########## - -%package Icelandic -Summary: Icelandic(is) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-is = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Icelandic < %{version}-%{release} -Provides: trinity-kde-i18n-Icelandic = %{version}-%{release} - -%description Icelandic -This package contains %{summary}. - -%files Icelandic -%defattr(-,root,root,-) -%{tde_datadir}/locale/is/ - -########## - -%package Italian -Summary: Italian(it) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-it = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Italian < %{version}-%{release} -Provides: trinity-kde-i18n-Italian = %{version}-%{release} - -%description Italian -This package contains %{summary}. - -%files Italian -%defattr(-,root,root,-) -%{tde_datadir}/locale/it/ -%{tde_tdedocdir}/HTML/it/ - -########## - -%package Japanese -Summary: Japanese(ja) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ja = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Japanese < %{version}-%{release} -Provides: trinity-kde-i18n-Japanese = %{version}-%{release} - -%description Japanese -This package contains %{summary}. - -%files Japanese -%defattr(-,root,root,-) -%{tde_datadir}/locale/ja/ -%{tde_tdedocdir}/HTML/ja/ - -########## - -%package Kazakh -Summary: Kazakh(kk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-kk = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Kazakh < %{version}-%{release} -Provides: trinity-kde-i18n-Kazakh = %{version}-%{release} - -%description Kazakh -This package contains %{summary}. - -%files Kazakh -%defattr(-,root,root,-) -%{tde_datadir}/locale/kk/ - -########## - -%package Khmer -Summary: Khmer(km) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Khmer < %{version}-%{release} -Provides: trinity-kde-i18n-Khmer = %{version}-%{release} - -%description Khmer -This package contains %{summary}. - -%files Khmer -%defattr(-,root,root,-) -%{tde_datadir}/locale/km/ - -########## - -%package Korean -Summary: Korean(ko) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Korean < %{version}-%{release} -Provides: trinity-kde-i18n-Korean = %{version}-%{release} - -%description Korean -This package contains %{summary}. - -%files Korean -%defattr(-,root,root,-) -%{tde_datadir}/locale/ko/ -%{tde_tdedocdir}/HTML/ko/ - -########## - -%package Kurdish -Summary: Kurdish(ku) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ku = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Kurdish < %{version}-%{release} -Provides: trinity-kde-i18n-Kurdish = %{version}-%{release} - -%description Kurdish -This package contains %{summary}. - -#%files Kurdish -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/ku/ - -########## - -%package Lao -Summary: Lao(lo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Lao < %{version}-%{release} -Provides: trinity-kde-i18n-Lao = %{version}-%{release} - -%description Lao -This package contains %{summary}. - -#%files Lao -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/lo/ - -########## - -%package Lithuanian -Summary: Lithuanian(lt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lt = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Lithuanian < %{version}-%{release} -Provides: trinity-kde-i18n-Lithuanian = %{version}-%{release} - -%description Lithuanian -This package contains %{summary}. - -%files Lithuanian -%defattr(-,root,root,-) -%{tde_datadir}/locale/lt/ - -########## - -%package Latvian -Summary: Latvian(lv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lv = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Latvian < %{version}-%{release} -Provides: trinity-kde-i18n-Latvian = %{version}-%{release} - -%description Latvian -This package contains %{summary}. - -%files Latvian -%defattr(-,root,root,-) -%{tde_datadir}/locale/lv/ - -########## - -%package Maori -Summary: Maori(mi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Maori < %{version}-%{release} -Provides: trinity-kde-i18n-Maori = %{version}-%{release} - -%description Maori -This package contains %{summary}. - -#%files Maori -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/mi/ - -########## - -%package Macedonian -Summary: Macedonian(mk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mk = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Macedonian < %{version}-%{release} -Provides: trinity-kde-i18n-Macedonian = %{version}-%{release} - -%description Macedonian -This package contains %{summary}. - -%files Macedonian -%defattr(-,root,root,-) -%{tde_datadir}/locale/mk/ - -########## - -%package Mongolian -Summary: Mongolian(mn) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mn = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Mongolian < %{version}-%{release} -Provides: trinity-kde-i18n-Mongolian = %{version}-%{release} - -%description Mongolian -This package contains %{summary}. - -%files Mongolian -%defattr(-,root,root,-) -%{tde_datadir}/locale/mn/ - -########## - -%package Malay -Summary: Malay(ms) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ms = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Malay < %{version}-%{release} -Provides: trinity-kde-i18n-Malay = %{version}-%{release} - -%description Malay -This package contains %{summary}. - -%files Malay -%defattr(-,root,root,-) -%{tde_datadir}/locale/ms/ - -########## - -%package Maltese -Summary: Maltese(mt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mt = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Maltese < %{version}-%{release} -Provides: trinity-kde-i18n-Maltese = %{version}-%{release} - -%description Maltese -This package contains %{summary}. - -#%files Maltese -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/mt/ - -########## - -%package Low-Saxon -Summary: Low Saxon(nds) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nds = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Low-Saxon < %{version}-%{release} -Provides: trinity-kde-i18n-Low-Saxon = %{version}-%{release} - -%description Low-Saxon -This package contains %{summary}. - -%files Low-Saxon -%defattr(-,root,root,-) -%{tde_datadir}/locale/nds/ - -########## - -%package Dutch -Summary: Dutch(nl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Dutch < %{version}-%{release} -Provides: trinity-kde-i18n-Dutch = %{version}-%{release} - -%description Dutch -This package contains %{summary}. - -%files Dutch -%defattr(-,root,root,-) -%{tde_datadir}/locale/nl/ -%{tde_tdedocdir}/HTML/nl/ - -########## - -%package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-no = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Norwegian < %{version}-%{release} -Provides: trinity-kde-i18n-Norwegian = %{version}-%{release} - -%description Norwegian -This package contains %{summary}. - -%files Norwegian -%defattr(-,root,root,-) -%{tde_datadir}/locale/nb/ - -########## - -%package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nn = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Norwegian-Nynorsk < %{version}-%{release} -Provides: trinity-kde-i18n-Norwegian-Nynorsk = %{version}-%{release} - -%description Norwegian-Nynorsk -This package contains %{summary}. - -%files Norwegian-Nynorsk -%defattr(-,root,root,-) -%{tde_datadir}/locale/nn/ - -########## - -%package Occitan -Summary: Occitan(oc) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-oc = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Occitan < %{version}-%{release} -Provides: trinity-kde-i18n-Occitan = %{version}-%{release} - -%description Occitan -This package contains %{summary}. - -#%files Occitan -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/oc/ - -########## - -%package Polish -Summary: Polish(pl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Polish < %{version}-%{release} -Provides: trinity-kde-i18n-Polish = %{version}-%{release} - -%description Polish -This package contains %{summary}. - -%files Polish -%defattr(-,root,root,-) -%{tde_datadir}/locale/pl/ -%{tde_tdedocdir}/HTML/pl/ - -########## - -%package Portuguese -Summary: Portuguese(pt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Portuguese < %{version}-%{release} -Provides: trinity-kde-i18n-Portuguese = %{version}-%{release} - -%description Portuguese -This package contains %{summary}. - -%files Portuguese -%defattr(-,root,root,-) -%{tde_datadir}/locale/pt/ -%{tde_tdedocdir}/HTML/pt/ - -########## - -%package Punjabi -Summary: Punjabi(pa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pa = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Punjabi < %{version}-%{release} -Provides: trinity-kde-i18n-Punjabi = %{version}-%{release} - -%description Punjabi -This package contains %{summary}. - -%files Punjabi -%defattr(-,root,root,-) -%{tde_datadir}/locale/pa/ - -########## - -%package Brazil -Summary: Brazil(pt_BR) Portuguese language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt_BR = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Brazil < %{version}-%{release} -Provides: trinity-kde-i18n-Brazil = %{version}-%{release} - -%description Brazil -This package contains %{summary}. - -%files Brazil -%defattr(-,root,root,-) -%{tde_datadir}/locale/pt_BR/ -%{tde_tdedocdir}/HTML/pt_BR/ - -########## - -%package Romanian -Summary: Romanian(ro) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ro = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Romanian < %{version}-%{release} -Provides: trinity-kde-i18n-Romanian = %{version}-%{release} - -%description Romanian -This package contains %{summary}. - -%files Romanian -%defattr(-,root,root,-) -%{tde_datadir}/locale/ro/ -%{tde_tdedocdir}/HTML/ro/ - -########## - -%package Russian -Summary: Russian(ru) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ru = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Russian < %{version}-%{release} -Provides: trinity-kde-i18n-Russian = %{version}-%{release} - -%description Russian -This package contains %{summary}. - -%files Russian -%defattr(-,root,root,-) -%{tde_datadir}/locale/ru/ -%{tde_tdedocdir}/HTML/ru/ - -########## - -%package Kinyarwanda -Summary: Kinyarwanda(rw) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-rw = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Kinyarwanda < %{version}-%{release} -Provides: trinity-kde-i18n-Kinyarwanda = %{version}-%{release} - -%description Kinyarwanda -This package contains %{summary}. - -%files Kinyarwanda -%defattr(-,root,root,-) -%{tde_datadir}/locale/rw/ - -########## - -%package Northern-Sami -Summary: Northern-Sami(se) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-se = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Northern-Sami < %{version}-%{release} -Provides: trinity-kde-i18n-Northern-Sami = %{version}-%{release} - -%description Northern-Sami -This package contains %{summary}. - -%files Northern-Sami -%defattr(-,root,root,-) -%{tde_datadir}/locale/se/ - -########## - -%package Slovak -Summary: Slovak(sk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sk = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Slovak < %{version}-%{release} -Provides: trinity-kde-i18n-Slovak = %{version}-%{release} - -%description Slovak -This package contains %{summary}. - -%files Slovak -%defattr(-,root,root,-) -%{tde_datadir}/locale/sk/ -%{tde_tdedocdir}/HTML/sk/ - -########## - -%package Slovenian -Summary: Slovenian(sl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Slovenian < %{version}-%{release} -Provides: trinity-kde-i18n-Slovenian = %{version}-%{release} - -%description Slovenian -This package contains %{summary}. - -%files Slovenian -%defattr(-,root,root,-) -%{tde_datadir}/locale/sl/ -%{tde_tdedocdir}/HTML/sl/ - -########## - -%package Serbian -Summary: Serbian(sr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Serbian < %{version}-%{release} -Provides: trinity-kde-i18n-Serbian = %{version}-%{release} - -%description Serbian -This package contains %{summary}. - -%files Serbian -%defattr(-,root,root,-) -%{tde_datadir}/locale/sr/ -%{tde_tdedocdir}/HTML/sr/ - -########## - -%package Serbian-Latin -Summary: Serbian-Latin(sr@Latn) language support for TDE -Group: User Interface/Desktops -Obsoletes: trinity-kde-i18n-Serbian-Latin < %{version}-%{release} -Provides: trinity-kde-i18n-Serbian-Latin = %{version}-%{release} - -%description Serbian-Latin -This package contains %{summary}. - -%files Serbian-Latin -%defattr(-,root,root,-) -%{tde_datadir}/locale/sr@Latn/ - -########## - -%package South-Sudan -Summary: South-Sudan(ss) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ss = %{version}-%{release} -Obsoletes: trinity-kde-i18n-South-Sudan < %{version}-%{release} -Provides: trinity-kde-i18n-South-Sudan = %{version}-%{release} - -%description South-Sudan -This package contains %{summary}. - -%files South-Sudan -%defattr(-,root,root,-) -%{tde_datadir}/locale/ss/ - -########## - -%package Swedish -Summary: Swedish(sv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sv = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Swedish < %{version}-%{release} -Provides: trinity-kde-i18n-Swedish = %{version}-%{release} - -%description Swedish -This package contains %{summary}. - -%files Swedish -%defattr(-,root,root,-) -%{tde_datadir}/locale/sv/ -%{tde_tdedocdir}/HTML/sv/ - -########## - -%package Tamil -Summary: Tamil(ta) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ta = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Tamil < %{version}-%{release} -Provides: trinity-kde-i18n-Tamil = %{version}-%{release} - -%description Tamil -This package contains %{summary}. - -%files Tamil -%defattr(-,root,root,-) -%{tde_datadir}/locale/ta/ - -########## - -%package Telugu -Summary: Telugu(te) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-te = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Telugu < %{version}-%{release} -Provides: trinity-kde-i18n-Telugu = %{version}-%{release} - -%description Telugu -This package contains %{summary}. - -%files Telugu -%defattr(-,root,root,-) -%{tde_datadir}/locale/te/ - -########## - -%package Tajik -Summary: Tajik(tg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tg = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Tajik < %{version}-%{release} -Provides: trinity-kde-i18n-Tajik = %{version}-%{release} - -%description Tajik -This package contains %{summary}. - -%files Tajik -%defattr(-,root,root,-) -%{tde_datadir}/locale/tg/ - -########## - -%package Thai -Summary: Thai(th) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-th = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Thai < %{version}-%{release} -Provides: trinity-kde-i18n-Thai = %{version}-%{release} - -%description Thai -This package contains %{summary}. - -%files Thai -%defattr(-,root,root,-) -%{tde_datadir}/locale/th/ - -########## - -%package Turkish -Summary: Turkish(tr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Turkish < %{version}-%{release} -Provides: trinity-kde-i18n-Turkish = %{version}-%{release} - -%description Turkish -This package contains %{summary}. - -%files Turkish -%defattr(-,root,root,-) -%{tde_datadir}/locale/tr/ -%{tde_tdedocdir}/HTML/tr/ - -########## - -%package Ukrainian -Summary: Ukrainian(uk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-uk = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Ukrainian < %{version}-%{release} -Provides: trinity-kde-i18n-Ukrainian = %{version}-%{release} - -%description Ukrainian -This package contains %{summary}. - -%files Ukrainian -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/uk/ -%{tde_datadir}/locale/uk/ - -########## - -%package Uzbek -Summary: Uzbek(uz) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-uz = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Uzbek < %{version}-%{release} -Provides: trinity-kde-i18n-Uzbek = %{version}-%{release} - -%description Uzbek -This package contains %{summary}. - -%files Uzbek -%defattr(-,root,root,-) -%{tde_datadir}/locale/uz/ - -########## - -%package Uzbek-Cyrillic -Summary: Uzbek(uz@cyrillic) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-uz@cyrillic = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Uzbek-Cyrillic < %{version}-%{release} -Provides: trinity-kde-i18n-Uzbek-Cyrillic = %{version}-%{release} - -%description Uzbek-Cyrillic -This package contains %{summary}. - -%files Uzbek-Cyrillic -%defattr(-,root,root,-) -%{tde_datadir}/locale/uz@cyrillic/ - -########## - -%package Venda -Summary: Venda(ven) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ven = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Venda < %{version}-%{release} -Provides: trinity-kde-i18n-Venda = %{version}-%{release} - -%description Venda -This package contains %{summary}. - -#%files Venda -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/ven/ - -########## - -%package Vietnamese -Summary: Vietnamese(vi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-vi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Vietnamese < %{version}-%{release} -Provides: trinity-kde-i18n-Vietnamese = %{version}-%{release} - -%description Vietnamese -This package contains %{summary}. - -%files Vietnamese -%defattr(-,root,root,-) -%{tde_datadir}/locale/vi/ - -########## - -%package Walloon -Summary: Walloon(wa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-wa = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Walloon < %{version}-%{release} -Provides: trinity-kde-i18n-Walloon = %{version}-%{release} - -%description Walloon -This package contains %{summary}. - -%files Walloon -%defattr(-,root,root,-) -%{tde_datadir}/locale/wa/ - -########## - -%package Xhosa -Summary: Xhosa(xh) (a Bantu language) support for TDE -Group: User Interface/Desktops -Provides: %{name}-xh = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Xhosa < %{version}-%{release} -Provides: trinity-kde-i18n-Xhosa = %{version}-%{release} - -%description Xhosa -This package contains %{summary}. - -#%files Xhosa -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/xh/ - -########## - -%package Chinese -Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-zh_CN = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Chinese < %{version}-%{release} -Provides: trinity-kde-i18n-Chinese = %{version}-%{release} - -%description Chinese -This package contains %{summary}. - -%files Chinese -%defattr(-,root,root,-) -%{tde_datadir}/locale/zh_CN/ -%{tde_tdedocdir}/HTML/zh_CN/ - -########## - -%package Chinese-Big5 -Summary: Chinese(zh_TW) (Big5) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tz_TW = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{version}-%{release} -Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release} - -%description Chinese-Big5 -This package contains %{summary}. - -%files Chinese-Big5 -%defattr(-,root,root,-) -%{tde_datadir}/locale/zh_TW/ -%{tde_tdedocdir}/HTML/zh_TW/ - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -( -for l in %{TDE_LANGS}; do - for f in tde-i18n-${l}/; do - if [ -d "${f}" ]; then - pushd ${f} - if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build - fi - - %cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DBIN_INSTALL_DIR="%{tde_bindir}" \ - -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_DATA=ON \ - -DBUILD_MESSAGES=ON \ - .. - - # Run the build process in background - ( %__make -j4 || %__make || echo TDE_Error ) & - - # Do not build more than 4 languages at the same time - while [ $(jobs | wc -l) -ge 4 ]; do sleep 3; done - popd - fi - done -done -) 2>&1 | tee /tmp/rpmbuild.$$ - -if grep -qw TDE_Error /tmp/rpmbuild.$$; then - echo "Error while building. See '/tmp/rpmbuild.$$'" - exit 1 -fi - -wait -rm -f /tmp/rpmbuild.$$ - - -%install -%__rm -rf %{?buildroot} -export PATH="%{tde_bindir}:${PATH}" - -for l in %{TDE_LANGS}; do - for f in tde-i18n-${l}/; do - %__make install DESTDIR="%{?buildroot}" -C "${f}/build" - done -done - - -# remove zero-length file -find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; - -# remove obsolete KDE 3 application data translations -%__rm -rf "%{buildroot}%{tde_datadir}/apps" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tde-i18n/tde-i18n.spec b/redhat/main/tde-i18n/tde-i18n.spec new file mode 100644 index 000000000..6cf838bc5 --- /dev/null +++ b/redhat/main/tde-i18n/tde-i18n.spec @@ -0,0 +1,1494 @@ +# +# spec file for package tde-i18n (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tde-i18n +%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 + +# Builds all supported languages (not unsupported ones) +%if "%{?TDE_LANGS}" == "" +%define TDE_LANGS af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta te tg th tr uk uz uz@cyrillic vi wa zh_CN zh_TW +%endif + + +Name: trinity-%{tde_pkg} +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Internationalization support for Trinity +Group: User Interface/Desktops +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} + +BuildRequires: findutils +BuildRequires: gettext +BuildRequires: cmake +BuildRequires: gcc-c++ + +%description +This package contains %{summary}. + +########## + +%package Afrikaans +Summary: Afrikaans(af) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-af = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Afrikaans < %{version}-%{release} +Provides: trinity-kde-i18n-Afrikaans = %{version}-%{release} + +%description Afrikaans +This package contains %{summary}. + +%files Afrikaans +%defattr(-,root,root,-) +%{tde_datadir}/locale/af/ + +########## + +%package Arabic +Summary: Arabic(ar) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ar = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} +Provides: trinity-kde-i18n-Arabic = %{version}-%{release} + +%description Arabic +This package contains %{summary}. + +%files Arabic +%defattr(-,root,root,-) +%{tde_datadir}/locale/ar/ + +########## + +%package Azerbaijani +Summary: Azerbaijani(az) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-az = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} +Provides: trinity-kde-i18n-Arabic = %{version}-%{release} + +%description Azerbaijani +This package contains %{summary}. + +%files Azerbaijani +%defattr(-,root,root,-) +%{tde_datadir}/locale/az/ + +########## + +%package Belarusian +Summary: Belarusian(be) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-be = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Belarusian < %{version}-%{release} +Provides: trinity-kde-i18n-Belarusian = %{version}-%{release} + +%description Belarusian +This package contains %{summary}. + +%files Belarusian +%defattr(-,root,root,-) +%{tde_datadir}/locale/be/ + +########## + +%package Bulgarian +Summary: Bulgarian(bg) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bg = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Bulgarian < %{version}-%{release} +Provides: trinity-kde-i18n-Bulgarian = %{version}-%{release} + +%description Bulgarian +This package contains %{summary}. + +%files Bulgarian +%defattr(-,root,root,-) +%{tde_datadir}/locale/bg/ + +########## + +%package Bengali +Summary: Bengali(bn) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bn = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Bengali < %{version}-%{release} +Provides: trinity-kde-i18n-Bengali = %{version}-%{release} + +%description Bengali +This package contains %{summary}. + +%files Bengali +%defattr(-,root,root,-) +%{tde_datadir}/locale/bn/ + +########## + +%package Tibetan +Summary: Tibetan(bo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Tibetan < %{version}-%{release} +Provides: trinity-kde-i18n-Tibetan = %{version}-%{release} + +%description Tibetan +This package contains %{summary}. + +#%files Tibetan +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/bo/ + +########## + +%package Breton +Summary: Breton(br) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-br = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Breton < %{version}-%{release} +Provides: trinity-kde-i18n-Breton = %{version}-%{release} + +%description Breton +This package contains %{summary}. + +%files Breton +%defattr(-,root,root,-) +%{tde_datadir}/locale/br/ + +########## + +%package Bosnian +Summary: Bosnian(bs) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bs = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Bosnian < %{version}-%{release} +Provides: trinity-kde-i18n-Bosnian = %{version}-%{release} + +%description Bosnian +This package contains %{summary}. + +%files Bosnian +%defattr(-,root,root,-) +%{tde_datadir}/locale/bs/ + +########## + +%package Catalan +Summary: Catalan(ca) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ca = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Catalan < %{version}-%{release} +Provides: trinity-kde-i18n-Catalan = %{version}-%{release} + +%description Catalan +This package contains %{summary}. + +%files Catalan +%defattr(-,root,root,-) +%{tde_datadir}/locale/ca/ +%{tde_tdedocdir}/HTML/ca/ + +########## + +%package Czech +Summary: Czech(cs) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-cs = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Czech < %{version}-%{release} +Provides: trinity-kde-i18n-Czech = %{version}-%{release} + +%description Czech +This package contains %{summary}. + +%files Czech +%defattr(-,root,root,-) +%{tde_datadir}/locale/cs/ +%{tde_tdedocdir}/HTML/cs/ + +########## + +%package Kashubian +Summary: Kashubian(csb) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-csb = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Kashubian < %{version}-%{release} +Provides: trinity-kde-i18n-Kashubian = %{version}-%{release} + +%description Kashubian +This package contains %{summary}. + +%files Kashubian +%defattr(-,root,root,-) +%{tde_datadir}/locale/csb/ + +########## + +%package Cymraeg +Summary: Cymraeg language support for TDE +Group: User Interface/Desktops +Obsoletes: trinity-kde-i18n-Cymraeg < %{version}-%{release} +Provides: trinity-kde-i18n-Cymraeg = %{version}-%{release} + +%description Cymraeg +This package contains %{summary}. + +########## + +%package Welsh +Summary: Welsh(cy) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-cy = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Welsh < %{version}-%{release} +Provides: trinity-kde-i18n-Welsh = %{version}-%{release} + +%description Welsh +This package contains %{summary}. + +%files Welsh +%defattr(-,root,root,-) +%{tde_datadir}/locale/cy/ + +########## + +%package Danish +Summary: Danish(da) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-da = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Danish < %{version}-%{release} +Provides: trinity-kde-i18n-Danish = %{version}-%{release} + +%description Danish +This package contains %{summary}. + +%files Danish +%defattr(-,root,root,-) +%{tde_datadir}/locale/da/ +%{tde_tdedocdir}/HTML/da/ + +########## + +%package German +Summary: German(de) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-de = %{version}-%{release} +Obsoletes: trinity-kde-i18n-German < %{version}-%{release} +Provides: trinity-kde-i18n-German = %{version}-%{release} + +%description German +This package contains %{summary}. + +%files German +%defattr(-,root,root,-) +%{tde_datadir}/locale/de/ +%{tde_tdedocdir}/HTML/de/ + +########## + +%package Greek +Summary: Greek(el) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-el = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Greek < %{version}-%{release} +Provides: trinity-kde-i18n-Greek = %{version}-%{release} + +%description Greek +This package contains %{summary}. + +%files Greek +%defattr(-,root,root,-) +%{tde_datadir}/locale/el/ + +########## + +%package British +Summary: British(en_GB) English support for TDE +Group: User Interface/Desktops +Provides: %{name}-en_GB = %{version}-%{release} +Obsoletes: trinity-kde-i18n-British < %{version}-%{release} +Provides: trinity-kde-i18n-British = %{version}-%{release} + +%description British +This package contains %{summary}. + +%files British +%defattr(-,root,root,-) +%{tde_datadir}/locale/en_GB/ +%{tde_tdedocdir}/HTML/en_GB/ + +########## + +%package Esperanto +Summary: Esperanto(eo) support for TDE +Group: User Interface/Desktops +Provides: %{name}-eo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Esperanto < %{version}-%{release} +Provides: trinity-kde-i18n-Esperanto = %{version}-%{release} + +%description Esperanto +This package contains %{summary}. + +%files Esperanto +%defattr(-,root,root,-) +%{tde_datadir}/locale/eo/ + +########## + +%package Spanish +Summary: Spanish(es) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-es = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Spanish < %{version}-%{release} +Provides: trinity-kde-i18n-Spanish = %{version}-%{release} + +%description Spanish +This package contains %{summary}. + +%files Spanish +%defattr(-,root,root,-) +%{tde_datadir}/locale/es/ +%{tde_tdedocdir}/HTML/es/ + +########## + +%package Estonian +Summary: Estonian(et) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-et = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Estonian < %{version}-%{release} +Provides: trinity-kde-i18n-Estonian = %{version}-%{release} + +%description Estonian +This package contains %{summary}. + +%files Estonian +%defattr(-,root,root,-) +%{tde_datadir}/locale/et/ +%{tde_tdedocdir}/HTML/et/ + +########## + +%package Basque +Summary: Basque(eu) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-eu = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Basque < %{version}-%{release} +Provides: trinity-kde-i18n-Basque = %{version}-%{release} + +%description Basque +This package contains %{summary}. + +%files Basque +%defattr(-,root,root,-) +%{tde_datadir}/locale/eu/ +%{tde_tdedocdir}/HTML/eu/ + +########## + +%package Farsi +Summary: Farsi(fa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fa = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Farsi < %{version}-%{release} +Provides: trinity-kde-i18n-Farsi = %{version}-%{release} + +%description Farsi +This package contains %{summary}. + +%files Farsi +%defattr(-,root,root,-) +%{tde_datadir}/locale/fa/ + +########## + +%package Finnish +Summary: Finnish(fi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Finnish < %{version}-%{release} +Provides: trinity-kde-i18n-Finnish = %{version}-%{release} + +%description Finnish +This package contains %{summary}. + +%files Finnish +%defattr(-,root,root,-) +%{tde_datadir}/locale/fi/ +%{tde_tdedocdir}/HTML/fi/ + +########## + +%package Faroese +Summary: Faroese(fo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Faroese < %{version}-%{release} +Provides: trinity-kde-i18n-Faroese = %{version}-%{release} + +%description Faroese +This package contains %{summary}. + +#%files Faroese +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/fo/ + +########## + +%package French +Summary: French(fr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-French < %{version}-%{release} +Provides: trinity-kde-i18n-French = %{version}-%{release} + +%description French +This package contains %{summary}. + +%files French +%defattr(-,root,root,-) +%{tde_datadir}/locale/fr/ +%{tde_tdedocdir}/HTML/fr/ + +########## + +%package Frisian +Summary: Frisian(fy) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fy = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Frisian < %{version}-%{release} +Provides: trinity-kde-i18n-Frisian = %{version}-%{release} + +%description Frisian +This package contains %{summary}. + +%files Frisian +%defattr(-,root,root,-) +%{tde_datadir}/locale/fy/ + +########## + +%package Irish +Summary: Irish(ga) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ga = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Irish < %{version}-%{release} +Provides: trinity-kde-i18n-Irish = %{version}-%{release} + +%description Irish +This package contains %{summary}. + +%files Irish +%defattr(-,root,root,-) +%{tde_datadir}/locale/ga/ + +########## + +%package Galician +Summary: Galician(gl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-gl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Galician < %{version}-%{release} +Provides: trinity-kde-i18n-Galician = %{version}-%{release} + +%description Galician +This package contains %{summary}. + +%files Galician +%defattr(-,root,root,-) +%{tde_datadir}/locale/gl/ + +########## + +%package Hebrew +Summary: Hebrew(he) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-he = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Hebrew < %{version}-%{release} +Provides: trinity-kde-i18n-Hebrew = %{version}-%{release} + +%description Hebrew +This package contains %{summary}. + +%files Hebrew +%defattr(-,root,root,-) +%{tde_datadir}/locale/he/ +%{tde_tdedocdir}/HTML/he/ + +########## + +%package Hindi +Summary: Hindi(hi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Hindi < %{version}-%{release} +Provides: trinity-kde-i18n-Hindi = %{version}-%{release} + +%description Hindi +This package contains %{summary}. + +%files Hindi +%defattr(-,root,root,-) +%{tde_datadir}/locale/hi/ + +########## + +%package Croatian +Summary: Croatian(hr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Croatian < %{version}-%{release} +Provides: trinity-kde-i18n-Croatian = %{version}-%{release} + +%description Croatian +This package contains %{summary}. + +%files Croatian +%defattr(-,root,root,-) +%{tde_datadir}/locale/hr/ +%{tde_tdedocdir}/HTML/hr/ + +########## + +%package Hungarian +Summary: Hungarian(hu) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hu = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Hungarian < %{version}-%{release} +Provides: trinity-kde-i18n-Hungarian = %{version}-%{release} + +%description Hungarian +This package contains %{summary}. + +%files Hungarian +%defattr(-,root,root,-) +%{tde_datadir}/locale/hu/ +%{tde_tdedocdir}/HTML/hu/ + +########## + +%package Indonesian +Summary: Indonesian(id) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-id = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Indonesian < %{version}-%{release} +Provides: trinity-kde-i18n-Indonesian = %{version}-%{release} + +%description Indonesian +This package contains %{summary}. + +#%files Indonesian +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/id/ + +########## + +%package Icelandic +Summary: Icelandic(is) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-is = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Icelandic < %{version}-%{release} +Provides: trinity-kde-i18n-Icelandic = %{version}-%{release} + +%description Icelandic +This package contains %{summary}. + +%files Icelandic +%defattr(-,root,root,-) +%{tde_datadir}/locale/is/ + +########## + +%package Italian +Summary: Italian(it) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-it = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Italian < %{version}-%{release} +Provides: trinity-kde-i18n-Italian = %{version}-%{release} + +%description Italian +This package contains %{summary}. + +%files Italian +%defattr(-,root,root,-) +%{tde_datadir}/locale/it/ +%{tde_tdedocdir}/HTML/it/ + +########## + +%package Japanese +Summary: Japanese(ja) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ja = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Japanese < %{version}-%{release} +Provides: trinity-kde-i18n-Japanese = %{version}-%{release} + +%description Japanese +This package contains %{summary}. + +%files Japanese +%defattr(-,root,root,-) +%{tde_datadir}/locale/ja/ +%{tde_tdedocdir}/HTML/ja/ + +########## + +%package Kazakh +Summary: Kazakh(kk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-kk = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Kazakh < %{version}-%{release} +Provides: trinity-kde-i18n-Kazakh = %{version}-%{release} + +%description Kazakh +This package contains %{summary}. + +%files Kazakh +%defattr(-,root,root,-) +%{tde_datadir}/locale/kk/ + +########## + +%package Khmer +Summary: Khmer(km) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ko = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Khmer < %{version}-%{release} +Provides: trinity-kde-i18n-Khmer = %{version}-%{release} + +%description Khmer +This package contains %{summary}. + +%files Khmer +%defattr(-,root,root,-) +%{tde_datadir}/locale/km/ + +########## + +%package Korean +Summary: Korean(ko) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ko = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Korean < %{version}-%{release} +Provides: trinity-kde-i18n-Korean = %{version}-%{release} + +%description Korean +This package contains %{summary}. + +%files Korean +%defattr(-,root,root,-) +%{tde_datadir}/locale/ko/ +%{tde_tdedocdir}/HTML/ko/ + +########## + +%package Kurdish +Summary: Kurdish(ku) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ku = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Kurdish < %{version}-%{release} +Provides: trinity-kde-i18n-Kurdish = %{version}-%{release} + +%description Kurdish +This package contains %{summary}. + +#%files Kurdish +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/ku/ + +########## + +%package Lao +Summary: Lao(lo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Lao < %{version}-%{release} +Provides: trinity-kde-i18n-Lao = %{version}-%{release} + +%description Lao +This package contains %{summary}. + +#%files Lao +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/lo/ + +########## + +%package Lithuanian +Summary: Lithuanian(lt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lt = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Lithuanian < %{version}-%{release} +Provides: trinity-kde-i18n-Lithuanian = %{version}-%{release} + +%description Lithuanian +This package contains %{summary}. + +%files Lithuanian +%defattr(-,root,root,-) +%{tde_datadir}/locale/lt/ + +########## + +%package Latvian +Summary: Latvian(lv) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lv = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Latvian < %{version}-%{release} +Provides: trinity-kde-i18n-Latvian = %{version}-%{release} + +%description Latvian +This package contains %{summary}. + +%files Latvian +%defattr(-,root,root,-) +%{tde_datadir}/locale/lv/ + +########## + +%package Maori +Summary: Maori(mi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Maori < %{version}-%{release} +Provides: trinity-kde-i18n-Maori = %{version}-%{release} + +%description Maori +This package contains %{summary}. + +#%files Maori +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/mi/ + +########## + +%package Macedonian +Summary: Macedonian(mk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mk = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Macedonian < %{version}-%{release} +Provides: trinity-kde-i18n-Macedonian = %{version}-%{release} + +%description Macedonian +This package contains %{summary}. + +%files Macedonian +%defattr(-,root,root,-) +%{tde_datadir}/locale/mk/ + +########## + +%package Mongolian +Summary: Mongolian(mn) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mn = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Mongolian < %{version}-%{release} +Provides: trinity-kde-i18n-Mongolian = %{version}-%{release} + +%description Mongolian +This package contains %{summary}. + +%files Mongolian +%defattr(-,root,root,-) +%{tde_datadir}/locale/mn/ + +########## + +%package Malay +Summary: Malay(ms) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ms = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Malay < %{version}-%{release} +Provides: trinity-kde-i18n-Malay = %{version}-%{release} + +%description Malay +This package contains %{summary}. + +%files Malay +%defattr(-,root,root,-) +%{tde_datadir}/locale/ms/ + +########## + +%package Maltese +Summary: Maltese(mt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mt = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Maltese < %{version}-%{release} +Provides: trinity-kde-i18n-Maltese = %{version}-%{release} + +%description Maltese +This package contains %{summary}. + +#%files Maltese +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/mt/ + +########## + +%package Low-Saxon +Summary: Low Saxon(nds) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nds = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Low-Saxon < %{version}-%{release} +Provides: trinity-kde-i18n-Low-Saxon = %{version}-%{release} + +%description Low-Saxon +This package contains %{summary}. + +%files Low-Saxon +%defattr(-,root,root,-) +%{tde_datadir}/locale/nds/ + +########## + +%package Dutch +Summary: Dutch(nl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Dutch < %{version}-%{release} +Provides: trinity-kde-i18n-Dutch = %{version}-%{release} + +%description Dutch +This package contains %{summary}. + +%files Dutch +%defattr(-,root,root,-) +%{tde_datadir}/locale/nl/ +%{tde_tdedocdir}/HTML/nl/ + +########## + +%package Norwegian +Summary: Norwegian(no) (Bokmaal) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-no = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Norwegian < %{version}-%{release} +Provides: trinity-kde-i18n-Norwegian = %{version}-%{release} + +%description Norwegian +This package contains %{summary}. + +%files Norwegian +%defattr(-,root,root,-) +%{tde_datadir}/locale/nb/ + +########## + +%package Norwegian-Nynorsk +Summary: Norwegian(nn) (Nynorsk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nn = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Norwegian-Nynorsk < %{version}-%{release} +Provides: trinity-kde-i18n-Norwegian-Nynorsk = %{version}-%{release} + +%description Norwegian-Nynorsk +This package contains %{summary}. + +%files Norwegian-Nynorsk +%defattr(-,root,root,-) +%{tde_datadir}/locale/nn/ + +########## + +%package Occitan +Summary: Occitan(oc) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-oc = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Occitan < %{version}-%{release} +Provides: trinity-kde-i18n-Occitan = %{version}-%{release} + +%description Occitan +This package contains %{summary}. + +#%files Occitan +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/oc/ + +########## + +%package Polish +Summary: Polish(pl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Polish < %{version}-%{release} +Provides: trinity-kde-i18n-Polish = %{version}-%{release} + +%description Polish +This package contains %{summary}. + +%files Polish +%defattr(-,root,root,-) +%{tde_datadir}/locale/pl/ +%{tde_tdedocdir}/HTML/pl/ + +########## + +%package Portuguese +Summary: Portuguese(pt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pt = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Portuguese < %{version}-%{release} +Provides: trinity-kde-i18n-Portuguese = %{version}-%{release} + +%description Portuguese +This package contains %{summary}. + +%files Portuguese +%defattr(-,root,root,-) +%{tde_datadir}/locale/pt/ +%{tde_tdedocdir}/HTML/pt/ + +########## + +%package Punjabi +Summary: Punjabi(pa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pa = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Punjabi < %{version}-%{release} +Provides: trinity-kde-i18n-Punjabi = %{version}-%{release} + +%description Punjabi +This package contains %{summary}. + +%files Punjabi +%defattr(-,root,root,-) +%{tde_datadir}/locale/pa/ + +########## + +%package Brazil +Summary: Brazil(pt_BR) Portuguese language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pt_BR = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Brazil < %{version}-%{release} +Provides: trinity-kde-i18n-Brazil = %{version}-%{release} + +%description Brazil +This package contains %{summary}. + +%files Brazil +%defattr(-,root,root,-) +%{tde_datadir}/locale/pt_BR/ +%{tde_tdedocdir}/HTML/pt_BR/ + +########## + +%package Romanian +Summary: Romanian(ro) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ro = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Romanian < %{version}-%{release} +Provides: trinity-kde-i18n-Romanian = %{version}-%{release} + +%description Romanian +This package contains %{summary}. + +%files Romanian +%defattr(-,root,root,-) +%{tde_datadir}/locale/ro/ +%{tde_tdedocdir}/HTML/ro/ + +########## + +%package Russian +Summary: Russian(ru) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ru = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Russian < %{version}-%{release} +Provides: trinity-kde-i18n-Russian = %{version}-%{release} + +%description Russian +This package contains %{summary}. + +%files Russian +%defattr(-,root,root,-) +%{tde_datadir}/locale/ru/ +%{tde_tdedocdir}/HTML/ru/ + +########## + +%package Kinyarwanda +Summary: Kinyarwanda(rw) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-rw = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Kinyarwanda < %{version}-%{release} +Provides: trinity-kde-i18n-Kinyarwanda = %{version}-%{release} + +%description Kinyarwanda +This package contains %{summary}. + +%files Kinyarwanda +%defattr(-,root,root,-) +%{tde_datadir}/locale/rw/ + +########## + +%package Northern-Sami +Summary: Northern-Sami(se) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-se = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Northern-Sami < %{version}-%{release} +Provides: trinity-kde-i18n-Northern-Sami = %{version}-%{release} + +%description Northern-Sami +This package contains %{summary}. + +%files Northern-Sami +%defattr(-,root,root,-) +%{tde_datadir}/locale/se/ + +########## + +%package Slovak +Summary: Slovak(sk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sk = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Slovak < %{version}-%{release} +Provides: trinity-kde-i18n-Slovak = %{version}-%{release} + +%description Slovak +This package contains %{summary}. + +%files Slovak +%defattr(-,root,root,-) +%{tde_datadir}/locale/sk/ +%{tde_tdedocdir}/HTML/sk/ + +########## + +%package Slovenian +Summary: Slovenian(sl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Slovenian < %{version}-%{release} +Provides: trinity-kde-i18n-Slovenian = %{version}-%{release} + +%description Slovenian +This package contains %{summary}. + +%files Slovenian +%defattr(-,root,root,-) +%{tde_datadir}/locale/sl/ +%{tde_tdedocdir}/HTML/sl/ + +########## + +%package Serbian +Summary: Serbian(sr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Serbian < %{version}-%{release} +Provides: trinity-kde-i18n-Serbian = %{version}-%{release} + +%description Serbian +This package contains %{summary}. + +%files Serbian +%defattr(-,root,root,-) +%{tde_datadir}/locale/sr/ +%{tde_tdedocdir}/HTML/sr/ + +########## + +%package Serbian-Latin +Summary: Serbian-Latin(sr@Latn) language support for TDE +Group: User Interface/Desktops +Obsoletes: trinity-kde-i18n-Serbian-Latin < %{version}-%{release} +Provides: trinity-kde-i18n-Serbian-Latin = %{version}-%{release} + +%description Serbian-Latin +This package contains %{summary}. + +%files Serbian-Latin +%defattr(-,root,root,-) +%{tde_datadir}/locale/sr@Latn/ + +########## + +%package South-Sudan +Summary: South-Sudan(ss) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ss = %{version}-%{release} +Obsoletes: trinity-kde-i18n-South-Sudan < %{version}-%{release} +Provides: trinity-kde-i18n-South-Sudan = %{version}-%{release} + +%description South-Sudan +This package contains %{summary}. + +%files South-Sudan +%defattr(-,root,root,-) +%{tde_datadir}/locale/ss/ + +########## + +%package Swedish +Summary: Swedish(sv) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sv = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Swedish < %{version}-%{release} +Provides: trinity-kde-i18n-Swedish = %{version}-%{release} + +%description Swedish +This package contains %{summary}. + +%files Swedish +%defattr(-,root,root,-) +%{tde_datadir}/locale/sv/ +%{tde_tdedocdir}/HTML/sv/ + +########## + +%package Tamil +Summary: Tamil(ta) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ta = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Tamil < %{version}-%{release} +Provides: trinity-kde-i18n-Tamil = %{version}-%{release} + +%description Tamil +This package contains %{summary}. + +%files Tamil +%defattr(-,root,root,-) +%{tde_datadir}/locale/ta/ + +########## + +%package Telugu +Summary: Telugu(te) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-te = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Telugu < %{version}-%{release} +Provides: trinity-kde-i18n-Telugu = %{version}-%{release} + +%description Telugu +This package contains %{summary}. + +%files Telugu +%defattr(-,root,root,-) +%{tde_datadir}/locale/te/ + +########## + +%package Tajik +Summary: Tajik(tg) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tg = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Tajik < %{version}-%{release} +Provides: trinity-kde-i18n-Tajik = %{version}-%{release} + +%description Tajik +This package contains %{summary}. + +%files Tajik +%defattr(-,root,root,-) +%{tde_datadir}/locale/tg/ + +########## + +%package Thai +Summary: Thai(th) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-th = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Thai < %{version}-%{release} +Provides: trinity-kde-i18n-Thai = %{version}-%{release} + +%description Thai +This package contains %{summary}. + +%files Thai +%defattr(-,root,root,-) +%{tde_datadir}/locale/th/ + +########## + +%package Turkish +Summary: Turkish(tr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Turkish < %{version}-%{release} +Provides: trinity-kde-i18n-Turkish = %{version}-%{release} + +%description Turkish +This package contains %{summary}. + +%files Turkish +%defattr(-,root,root,-) +%{tde_datadir}/locale/tr/ +%{tde_tdedocdir}/HTML/tr/ + +########## + +%package Ukrainian +Summary: Ukrainian(uk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-uk = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Ukrainian < %{version}-%{release} +Provides: trinity-kde-i18n-Ukrainian = %{version}-%{release} + +%description Ukrainian +This package contains %{summary}. + +%files Ukrainian +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/uk/ +%{tde_datadir}/locale/uk/ + +########## + +%package Uzbek +Summary: Uzbek(uz) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-uz = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Uzbek < %{version}-%{release} +Provides: trinity-kde-i18n-Uzbek = %{version}-%{release} + +%description Uzbek +This package contains %{summary}. + +%files Uzbek +%defattr(-,root,root,-) +%{tde_datadir}/locale/uz/ + +########## + +%package Uzbek-Cyrillic +Summary: Uzbek(uz@cyrillic) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-uz@cyrillic = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Uzbek-Cyrillic < %{version}-%{release} +Provides: trinity-kde-i18n-Uzbek-Cyrillic = %{version}-%{release} + +%description Uzbek-Cyrillic +This package contains %{summary}. + +%files Uzbek-Cyrillic +%defattr(-,root,root,-) +%{tde_datadir}/locale/uz@cyrillic/ + +########## + +%package Venda +Summary: Venda(ven) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ven = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Venda < %{version}-%{release} +Provides: trinity-kde-i18n-Venda = %{version}-%{release} + +%description Venda +This package contains %{summary}. + +#%files Venda +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/ven/ + +########## + +%package Vietnamese +Summary: Vietnamese(vi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-vi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Vietnamese < %{version}-%{release} +Provides: trinity-kde-i18n-Vietnamese = %{version}-%{release} + +%description Vietnamese +This package contains %{summary}. + +%files Vietnamese +%defattr(-,root,root,-) +%{tde_datadir}/locale/vi/ + +########## + +%package Walloon +Summary: Walloon(wa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-wa = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Walloon < %{version}-%{release} +Provides: trinity-kde-i18n-Walloon = %{version}-%{release} + +%description Walloon +This package contains %{summary}. + +%files Walloon +%defattr(-,root,root,-) +%{tde_datadir}/locale/wa/ + +########## + +%package Xhosa +Summary: Xhosa(xh) (a Bantu language) support for TDE +Group: User Interface/Desktops +Provides: %{name}-xh = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Xhosa < %{version}-%{release} +Provides: trinity-kde-i18n-Xhosa = %{version}-%{release} + +%description Xhosa +This package contains %{summary}. + +#%files Xhosa +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/xh/ + +########## + +%package Chinese +Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-zh_CN = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Chinese < %{version}-%{release} +Provides: trinity-kde-i18n-Chinese = %{version}-%{release} + +%description Chinese +This package contains %{summary}. + +%files Chinese +%defattr(-,root,root,-) +%{tde_datadir}/locale/zh_CN/ +%{tde_tdedocdir}/HTML/zh_CN/ + +########## + +%package Chinese-Big5 +Summary: Chinese(zh_TW) (Big5) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tz_TW = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{version}-%{release} +Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release} + +%description Chinese-Big5 +This package contains %{summary}. + +%files Chinese-Big5 +%defattr(-,root,root,-) +%{tde_datadir}/locale/zh_TW/ +%{tde_tdedocdir}/HTML/zh_TW/ + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +( +for l in %{TDE_LANGS}; do + for f in tde-i18n-${l}/; do + if [ -d "${f}" ]; then + pushd ${f} + if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build + fi + + %cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_DATA=ON \ + -DBUILD_MESSAGES=ON \ + .. + + # Run the build process in background + ( %__make -j4 || %__make || echo TDE_Error ) & + + # Do not build more than 4 languages at the same time + while [ $(jobs | wc -l) -ge 4 ]; do sleep 3; done + popd + fi + done +done +) 2>&1 | tee /tmp/rpmbuild.$$ + +if grep -qw TDE_Error /tmp/rpmbuild.$$; then + echo "Error while building. See '/tmp/rpmbuild.$$'" + exit 1 +fi + +wait +rm -f /tmp/rpmbuild.$$ + + +%install +%__rm -rf %{?buildroot} +export PATH="%{tde_bindir}:${PATH}" + +for l in %{TDE_LANGS}; do + for f in tde-i18n-${l}/; do + %__make install DESTDIR="%{?buildroot}" -C "${f}/build" + done +done + + +# remove zero-length file +find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; + +# remove obsolete KDE 3 application data translations +%__rm -rf "%{buildroot}%{tde_datadir}/apps" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec b/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec deleted file mode 100644 index 3e8d02cf6..000000000 --- a/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec +++ /dev/null @@ -1,505 +0,0 @@ -# -# spec file for package tdeaccessibility (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 tdeaccessibility -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_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-tdeaccessibility -Summary: Trinity Desktop Environment - Accessibility -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Group: System/GUI/Other -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: desktop-file-utils -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 - -# AUDIOFILE support -BuildRequires: audiofile-devel - -# AKODE support -%define with_akode 1 -BuildRequires: trinity-akode-devel - -# MAD support -%ifarch %{ix86} x86_64 -%define with_libmad 1 -%{?with_libmad:BuildRequires: libakode_mpeg_decoder} -%endif - -# ALSA support -BuildRequires: alsa-lib-devel - -# GLIB2 support -BuildRequires: glib2-devel - -# XCB support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?pclinuxos} -BuildRequires: libxcb-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 -BuildRequires: %{_lib}xcb-devel -%endif -%endif - -# XAU support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}xau-devel -%else -BuildRequires: %{_lib}xau%{?mgaversion:6}-devel -%endif -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXau-devel -%endif - -Obsoletes: trinity-kdeaccessibility < %{version}-%{release} -Provides: trinity-kdeaccessibility = %{version}-%{release} -Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release} -Provides: trinity-kdeaccessibility-libs = %{version}-%{release} - -Requires: trinity-tde-icons-mono = %{version}-%{release} -Requires: trinity-kbstate = %{version}-%{release} -Requires: trinity-kmag = %{version}-%{release} -Requires: trinity-kmousetool = %{version}-%{release} -Requires: trinity-kmouth = %{version}-%{release} -Requires: trinity-ksayit = %{version}-%{release} -Requires: trinity-kttsd = %{version}-%{release} -Requires: trinity-kttsd-contrib-plugins = %{version}-%{release} - -%description -Included with this package are: -* kmag, a screen magnifier, -* kmousetool, a program for people whom it hurts to click the mouse, -* kmouth, program that allows people who have lost their voice - to let their computer speak for them. - -%files - -########## - -%package -n trinity-tde-icons-mono -Summary: A monochromatic icons theme for TDE -Group: System/GUI/Other - -Obsoletes: trinity-kde-icons-mono < %{version}-%{release} -Provides: trinity-kde-icons-mono = %{version}-%{release} - -%description -n trinity-tde-icons-mono -A monochromatic icon theme for TDE, designed for accessibility purposes. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-tde-icons-mono -%defattr(-,root,root,-) -%dir %{tde_datadir}/icons/mono -%dir %{tde_datadir}/icons/mono/scalable -%dir %{tde_datadir}/icons/mono/scalable/actions -%dir %{tde_datadir}/icons/mono/scalable/apps -%dir %{tde_datadir}/icons/mono/scalable/devices -%dir %{tde_datadir}/icons/mono/scalable/mimetypes -%dir %{tde_datadir}/icons/mono/scalable/places -%{tde_datadir}/icons/mono/index.theme -%{tde_datadir}/icons/mono/scalable/*/*.svgz - -########## - -%package -n trinity-kbstate -Summary: A keyboard status applet for TDE -Group: System/GUI/Other - -%description -n trinity-kbstate -A panel applet that displays the keyboard status. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kbstate -%defattr(-,root,root,-) -%{tde_tdelibdir}/kbstate_panelapplet.la -%{tde_tdelibdir}/kbstate_panelapplet.so -%{tde_datadir}/apps/kbstateapplet/ -%{tde_datadir}/apps/kicker/applets/kbstateapplet.desktop - -########## - -%package -n trinity-kmag -Summary: A screen magnifier for TDE -Group: System/GUI/Other - -%description -n trinity-kmag -TDE's screen magnifier tool. - -You can use KMagnifier to magnify a part of the screen just as you would use -a lens to magnify a newspaper fine-print or a photograph. This application is -useful for a variety of people: from researchers to artists to web-designers to -people with low vision. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmag -%defattr(-,root,root,-) -%{tde_bindir}/kmag -%{tde_tdeappdir}/kmag.desktop -%{tde_datadir}/apps/kmag/ -%{tde_datadir}/icons/hicolor/*/apps/kmag.png -%{tde_datadir}/icons/locolor/*/apps/kmag.png -%{tde_tdedocdir}/HTML/en/kmag/ - -########## - -%package -n trinity-kmousetool -Summary: TDE mouse manipulation tool for the disabled -Group: System/GUI/Other - -%description -n trinity-kmousetool -KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was -designed to help those with repetitive strain injuries, for whom pressing -buttons hurts. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmousetool -%defattr(-,root,root,-) -%{tde_bindir}/kmousetool -%{tde_tdeappdir}/kmousetool.desktop -%{tde_datadir}/apps/kmousetool/ -%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png -%{tde_tdedocdir}/HTML/en/kmousetool/ - -########## - -%package -n trinity-kmouth -Summary: A type-and-say KDE frontend for speech synthesizers -Group: System/GUI/Other - -%description -n trinity-kmouth -KDE's type-and-say frontend for speech synthesizers. - -It includes a history of spoken sentences from which the user can select -sentences to be re-spoken. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmouth -%defattr(-,root,root,-) -%{tde_confdir}/kmouthrc -%{tde_bindir}/kmouth -%{tde_tdeappdir}/kmouth.desktop -%{tde_datadir}/apps/kmouth/ -%{tde_datadir}/icons/hicolor/*/actions/speak.png -%{tde_datadir}/icons/hicolor/*/actions/nospeak.png -%{tde_datadir}/icons/hicolor/*/apps/kmouth.png -%{tde_datadir}/icons/locolor/*/actions/speak.png -%{tde_datadir}/icons/locolor/*/apps/kmouth.png -%{tde_tdedocdir}/HTML/en/kmouth/ - -########## - -%package -n trinity-ksayit -Summary: A frontend for the TDE Text-to-Speech system -Group: System/GUI/Other - -%description -n trinity-ksayit -Text-to-speech front-end to kttsd. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-ksayit -%defattr(-,root,root,-) -%{tde_bindir}/ksayit -%{tde_tdelibdir}/libFreeverb_plugin.la -%{tde_tdelibdir}/libFreeverb_plugin.so -%{tde_libdir}/libKTTSD_Lib.so.* -%{tde_tdeappdir}/ksayit.desktop -%{tde_datadir}/apps/ksayit/ -%{tde_datadir}/icons/hicolor/*/apps/ksayit.png -%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_clipempty.png -%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_talking.png -%{tde_datadir}/services/ksayit_libFreeverb.desktop -%{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop -%{tde_tdedocdir}/HTML/en/ksayit/ - -########## - -%package -n trinity-kttsd -Summary: A Text-to-Speech system for TDE -Group: System/GUI/Other - -%description -n trinity-kttsd -The KDE Text-to-Speech system is a plugin based service that allows any KDE -(or non-KDE) application to speak using the DCOP interface. - -ksayit and kmouth are useful front-ends for this capability, while one of -festival, flite, and epos are essential back-ends. - -This package is part of Trinity, as a component of the TDE accessibility module. - -Homepage: http://accessibility.kde.org/developer/kttsd - -%files -n trinity-kttsd -%defattr(-,root,root,-) -%{tde_bindir}/kttsd -%{tde_bindir}/kttsmgr -%{tde_tdelibdir}/kcm_kttsd.la -%{tde_tdelibdir}/kcm_kttsd.so -%{tde_tdelibdir}/tdetexteditor_kttsd.la -%{tde_tdelibdir}/tdetexteditor_kttsd.so -%if 0%{?with_akode} -%{tde_tdelibdir}/libkttsd_akodeplugin.la -%{tde_tdelibdir}/libkttsd_akodeplugin.so -%endif -%{tde_tdelibdir}/libkttsd_alsaplugin.la -%{tde_tdelibdir}/libkttsd_alsaplugin.so -%{tde_tdelibdir}/libkttsd_artsplugin.la -%{tde_tdelibdir}/libkttsd_artsplugin.so -%{tde_tdelibdir}/libkttsd_commandplugin.la -%{tde_tdelibdir}/libkttsd_commandplugin.so -%{tde_tdelibdir}/libkttsd_eposplugin.la -%{tde_tdelibdir}/libkttsd_eposplugin.so -%{tde_tdelibdir}/libkttsd_festivalintplugin.la -%{tde_tdelibdir}/libkttsd_festivalintplugin.so -%{tde_tdelibdir}/libkttsd_fliteplugin.la -%{tde_tdelibdir}/libkttsd_fliteplugin.so -%{tde_tdelibdir}/libkttsd_sbdplugin.la -%{tde_tdelibdir}/libkttsd_sbdplugin.so -%{tde_tdelibdir}/libkttsd_stringreplacerplugin.la -%{tde_tdelibdir}/libkttsd_stringreplacerplugin.so -%{tde_tdelibdir}/libkttsd_talkerchooserplugin.la -%{tde_tdelibdir}/libkttsd_talkerchooserplugin.so -%{tde_tdelibdir}/libkttsd_xmltransformerplugin.la -%{tde_tdelibdir}/libkttsd_xmltransformerplugin.so -%{tde_tdelibdir}/libkttsjobmgrpart.la -%{tde_tdelibdir}/libkttsjobmgrpart.so -%{tde_libdir}/libkttsd.so.* -%{tde_tdeappdir}/kcmkttsd.desktop -%{tde_tdeappdir}/kttsmgr.desktop -%{tde_datadir}/apps/tdetexteditor_kttsd/ -%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl -%{tde_datadir}/apps/kttsd/ -%{tde_datadir}/icons/hicolor/16x16/actions/female.png -%{tde_datadir}/icons/hicolor/16x16/actions/male.png -%{tde_datadir}/icons/hicolor/*/apps/kttsd.png -%{tde_datadir}/icons/hicolor/*/apps/kcmkttsd.png -%{tde_datadir}/services/tdetexteditor_kttsd.desktop -%{tde_datadir}/services/kttsd.desktop -%if 0%{?with_akode} -%{tde_datadir}/services/kttsd_akodeplugin.desktop -%endif -%{tde_datadir}/services/kttsd_alsaplugin.desktop -%{tde_datadir}/services/kttsd_artsplugin.desktop -%{tde_datadir}/services/kttsd_commandplugin.desktop -%{tde_datadir}/services/kttsd_eposplugin.desktop -%{tde_datadir}/services/kttsd_festivalintplugin.desktop -%{tde_datadir}/services/kttsd_fliteplugin.desktop -%{tde_datadir}/services/kttsd_sbdplugin.desktop -%{tde_datadir}/services/kttsd_stringreplacerplugin.desktop -%{tde_datadir}/services/kttsd_talkerchooserplugin.desktop -%{tde_datadir}/services/kttsd_xmltransformerplugin.desktop -%{tde_datadir}/services/kttsjobmgr.desktop -%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop -%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop -%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop -%{tde_tdedocdir}/HTML/en/kttsd/ - -########## - -%package -n trinity-kttsd-contrib-plugins -Summary: The TDE Text-to-Speech system -Group: System/GUI/Other -Requires: trinity-kttsd = %{version}-%{release} - -%description -n trinity-kttsd-contrib-plugins -kttsd synthetizer plugins that depends on non-free software : -* FreeTTS plugin. -* Hadifix (mbrola/txt2pho) plugin. -Those plugins will require manual installation of third party, -non free software to work. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kttsd-contrib-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/libkttsd_freettsplugin.la -%{tde_tdelibdir}/libkttsd_freettsplugin.so -%{tde_tdelibdir}/libkttsd_hadifixplugin.la -%{tde_tdelibdir}/libkttsd_hadifixplugin.so -%{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl -%{tde_datadir}/services/kttsd_freettsplugin.desktop -%{tde_datadir}/services/kttsd_hadifixplugin.desktop - -########## - -%package devel -Summary: Development files for tdeaccessibility -Group: Development/Libraries/X11 -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{version} -Requires: libjpeg-devel -Requires: libpng-devel - -Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release} -Provides: trinity-kdeaccessibility-devel = %{version}-%{release} - -%description devel -This package contains the development file for TDE accessibility -programs. - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkttsd.la -%{tde_libdir}/libkttsd.so -%{tde_libdir}/libKTTSD_Lib.la -%{tde_libdir}/libKTTSD_Lib.so -%{tde_tdeincludedir}/ksayit_fxplugin.h - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -# Update icons for some control center modules -%__sed -i "kttsd/kcmkttsmgr/kcmkttsd.desktop" -e "s|^Icon=.*|Icon=kcmkttsd|" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export kde_confdir="%{tde_confdir}" - -%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 \ - \ - --enable-ksayit-audio-plugins \ - %{?with_akode:--with-akode} %{?!with_akode:--without-akode} - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Adds missing icons in 'hicolor' theme -# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'. -%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64,128x128}"/apps/" -pushd "%{?buildroot}%{tde_datadir}/icons" -for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kttsd.png hicolor/"$i"x"$i"/apps/kttsd.png ;done -for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kttsd.png hicolor/"$i"x"$i"/apps/kcmkttsd.png ;done -popd - -# Avoid conflict with tdelibs -%__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png -%__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/scalable/apps/kttsd.svgz - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r kmag Utility Accessibility -%suse_update_desktop_file kmousetool Utility Accessibility -%suse_update_desktop_file kmouth Utility Accessibility -%suse_update_desktop_file kttsmgr Utility Accessibility -%suse_update_desktop_file ksayit Utility Accessibility -%suse_update_desktop_file kcmkttsd Utility Accessibility -%endif - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdeaccessibility/tdeaccessibility.spec b/redhat/main/tdeaccessibility/tdeaccessibility.spec new file mode 100644 index 000000000..96ee80e2d --- /dev/null +++ b/redhat/main/tdeaccessibility/tdeaccessibility.spec @@ -0,0 +1,505 @@ +# +# spec file for package tdeaccessibility (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.7 +%endif +%define tde_pkg tdeaccessibility +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_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-tdeaccessibility +Summary: Trinity Desktop Environment - Accessibility +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Group: System/GUI/Other +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: desktop-file-utils +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 + +# AUDIOFILE support +BuildRequires: audiofile-devel + +# AKODE support +%define with_akode 1 +BuildRequires: trinity-akode-devel + +# MAD support +%ifarch %{ix86} x86_64 +%define with_libmad 1 +%{?with_libmad:BuildRequires: libakode_mpeg_decoder} +%endif + +# ALSA support +BuildRequires: alsa-lib-devel + +# GLIB2 support +BuildRequires: glib2-devel + +# XCB support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?pclinuxos} +BuildRequires: libxcb-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} == 0 +BuildRequires: %{_lib}xcb-devel +%endif +%endif + +# XAU support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} >= 4 +BuildRequires: %{_lib}xau-devel +%else +BuildRequires: %{_lib}xau%{?mgaversion:6}-devel +%endif +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXau-devel +%endif + +Obsoletes: trinity-kdeaccessibility < %{version}-%{release} +Provides: trinity-kdeaccessibility = %{version}-%{release} +Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release} +Provides: trinity-kdeaccessibility-libs = %{version}-%{release} + +Requires: trinity-tde-icons-mono = %{version}-%{release} +Requires: trinity-kbstate = %{version}-%{release} +Requires: trinity-kmag = %{version}-%{release} +Requires: trinity-kmousetool = %{version}-%{release} +Requires: trinity-kmouth = %{version}-%{release} +Requires: trinity-ksayit = %{version}-%{release} +Requires: trinity-kttsd = %{version}-%{release} +Requires: trinity-kttsd-contrib-plugins = %{version}-%{release} + +%description +Included with this package are: +* kmag, a screen magnifier, +* kmousetool, a program for people whom it hurts to click the mouse, +* kmouth, program that allows people who have lost their voice + to let their computer speak for them. + +%files + +########## + +%package -n trinity-tde-icons-mono +Summary: A monochromatic icons theme for TDE +Group: System/GUI/Other + +Obsoletes: trinity-kde-icons-mono < %{version}-%{release} +Provides: trinity-kde-icons-mono = %{version}-%{release} + +%description -n trinity-tde-icons-mono +A monochromatic icon theme for TDE, designed for accessibility purposes. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-tde-icons-mono +%defattr(-,root,root,-) +%dir %{tde_datadir}/icons/mono +%dir %{tde_datadir}/icons/mono/scalable +%dir %{tde_datadir}/icons/mono/scalable/actions +%dir %{tde_datadir}/icons/mono/scalable/apps +%dir %{tde_datadir}/icons/mono/scalable/devices +%dir %{tde_datadir}/icons/mono/scalable/mimetypes +%dir %{tde_datadir}/icons/mono/scalable/places +%{tde_datadir}/icons/mono/index.theme +%{tde_datadir}/icons/mono/scalable/*/*.svgz + +########## + +%package -n trinity-kbstate +Summary: A keyboard status applet for TDE +Group: System/GUI/Other + +%description -n trinity-kbstate +A panel applet that displays the keyboard status. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kbstate +%defattr(-,root,root,-) +%{tde_tdelibdir}/kbstate_panelapplet.la +%{tde_tdelibdir}/kbstate_panelapplet.so +%{tde_datadir}/apps/kbstateapplet/ +%{tde_datadir}/apps/kicker/applets/kbstateapplet.desktop + +########## + +%package -n trinity-kmag +Summary: A screen magnifier for TDE +Group: System/GUI/Other + +%description -n trinity-kmag +TDE's screen magnifier tool. + +You can use KMagnifier to magnify a part of the screen just as you would use +a lens to magnify a newspaper fine-print or a photograph. This application is +useful for a variety of people: from researchers to artists to web-designers to +people with low vision. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmag +%defattr(-,root,root,-) +%{tde_bindir}/kmag +%{tde_tdeappdir}/kmag.desktop +%{tde_datadir}/apps/kmag/ +%{tde_datadir}/icons/hicolor/*/apps/kmag.png +%{tde_datadir}/icons/locolor/*/apps/kmag.png +%{tde_tdedocdir}/HTML/en/kmag/ + +########## + +%package -n trinity-kmousetool +Summary: TDE mouse manipulation tool for the disabled +Group: System/GUI/Other + +%description -n trinity-kmousetool +KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was +designed to help those with repetitive strain injuries, for whom pressing +buttons hurts. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmousetool +%defattr(-,root,root,-) +%{tde_bindir}/kmousetool +%{tde_tdeappdir}/kmousetool.desktop +%{tde_datadir}/apps/kmousetool/ +%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png +%{tde_tdedocdir}/HTML/en/kmousetool/ + +########## + +%package -n trinity-kmouth +Summary: A type-and-say KDE frontend for speech synthesizers +Group: System/GUI/Other + +%description -n trinity-kmouth +KDE's type-and-say frontend for speech synthesizers. + +It includes a history of spoken sentences from which the user can select +sentences to be re-spoken. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmouth +%defattr(-,root,root,-) +%{tde_confdir}/kmouthrc +%{tde_bindir}/kmouth +%{tde_tdeappdir}/kmouth.desktop +%{tde_datadir}/apps/kmouth/ +%{tde_datadir}/icons/hicolor/*/actions/speak.png +%{tde_datadir}/icons/hicolor/*/actions/nospeak.png +%{tde_datadir}/icons/hicolor/*/apps/kmouth.png +%{tde_datadir}/icons/locolor/*/actions/speak.png +%{tde_datadir}/icons/locolor/*/apps/kmouth.png +%{tde_tdedocdir}/HTML/en/kmouth/ + +########## + +%package -n trinity-ksayit +Summary: A frontend for the TDE Text-to-Speech system +Group: System/GUI/Other + +%description -n trinity-ksayit +Text-to-speech front-end to kttsd. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-ksayit +%defattr(-,root,root,-) +%{tde_bindir}/ksayit +%{tde_tdelibdir}/libFreeverb_plugin.la +%{tde_tdelibdir}/libFreeverb_plugin.so +%{tde_libdir}/libKTTSD_Lib.so.* +%{tde_tdeappdir}/ksayit.desktop +%{tde_datadir}/apps/ksayit/ +%{tde_datadir}/icons/hicolor/*/apps/ksayit.png +%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_clipempty.png +%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_talking.png +%{tde_datadir}/services/ksayit_libFreeverb.desktop +%{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop +%{tde_tdedocdir}/HTML/en/ksayit/ + +########## + +%package -n trinity-kttsd +Summary: A Text-to-Speech system for TDE +Group: System/GUI/Other + +%description -n trinity-kttsd +The KDE Text-to-Speech system is a plugin based service that allows any KDE +(or non-KDE) application to speak using the DCOP interface. + +ksayit and kmouth are useful front-ends for this capability, while one of +festival, flite, and epos are essential back-ends. + +This package is part of Trinity, as a component of the TDE accessibility module. + +Homepage: http://accessibility.kde.org/developer/kttsd + +%files -n trinity-kttsd +%defattr(-,root,root,-) +%{tde_bindir}/kttsd +%{tde_bindir}/kttsmgr +%{tde_tdelibdir}/kcm_kttsd.la +%{tde_tdelibdir}/kcm_kttsd.so +%{tde_tdelibdir}/tdetexteditor_kttsd.la +%{tde_tdelibdir}/tdetexteditor_kttsd.so +%if 0%{?with_akode} +%{tde_tdelibdir}/libkttsd_akodeplugin.la +%{tde_tdelibdir}/libkttsd_akodeplugin.so +%endif +%{tde_tdelibdir}/libkttsd_alsaplugin.la +%{tde_tdelibdir}/libkttsd_alsaplugin.so +%{tde_tdelibdir}/libkttsd_artsplugin.la +%{tde_tdelibdir}/libkttsd_artsplugin.so +%{tde_tdelibdir}/libkttsd_commandplugin.la +%{tde_tdelibdir}/libkttsd_commandplugin.so +%{tde_tdelibdir}/libkttsd_eposplugin.la +%{tde_tdelibdir}/libkttsd_eposplugin.so +%{tde_tdelibdir}/libkttsd_festivalintplugin.la +%{tde_tdelibdir}/libkttsd_festivalintplugin.so +%{tde_tdelibdir}/libkttsd_fliteplugin.la +%{tde_tdelibdir}/libkttsd_fliteplugin.so +%{tde_tdelibdir}/libkttsd_sbdplugin.la +%{tde_tdelibdir}/libkttsd_sbdplugin.so +%{tde_tdelibdir}/libkttsd_stringreplacerplugin.la +%{tde_tdelibdir}/libkttsd_stringreplacerplugin.so +%{tde_tdelibdir}/libkttsd_talkerchooserplugin.la +%{tde_tdelibdir}/libkttsd_talkerchooserplugin.so +%{tde_tdelibdir}/libkttsd_xmltransformerplugin.la +%{tde_tdelibdir}/libkttsd_xmltransformerplugin.so +%{tde_tdelibdir}/libkttsjobmgrpart.la +%{tde_tdelibdir}/libkttsjobmgrpart.so +%{tde_libdir}/libkttsd.so.* +%{tde_tdeappdir}/kcmkttsd.desktop +%{tde_tdeappdir}/kttsmgr.desktop +%{tde_datadir}/apps/tdetexteditor_kttsd/ +%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl +%{tde_datadir}/apps/kttsd/ +%{tde_datadir}/icons/hicolor/16x16/actions/female.png +%{tde_datadir}/icons/hicolor/16x16/actions/male.png +%{tde_datadir}/icons/hicolor/*/apps/kttsd.png +%{tde_datadir}/icons/hicolor/*/apps/kcmkttsd.png +%{tde_datadir}/services/tdetexteditor_kttsd.desktop +%{tde_datadir}/services/kttsd.desktop +%if 0%{?with_akode} +%{tde_datadir}/services/kttsd_akodeplugin.desktop +%endif +%{tde_datadir}/services/kttsd_alsaplugin.desktop +%{tde_datadir}/services/kttsd_artsplugin.desktop +%{tde_datadir}/services/kttsd_commandplugin.desktop +%{tde_datadir}/services/kttsd_eposplugin.desktop +%{tde_datadir}/services/kttsd_festivalintplugin.desktop +%{tde_datadir}/services/kttsd_fliteplugin.desktop +%{tde_datadir}/services/kttsd_sbdplugin.desktop +%{tde_datadir}/services/kttsd_stringreplacerplugin.desktop +%{tde_datadir}/services/kttsd_talkerchooserplugin.desktop +%{tde_datadir}/services/kttsd_xmltransformerplugin.desktop +%{tde_datadir}/services/kttsjobmgr.desktop +%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop +%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop +%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop +%{tde_tdedocdir}/HTML/en/kttsd/ + +########## + +%package -n trinity-kttsd-contrib-plugins +Summary: The TDE Text-to-Speech system +Group: System/GUI/Other +Requires: trinity-kttsd = %{version}-%{release} + +%description -n trinity-kttsd-contrib-plugins +kttsd synthetizer plugins that depends on non-free software : +* FreeTTS plugin. +* Hadifix (mbrola/txt2pho) plugin. +Those plugins will require manual installation of third party, +non free software to work. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kttsd-contrib-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/libkttsd_freettsplugin.la +%{tde_tdelibdir}/libkttsd_freettsplugin.so +%{tde_tdelibdir}/libkttsd_hadifixplugin.la +%{tde_tdelibdir}/libkttsd_hadifixplugin.so +%{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl +%{tde_datadir}/services/kttsd_freettsplugin.desktop +%{tde_datadir}/services/kttsd_hadifixplugin.desktop + +########## + +%package devel +Summary: Development files for tdeaccessibility +Group: Development/Libraries/X11 +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{version} +Requires: libjpeg-devel +Requires: libpng-devel + +Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release} +Provides: trinity-kdeaccessibility-devel = %{version}-%{release} + +%description devel +This package contains the development file for TDE accessibility +programs. + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkttsd.la +%{tde_libdir}/libkttsd.so +%{tde_libdir}/libKTTSD_Lib.la +%{tde_libdir}/libKTTSD_Lib.so +%{tde_tdeincludedir}/ksayit_fxplugin.h + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +# Update icons for some control center modules +%__sed -i "kttsd/kcmkttsmgr/kcmkttsd.desktop" -e "s|^Icon=.*|Icon=kcmkttsd|" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export kde_confdir="%{tde_confdir}" + +%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 \ + \ + --enable-ksayit-audio-plugins \ + %{?with_akode:--with-akode} %{?!with_akode:--without-akode} + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Adds missing icons in 'hicolor' theme +# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'. +%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64,128x128}"/apps/" +pushd "%{?buildroot}%{tde_datadir}/icons" +for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kttsd.png hicolor/"$i"x"$i"/apps/kttsd.png ;done +for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kttsd.png hicolor/"$i"x"$i"/apps/kcmkttsd.png ;done +popd + +# Avoid conflict with tdelibs +%__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png +%__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/scalable/apps/kttsd.svgz + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r kmag Utility Accessibility +%suse_update_desktop_file kmousetool Utility Accessibility +%suse_update_desktop_file kmouth Utility Accessibility +%suse_update_desktop_file kttsmgr Utility Accessibility +%suse_update_desktop_file ksayit Utility Accessibility +%suse_update_desktop_file kcmkttsd Utility Accessibility +%endif + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdeaddons/tdeaddons-14.0.0.spec b/redhat/main/tdeaddons/tdeaddons-14.0.0.spec deleted file mode 100644 index 90ddfe3e6..000000000 --- a/redhat/main/tdeaddons/tdeaddons-14.0.0.spec +++ /dev/null @@ -1,758 +0,0 @@ -# -# spec file for package tdeaddons (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 -%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 -%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 - - -Name: trinity-%{tde_pkg} -Summary: Trinity Desktop Environment - Plugins -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Group: User Interface/Desktops -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Obsoletes: trinity-kdeaddons < %{version}-%{release} -Provides: trinity-kdeaddons = %{version}-%{release} -Obsoletes: trinity-kdeaddons-extras < %{version}-%{release} -Provides: trinity-kdeaddons-extras = %{version}-%{release} - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - - -# Trinity dependencies -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: trinity-tdegames-devel >= %{tde_version} -BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} -BuildRequires: trinity-tdepim-devel >= %{tde_version} - -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 - -# SDL support -BuildRequires: SDL-devel - -# ALSA support -BuildRequires: alsa-lib-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# 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 - -# PCRE support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_pcre 1 -BuildRequires: pcre-devel -%endif - -# ACL support -BuildRequires: libacl-devel - -# DB4/DB5 support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion} -%define with_db 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: db4-devel -%else -BuildRequires: db5-devel -%endif -%endif -%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 -BuildRequires: libdb-devel -BuildRequires: libdb-cxx-devel -%endif -%if 0%{?suse_version} -BuildRequires: libdb-4_8-devel -%endif -%if 0%{?rhel} && 0%{?rhel} <= 6 -BuildRequires: db4-devel -%endif -%endif - -# XMMS support: no, always disabled, even on Fedora -#%if 0%{?fedora} -#define with_xmms 1 -#BuildRequires: xmms-devel -#%endif - -Requires: trinity-atlantikdesigner = %{version}-%{release} -Requires: trinity-kaddressbook-plugins = %{version}-%{release} -Requires: trinity-kate-plugins = %{version}-%{release} -Requires: trinity-tdeaddons-tdefile-plugins = %{version}-%{release} -Requires: trinity-kicker-applets = %{version}-%{release} -Requires: trinity-knewsticker-scripts = %{version}-%{release} -Requires: trinity-konq-plugins = %{version}-%{release} -Requires: trinity-ksig = %{version}-%{release} -Requires: trinity-noatun-plugins = %{version}-%{release} - - -%description -A collection of TDE Addons/Plugins, including: -* atlantikdesigner: game board designer -* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver -* kate (plugins) -* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol -* knewsticker-scripts -* noatun-plugins - -%files -%defattr(-,root,root,-) - -########## - -%package -n trinity-atlantikdesigner -Summary: Game board designer for Atlantik -Group: Applications/Games -#Requires: trinity-atlantik -Requires: trinity-tdegames - -%description -n trinity-atlantikdesigner -Atlantik Designer is a game board designer for the game Atlantik. - -Atlantik is a TDE client for playing Monopoly-like board games on the -monopd network. It can play any board supported by the network -server, including the classic Monopoly game as well as the Atlantik -game in which the properties include several major cities in North -America and Europe. - -%files -n trinity-atlantikdesigner -%defattr(-,root,root,-) -%doc README atlantikdesigner/TODO -%{tde_bindir}/atlantikdesigner -%{tde_datadir}/apps/atlantikdesigner -%{tde_tdeappdir}/atlantikdesigner.desktop -%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png -%{tde_tdedocdir}/HTML/en/atlantikdesigner/ - -########## - -%package -n trinity-kaddressbook-plugins -Summary: Plugins for KAddressBook, the Trinity address book -Group: Applications/Utilities -Requires: trinity-kaddressbook - -%description -n trinity-kaddressbook-plugins -This package contains a variety of useful plugins for the KDE address -book. These plugins can be loaded through the TDE address book settings. - -Highlights include exporting postal addresses as flags in KWorldClock, -as well as importing and exporting contacts in the native format used -by the German freemail provider GMX. - -%files -n trinity-kaddressbook-plugins -%defattr(-,root,root,-) -%doc README -%{tde_tdelibdir}/libkaddrbk_geo_xxport.la -%{tde_tdelibdir}/libkaddrbk_geo_xxport.so -%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la -%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so -%{tde_datadir}/apps/kaddressbook -%{tde_datadir}/services/kaddressbook - -########## - -%package -n trinity-kate-plugins -Summary: Plugins for Kate, the TDE Advanced Text Editor -Group: Applications/Utilities -Requires: trinity-kate -Requires: tidy - -%description -n trinity-kate-plugins -This package contains a variety of useful plugins for Kate, the KDE -Advanced Text Editor. These plugins can be loaded through the plugin -manager in Kate settings. - -Highlights include spell checking, text filtering, HTML/XML construction -and validation, vim/emacs modeline handling, templates for new files -and text snippets, opening of C/C++ headers, extraction of C/C++ symbols, -a tab bar, a Python browser and even more. - -%files -n trinity-kate-plugins -%defattr(-,root,root,-) -%doc kate/xmltools/ChangeLog kate/xmltools/README -%{tde_tdelibdir}/katecppsymbolviewerplugin.la -%{tde_tdelibdir}/katecppsymbolviewerplugin.so -%{tde_tdelibdir}/katefiletemplates.la -%{tde_tdelibdir}/katefiletemplates.so -%{tde_tdelibdir}/katefll_plugin.la -%{tde_tdelibdir}/katefll_plugin.so -%{tde_tdelibdir}/katehelloworldplugin.la -%{tde_tdelibdir}/katehelloworldplugin.so -%{tde_tdelibdir}/katehtmltoolsplugin.la -%{tde_tdelibdir}/katehtmltoolsplugin.so -%{tde_tdelibdir}/kateinsertcommandplugin.la -%{tde_tdelibdir}/kateinsertcommandplugin.so -%{tde_tdelibdir}/katemakeplugin.la -%{tde_tdelibdir}/katemakeplugin.so -%{tde_tdelibdir}/katemodelineplugin.la -%{tde_tdelibdir}/katemodelineplugin.so -%{tde_tdelibdir}/kateopenheaderplugin.la -%{tde_tdelibdir}/kateopenheaderplugin.so -%{tde_tdelibdir}/katepybrowseplugin.la -%{tde_tdelibdir}/katepybrowseplugin.so -%{tde_tdelibdir}/katesnippetsplugin.la -%{tde_tdelibdir}/katesnippetsplugin.so -%{tde_tdelibdir}/katetextfilterplugin.la -%{tde_tdelibdir}/katetextfilterplugin.so -%{tde_tdelibdir}/katexmlcheckplugin.la -%{tde_tdelibdir}/katexmlcheckplugin.so -%{tde_tdelibdir}/katexmltoolsplugin.la -%{tde_tdelibdir}/katexmltoolsplugin.so -%{tde_tdelibdir}/libkatetabbarextensionplugin.la -%{tde_tdelibdir}/libkatetabbarextensionplugin.so -%{tde_datadir}/applnk/.hidden/kate-plugins.desktop -%{tde_datadir}/applnk/.hidden/katefll.desktop -%{tde_datadir}/apps/kate -%{tde_datadir}/apps/katepart -%{tde_datadir}/apps/katexmltools -%{tde_datadir}/services/katecppsymbolviewer.desktop -%{tde_datadir}/services/katefiletemplates.desktop -%{tde_datadir}/services/katefll_plugin.desktop -%{tde_datadir}/services/katehelloworld.desktop -%{tde_datadir}/services/katehtmltools.desktop -%{tde_datadir}/services/kateinsertcommand.desktop -%{tde_datadir}/services/katemake.desktop -%{tde_datadir}/services/katemodeline.desktop -%{tde_datadir}/services/kateopenheader.desktop -%{tde_datadir}/services/katepybrowse.desktop -%{tde_datadir}/services/katesnippets.desktop -%{tde_datadir}/services/katetabbarextension.desktop -%{tde_datadir}/services/katetextfilter.desktop -%{tde_datadir}/services/katexmlcheck.desktop -%{tde_datadir}/services/katexmltools.desktop -%{tde_tdedocdir}/HTML/en/kate-plugins/ -# katesort plugin -%{tde_tdelibdir}/katesortplugin.la -%{tde_tdelibdir}/katesortplugin.so -%{tde_datadir}/icons/hicolor/*/actions/katesort.png -%{tde_datadir}/services/katesort.desktop - -########## - -%package tdefile-plugins -Summary: Trinity file dialog plugins for text files and folders -Group: Applications/Utilities - -Obsoletes: trinity-tdeaddons-kfile-plugins < %{version}-%{release} -Provides: trinity-tdeaddons-kfile-plugins = %{version}-%{release} - -%description tdefile-plugins -This is a collection of plugins for the TDE file dialog. These plugins -extend the file dialog to offer advanced meta-information for text, -HTML and desktop files, as well as for folders, Windows .lnk files, -MIME archives and X.509 certificates. - -This package also includes plugins for the KDE file rename dialog, -allowing a user to more easily decide what to do when faced with a -decision regarding conflicting filenames. Rename dialog plugins are -provided for audio and image files. - -%files tdefile-plugins -%defattr(-,root,root,-) -%doc tdefile-plugins/lnk/README -%{tde_bindir}/lnkforward -%{tde_tdelibdir}/tdefile_cert.la -%{tde_tdelibdir}/tdefile_cert.so -%{tde_tdelibdir}/tdefile_desktop.la -%{tde_tdelibdir}/tdefile_desktop.so -%{tde_tdelibdir}/tdefile_folder.la -%{tde_tdelibdir}/tdefile_folder.so -%{tde_tdelibdir}/tdefile_html.la -%{tde_tdelibdir}/tdefile_html.so -%{tde_tdelibdir}/tdefile_lnk.la -%{tde_tdelibdir}/tdefile_lnk.so -%{tde_tdelibdir}/tdefile_mhtml.la -%{tde_tdelibdir}/tdefile_mhtml.so -%{tde_tdelibdir}/tdefile_txt.la -%{tde_tdelibdir}/tdefile_txt.so -%{tde_tdelibdir}/librenaudioplugin.la -%{tde_tdelibdir}/librenaudioplugin.so -%{tde_tdelibdir}/librenimageplugin.la -%{tde_tdelibdir}/librenimageplugin.so -%{tde_datadir}/applnk/.hidden/lnkforward.desktop -%{tde_datadir}/mimelnk/application/x-win-lnk.desktop -%{tde_datadir}/services/tdefile_cert.desktop -%{tde_datadir}/services/tdefile_desktop.desktop -%{tde_datadir}/services/tdefile_folder.desktop -%{tde_datadir}/services/tdefile_html.desktop -%{tde_datadir}/services/tdefile_lnk.desktop -%{tde_datadir}/services/tdefile_mhtml.desktop -%{tde_datadir}/services/tdefile_txt.desktop -%{tde_datadir}/services/renaudiodlg.desktop -%{tde_datadir}/services/renimagedlg.desktop - -########## - -%package -n trinity-kicker-applets -Summary: Applets for Kicker, the Trinity panel -Group: Applications/Utilities -Requires: trinity-kicker - -%description -n trinity-kicker-applets -This package contains a variety of applets for Kicker, the KDE panel. -These applets will appear in the panel's Add--Applet menu. - -Included are a system monitor, a colour picker, a media player controller, -a mathematical evaluator and a binary clock. - -The media control applet does not support XMMS, as this would force all -kicker-applets users to install XMMS. If you want a kicker applet that -controls XMMS, install the xmms-kde-trinity package. - -%files -n trinity-kicker-applets -%defattr(-,root,root,-) -%doc README -%{tde_tdelibdir}/kolourpicker_panelapplet.la -%{tde_tdelibdir}/kolourpicker_panelapplet.so -%{tde_tdelibdir}/ktimemon_panelapplet.la -%{tde_tdelibdir}/ktimemon_panelapplet.so -%{tde_tdelibdir}/math_panelapplet.la -%{tde_tdelibdir}/math_panelapplet.so -%{tde_tdelibdir}/mediacontrol_panelapplet.la -%{tde_tdelibdir}/mediacontrol_panelapplet.so -%{tde_tdelibdir}/kbinaryclock_panelapplet.la -%{tde_tdelibdir}/kbinaryclock_panelapplet.so -%{tde_datadir}/apps/kicker/applets -%{tde_datadir}/apps/mediacontrol -%{tde_datadir}/config.kcfg/kbinaryclock.kcfg -%{tde_datadir}/icons/locolor/*/apps/ktimemon.png -%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png -%{tde_tdedocdir}/HTML/en/kicker-applets/ - -########## - -%package -n trinity-knewsticker-scripts -Summary: scripts for KNewsTicker, the Trinity news ticker -Group: Applications/Utilities -Requires: perl -Requires: python -#Requires: libfinance-quote-perl -#Requires: libmime-perl -#Requires: libnews-nntpclient-perl -Requires: perl-libwww-perl -Requires: trinity-knewsticker - -%description -n trinity-knewsticker-scripts -This package contains a variety of scripts that provide additional news -sources for KNewsTicker, the news ticker applet for the TDE panel. - -Highlights include newsgroup handling, stock data retrieval, sports scores -and various local news sources. - -%files -n trinity-knewsticker-scripts -%defattr(-,root,root,-) -%doc README -%{tde_datadir}/apps/knewsticker/ - -########## - -%package -n trinity-konq-plugins -Summary: plugins for Konqueror, the Trinity file/web/doc browser -Group: Applications/Utilities -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 -Requires: %{_lib}jpeg8 -%endif -%endif -%if 0%{?rhel} || 0%{?fedora} -Requires: libjpeg -%endif -%if 0%{?suse_version} == 1220 -Requires: libjpeg62 -%endif -%if 0%{?pclinuxos} -Requires: %{_lib}jpeg62 -%endif -%if 0%{?suse_version} == 1230 -Requires: libjpeg8 -%endif -Requires: python -Requires: rsync -#Requires: unison -Requires: trinity-konqueror -%if 0%{?fedora} -Requires: python-exif -%endif - -%description -n trinity-konq-plugins -This package contains a variety of useful plugins for Konqueror, the -file manager, web browser and document viewer for TDE. Many of these -plugins will appear in Konqueror's Tools menu. - -Highlights for web browsing include web page translation, web page archiving, -auto-refreshing, HTML and CSS structural analysis, a search toolbar, a -sidebar news ticker, fast access to common options, bookmarklets, a crash -monitor, a microformat availability indicator, a del.icio.us bookmarks -sidebar, and integration with the aKregator RSS feed reader. - -Highlights for directory browsing include directory filters, image gallery -creation, archive compression and extraction, quick copy/move, a sidebar -media player, a file information metabar/sidebar, a media folder helper, a -graphical disk usage viewer and image conversions and transformations. - -%files -n trinity-konq-plugins -%defattr(-,root,root,-) -%doc konq-plugins/README -%{_sysconfdir}/trinity/translaterc -%{tde_bindir}/fsview -%{tde_bindir}/jpegorient -%{tde_bindir}/tdeio_media_realfolder -%{tde_tdelibdir}/konq_sidebarnews.la -%{tde_tdelibdir}/konq_sidebarnews.so -%{tde_tdelibdir}/konqsidebar_delicious.la -%{tde_tdelibdir}/konqsidebar_delicious.so -%{tde_tdelibdir}/konqsidebar_mediaplayer.la -%{tde_tdelibdir}/konqsidebar_mediaplayer.so -%{tde_tdelibdir}/konqsidebar_metabar.la -%{tde_tdelibdir}/konqsidebar_metabar.so -%{tde_tdelibdir}/libakregatorkonqfeedicon.la -%{tde_tdelibdir}/libakregatorkonqfeedicon.so -%{tde_tdelibdir}/libakregatorkonqplugin.la -%{tde_tdelibdir}/libakregatorkonqplugin.so -%{tde_tdelibdir}/libarkplugin.la -%{tde_tdelibdir}/libarkplugin.so -%{tde_tdelibdir}/libautorefresh.la -%{tde_tdelibdir}/libautorefresh.so -%{tde_tdelibdir}/libbabelfishplugin.la -%{tde_tdelibdir}/libbabelfishplugin.so -%{tde_tdelibdir}/libcrashesplugin.la -%{tde_tdelibdir}/libcrashesplugin.so -%{tde_tdelibdir}/libdirfilterplugin.la -%{tde_tdelibdir}/libdirfilterplugin.so -%{tde_tdelibdir}/librsyncplugin.la -%{tde_tdelibdir}/librsyncplugin.so -%{tde_tdelibdir}/libdomtreeviewerplugin.la -%{tde_tdelibdir}/libdomtreeviewerplugin.so -%{tde_tdelibdir}/libfsviewpart.la -%{tde_tdelibdir}/libfsviewpart.so -%{tde_tdelibdir}/libtdehtmlsettingsplugin.la -%{tde_tdelibdir}/libtdehtmlsettingsplugin.so -%{tde_tdelibdir}/kcm_kuick.la -%{tde_tdelibdir}/kcm_kuick.so -%{tde_tdelibdir}/libkimgallery.la -%{tde_tdelibdir}/libkimgallery.so -%{tde_tdelibdir}/libkuickplugin.la -%{tde_tdelibdir}/libkuickplugin.so -%{tde_tdelibdir}/libmfkonqmficon.la -%{tde_tdelibdir}/libmfkonqmficon.so -%{tde_tdelibdir}/libminitoolsplugin.la -%{tde_tdelibdir}/libminitoolsplugin.so -%{tde_tdelibdir}/librellinksplugin.la -%{tde_tdelibdir}/librellinksplugin.so -%{tde_tdelibdir}/libsearchbarplugin.la -%{tde_tdelibdir}/libsearchbarplugin.so -%{tde_tdelibdir}/libuachangerplugin.la -%{tde_tdelibdir}/libuachangerplugin.so -%{tde_tdelibdir}/libvalidatorsplugin.la -%{tde_tdelibdir}/libvalidatorsplugin.so -%{tde_tdelibdir}/libwebarchiverplugin.la -%{tde_tdelibdir}/libwebarchiverplugin.so -%{tde_tdelibdir}/webarchivethumbnail.la -%{tde_tdelibdir}/webarchivethumbnail.so -%{tde_datadir}/applnk/.hidden/arkplugin.desktop -%{tde_datadir}/applnk/.hidden/kcmkuick.desktop -%{tde_datadir}/applnk/.hidden/kuickplugin.desktop -%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop -%{tde_datadir}/applnk/.hidden/crashesplugin.desktop -%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop -%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop -%{tde_datadir}/applnk/.hidden/fsview.desktop -%{tde_datadir}/applnk/.hidden/tdehtmlsettingsplugin.desktop -%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop -%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop -%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop -%{tde_datadir}/applnk/.hidden/plugin_validators.desktop -%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop -%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop -%{tde_datadir}/apps/akregator -%{tde_datadir}/apps/domtreeviewer -%{tde_datadir}/apps/fsview -%{tde_datadir}/apps/imagerotation/ -%{tde_datadir}/apps/tdehtml/kpartplugins -%{tde_datadir}/apps/konqiconview -%{tde_datadir}/apps/konqlistview -%{tde_datadir}/apps/konqsidebartng -%{tde_datadir}/apps/konqueror/icons -%{tde_datadir}/apps/konqueror/kpartplugins -%{tde_datadir}/apps/konqueror/servicemenus -%{tde_datadir}/apps/metabar/ -%{tde_datadir}/apps/microformat/ -%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/babelfish.png -%{tde_datadir}/icons/crystalsvg/*/actions/cssvalidator.png -%{tde_datadir}/icons/crystalsvg/*/actions/domtreeviewer.png -%{tde_datadir}/icons/crystalsvg/*/actions/htmlvalidator.png -%{tde_datadir}/icons/crystalsvg/*/actions/imagegallery.png -%{tde_datadir}/icons/crystalsvg/*/actions/remotesync.png -%{tde_datadir}/icons/crystalsvg/*/actions/remotesyncconfig.png -%{tde_datadir}/icons/crystalsvg/*/actions/minitools.png -%{tde_datadir}/icons/crystalsvg/*/actions/validators.png -%{tde_datadir}/icons/crystalsvg/*/actions/webarchiver.png -%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_delicious.png -%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_news.png -%{tde_datadir}/icons/hicolor/*/apps/metabar.png -%{tde_datadir}/icons/hicolor/*/apps/fsview.png -%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz -%{tde_datadir}/icons/locolor/*/apps/autorefresh.png -%{tde_datadir}/icons/locolor/*/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/services/akregator_konqplugin.desktop -%{tde_datadir}/services/ark_plugin.desktop -%{tde_datadir}/services/fsview_part.desktop -%{tde_datadir}/services/kuick_plugin.desktop -%{tde_datadir}/services/webarchivethumbnail.desktop -%{tde_tdelibdir}/libadblock.la -%{tde_tdelibdir}/libadblock.so -%{tde_tdedocdir}/HTML/en/konq-plugins/ - -########## - -%package -n trinity-ksig -Summary: Graphical tool for managing multiple email signatures -Group: Applications/Utilities -Requires: trinity-kmail - -%description -n trinity-ksig -KSig is a graphical tool for keeping track of many different email -signatures. The signatures themselves can be edited through KSig's -graphical user interface. A command-line interface is then available -for generating random or daily signatures from this list. - -The command-line interface makes a suitable plugin for generating -signatures in external mail clients such as KMail. - -%files -n trinity-ksig -%defattr(-,root,root,-) -%doc README -%{tde_bindir}/ksig -%{tde_tdeappdir}/ksig.desktop -%{tde_datadir}/apps/ksig/ -%{tde_datadir}/icons/hicolor/*/apps/ksig.png -%{tde_tdedocdir}/HTML/en/ksig/ - -########## - -%package -n trinity-noatun-plugins -Summary: plugins for Noatun, the Trinity media player -Group: Applications/Utilities -Requires: trinity-noatun - -%description -n trinity-noatun-plugins -This package contains a variety of useful plugins for Noatun, the audio and -video media player for TDE. These plugins can be loaded through the plugin -manager in Noatun settings. - -Highlights include an alarm clock, guessing tags from filenames, adjustable -playback speed, capture to wave file and displaying lyrics, plus a variety -of user interfaces, playlists and visualisation plugins. - -%files -n trinity-noatun-plugins -%defattr(-,root,root,-) -%doc README -%{tde_bindir}/noatunsynaescope.bin -%{tde_bindir}/noatuntippecanoe.bin -%{tde_bindir}/noatuntyler.bin -%{tde_tdelibdir}/noatunalsaplayer.la -%{tde_tdelibdir}/noatunalsaplayer.so -%{tde_tdelibdir}/noatunblurscope.la -%{tde_tdelibdir}/noatunblurscope.so -%{tde_tdelibdir}/noatuncharlatan.la -%{tde_tdelibdir}/noatuncharlatan.so -%{tde_tdelibdir}/noatundub.la -%{tde_tdelibdir}/noatundub.so -%{tde_tdelibdir}/noatun_ffrs.la -%{tde_tdelibdir}/noatun_ffrs.so -%{tde_tdelibdir}/noatunluckytag.la -%{tde_tdelibdir}/noatunluckytag.so -%{tde_tdelibdir}/noatunlyrics.la -%{tde_tdelibdir}/noatunlyrics.so -%{tde_tdelibdir}/noatunmadness.la -%{tde_tdelibdir}/noatunmadness.so -%if 0%{?with_db} -%{tde_tdelibdir}/noatun_oblique.la -%{tde_tdelibdir}/noatun_oblique.so -%endif -%{tde_tdelibdir}/noatunpitchablespeed.la -%{tde_tdelibdir}/noatunpitchablespeed.so -%{tde_tdelibdir}/noatunsynaescope.la -%{tde_tdelibdir}/noatunsynaescope.so -%{tde_tdelibdir}/noatuntippecanoe.la -%{tde_tdelibdir}/noatuntippecanoe.so -%{tde_tdelibdir}/noatuntyler.la -%{tde_tdelibdir}/noatuntyler.so -%{tde_tdelibdir}/noatunwakeup.la -%{tde_tdelibdir}/noatunwakeup.so -%{tde_tdelibdir}/noatunwavecapture.la -%{tde_tdelibdir}/noatunwavecapture.so -%{tde_datadir}/apps/noatun/* -%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%if 0%{?fedora} >= 30 -# Fix shebangs -sed -i "knewsticker-scripts/sportscores.py" \ - "konq-plugins/imagerotation/orient.py" \ - "konq-plugins/imagerotation/exif.py" \ - -e "s|env python|env python3|" -%endif - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -# Help cmake to find DB headers ... -if [ -d "/usr/include/db53" ]; then - export CMAKE_INCLUDE_PATH="/usr/include/db53" -fi -if [ -d "/usr/include/db4" ]; then - export CMAKE_INCLUDE_PATH="/usr/include/db4" -fi - - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -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" \ - -DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_ARTS=ON \ - -DWITH_SDL=ON \ - -DWITH_BERKELEY_DB=ON \ - -DWITH_XMMS=OFF \ - -DWITH_TEST=OFF \ - \ - -DBUILD_ALL=ON \ - -DBUILD_ATLANTIKDESIGNER=ON \ - -DBUILD_DOC=ON \ - -DBUILD_KADDRESSBOOK_PLUGINS=ON \ - -DBUILD_KATE_PLUGINS=ON \ - -DBUILD_KICKER_APPLETS=ON \ - -DBUILD_KNEWSTICKER_SCRIPTS=ON \ - -DBUILD_KONQ_PLUGINS=ON \ - -DBUILD_KSIG=ON \ - -DBUILD_NOATUN_PLUGINS=ON \ - -DBUILD_RENAMEDLG_PLUGINS=ON \ - -DBUILD_TDEFILE_PLUGINS=ON \ - -DBUILD_TUTORIALS=OFF \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Temporary -%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/en/khelpcenter - - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file atlantikdesigner Game BoardGame -%suse_update_desktop_file -r ksig Network Email -%endif - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdeaddons/tdeaddons.spec b/redhat/main/tdeaddons/tdeaddons.spec new file mode 100644 index 000000000..8a048cf08 --- /dev/null +++ b/redhat/main/tdeaddons/tdeaddons.spec @@ -0,0 +1,761 @@ +# +# spec file for package tdeaddons (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 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tdeaddons +%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 + + +Name: trinity-%{tde_pkg} +Summary: Trinity Desktop Environment - Plugins +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Group: User Interface/Desktops +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Obsoletes: trinity-kdeaddons < %{version}-%{release} +Provides: trinity-kdeaddons = %{version}-%{release} +Obsoletes: trinity-kdeaddons-extras < %{version}-%{release} +Provides: trinity-kdeaddons-extras = %{version}-%{release} + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + + +# Trinity dependencies +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: trinity-tdegames-devel >= %{tde_version} +BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} +BuildRequires: trinity-tdepim-devel >= %{tde_version} + +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 + +# SDL support +BuildRequires: SDL-devel + +# ALSA support +BuildRequires: alsa-lib-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# 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 + +# PCRE support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_pcre 1 +BuildRequires: pcre-devel +%endif + +# ACL support +BuildRequires: libacl-devel + +# DB4/DB5 support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion} +%define with_db 1 +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos} +BuildRequires: db5-devel +%endif +%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 +BuildRequires: libdb-devel +BuildRequires: libdb-cxx-devel +%endif +%if 0%{?suse_version} +BuildRequires: libdb-4_8-devel +%endif +%if 0%{?rhel} && 0%{?rhel} <= 6 +BuildRequires: db4-devel +%endif +%endif + +# XMMS support: no, always disabled, even on Fedora +#%if 0%{?fedora} +#define with_xmms 1 +#BuildRequires: xmms-devel +#%endif + +# PYTHON support +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 +%define python python3 +%else +%define python python +%endif + +Requires: trinity-atlantikdesigner = %{version}-%{release} +Requires: trinity-kaddressbook-plugins = %{version}-%{release} +Requires: trinity-kate-plugins = %{version}-%{release} +Requires: trinity-tdeaddons-tdefile-plugins = %{version}-%{release} +Requires: trinity-kicker-applets = %{version}-%{release} +Requires: trinity-knewsticker-scripts = %{version}-%{release} +Requires: trinity-konq-plugins = %{version}-%{release} +Requires: trinity-ksig = %{version}-%{release} +Requires: trinity-noatun-plugins = %{version}-%{release} + + +%description +A collection of TDE Addons/Plugins, including: +* atlantikdesigner: game board designer +* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver +* kate (plugins) +* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol +* knewsticker-scripts +* noatun-plugins + +%files +%defattr(-,root,root,-) + +########## + +%package -n trinity-atlantikdesigner +Summary: Game board designer for Atlantik +Group: Applications/Games +#Requires: trinity-atlantik +Requires: trinity-tdegames + +%description -n trinity-atlantikdesigner +Atlantik Designer is a game board designer for the game Atlantik. + +Atlantik is a TDE client for playing Monopoly-like board games on the +monopd network. It can play any board supported by the network +server, including the classic Monopoly game as well as the Atlantik +game in which the properties include several major cities in North +America and Europe. + +%files -n trinity-atlantikdesigner +%defattr(-,root,root,-) +%doc README atlantikdesigner/TODO +%{tde_bindir}/atlantikdesigner +%{tde_datadir}/apps/atlantikdesigner +%{tde_tdeappdir}/atlantikdesigner.desktop +%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png +%{tde_tdedocdir}/HTML/en/atlantikdesigner/ + +########## + +%package -n trinity-kaddressbook-plugins +Summary: Plugins for KAddressBook, the Trinity address book +Group: Applications/Utilities +Requires: trinity-kaddressbook + +%description -n trinity-kaddressbook-plugins +This package contains a variety of useful plugins for the KDE address +book. These plugins can be loaded through the TDE address book settings. + +Highlights include exporting postal addresses as flags in KWorldClock, +as well as importing and exporting contacts in the native format used +by the German freemail provider GMX. + +%files -n trinity-kaddressbook-plugins +%defattr(-,root,root,-) +%doc README +%{tde_tdelibdir}/libkaddrbk_geo_xxport.la +%{tde_tdelibdir}/libkaddrbk_geo_xxport.so +%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la +%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so +%{tde_datadir}/apps/kaddressbook +%{tde_datadir}/services/kaddressbook + +########## + +%package -n trinity-kate-plugins +Summary: Plugins for Kate, the TDE Advanced Text Editor +Group: Applications/Utilities +Requires: trinity-kate +Requires: tidy + +%description -n trinity-kate-plugins +This package contains a variety of useful plugins for Kate, the KDE +Advanced Text Editor. These plugins can be loaded through the plugin +manager in Kate settings. + +Highlights include spell checking, text filtering, HTML/XML construction +and validation, vim/emacs modeline handling, templates for new files +and text snippets, opening of C/C++ headers, extraction of C/C++ symbols, +a tab bar, a Python browser and even more. + +%files -n trinity-kate-plugins +%defattr(-,root,root,-) +%doc kate/xmltools/ChangeLog kate/xmltools/README +%{tde_tdelibdir}/katecppsymbolviewerplugin.la +%{tde_tdelibdir}/katecppsymbolviewerplugin.so +%{tde_tdelibdir}/katefiletemplates.la +%{tde_tdelibdir}/katefiletemplates.so +%{tde_tdelibdir}/katefll_plugin.la +%{tde_tdelibdir}/katefll_plugin.so +%{tde_tdelibdir}/katehelloworldplugin.la +%{tde_tdelibdir}/katehelloworldplugin.so +%{tde_tdelibdir}/katehtmltoolsplugin.la +%{tde_tdelibdir}/katehtmltoolsplugin.so +%{tde_tdelibdir}/kateinsertcommandplugin.la +%{tde_tdelibdir}/kateinsertcommandplugin.so +%{tde_tdelibdir}/katemakeplugin.la +%{tde_tdelibdir}/katemakeplugin.so +%{tde_tdelibdir}/katemodelineplugin.la +%{tde_tdelibdir}/katemodelineplugin.so +%{tde_tdelibdir}/kateopenheaderplugin.la +%{tde_tdelibdir}/kateopenheaderplugin.so +%{tde_tdelibdir}/katepybrowseplugin.la +%{tde_tdelibdir}/katepybrowseplugin.so +%{tde_tdelibdir}/katesnippetsplugin.la +%{tde_tdelibdir}/katesnippetsplugin.so +%{tde_tdelibdir}/katetextfilterplugin.la +%{tde_tdelibdir}/katetextfilterplugin.so +%{tde_tdelibdir}/katexmlcheckplugin.la +%{tde_tdelibdir}/katexmlcheckplugin.so +%{tde_tdelibdir}/katexmltoolsplugin.la +%{tde_tdelibdir}/katexmltoolsplugin.so +%{tde_tdelibdir}/libkatetabbarextensionplugin.la +%{tde_tdelibdir}/libkatetabbarextensionplugin.so +%{tde_datadir}/applnk/.hidden/kate-plugins.desktop +%{tde_datadir}/applnk/.hidden/katefll.desktop +%{tde_datadir}/apps/kate +%{tde_datadir}/apps/katepart +%{tde_datadir}/apps/katexmltools +%{tde_datadir}/services/katecppsymbolviewer.desktop +%{tde_datadir}/services/katefiletemplates.desktop +%{tde_datadir}/services/katefll_plugin.desktop +%{tde_datadir}/services/katehelloworld.desktop +%{tde_datadir}/services/katehtmltools.desktop +%{tde_datadir}/services/kateinsertcommand.desktop +%{tde_datadir}/services/katemake.desktop +%{tde_datadir}/services/katemodeline.desktop +%{tde_datadir}/services/kateopenheader.desktop +%{tde_datadir}/services/katepybrowse.desktop +%{tde_datadir}/services/katesnippets.desktop +%{tde_datadir}/services/katetabbarextension.desktop +%{tde_datadir}/services/katetextfilter.desktop +%{tde_datadir}/services/katexmlcheck.desktop +%{tde_datadir}/services/katexmltools.desktop +%{tde_tdedocdir}/HTML/en/kate-plugins/ +# katesort plugin +%{tde_tdelibdir}/katesortplugin.la +%{tde_tdelibdir}/katesortplugin.so +%{tde_datadir}/icons/hicolor/*/actions/katesort.png +%{tde_datadir}/services/katesort.desktop + +########## + +%package tdefile-plugins +Summary: Trinity file dialog plugins for text files and folders +Group: Applications/Utilities + +Obsoletes: trinity-tdeaddons-kfile-plugins < %{version}-%{release} +Provides: trinity-tdeaddons-kfile-plugins = %{version}-%{release} + +%description tdefile-plugins +This is a collection of plugins for the TDE file dialog. These plugins +extend the file dialog to offer advanced meta-information for text, +HTML and desktop files, as well as for folders, Windows .lnk files, +MIME archives and X.509 certificates. + +This package also includes plugins for the KDE file rename dialog, +allowing a user to more easily decide what to do when faced with a +decision regarding conflicting filenames. Rename dialog plugins are +provided for audio and image files. + +%files tdefile-plugins +%defattr(-,root,root,-) +%doc tdefile-plugins/lnk/README +%{tde_bindir}/lnkforward +%{tde_tdelibdir}/tdefile_cert.la +%{tde_tdelibdir}/tdefile_cert.so +%{tde_tdelibdir}/tdefile_desktop.la +%{tde_tdelibdir}/tdefile_desktop.so +%{tde_tdelibdir}/tdefile_folder.la +%{tde_tdelibdir}/tdefile_folder.so +%{tde_tdelibdir}/tdefile_html.la +%{tde_tdelibdir}/tdefile_html.so +%{tde_tdelibdir}/tdefile_lnk.la +%{tde_tdelibdir}/tdefile_lnk.so +%{tde_tdelibdir}/tdefile_mhtml.la +%{tde_tdelibdir}/tdefile_mhtml.so +%{tde_tdelibdir}/tdefile_txt.la +%{tde_tdelibdir}/tdefile_txt.so +%{tde_tdelibdir}/librenaudioplugin.la +%{tde_tdelibdir}/librenaudioplugin.so +%{tde_tdelibdir}/librenimageplugin.la +%{tde_tdelibdir}/librenimageplugin.so +%{tde_datadir}/applnk/.hidden/lnkforward.desktop +%{tde_datadir}/mimelnk/application/x-win-lnk.desktop +%{tde_datadir}/services/tdefile_cert.desktop +%{tde_datadir}/services/tdefile_desktop.desktop +%{tde_datadir}/services/tdefile_folder.desktop +%{tde_datadir}/services/tdefile_html.desktop +%{tde_datadir}/services/tdefile_lnk.desktop +%{tde_datadir}/services/tdefile_mhtml.desktop +%{tde_datadir}/services/tdefile_txt.desktop +%{tde_datadir}/services/renaudiodlg.desktop +%{tde_datadir}/services/renimagedlg.desktop + +########## + +%package -n trinity-kicker-applets +Summary: Applets for Kicker, the Trinity panel +Group: Applications/Utilities +Requires: trinity-kicker + +%description -n trinity-kicker-applets +This package contains a variety of applets for Kicker, the KDE panel. +These applets will appear in the panel's Add--Applet menu. + +Included are a system monitor, a colour picker, a media player controller, +a mathematical evaluator and a binary clock. + +The media control applet does not support XMMS, as this would force all +kicker-applets users to install XMMS. If you want a kicker applet that +controls XMMS, install the xmms-kde-trinity package. + +%files -n trinity-kicker-applets +%defattr(-,root,root,-) +%doc README +%{tde_tdelibdir}/kolourpicker_panelapplet.la +%{tde_tdelibdir}/kolourpicker_panelapplet.so +%{tde_tdelibdir}/ktimemon_panelapplet.la +%{tde_tdelibdir}/ktimemon_panelapplet.so +%{tde_tdelibdir}/math_panelapplet.la +%{tde_tdelibdir}/math_panelapplet.so +%{tde_tdelibdir}/mediacontrol_panelapplet.la +%{tde_tdelibdir}/mediacontrol_panelapplet.so +%{tde_tdelibdir}/kbinaryclock_panelapplet.la +%{tde_tdelibdir}/kbinaryclock_panelapplet.so +%{tde_datadir}/apps/kicker/applets +%{tde_datadir}/apps/mediacontrol +%{tde_datadir}/config.kcfg/kbinaryclock.kcfg +%{tde_datadir}/icons/locolor/*/apps/ktimemon.png +%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png +%{tde_tdedocdir}/HTML/en/kicker-applets/ + +########## + +%package -n trinity-knewsticker-scripts +Summary: scripts for KNewsTicker, the Trinity news ticker +Group: Applications/Utilities +Requires: perl +Requires: %{python} +#Requires: libfinance-quote-perl +#Requires: libmime-perl +#Requires: libnews-nntpclient-perl +Requires: perl-libwww-perl +Requires: trinity-knewsticker + +%description -n trinity-knewsticker-scripts +This package contains a variety of scripts that provide additional news +sources for KNewsTicker, the news ticker applet for the TDE panel. + +Highlights include newsgroup handling, stock data retrieval, sports scores +and various local news sources. + +%files -n trinity-knewsticker-scripts +%defattr(-,root,root,-) +%doc README +%{tde_datadir}/apps/knewsticker/ + +########## + +%package -n trinity-konq-plugins +Summary: plugins for Konqueror, the Trinity file/web/doc browser +Group: Applications/Utilities +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} == 0 +Requires: %{_lib}jpeg8 +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} +Requires: libjpeg +%endif +%if 0%{?suse_version} == 1220 +Requires: libjpeg62 +%endif +%if 0%{?pclinuxos} +Requires: %{_lib}jpeg62 +%endif +%if 0%{?suse_version} == 1230 +Requires: libjpeg8 +%endif +Requires: %{python} +Requires: rsync +#Requires: unison +Requires: trinity-konqueror +%if 0%{?fedora} +Requires: %{python}-exif +%endif + +%description -n trinity-konq-plugins +This package contains a variety of useful plugins for Konqueror, the +file manager, web browser and document viewer for TDE. Many of these +plugins will appear in Konqueror's Tools menu. + +Highlights for web browsing include web page translation, web page archiving, +auto-refreshing, HTML and CSS structural analysis, a search toolbar, a +sidebar news ticker, fast access to common options, bookmarklets, a crash +monitor, a microformat availability indicator, a del.icio.us bookmarks +sidebar, and integration with the aKregator RSS feed reader. + +Highlights for directory browsing include directory filters, image gallery +creation, archive compression and extraction, quick copy/move, a sidebar +media player, a file information metabar/sidebar, a media folder helper, a +graphical disk usage viewer and image conversions and transformations. + +%files -n trinity-konq-plugins +%defattr(-,root,root,-) +%doc konq-plugins/README +%{_sysconfdir}/trinity/translaterc +%{tde_bindir}/fsview +%{tde_bindir}/jpegorient +%{tde_bindir}/tdeio_media_realfolder +%{tde_tdelibdir}/konq_sidebarnews.la +%{tde_tdelibdir}/konq_sidebarnews.so +%{tde_tdelibdir}/konqsidebar_delicious.la +%{tde_tdelibdir}/konqsidebar_delicious.so +%{tde_tdelibdir}/konqsidebar_mediaplayer.la +%{tde_tdelibdir}/konqsidebar_mediaplayer.so +%{tde_tdelibdir}/konqsidebar_metabar.la +%{tde_tdelibdir}/konqsidebar_metabar.so +%{tde_tdelibdir}/libakregatorkonqfeedicon.la +%{tde_tdelibdir}/libakregatorkonqfeedicon.so +%{tde_tdelibdir}/libakregatorkonqplugin.la +%{tde_tdelibdir}/libakregatorkonqplugin.so +%{tde_tdelibdir}/libarkplugin.la +%{tde_tdelibdir}/libarkplugin.so +%{tde_tdelibdir}/libautorefresh.la +%{tde_tdelibdir}/libautorefresh.so +%{tde_tdelibdir}/libbabelfishplugin.la +%{tde_tdelibdir}/libbabelfishplugin.so +%{tde_tdelibdir}/libcrashesplugin.la +%{tde_tdelibdir}/libcrashesplugin.so +%{tde_tdelibdir}/libdirfilterplugin.la +%{tde_tdelibdir}/libdirfilterplugin.so +%{tde_tdelibdir}/librsyncplugin.la +%{tde_tdelibdir}/librsyncplugin.so +%{tde_tdelibdir}/libdomtreeviewerplugin.la +%{tde_tdelibdir}/libdomtreeviewerplugin.so +%{tde_tdelibdir}/libfsviewpart.la +%{tde_tdelibdir}/libfsviewpart.so +%{tde_tdelibdir}/libtdehtmlsettingsplugin.la +%{tde_tdelibdir}/libtdehtmlsettingsplugin.so +%{tde_tdelibdir}/kcm_kuick.la +%{tde_tdelibdir}/kcm_kuick.so +%{tde_tdelibdir}/libkimgallery.la +%{tde_tdelibdir}/libkimgallery.so +%{tde_tdelibdir}/libkuickplugin.la +%{tde_tdelibdir}/libkuickplugin.so +%{tde_tdelibdir}/libmfkonqmficon.la +%{tde_tdelibdir}/libmfkonqmficon.so +%{tde_tdelibdir}/libminitoolsplugin.la +%{tde_tdelibdir}/libminitoolsplugin.so +%{tde_tdelibdir}/librellinksplugin.la +%{tde_tdelibdir}/librellinksplugin.so +%{tde_tdelibdir}/libsearchbarplugin.la +%{tde_tdelibdir}/libsearchbarplugin.so +%{tde_tdelibdir}/libuachangerplugin.la +%{tde_tdelibdir}/libuachangerplugin.so +%{tde_tdelibdir}/libvalidatorsplugin.la +%{tde_tdelibdir}/libvalidatorsplugin.so +%{tde_tdelibdir}/libwebarchiverplugin.la +%{tde_tdelibdir}/libwebarchiverplugin.so +%{tde_tdelibdir}/webarchivethumbnail.la +%{tde_tdelibdir}/webarchivethumbnail.so +%{tde_datadir}/applnk/.hidden/arkplugin.desktop +%{tde_datadir}/applnk/.hidden/kcmkuick.desktop +%{tde_datadir}/applnk/.hidden/kuickplugin.desktop +%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop +%{tde_datadir}/applnk/.hidden/crashesplugin.desktop +%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop +%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop +%{tde_datadir}/applnk/.hidden/fsview.desktop +%{tde_datadir}/applnk/.hidden/tdehtmlsettingsplugin.desktop +%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop +%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop +%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop +%{tde_datadir}/applnk/.hidden/plugin_validators.desktop +%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop +%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop +%{tde_datadir}/apps/akregator +%{tde_datadir}/apps/domtreeviewer +%{tde_datadir}/apps/fsview +%{tde_datadir}/apps/imagerotation/ +%{tde_datadir}/apps/tdehtml/kpartplugins +%{tde_datadir}/apps/konqiconview +%{tde_datadir}/apps/konqlistview +%{tde_datadir}/apps/konqsidebartng +%{tde_datadir}/apps/konqueror/icons +%{tde_datadir}/apps/konqueror/kpartplugins +%{tde_datadir}/apps/konqueror/servicemenus +%{tde_datadir}/apps/metabar/ +%{tde_datadir}/apps/microformat/ +%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/babelfish.png +%{tde_datadir}/icons/crystalsvg/*/actions/cssvalidator.png +%{tde_datadir}/icons/crystalsvg/*/actions/domtreeviewer.png +%{tde_datadir}/icons/crystalsvg/*/actions/htmlvalidator.png +%{tde_datadir}/icons/crystalsvg/*/actions/imagegallery.png +%{tde_datadir}/icons/crystalsvg/*/actions/remotesync.png +%{tde_datadir}/icons/crystalsvg/*/actions/remotesyncconfig.png +%{tde_datadir}/icons/crystalsvg/*/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/*/actions/validators.png +%{tde_datadir}/icons/crystalsvg/*/actions/webarchiver.png +%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_delicious.png +%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_news.png +%{tde_datadir}/icons/hicolor/*/apps/metabar.png +%{tde_datadir}/icons/hicolor/*/apps/fsview.png +%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz +%{tde_datadir}/icons/locolor/*/apps/autorefresh.png +%{tde_datadir}/icons/locolor/*/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/services/akregator_konqplugin.desktop +%{tde_datadir}/services/ark_plugin.desktop +%{tde_datadir}/services/fsview_part.desktop +%{tde_datadir}/services/kuick_plugin.desktop +%{tde_datadir}/services/webarchivethumbnail.desktop +%{tde_tdelibdir}/libadblock.la +%{tde_tdelibdir}/libadblock.so +%{tde_tdedocdir}/HTML/en/konq-plugins/ + +########## + +%package -n trinity-ksig +Summary: Graphical tool for managing multiple email signatures +Group: Applications/Utilities +Requires: trinity-kmail + +%description -n trinity-ksig +KSig is a graphical tool for keeping track of many different email +signatures. The signatures themselves can be edited through KSig's +graphical user interface. A command-line interface is then available +for generating random or daily signatures from this list. + +The command-line interface makes a suitable plugin for generating +signatures in external mail clients such as KMail. + +%files -n trinity-ksig +%defattr(-,root,root,-) +%doc README +%{tde_bindir}/ksig +%{tde_tdeappdir}/ksig.desktop +%{tde_datadir}/apps/ksig/ +%{tde_datadir}/icons/hicolor/*/apps/ksig.png +%{tde_tdedocdir}/HTML/en/ksig/ + +########## + +%package -n trinity-noatun-plugins +Summary: plugins for Noatun, the Trinity media player +Group: Applications/Utilities +Requires: trinity-noatun + +%description -n trinity-noatun-plugins +This package contains a variety of useful plugins for Noatun, the audio and +video media player for TDE. These plugins can be loaded through the plugin +manager in Noatun settings. + +Highlights include an alarm clock, guessing tags from filenames, adjustable +playback speed, capture to wave file and displaying lyrics, plus a variety +of user interfaces, playlists and visualisation plugins. + +%files -n trinity-noatun-plugins +%defattr(-,root,root,-) +%doc README +%{tde_bindir}/noatunsynaescope.bin +%{tde_bindir}/noatuntippecanoe.bin +%{tde_bindir}/noatuntyler.bin +%{tde_tdelibdir}/noatunalsaplayer.la +%{tde_tdelibdir}/noatunalsaplayer.so +%{tde_tdelibdir}/noatunblurscope.la +%{tde_tdelibdir}/noatunblurscope.so +%{tde_tdelibdir}/noatuncharlatan.la +%{tde_tdelibdir}/noatuncharlatan.so +%{tde_tdelibdir}/noatundub.la +%{tde_tdelibdir}/noatundub.so +%{tde_tdelibdir}/noatun_ffrs.la +%{tde_tdelibdir}/noatun_ffrs.so +%{tde_tdelibdir}/noatunluckytag.la +%{tde_tdelibdir}/noatunluckytag.so +%{tde_tdelibdir}/noatunlyrics.la +%{tde_tdelibdir}/noatunlyrics.so +%{tde_tdelibdir}/noatunmadness.la +%{tde_tdelibdir}/noatunmadness.so +%if 0%{?with_db} +%{tde_tdelibdir}/noatun_oblique.la +%{tde_tdelibdir}/noatun_oblique.so +%endif +%{tde_tdelibdir}/noatunpitchablespeed.la +%{tde_tdelibdir}/noatunpitchablespeed.so +%{tde_tdelibdir}/noatunsynaescope.la +%{tde_tdelibdir}/noatunsynaescope.so +%{tde_tdelibdir}/noatuntippecanoe.la +%{tde_tdelibdir}/noatuntippecanoe.so +%{tde_tdelibdir}/noatuntyler.la +%{tde_tdelibdir}/noatuntyler.so +%{tde_tdelibdir}/noatunwakeup.la +%{tde_tdelibdir}/noatunwakeup.so +%{tde_tdelibdir}/noatunwavecapture.la +%{tde_tdelibdir}/noatunwavecapture.so +%{tde_datadir}/apps/noatun/* +%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +# Fix shebangs +sed -i "knewsticker-scripts/sportscores.py" \ + "konq-plugins/imagerotation/orient.py" \ + "konq-plugins/imagerotation/exif.py" \ + -e "s|env python|env %{python}|" +%endif + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +# Help cmake to find DB headers ... +if [ -d "/usr/include/db53" ]; then + export CMAKE_INCLUDE_PATH="/usr/include/db53" +fi +if [ -d "/usr/include/db4" ]; then + export CMAKE_INCLUDE_PATH="/usr/include/db4" +fi + + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -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" \ + -DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_ARTS=ON \ + -DWITH_SDL=ON \ + -DWITH_BERKELEY_DB=ON \ + -DWITH_XMMS=OFF \ + -DWITH_TEST=OFF \ + \ + -DBUILD_ALL=ON \ + -DBUILD_ATLANTIKDESIGNER=ON \ + -DBUILD_DOC=ON \ + -DBUILD_KADDRESSBOOK_PLUGINS=ON \ + -DBUILD_KATE_PLUGINS=ON \ + -DBUILD_KICKER_APPLETS=ON \ + -DBUILD_KNEWSTICKER_SCRIPTS=ON \ + -DBUILD_KONQ_PLUGINS=ON \ + -DBUILD_KSIG=ON \ + -DBUILD_NOATUN_PLUGINS=ON \ + -DBUILD_RENAMEDLG_PLUGINS=ON \ + -DBUILD_TDEFILE_PLUGINS=ON \ + -DBUILD_TUTORIALS=OFF \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Temporary +%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/en/khelpcenter + + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file atlantikdesigner Game BoardGame +%suse_update_desktop_file -r ksig Network Email +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdeadmin/tdeadmin.spec b/redhat/main/tdeadmin/tdeadmin.spec index 3e7a33ef6..11420b963 100644 --- a/redhat/main/tdeadmin/tdeadmin.spec +++ b/redhat/main/tdeadmin/tdeadmin.spec @@ -22,7 +22,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdeadmin %define tde_prefix /opt/trinity diff --git a/redhat/main/tdeartwork/tdeartwork-14.0.0.spec b/redhat/main/tdeartwork/tdeartwork-14.0.0.spec deleted file mode 100644 index 3d31f7233..000000000 --- a/redhat/main/tdeartwork/tdeartwork-14.0.0.spec +++ /dev/null @@ -1,772 +0,0 @@ -# -# spec file for package tdeartwork (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 tdeartwork -%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_sbindir %{tde_prefix}/sbin -%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} -Summary: Additional artwork (themes, sound themes, ...) for TDE -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -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 - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -Obsoletes: trinity-kdeartwork < %{version}-%{release} -Provides: trinity-kdeartwork = %{version}-%{release} - -BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: fdupes - -BuildRequires: gettext -BuildRequires: libidn-devel - -# ESOUND support -BuildRequires: esound-devel - -# ACL support -BuildRequires: libacl-devel - -# MESA support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: mesa-libGL-devel -BuildRequires: mesa-libGLU-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: mesaglu-devel -%endif -%if 0%{?suse_version} -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-Mesa-libGLU -%endif - -# LIBART support -%define with_libart 1 -BuildRequires: libart_lgpl-devel - -# XSCREENSAVER support -# RHEL 4: disabled -# RHEL 6: available in EPEL -# RHEL 7: available in NUX -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_xscreensaver 1 - -%if 0%{?fedora} || 0%{?rhel} >= 5 -BuildRequires: libXScrnSaver-devel -BuildRequires: xscreensaver -BuildRequires: xscreensaver-base -BuildRequires: xscreensaver-extras -%if 0%{?fedora} -BuildRequires: xscreensaver-extras-base -%endif -BuildRequires: xscreensaver-gl-base -BuildRequires: xscreensaver-gl-extras -%endif - -%if 0%{?suse_version} -BuildRequires: libXScrnSaver-devel -BuildRequires: xscreensaver -BuildRequires: xscreensaver-data -BuildRequires: xscreensaver-data-extra -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}xscrnsaver-devel -%else -BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel -%endif -BuildRequires: xscreensaver -BuildRequires: xscreensaver-base -BuildRequires: xscreensaver-extrusion -BuildRequires: xscreensaver-gl -%endif - -# Opensuse <= 13.10 does not provide 'webcollage' screensaver -%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1320 -%define with_webcollage 1 -%endif - -%endif - -# JACK support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_jack 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -%define jack_devel %{_lib}jack-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -%define jack_devel jack-audio-connection-kit-devel -%endif -%if 0%{?suse_version} -%define jack_devel libjack-devel -%endif -BuildRequires: %{jack_devel} -%endif - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - - -# Metapackage -Requires: %{name}-emoticons = %{version}-%{release} -Requires: %{name}-misc = %{version}-%{release} -Requires: %{name}-style = %{version}-%{release} -Requires: %{name}-theme-icon = %{version}-%{release} -Requires: %{name}-theme-window = %{version}-%{release} -Requires: trinity-tdewallpapers = %{version}-%{release} -Requires: trinity-tdescreensaver = %{version}-%{release} - -%if 0%{?with_xscreensaver} -Requires: trinity-tdescreensaver-xsavers = %{version}-%{release} -Requires: trinity-tdescreensaver-xsavers-extra = %{version}-%{release} -%if 0%{?with_webcollage} -Requires: trinity-tdescreensaver-xsavers-webcollage = %{version}-%{release} -%endif -%endif - - -%description -TDE (the Trinity Desktop Environment) is a powerful Open Source graphical -desktop environment for Unix workstations. It combines ease of use, -contemporary functionality, and outstanding graphical design with the -technological superiority of the Unix operating system. - -This metapackage includes a collection of artistic extras (themes, widget -styles, screen savers, wallpaper, icons, emoticons and so on) provided -with the official release of TDE. - - -%files - -########## - -%package emoticons -Summary: Emoticon collections for tDE chat clients -Group: System/GUI/Other - -%description emoticons -This package contains several collections of emoticons used by official -and unofficial TDE chat clients, such as Kopete and Konversation. - -This package is part of TDE, and a component of the TDE artwork module. - -%files emoticons -%defattr(-,root,root,-) -%{tde_datadir}/emoticons/ - -########## - -%package misc -Summary: Various multimedia goodies released with TDE -Group: System/GUI/Other - -%description misc -This package contains miscellaneous multimedia goodies for TDE. -Included are additional TDE sounds and kworldclock themes. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files misc -%defattr(-,root,root,-) -%{tde_datadir}/apps/kworldclock/ -%{tde_datadir}/sounds/KDE_Logout_new.wav -%{tde_datadir}/sounds/KDE_Startup_new.wav - -########## - -%package style -Summary: Widget styles released with Trinity -Group: System/GUI/Other - -%description style -This package contains additional widget styles for Trinity. Widget styles -can be used to customise the look and feel of interface components such -as buttons, scrollbars and so on. They can be applied using the style -manager in the Trinity Control Center. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files style -%defattr(-,root,root,-) -%{tde_tdelibdir}/plugins/styles/ -%{tde_tdelibdir}/tdestyle_phase_config.la -%{tde_tdelibdir}/tdestyle_phase_config.so -%{tde_datadir}/apps/tdestyle/ - -########## - -%package theme-icon -Summary: Icon themes released with Trinity -Group: System/GUI/Other - -Obsoletes: trinity-kdeartwork-icons < %{version}-%{release} -Provides: trinity-kdeartwork-icons = %{version}-%{release} - -%description theme-icon -This package contains additional icon themes for Trinity. Icon themes can be -used to customise the appearance of standard icons throughout TDE. They -can be applied using the icon manager in the Trinity Control Centre. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files theme-icon -%defattr(-,root,root,-) -%{tde_datadir}/icons/ikons/ -%{tde_datadir}/icons/kdeclassic/ -%{tde_datadir}/icons/kids/ -%{tde_datadir}/icons/slick/ -%{tde_datadir}/icons/locolor/index.theme -%{tde_datadir}/icons/locolor/*/*/*.png - -########## - -%package theme-window -Summary: Window decoration themes released with Trinity -Group: System/GUI/Other - -%description theme-window -This package contains additional window decoration themes for Trinity. Window -decoration themes can be used to customise the look of window borders and -buttons, and can be applied using the window decoration manager in the Trinity -Control Center. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files theme-window -%defattr(-,root,root,-) -%{tde_tdelibdir}/twin* -%{tde_datadir}/apps/twin/ - -########## - -%package -n trinity-tdewallpapers -Summary: Wallpapers released with Trinity -Group: System/GUI/Other -Obsoletes: trinity-kdewallpapers < %{version}-%{release} -Provides: trinity-kdewallpapers = %{version}-%{release} - -%description -n trinity-tdewallpapers -This package contains additional wallpapers for Trinity. Wallpapers can be -applied using the background manager in the Trinity Control Center. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-tdewallpapers -%defattr(-,root,root,-) -%{tde_datadir}/wallpapers/* - -########## - -%package -n trinity-tdescreensaver -Summary: Additional screen savers released with Trinity -Group: System/GUI/Other - -Obsoletes: trinity-kscreensaver < %{version}-%{release} -Provides: trinity-kscreensaver = %{version}-%{release} - -%description -n trinity-tdescreensaver -This package contains the screen savers for Trinity. They can be tested and -selected within the Appearance and Themes section of the Trinity Control -Center. - -The hooks for the standard xscreensavers are no longer part of this -package. To select and/or configure the standard xscreensavers through -the Trinity Control Center, install the separate package tdescreensaver-xsavers. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-tdescreensaver -%defattr(-,root,root,-) -%{tde_bindir}/kslideshow.kss -%{tde_bindir}/kpolygon.kss -%{tde_bindir}/krotation.kss -%{tde_bindir}/ksolarwinds.kss -%{tde_bindir}/klorenz.kss -%{tde_bindir}/kvm.kss -%{tde_bindir}/kflux.kss -%{tde_bindir}/kscience.kss -%{tde_bindir}/kbanner.kss -%{tde_bindir}/kclock.kss -%{tde_bindir}/kfiresaver.kss -%{tde_bindir}/keuphoria.kss -%{tde_bindir}/kfountain.kss -%{tde_bindir}/kgravity.kss -%{tde_bindir}/tdepartsaver.kss -%{tde_bindir}/kpendulum.kss -%{tde_bindir}/kblob.kss -%{tde_bindir}/klines.kss -%{tde_bindir}/kwave.kss -%{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop -%{tde_datadir}/applnk/System/ScreenSavers/tdepartsaver.desktop -%{tde_datadir}/apps/kfiresaver/ -%{tde_datadir}/apps/tdescreensaver/ - -%if 0%{?with_xscreensaver} -%{tde_bindir}/kspace.kss -%{tde_bindir}/kswarm.kss -%{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop -%endif - -########## - -%if 0%{?with_xscreensaver} - -%package -n trinity-tdescreensaver-xsavers -Summary: Trinity hooks for standard xscreensavers -Group: System/GUI/Other -Requires: trinity-tdebase-bin >= %{tde_version} -Requires: xscreensaver - -Obsoletes: trinity-kscreensaver-xsavers < %{version}-%{release} -Provides: trinity-kscreensaver-xsavers = %{version}-%{release} - -%description -n trinity-tdescreensaver-xsavers -This package allows a smooth integration of the standard xscreensavers -into Trinity. With this package installed you can select and/or configure -the standard xscreensavers through the Appearances and Themes section of -the Trinity Control Centre. - -Note that this package does not actually contain any screensavers itself. -For the additional screensavers shipped with Trinity, see the separate package -tdescreensaver-trinity. This package does depend on the xscreensaver package, and -recommend the xscreensaver-gl package, as well as contain the necessary -files to integrate these packages into Trinity. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-tdescreensaver-xsavers -%defattr(-,root,root,-) -%{tde_bindir}/xscreensaver-getimage-file -%{tde_bindir}/xscreensaver-getimage -%{tde_bindir}/kxsconfig -%{tde_bindir}/kxsrun -%{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop -%{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop -%{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop -%{tde_datadir}/applnk/System/ScreenSavers/braid.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop -%{tde_datadir}/applnk/System/ScreenSavers/deco.desktop -%{tde_datadir}/applnk/System/ScreenSavers/distort.desktop -%{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop -%{tde_datadir}/applnk/System/ScreenSavers/engine.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gears.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop -%{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop -%{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop -%{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop -%{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop -%{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop -%{tde_datadir}/applnk/System/ScreenSavers/queens.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop -%{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop -%{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop -%{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop -%{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop -%{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop -%{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop -%{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop -%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop -%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop -%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop -%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop -%endif -%if 0%{?rhel} == 5 -%{tde_datadir}/applnk/System/ScreenSavers/bubbles.desktop -%{tde_datadir}/applnk/System/ScreenSavers/critical.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flag.desktop -%{tde_datadir}/applnk/System/ScreenSavers/forest.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glforestfire.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hyperball.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hypercube.desktop -%{tde_datadir}/applnk/System/ScreenSavers/juggle.desktop -%{tde_datadir}/applnk/System/ScreenSavers/laser.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lightning.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lisa.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lissie.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lmorph.desktop -%{tde_datadir}/applnk/System/ScreenSavers/mismunch.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rotor.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sphere.desktop -%{tde_datadir}/applnk/System/ScreenSavers/spiral.desktop -%{tde_datadir}/applnk/System/ScreenSavers/t3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/vines.desktop -%{tde_datadir}/applnk/System/ScreenSavers/whirlygig.desktop -%{tde_datadir}/applnk/System/ScreenSavers/worm.desktop -%endif - -%endif - -########## - -%if 0%{?with_webcollage} - -%package -n trinity-tdescreensaver-xsavers-webcollage -Summary: Webcollage screensaver Trinity hook -Group: System/GUI/Other -Requires: trinity-tdescreensaver-xsavers-extra = %{version}-%{release} -Requires: netpbm - -Obsoletes: trinity-kscreensaver-xsavers-webcollage < %{version}-%{release} -Provides: trinity-kscreensaver-xsavers-webcollage = %{version}-%{release} - -%description -n trinity-tdescreensaver-xsavers-webcollage -This package give access to the webcollage screensaver through the Trinity -screensaver configuration. - -This screensaver downloads random pictures from the internet and creates -a collage as screensaver. - -IMPORTANT NOTICE: The internet contains all kinds of pictures, some of which -you might find inappropriate and offensive. -You are specially discouraged to install this package if you are using -your computer in a working environment or in an environment with children. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-tdescreensaver-xsavers-webcollage -%defattr(-,root,root,-) -%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop - -%endif - -########## - -%package -n trinity-tdescreensaver-xsavers-extra -Summary: Trinity hooks for standard xscreensavers -Group: System/GUI/Other -Requires: trinity-tdescreensaver-xsavers = %{version}-%{release} - -Obsoletes: trinity-kscreensaver-xsavers-extra < %{version}-%{release} -Provides: trinity-kscreensaver-xsavers-extra = %{version}-%{release} - -%description -n trinity-tdescreensaver-xsavers-extra -This package allows a smooth integration of the universe xscreensavers -into Trinity. With this package installed you can select and/or configure -the universe xscreensavers through the Appearances and Themes section of -the Trinity Control Centre. - -Note that this package does not actually contain any screensavers itself. -For the additional screensavers shipped with TDE, see the separate package -tdescreensaver. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-tdescreensaver-xsavers-extra -%defattr(-,root,root,-) -%exclude %{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/braid.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/deco.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/distort.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/engine.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/gears.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/queens.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%exclude %{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop -%endif -%if 0%{?rhel} == 5 -%exclude %{tde_datadir}/applnk/System/ScreenSavers/bubbles.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/critical.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/flag.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/forest.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/glforestfire.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/hyperball.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypercube.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/juggle.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/laser.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/lightning.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/lisa.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/lissie.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/lmorph.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/mismunch.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/rotor.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/sphere.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/spiral.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/t3d.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/vines.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/whirlygig.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/worm.desktop -%endif - -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/tdepartsaver.desktop - -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop - -%{tde_datadir}/applnk/System/ScreenSavers/*.desktop - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -# http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild -# NOTE: Before building tdeartwork, install any and all xhack screensavers that might be uses, then: -cd tdescreensaver/kxsconfig/ -./update_hacks.sh - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - %{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \ - %{!?with_libart}:-DWITH_LIBART=OFF} \ - -DWITH_OPENGL=ON \ - -DWITH_ARTS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf "%{buildroot}" -%__make install -C build DESTDIR="%{buildroot}" - -# Should not be here if xscreensaver is disabled -%if 0%{?with_xscreensaver} == 0 -%__rm -f "%{?buildroot}%{tde_bindir}/xscreensaver-getimage" -%__rm -f "%{?buildroot}%{tde_bindir}/xscreensaver-getimage-file" -%endif - -# Duplicate with trinity-kbabel (from tdesdk) -%__rm -f "%{?buildroot}%{tde_datadir}/icons/locolor/16x16/apps/kbabel.png" -%__rm -f "%{?buildroot}%{tde_datadir}/icons/locolor/32x32/apps/kbabel.png" - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - -# Fix invalid permissions -%if 0%{?with_xscreensaver} -chmod +x "%{?buildroot}%{tde_bindir}/xscreensaver-getimage" -chmod +x "%{?buildroot}%{tde_bindir}/xscreensaver-getimage-file" -%endif - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdeartwork/tdeartwork.spec b/redhat/main/tdeartwork/tdeartwork.spec new file mode 100644 index 000000000..7c47950a3 --- /dev/null +++ b/redhat/main/tdeartwork/tdeartwork.spec @@ -0,0 +1,772 @@ +# +# spec file for package tdeartwork (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.7 +%endif +%define tde_pkg tdeartwork +%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_sbindir %{tde_prefix}/sbin +%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} +Summary: Additional artwork (themes, sound themes, ...) for TDE +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +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 + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +Obsoletes: trinity-kdeartwork < %{version}-%{release} +Provides: trinity-kdeartwork = %{version}-%{release} + +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: fdupes + +BuildRequires: gettext +BuildRequires: libidn-devel + +# ESOUND support +BuildRequires: esound-devel + +# ACL support +BuildRequires: libacl-devel + +# MESA support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: mesaglu-devel +%endif +%if 0%{?suse_version} +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-Mesa-libGLU +%endif + +# LIBART support +%define with_libart 1 +BuildRequires: libart_lgpl-devel + +# XSCREENSAVER support +# RHEL 4: disabled +# RHEL 6: available in EPEL +# RHEL 7: available in NUX +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || (0%{?rhel} >= 5 && 0%{?rhel} <= 7) || 0%{?suse_version} +%define with_xscreensaver 1 + +%if 0%{?fedora} || 0%{?rhel} >= 5 +BuildRequires: libXScrnSaver-devel +BuildRequires: xscreensaver +BuildRequires: xscreensaver-base +BuildRequires: xscreensaver-extras +%if 0%{?fedora} +BuildRequires: xscreensaver-extras-base +%endif +BuildRequires: xscreensaver-gl-base +BuildRequires: xscreensaver-gl-extras +%endif + +%if 0%{?suse_version} +BuildRequires: libXScrnSaver-devel +BuildRequires: xscreensaver +BuildRequires: xscreensaver-data +BuildRequires: xscreensaver-data-extra +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} >= 4 +BuildRequires: %{_lib}xscrnsaver-devel +%else +BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel +%endif +BuildRequires: xscreensaver +BuildRequires: xscreensaver-base +BuildRequires: xscreensaver-extrusion +BuildRequires: xscreensaver-gl +%endif + +# Opensuse <= 13.10 does not provide 'webcollage' screensaver +%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1320 +%define with_webcollage 1 +%endif + +%endif + +# JACK support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_jack 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +%define jack_devel %{_lib}jack-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +%define jack_devel jack-audio-connection-kit-devel +%endif +%if 0%{?suse_version} +%define jack_devel libjack-devel +%endif +BuildRequires: %{jack_devel} +%endif + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + + +# Metapackage +Requires: %{name}-emoticons = %{version}-%{release} +Requires: %{name}-misc = %{version}-%{release} +Requires: %{name}-style = %{version}-%{release} +Requires: %{name}-theme-icon = %{version}-%{release} +Requires: %{name}-theme-window = %{version}-%{release} +Requires: trinity-tdewallpapers = %{version}-%{release} +Requires: trinity-tdescreensaver = %{version}-%{release} + +%if 0%{?with_xscreensaver} +Requires: trinity-tdescreensaver-xsavers = %{version}-%{release} +Requires: trinity-tdescreensaver-xsavers-extra = %{version}-%{release} +%if 0%{?with_webcollage} +Requires: trinity-tdescreensaver-xsavers-webcollage = %{version}-%{release} +%endif +%endif + + +%description +TDE (the Trinity Desktop Environment) is a powerful Open Source graphical +desktop environment for Unix workstations. It combines ease of use, +contemporary functionality, and outstanding graphical design with the +technological superiority of the Unix operating system. + +This metapackage includes a collection of artistic extras (themes, widget +styles, screen savers, wallpaper, icons, emoticons and so on) provided +with the official release of TDE. + + +%files + +########## + +%package emoticons +Summary: Emoticon collections for tDE chat clients +Group: System/GUI/Other + +%description emoticons +This package contains several collections of emoticons used by official +and unofficial TDE chat clients, such as Kopete and Konversation. + +This package is part of TDE, and a component of the TDE artwork module. + +%files emoticons +%defattr(-,root,root,-) +%{tde_datadir}/emoticons/ + +########## + +%package misc +Summary: Various multimedia goodies released with TDE +Group: System/GUI/Other + +%description misc +This package contains miscellaneous multimedia goodies for TDE. +Included are additional TDE sounds and kworldclock themes. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files misc +%defattr(-,root,root,-) +%{tde_datadir}/apps/kworldclock/ +%{tde_datadir}/sounds/KDE_Logout_new.wav +%{tde_datadir}/sounds/KDE_Startup_new.wav + +########## + +%package style +Summary: Widget styles released with Trinity +Group: System/GUI/Other + +%description style +This package contains additional widget styles for Trinity. Widget styles +can be used to customise the look and feel of interface components such +as buttons, scrollbars and so on. They can be applied using the style +manager in the Trinity Control Center. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files style +%defattr(-,root,root,-) +%{tde_tdelibdir}/plugins/styles/ +%{tde_tdelibdir}/tdestyle_phase_config.la +%{tde_tdelibdir}/tdestyle_phase_config.so +%{tde_datadir}/apps/tdestyle/ + +########## + +%package theme-icon +Summary: Icon themes released with Trinity +Group: System/GUI/Other + +Obsoletes: trinity-kdeartwork-icons < %{version}-%{release} +Provides: trinity-kdeartwork-icons = %{version}-%{release} + +%description theme-icon +This package contains additional icon themes for Trinity. Icon themes can be +used to customise the appearance of standard icons throughout TDE. They +can be applied using the icon manager in the Trinity Control Centre. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files theme-icon +%defattr(-,root,root,-) +%{tde_datadir}/icons/ikons/ +%{tde_datadir}/icons/kdeclassic/ +%{tde_datadir}/icons/kids/ +%{tde_datadir}/icons/slick/ +%{tde_datadir}/icons/locolor/index.theme +%{tde_datadir}/icons/locolor/*/*/*.png + +########## + +%package theme-window +Summary: Window decoration themes released with Trinity +Group: System/GUI/Other + +%description theme-window +This package contains additional window decoration themes for Trinity. Window +decoration themes can be used to customise the look of window borders and +buttons, and can be applied using the window decoration manager in the Trinity +Control Center. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files theme-window +%defattr(-,root,root,-) +%{tde_tdelibdir}/twin* +%{tde_datadir}/apps/twin/ + +########## + +%package -n trinity-tdewallpapers +Summary: Wallpapers released with Trinity +Group: System/GUI/Other +Obsoletes: trinity-kdewallpapers < %{version}-%{release} +Provides: trinity-kdewallpapers = %{version}-%{release} + +%description -n trinity-tdewallpapers +This package contains additional wallpapers for Trinity. Wallpapers can be +applied using the background manager in the Trinity Control Center. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-tdewallpapers +%defattr(-,root,root,-) +%{tde_datadir}/wallpapers/* + +########## + +%package -n trinity-tdescreensaver +Summary: Additional screen savers released with Trinity +Group: System/GUI/Other + +Obsoletes: trinity-kscreensaver < %{version}-%{release} +Provides: trinity-kscreensaver = %{version}-%{release} + +%description -n trinity-tdescreensaver +This package contains the screen savers for Trinity. They can be tested and +selected within the Appearance and Themes section of the Trinity Control +Center. + +The hooks for the standard xscreensavers are no longer part of this +package. To select and/or configure the standard xscreensavers through +the Trinity Control Center, install the separate package tdescreensaver-xsavers. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-tdescreensaver +%defattr(-,root,root,-) +%{tde_bindir}/kslideshow.kss +%{tde_bindir}/kpolygon.kss +%{tde_bindir}/krotation.kss +%{tde_bindir}/ksolarwinds.kss +%{tde_bindir}/klorenz.kss +%{tde_bindir}/kvm.kss +%{tde_bindir}/kflux.kss +%{tde_bindir}/kscience.kss +%{tde_bindir}/kbanner.kss +%{tde_bindir}/kclock.kss +%{tde_bindir}/kfiresaver.kss +%{tde_bindir}/keuphoria.kss +%{tde_bindir}/kfountain.kss +%{tde_bindir}/kgravity.kss +%{tde_bindir}/tdepartsaver.kss +%{tde_bindir}/kpendulum.kss +%{tde_bindir}/kblob.kss +%{tde_bindir}/klines.kss +%{tde_bindir}/kwave.kss +%{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop +%{tde_datadir}/applnk/System/ScreenSavers/tdepartsaver.desktop +%{tde_datadir}/apps/kfiresaver/ +%{tde_datadir}/apps/tdescreensaver/ + +%if 0%{?with_xscreensaver} +%{tde_bindir}/kspace.kss +%{tde_bindir}/kswarm.kss +%{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop +%endif + +########## + +%if 0%{?with_xscreensaver} + +%package -n trinity-tdescreensaver-xsavers +Summary: Trinity hooks for standard xscreensavers +Group: System/GUI/Other +Requires: trinity-tdebase-bin >= %{tde_version} +Requires: xscreensaver + +Obsoletes: trinity-kscreensaver-xsavers < %{version}-%{release} +Provides: trinity-kscreensaver-xsavers = %{version}-%{release} + +%description -n trinity-tdescreensaver-xsavers +This package allows a smooth integration of the standard xscreensavers +into Trinity. With this package installed you can select and/or configure +the standard xscreensavers through the Appearances and Themes section of +the Trinity Control Centre. + +Note that this package does not actually contain any screensavers itself. +For the additional screensavers shipped with Trinity, see the separate package +tdescreensaver-trinity. This package does depend on the xscreensaver package, and +recommend the xscreensaver-gl package, as well as contain the necessary +files to integrate these packages into Trinity. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-tdescreensaver-xsavers +%defattr(-,root,root,-) +%{tde_bindir}/xscreensaver-getimage-file +%{tde_bindir}/xscreensaver-getimage +%{tde_bindir}/kxsconfig +%{tde_bindir}/kxsrun +%{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop +%{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop +%{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop +%{tde_datadir}/applnk/System/ScreenSavers/braid.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop +%{tde_datadir}/applnk/System/ScreenSavers/deco.desktop +%{tde_datadir}/applnk/System/ScreenSavers/distort.desktop +%{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop +%{tde_datadir}/applnk/System/ScreenSavers/engine.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gears.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop +%{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop +%{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop +%{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop +%{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop +%{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop +%{tde_datadir}/applnk/System/ScreenSavers/queens.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop +%{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop +%{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop +%{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop +%{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop +%{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop +%{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop +%{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop +%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop +%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop +%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop +%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop +%endif +%if 0%{?rhel} == 5 +%{tde_datadir}/applnk/System/ScreenSavers/bubbles.desktop +%{tde_datadir}/applnk/System/ScreenSavers/critical.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flag.desktop +%{tde_datadir}/applnk/System/ScreenSavers/forest.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glforestfire.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hyperball.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hypercube.desktop +%{tde_datadir}/applnk/System/ScreenSavers/juggle.desktop +%{tde_datadir}/applnk/System/ScreenSavers/laser.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lightning.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lisa.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lissie.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lmorph.desktop +%{tde_datadir}/applnk/System/ScreenSavers/mismunch.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rotor.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sphere.desktop +%{tde_datadir}/applnk/System/ScreenSavers/spiral.desktop +%{tde_datadir}/applnk/System/ScreenSavers/t3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/vines.desktop +%{tde_datadir}/applnk/System/ScreenSavers/whirlygig.desktop +%{tde_datadir}/applnk/System/ScreenSavers/worm.desktop +%endif + +%endif + +########## + +%if 0%{?with_webcollage} + +%package -n trinity-tdescreensaver-xsavers-webcollage +Summary: Webcollage screensaver Trinity hook +Group: System/GUI/Other +Requires: trinity-tdescreensaver-xsavers-extra = %{version}-%{release} +Requires: netpbm + +Obsoletes: trinity-kscreensaver-xsavers-webcollage < %{version}-%{release} +Provides: trinity-kscreensaver-xsavers-webcollage = %{version}-%{release} + +%description -n trinity-tdescreensaver-xsavers-webcollage +This package give access to the webcollage screensaver through the Trinity +screensaver configuration. + +This screensaver downloads random pictures from the internet and creates +a collage as screensaver. + +IMPORTANT NOTICE: The internet contains all kinds of pictures, some of which +you might find inappropriate and offensive. +You are specially discouraged to install this package if you are using +your computer in a working environment or in an environment with children. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-tdescreensaver-xsavers-webcollage +%defattr(-,root,root,-) +%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop + +%endif + +########## + +%package -n trinity-tdescreensaver-xsavers-extra +Summary: Trinity hooks for standard xscreensavers +Group: System/GUI/Other +Requires: trinity-tdescreensaver-xsavers = %{version}-%{release} + +Obsoletes: trinity-kscreensaver-xsavers-extra < %{version}-%{release} +Provides: trinity-kscreensaver-xsavers-extra = %{version}-%{release} + +%description -n trinity-tdescreensaver-xsavers-extra +This package allows a smooth integration of the universe xscreensavers +into Trinity. With this package installed you can select and/or configure +the universe xscreensavers through the Appearances and Themes section of +the Trinity Control Centre. + +Note that this package does not actually contain any screensavers itself. +For the additional screensavers shipped with TDE, see the separate package +tdescreensaver. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-tdescreensaver-xsavers-extra +%defattr(-,root,root,-) +%exclude %{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/braid.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/deco.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/distort.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/engine.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/gears.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/queens.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%exclude %{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop +%endif +%if 0%{?rhel} == 5 +%exclude %{tde_datadir}/applnk/System/ScreenSavers/bubbles.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/critical.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/flag.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/forest.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/glforestfire.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/hyperball.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypercube.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/juggle.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/laser.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/lightning.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/lisa.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/lissie.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/lmorph.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/mismunch.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/rotor.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/sphere.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/spiral.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/t3d.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/vines.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/whirlygig.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/worm.desktop +%endif + +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/tdepartsaver.desktop + +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop + +%{tde_datadir}/applnk/System/ScreenSavers/*.desktop + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +# http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild +# NOTE: Before building tdeartwork, install any and all xhack screensavers that might be uses, then: +cd tdescreensaver/kxsconfig/ +./update_hacks.sh + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + %{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \ + %{!?with_libart}:-DWITH_LIBART=OFF} \ + -DWITH_OPENGL=ON \ + -DWITH_ARTS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf "%{buildroot}" +%__make install -C build DESTDIR="%{buildroot}" + +# Should not be here if xscreensaver is disabled +%if 0%{?with_xscreensaver} == 0 +%__rm -f "%{?buildroot}%{tde_bindir}/xscreensaver-getimage" +%__rm -f "%{?buildroot}%{tde_bindir}/xscreensaver-getimage-file" +%endif + +# Duplicate with trinity-kbabel (from tdesdk) +%__rm -f "%{?buildroot}%{tde_datadir}/icons/locolor/16x16/apps/kbabel.png" +%__rm -f "%{?buildroot}%{tde_datadir}/icons/locolor/32x32/apps/kbabel.png" + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + +# Fix invalid permissions +%if 0%{?with_xscreensaver} +chmod +x "%{?buildroot}%{tde_bindir}/xscreensaver-getimage" +chmod +x "%{?buildroot}%{tde_bindir}/xscreensaver-getimage-file" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdebase/pamd.kcheckpass-trinity.el8 b/redhat/main/tdebase/pamd.kcheckpass-trinity.el8 new file mode 120000 index 000000000..dab729b22 --- /dev/null +++ b/redhat/main/tdebase/pamd.kcheckpass-trinity.el8 @@ -0,0 +1 @@ +pamd.kcheckpass-trinity.el7 \ No newline at end of file diff --git a/redhat/main/tdebase/pamd.kcheckpass-trinity.fc31 b/redhat/main/tdebase/pamd.kcheckpass-trinity.fc31 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/main/tdebase/pamd.kcheckpass-trinity.fc31 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/main/tdebase/pamd.kcheckpass-trinity.pclos b/redhat/main/tdebase/pamd.kcheckpass-trinity.pclos new file mode 120000 index 000000000..ad0fc6da6 --- /dev/null +++ b/redhat/main/tdebase/pamd.kcheckpass-trinity.pclos @@ -0,0 +1 @@ +pamd.kcheckpass-trinity.pclos2018 \ No newline at end of file diff --git a/redhat/main/tdebase/pamd.kdm-trinity-np.el8 b/redhat/main/tdebase/pamd.kdm-trinity-np.el8 new file mode 120000 index 000000000..3415e7d55 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity-np.el8 @@ -0,0 +1 @@ +pamd.kdm-trinity-np.el7 \ No newline at end of file diff --git a/redhat/main/tdebase/pamd.kdm-trinity-np.fc31 b/redhat/main/tdebase/pamd.kdm-trinity-np.fc31 new file mode 100644 index 000000000..0616e66f6 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity-np.fc31 @@ -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 diff --git a/redhat/main/tdebase/pamd.kdm-trinity-np.pclos b/redhat/main/tdebase/pamd.kdm-trinity-np.pclos new file mode 120000 index 000000000..5cde6e2c5 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity-np.pclos @@ -0,0 +1 @@ +pamd.kdm-trinity-np.pclos2018 \ No newline at end of file diff --git a/redhat/main/tdebase/pamd.kdm-trinity.el8 b/redhat/main/tdebase/pamd.kdm-trinity.el8 new file mode 120000 index 000000000..f85413ec6 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity.el8 @@ -0,0 +1 @@ +pamd.kdm-trinity.el7 \ No newline at end of file diff --git a/redhat/main/tdebase/pamd.kdm-trinity.fc31 b/redhat/main/tdebase/pamd.kdm-trinity.fc31 new file mode 100644 index 000000000..4e760760f --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity.fc31 @@ -0,0 +1,23 @@ +#%PAM-1.0 +auth [success=done ignore=ignore default=bad] pam_selinux_permit.so +auth required pam_env.so +auth substack system-auth +-auth optional pam_gnome_keyring.so +-auth optional pam_kwallet.so +-auth optional pam_kwallet5.so +auth include postlogin +account required pam_nologin.so +account include system-auth +password include system-auth +session required pam_selinux.so close +session required pam_loginuid.so +session optional pam_console.so +-session optional pam_ck_connector.so +session required pam_selinux.so open +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth +-session optional pam_gnome_keyring.so auto_start +-session optional pam_kwallet.so +-session optional pam_kwallet5.so +session include postlogin diff --git a/redhat/main/tdebase/pamd.kdm-trinity.pclos b/redhat/main/tdebase/pamd.kdm-trinity.pclos new file mode 120000 index 000000000..fcc6957f7 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity.pclos @@ -0,0 +1 @@ +pamd.kdm-trinity.pclos2018 \ No newline at end of file diff --git a/redhat/main/tdebase/pamd.kscreensaver-trinity.el8 b/redhat/main/tdebase/pamd.kscreensaver-trinity.el8 new file mode 120000 index 000000000..a5fab9e3e --- /dev/null +++ b/redhat/main/tdebase/pamd.kscreensaver-trinity.el8 @@ -0,0 +1 @@ +pamd.kscreensaver-trinity.el7 \ No newline at end of file diff --git a/redhat/main/tdebase/pamd.kscreensaver-trinity.fc31 b/redhat/main/tdebase/pamd.kscreensaver-trinity.fc31 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/main/tdebase/pamd.kscreensaver-trinity.fc31 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/main/tdebase/pamd.kscreensaver-trinity.pclos b/redhat/main/tdebase/pamd.kscreensaver-trinity.pclos new file mode 120000 index 000000000..31d43e302 --- /dev/null +++ b/redhat/main/tdebase/pamd.kscreensaver-trinity.pclos @@ -0,0 +1 @@ +pamd.kscreensaver-trinity.pclos2018 \ No newline at end of file diff --git a/redhat/main/tdebase/tdebase.spec b/redhat/main/tdebase/tdebase.spec index e8e3dbe50..a4c5fe6a0 100644 --- a/redhat/main/tdebase/tdebase.spec +++ b/redhat/main/tdebase/tdebase.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdebase %define tde_prefix /opt/trinity @@ -74,7 +74,7 @@ Source6: suse-displaymanagers-tdm %endif # Fedora 18: use SYSTEMD for TDM startup -%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 +%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 || 0%{?mgaversion} >= 6 Source7: tdm.service%{?dist} %endif @@ -229,7 +229,31 @@ Requires: fedora-logos # Fedora 28 Theme %if 0%{?fedora} == 28 Requires: f28-backgrounds-base -%define tde_bg /usr/share/backgrounds/f27/default/standard/f28.png +%define tde_bg /usr/share/backgrounds/f28/default/standard/f28.png +Requires: fedora-logos +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png +%endif + +# Fedora 29 Theme +%if 0%{?fedora} == 29 +Requires: f29-backgrounds-base +%define tde_bg /usr/share/backgrounds/f29/default/standard/f29.png +Requires: fedora-logos +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png +%endif + +# Fedora 30 Theme +%if 0%{?fedora} == 30 +Requires: f30-backgrounds-base +%define tde_bg /usr/share/backgrounds/f30/default/standard/f30.png +Requires: fedora-logos +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png +%endif + +# Fedora 31 Theme +%if 0%{?fedora} == 31 +Requires: f28-backgrounds-base +%define tde_bg /usr/share/backgrounds/f31/default/standard/f31.png Requires: fedora-logos %define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png %endif @@ -263,6 +287,13 @@ Requires: redhat-logos %define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png %endif +# RHEL 8 Theme +%if 0%{?rhel} == 8 +Requires: redhat-logos +%define tde_bg /usr/share/backgrounds/day.jpg +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png +%endif + # Mageia 2 Theme %if 0%{?mgaversion} == 2 Requires: mageia-theme-Default @@ -298,6 +329,13 @@ Requires: mageia-theme-Default %define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg %endif +# Mageia 7 Theme +%if 0%{?mgaversion} == 7 +Requires: mageia-theme-Default +%define tde_bg /usr/share/mga/backgrounds/default.jpg +%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg +%endif + # Mandriva 2011 Theme: "rosa" %if "%{distribution}" == "Mandriva Linux" && "%{?mdkversion}" == "201100" Requires: mandriva-theme @@ -381,6 +419,22 @@ Requires: hicolor-icon-theme-branding %define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg %endif +# OpenSuse 15.1 Theme +%if "%{?suse_version}" == "1510" +Requires: wallpaper-branding +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg +%endif + +# OpenSuse TW Theme +%if "%{?suse_version}" == "1550" +Requires: wallpaper-branding +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg +%endif + BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 BuildRequires: trinity-tdelibs-devel >= %{tde_version} @@ -956,7 +1010,7 @@ Some random features: %{tde_tdeappdir}/kate.desktop %{tde_datadir}/apps/kate/ %{tde_datadir}/apps/tdeconf_update/kate-2.4.upd -%config(noreplace) %{_sysconfdir}/trinity/katerc +%config(noreplace) %{tde_confdir}/katerc %{tde_datadir}/icons/hicolor/*/apps/kate.png %{tde_datadir}/icons/hicolor/*/apps/kate2.svgz %{tde_datadir}/servicetypes/kateplugin.desktop @@ -1357,7 +1411,7 @@ TDE applications, particularly those in the TDE base module. %{tde_bindir}/kreadconfig %{tde_bindir}/kwriteconfig %{tde_bindir}/kstart -%config(noreplace) %{_sysconfdir}/trinity/kxkb_groups +%config(noreplace) %{tde_confdir}/kxkb_groups %{tde_bindir}/drkonqi %{tde_bindir}/crashtest %{tde_bindir}/kapplymousetheme @@ -1497,7 +1551,7 @@ needed for a basic TDE desktop installation. %files data %defattr(-,root,root,-) -%config(noreplace) %{_sysconfdir}/trinity/tdeshorturifilterrc +%config(noreplace) %{tde_confdir}/tdeshorturifilterrc %{tde_datadir}/applnk/.hidden/battery.desktop %{tde_datadir}/applnk/.hidden/bwarning.desktop %{tde_datadir}/applnk/.hidden/cwarning.desktop @@ -1755,7 +1809,6 @@ needed for a basic TDE desktop installation. # XDG directories information %dir %{_sysconfdir}/xdg/menus/applications-merged %config(noreplace) %{_sysconfdir}/xdg/menus/applications-merged/tde-essential.menu -%config(noreplace) %{_sysconfdir}/xdg/menus/tde-information.menu %config(noreplace) %{_sysconfdir}/xdg/menus/tde-screensavers.menu %config(noreplace) %{_sysconfdir}/xdg/menus/tde-settings.menu @@ -2087,8 +2140,8 @@ the TDE desktop. %files -n trinity-kdesktop %defattr(-,root,root,-) -%config(noreplace) %{_sysconfdir}/trinity/kdesktop_custom_menu1 -%config(noreplace) %{_sysconfdir}/trinity/kdesktop_custom_menu2 +%config(noreplace) %{tde_confdir}/kdesktop_custom_menu1 +%config(noreplace) %{tde_confdir}/kdesktop_custom_menu2 %{tde_bindir}/kcheckrunning %{tde_bindir}/kxdglauncher %{tde_bindir}/tdeeject @@ -2192,6 +2245,9 @@ already. Most users won't need this. %{tdm_datadir}/sessions/*.desktop %{tdm_datadir}/themes/ %{tde_confdir}/%{tdm} +%if 0%{?with_selinux_policy} +%exclude %{tde_confdir}/%{tdm}/tdm.pp +%endif %{tde_tdedocdir}/HTML/en/%{tdm}/ %if 0%{?suse_version} == 0 %config(noreplace) %{_sysconfdir}/pam.d/tdm-trinity @@ -2232,7 +2288,7 @@ already. Most users won't need this. # SELINUX policy %if 0%{?with_selinux_policy} -%{?_sysconfdir}/trinity/%{tdm}/tdm.pp +%{tde_confdir}/%{tdm}/tdm.pp %endif # Logrotate configuration @@ -2241,17 +2297,17 @@ already. Most users won't need this. %pre -n trinity-tdm # Make sure that TDM configuration files are now under '/etc/trinity/tdm' if [ -d "%{tde_datadir}/config/%{tdm}" ] && [ ! -L "%{tde_datadir}/config/%{tdm}" ]; then - if [ -d "%{_sysconfdir}/trinity/%{tdm}" ]; then + if [ -d "%{tde_confdir}/%{tdm}" ]; then # If there is already something under '/etc/trinity/tdm', simply delete old configuration echo "Deleting TDM configuration under '%{tde_datadir}/config/%{tdm}'" rm -rf "%{tde_datadir}/config/%{tdm}" else # Else, move '/opt/trinity/share/config/tdm' to '/etc/trinity/tdm' - if [ ! -d "%{_sysconfdir}/trinity" ]; then - mkdir -p "%{_sysconfdir}/trinity" + if [ ! -d "%{tde_confdir}" ]; then + mkdir -p "%{tde_confdir}" fi - echo "Migrating TDM configuration from '%{tde_datadir}/config/%{tdm}' to '%{_sysconfdir}/trinity/%{tdm}'" - mv -f "%{tde_datadir}/config/%{tdm}" "%{_sysconfdir}/trinity/%{tdm}.migr" + echo "Migrating TDM configuration from '%{tde_datadir}/config/%{tdm}' to '%{tde_confdir}/%{tdm}'" + mv -f "%{tde_datadir}/config/%{tdm}" "%{tde_confdir}/%{tdm}.migr" fi fi @@ -2269,7 +2325,7 @@ fi # SELINUX context for tdm %if 0%{?with_selinux_policy} -/usr/sbin/semodule -i "%{?_sysconfdir}/trinity/%{tdm}/tdm.pp" +/usr/sbin/semodule -i "%{tde_confdir}/%{tdm}/tdm.pp" %endif %if 0%{?fedora} == 21 || 0%{?rhel} >= 7 @@ -2288,7 +2344,7 @@ fi # Sets default language for TDM if [ "$1" = "1" ]; then if [ -n "${LANG}" ] && [ "${LANG}" != "C" ]; then - sed -i "%{_sysconfdir}/trinity/%{tdm}/%{tdm}rc" -e "s|^#*Language=.*|Language=${LANG}|" + sed -i "%{tde_confdir}/%{tdm}/%{tdm}rc" -e "s|^#*Language=.*|Language=${LANG}|" fi fi @@ -2304,9 +2360,9 @@ update-alternatives --install /usr/lib/X11/displaymanagers/default-displaymanage %posttrans -n trinity-tdm # Make sure that TDM configuration files are now under '/etc/trinity/tdm' -if [ -d "%{_sysconfdir}/trinity/%{tdm}.migr" ] && [ -d "%{_sysconfdir}/trinity/%{tdm}" ]; then - mv -f "%{_sysconfdir}/trinity/%{tdm}.migr/"* "%{_sysconfdir}/trinity/%{tdm}/" - rmdir "%{_sysconfdir}/trinity/%{tdm}.migr/" +if [ -d "%{tde_confdir}/%{tdm}.migr" ] && [ -d "%{tde_confdir}/%{tdm}" ]; then + mv -f "%{tde_confdir}/%{tdm}.migr/"* "%{tde_confdir}/%{tdm}/" + rmdir "%{tde_confdir}/%{tdm}.migr/" fi %postun -n trinity-tdm @@ -2549,7 +2605,7 @@ web browser if the clipboard contains a URL. %files -n trinity-klipper %defattr(-,root,root,-) %{tde_bindir}/klipper -%config(noreplace) %{_sysconfdir}/trinity/klipperrc +%config(noreplace) %{tde_confdir}/klipperrc %{tde_tdelibdir}/klipper.la %{tde_tdelibdir}/klipper.so %{tde_tdelibdir}/klipper_panelapplet.la @@ -2628,7 +2684,7 @@ ever launching another application. %files -n trinity-konqueror %defattr(-,root,root,-) -%config(noreplace) %{_sysconfdir}/trinity/konqsidebartng.rc +%config(noreplace) %{tde_confdir}/konqsidebartng.rc %{tde_bindir}/kbookmarkmerger %{tde_bindir}/keditbookmarks %{tde_bindir}/kfmclient @@ -3040,7 +3096,7 @@ to monitor it through the daemon running there. %files -n trinity-ksysguardd %defattr(-,root,root,-) %{tde_bindir}/ksysguardd -%config(noreplace) %{_sysconfdir}/trinity/ksysguarddrc +%config(noreplace) %{tde_confdir}/ksysguarddrc ########## @@ -3179,7 +3235,7 @@ These libraries allow you to use TDE dialogs in native TQt3 applications. %files libtqt3-integration %defattr(-,root,root,-) -%{tde_tdelibdir}/plugins/integration/ +%{_libdir}/tqt3/plugins/integration/ %{tde_tdelibdir}/kded_kdeintegration.la %{tde_tdelibdir}/kded_kdeintegration.so %{tde_datadir}/services/kded/kdeintegration.desktop @@ -3357,8 +3413,8 @@ fi -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ -DLIB_INSTALL_DIR="%{tde_libdir}" \ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DCONFIG_INSTALL_DIR="%{_sysconfdir}/trinity" \ - -DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DSYSCONF_INSTALL_DIR="%{tde_confdir}" \ -DXDG_MENU_INSTALL_DIR="%{_sysconfdir}/xdg/menus" \ \ -DWITH_ALL_OPTIONS=ON \ @@ -3470,7 +3526,7 @@ EOF %endif # TDM configuration -%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/%{tdm}/%{tdm}rc" \ +%__sed -i "%{?buildroot}%{tde_confdir}/%{tdm}/%{tdm}rc" \ %if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1210 || 0%{?rhel} >= 7 || 0%{?mageia} >= 4 -e "s/^#*MinShowUID=.*/MinShowUID=1000/" %else @@ -3507,7 +3563,7 @@ fi # SELINUX policy for RHEL / Fedora %if 0%{?with_selinux_policy} -%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{?_sysconfdir}/trinity/%{tdm}/tdm.pp" +%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{tde_confdir}/%{tdm}/tdm.pp" %endif # Mageia icon for TDE menu diff --git a/redhat/main/tdebase/tdm.el8.pp b/redhat/main/tdebase/tdm.el8.pp new file mode 120000 index 000000000..3d25dc4f0 --- /dev/null +++ b/redhat/main/tdebase/tdm.el8.pp @@ -0,0 +1 @@ +tdm.el7.pp \ No newline at end of file diff --git a/redhat/main/tdebase/tdm.fc31.pp b/redhat/main/tdebase/tdm.fc31.pp new file mode 100644 index 000000000..d0c0d4be8 Binary files /dev/null and b/redhat/main/tdebase/tdm.fc31.pp differ diff --git a/redhat/main/tdebase/tdm.service.el8 b/redhat/main/tdebase/tdm.service.el8 new file mode 120000 index 000000000..87f56ea08 --- /dev/null +++ b/redhat/main/tdebase/tdm.service.el8 @@ -0,0 +1 @@ +tdm.service.el7 \ No newline at end of file diff --git a/redhat/main/tdebase/tdm.service.fc31 b/redhat/main/tdebase/tdm.service.fc31 new file mode 100644 index 000000000..4c6136d94 --- /dev/null +++ b/redhat/main/tdebase/tdm.service.fc31 @@ -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 diff --git a/redhat/main/tdebase/tdm.service.mga6 b/redhat/main/tdebase/tdm.service.mga6 new file mode 100644 index 000000000..eda2906e2 --- /dev/null +++ b/redhat/main/tdebase/tdm.service.mga6 @@ -0,0 +1,12 @@ +[Unit] +Description=Trinity Display Manager +Documentation=man:tdm(1) +Conflicts=getty@tty1.service +After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service systemd-logind.service + +[Service] +ExecStart=/opt/trinity/bin/tdm +Restart=always + +[Install] +Alias=display-manager.service diff --git a/redhat/main/tdebase/tdm.service.mga7 b/redhat/main/tdebase/tdm.service.mga7 new file mode 100644 index 000000000..eda2906e2 --- /dev/null +++ b/redhat/main/tdebase/tdm.service.mga7 @@ -0,0 +1,12 @@ +[Unit] +Description=Trinity Display Manager +Documentation=man:tdm(1) +Conflicts=getty@tty1.service +After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service systemd-logind.service + +[Service] +ExecStart=/opt/trinity/bin/tdm +Restart=always + +[Install] +Alias=display-manager.service diff --git a/redhat/main/tdebindings/tdebindings-14.0.0.spec b/redhat/main/tdebindings/tdebindings-14.0.0.spec deleted file mode 100644 index 4b9de5a75..000000000 --- a/redhat/main/tdebindings/tdebindings-14.0.0.spec +++ /dev/null @@ -1,1164 +0,0 @@ -# -# spec file for package tdebindings (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/ -# - -# Required for PCLinuxOS: removes the ldflag '--no-undefined' -%if 0%{?pclinuxos} -%define _disable_ld_no_undefined 1 -%endif - -# 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 tdebindings -%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 - -# Special note for RHEL4: -# You must create symlink 'libgcj.so' manually because it does not exist by default. -# E.g: -# ln -s /usr/lib/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so -# or 64 bits: -# ln -s /usr/lib64/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so - -Name: trinity-%{tde_pkg} -Summary: TDE bindings to non-C++ languages -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -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 - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: desktop-file-utils - -# 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 - -# ZLIB support -BuildRequires: zlib-devel - -# PERL module support -BuildRequires: perl(ExtUtils::MakeMaker) - -# GTK2 support -%if 0%{?rhel} == 4 -BuildRequires: evolution28-gtk2-devel -Requires: evolution28-gtk2 -BuildRequires: evolution28-glib2-devel -Requires: evolution28-glib2 -BuildRequires: evolution28-cairo-devel -Requires: evolution28-cairo -BuildRequires: evolution28-pango-devel -Requires: evolution28-pango -BuildRequires: evolution28-atk-devel -Requires: evolution28-atk -%else -BuildRequires: gtk2-devel -%endif - -# XULRUNNER support -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 -#BuildRequires: xulrunner-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: mozilla-xulrunner20-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - -# GTK1 support -%if 0%{?fedora} || 0%{?rhel} >= 5 -%define with_gtk1 1 -BuildRequires: glib-devel -BuildRequires: gtk+-devel -%endif -%if 0%{?rhel} == 5 || 0%{?rhel} == 6 -%if 0%{?with_gtk1} -%define with_gtk1 1 -BuildRequires: glib-devel -BuildRequires: gtk+-devel -%endif -%endif -%if 0%{?mdkversion} == 201100 -%define with_gtk1 1 -BuildRequires: %{_lib}glib1.2-devel -BuildRequires: %{_lib}gtk+-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libgdk_pixbuf2.0-devel -%else -BuildRequires: %{_lib}gdk_pixbuf2.0-devel -%endif -%endif -%if 0%{?fedora} -%if 0%{?fedora} >= 17 -BuildRequires: gdk-pixbuf2-devel -%else -BuildRequires: gdk-pixbuf-devel -%endif -%endif - -# MESA support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: mesa-libGL-devel -BuildRequires: mesa-libGLU-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: mesaglu-devel -%endif -%if 0%{?suse_version} -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -%endif - - -## Python -BuildRequires: python-devel -%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") - -## ruby -BuildRequires: ruby-devel >= 1.8 -BuildRequires: ruby >= 1.8 -%if 0%{?fedora} >= 19 -BuildRequires: rubypick -%endif - -# Check for Ruby library directory -%if "%{?ruby_libarchdir}" != "" -%define ruby_arch %{?ruby_libarchdir} -%else -%if "%{?rb_archdir}" != "" -%define ruby_arch %{?rb_archdir} -%else -%if "%{%ruby_archdir}" != "" -%define ruby_arch %{?ruby_archdir} -%else -%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]' || ruby -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]')} -%endif -%endif -%endif -%if 0%{?rhel} == 5 || 0%{?rhel} == 6 -%define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]') -%endif -%if 0%{?pclinuxos} -%define ruby_arch %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]') -%endif - -%if "%{?ruby_libdir}" != "" -%define ruby_rubylibdir %{?ruby_libdir} -%else -%if "%{?rb_libdir}" != "" -%define ruby_rubylibdir %{?rb_libdir} -%else -%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]' || ruby -rrbconfig -e 'puts RbConfig::CONFIG["rubylibdir"]')} -%endif -%endif - -# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) -%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') - -## java -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -BuildRequires: java-1.4.2-gcj-compat-devel -BuildRequires: libgcj-devel -BuildRequires: gcc-java -%endif - -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} - -# PCLinuxOS use SUN's Java -%if 0%{?pclinuxos} -BuildRequires: java-devel -%else - -# Others use OpenJDK -BuildRequires: java-openjdk -BuildRequires: java-devel >= 1.4.2 -%if 0%{?suse_version} >= 1320 -BuildRequires: java-1_8_0-openjdk-devel -%endif -%if 0%{?fedora} >= 21 || 0%{?mgaversion} >= 5 -BuildRequires: java-1.8.0-openjdk-devel -%endif -%if 0%{?fedora} == 17 || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?fedora} == 20 || 0%{?suse_version} == 1230 || 0%{?suse_version} == 1310 || 0%{?mgaversion} == 3 || 0%{?mgaversion} == 4 || 0%{?rhel} >= 7 -BuildRequires: java-1.7.0-openjdk-devel -%endif -%if 0%{?rhel} == 5 || 0%{?rhel} == 6 -BuildRequires: java-1.6.0-openjdk-devel -%endif - -%endif -%endif - -%if 0%{?suse_version} -%define java_home %{_usr}/%{_lib}/jvm/java -%else -%if 0%{?rhel} == 4 -%define java_home %{_usr}/lib/jvm/java-1.4.2-gcj-1.4.2.0 -%else -%define java_home %{_usr}/lib/jvm/java -%endif -%endif -%define _with_java --with-java=%{java_home} - -## Perl -# There is no 'perl-devel' package on RHEL5 -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: perl-devel -%endif -%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} - -## QScintilla -BuildRequires: libtqscintilla-devel >= %{?tde_epoch:%{tde_epoch}:}1.7.1 -%define _enable_qscintilla --enable-qscintilla - -Obsoletes: trinity-kdebindings < %{version}-%{release} -Provides: trinity-kdebindings = %{version}-%{release} - -# Metapackage requires -Requires: trinity-tdebindings-java = %{version}-%{release} -Requires: trinity-libsmoketqt = %{version}-%{release} -Requires: trinity-libsmoketde = %{version}-%{release} -Requires: perl-dcop = %{version}-%{release} -Requires: python-dcop = %{version}-%{release} -Requires: trinity-libkjsembed1 = %{version}-%{release} -Requires: trinity-kjscmd = %{version}-%{release} -Requires: trinity-juic = %{version}-%{release} -Requires: trinity-libkorundum0-ruby = %{version}-%{release} -Requires: trinity-libqt0-ruby = %{version}-%{release} - - -%description -TDE/DCOP bindings to non-C++ languages - -%files -%defattr(-,root,root,-) - -########## - -%package java -Summary: TDE Java bindings metapackage [Trinity] -Group: System/Libraries -Requires: trinity-libdcop3-java = %{version}-%{release} -Requires: trinity-libdcop3-jni = %{version}-%{release} -Requires: trinity-libqt3-java = %{version}-%{release} -Requires: trinity-libtqt3-jni = %{version}-%{release} -Requires: trinity-libtrinity-java = %{version}-%{release} -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description java -A metapackage depending on all TDE, Qt and DCOP bindings libraries -related to the Java language. - -This package is part of the official TDE bindings module. - -%files java -%defattr(-,root,root,-) - -########## - -%package -n trinity-libdcop3-java -Summary: DCOP bindings for Java [Trinity] -Group: System/Libraries - -Requires: trinity-libdcop3-jni = %{version}-%{release} - -%description -n trinity-libdcop3-java -This package contains the Java classes necessary to run Java programs -using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications -Protocol, used for communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-java -%defattr(-,root,root,-) -%{tde_libdir}/java/org/ - -########## - -%package -n trinity-libdcop3-java-devel -Summary: DCOP bindings for Java (dcopidl2java program) [Trinity] -Group: Development/Languages/Java -Requires: trinity-libdcop3-java = %{version}-%{release} - -%description -n trinity-libdcop3-java-devel -This package contains the dcopidl2java program which generates Java -stubs from DCOP IDL files, necessary to do development with the DCOP Java -bindings. DCOP is the TDE Desktop COmmunications Protocol, used for -communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-java-devel -%defattr(-,root,root,-) -%{tde_bindir}/dcopidl2java - -########## - -%package -n trinity-libdcop3-jni -Summary: DCOP bindings for Java ( Native libraries ) [Trinity] -Group: System/Libraries - -%description -n trinity-libdcop3-jni -This package contains the shared libraries and scripts necessary to -run programs using the Java DCOP bindings. DCOP is the TDE Desktop -COmmunications Protocol, used for communicating with running TDE -applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-jni -%defattr(-,root,root,-) -%{tde_libdir}/libjavadcop.la -%{tde_libdir}/libjavadcop.so - -########## - -%package -n trinity-libqt3-java -Summary: Java bindings for Qt [Trinity] -Group: System/Libraries -Requires: trinity-libdcop3-jni = %{version}-%{release} -Requires: trinity-libtqt3-jni = %{version}-%{release} -Requires: trinity-juic = %{version}-%{release} - -%description -n trinity-libqt3-java -This package contains the Java classes necessary to run Java programs -using the Java Qt bindings. Qt is a very popular GUI toolkit, used by -the TDE desktop environment. - -It also includes many example programs that make use of these bindings, -plus many of the Qt Tutorial examples translated into Java. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt3-java -%defattr(-,root,root,-) -%{tde_libdir}/java/qtjava*.jar -%{tde_tdedocdir}/HTML/en/javalib/ - -########## - -%package -n trinity-libtqt3-jni -Summary: Java bindings for TQt ( Native libraries ) [Trinity] -Group: System/Libraries - -Obsoletes: trinity-libqt3-jni < %{version}-%{release} -Provides: trinity-libqt3-jni = %{version}-%{release} - -%description -n trinity-libtqt3-jni -This package contains the shared libraries necessary to run Java -programs using the Java Qt bindings. Qt is a very popular GUI -toolkit, used by the TDE desktop environment. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtqt3-jni -%defattr(-,root,root,-) -%{tde_libdir}/lib*qtjavasupport.la -%{tde_libdir}/lib*qtjavasupport.so.* -%{tde_libdir}/jni/lib*qtjava.la -%{tde_libdir}/jni/lib*qtjava.so.* -%doc qtjava/ChangeLog - -########## - -%package -n trinity-libtqt3-jni-devel -Summary: Development files fo Java bindings for TQt ( Native libraries ) [Trinity] -Group: Development/Languages/Java -Requires: trinity-libtqt3-jni = %{version}-%{release} - -Obsoletes: trinity-libqt3-jni-devel < %{version}-%{release} -Provides: trinity-libqt3-jni-devel = %{version}-%{release} - -%description -n trinity-libtqt3-jni-devel -This package contains the development files for trinity-libtqt3-jni. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtqt3-jni-devel -%defattr(-,root,root,-) -%{tde_libdir}/lib*qtjavasupport.so -%{tde_libdir}/jni/lib*qtjava.so - -########## - -%package -n trinity-libtrinity-java -Summary: Tdelibs bindings for Java [Trinity] -Group: System/Libraries - -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description -n trinity-libtrinity-java -This package contains the Java classes necessary to run Java programs -using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a -very popular UNIX Desktop Environment. - -It also includes some example applications that use these Java -classes, and multiple usage samples of the most common TDE classes. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-java -%defattr(-,root,root,-) -%{tde_libdir}/java/koala*.jar - -########## - -%package -n trinity-libtrinity-jni -Summary: Tdelibs bindings for java ( Native libraries ) [Trinity] -Group: System/Libraries - -%description -n trinity-libtrinity-jni -This package contains the shared libraries necessary to run Java -programs using the Java tdelibs bindings. TDE is the Trinity Desktop -Environment, a very popular UNIX Desktop Environment. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-jni -%defattr(-,root,root,-) -%{tde_libdir}/jni/libtdejava.la -%{tde_libdir}/jni/libtdejava.so.* -%doc tdejava/ChangeLog - -########## - -%package -n trinity-libtrinity-jni-devel -Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity] -Group: Development/Languages/Java -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description -n trinity-libtrinity-jni-devel -This package contains the development files for trinity-libtrinity-jni. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-jni-devel -%defattr(-,root,root,-) -%{tde_libdir}/jni/libtdejava.so - -########## - -%package -n trinity-libsmoketqt -Summary: SMOKE Binding Library to Qt -Group: System/Libraries - -Obsoletes: trinity-libsmokeqt1 < %{version}-%{release} -Provides: trinity-libsmokeqt1 = %{version}-%{release} - -%description -n trinity-libsmoketqt -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt library. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmoketqt -%defattr(-,root,root,-) -%{tde_libdir}/libsmoketqt.so.* - -########## - -%package -n trinity-libsmoketqt-devel -Summary: SMOKE Binding Library to TQt - Development Files -Group: Development/Languages/Other -Requires: trinity-libsmoketqt = %{version}-%{release} - -Obsoletes: trinity-libsmokeqt-devel < %{version}-%{release} -Provides: trinity-libsmokeqt-devel = %{version}-%{release} - -%description -n trinity-libsmoketqt-devel -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt library. This package contains the development files for the -library. - -If you are a normal user, you probably don't need this -package. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmoketqt-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/smoke.h -%{tde_libdir}/libsmoketqt.so -%{tde_libdir}/libsmoketqt.la - -########## - -%package -n trinity-libsmoketde -Summary: SMOKE Binding Library to TDE -Group: System/Libraries - -Obsoletes: trinity-libsmokekde1 < %{version}-%{release} -Provides: trinity-libsmokekde1 = %{version}-%{release} - -%description -n trinity-libsmoketde -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -TDE libraries. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmoketde -%defattr(-,root,root,-) -%{tde_libdir}/libsmoketde.so.* - -########## - -%package -n trinity-libsmoketde-devel -Summary: SMOKE Binding Library to TDE - Development Files -Group: Development/Languages/Other -Requires: trinity-libsmoketde = %{version}-%{release} - -Obsoletes: trinity-libsmokekde-devel < %{version}-%{release} -Provides: trinity-libsmokekde-devel = %{version}-%{release} - -%description -n trinity-libsmoketde-devel -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt and TDE libraries. This package contains the development files for -the library. - -If you are a normal user, you probably don't need this -package. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmoketde-devel -%defattr(-,root,root,-) -%{tde_libdir}/libsmoketde.so -%{tde_libdir}/libsmoketde.la - -########## - -%package -n perl-dcop -Summary: DCOP Bindings for Perl -Group: System/Libraries -%if 0%{?suse_version} -Requires: perl-base -%else -Requires: perl -%endif - -Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release} -Provides: trinity-kdebindings-dcopperl = %{version}-%{release} - -Obsoletes: trinity-perl-dcop < %{version}-%{release} -Provides: trinity-perl-dcop = %{version}-%{release} - -%description -n perl-dcop -Perl bindings to the DCOP interprocess communication protocol used by TDE - -%files -n perl-dcop -%defattr(-,root,root,-) -%{perl_vendorarch}/auto/DCOP/ -%{perl_vendorarch}/DCOP.pm -%{perl_vendorarch}/DCOP/ -%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO -%{tde_mandir}/man3/DCOP.3pm* - -########## - -%package -n python-dcop -Summary: DCOP bindings for Python -Group: System/Libraries -Requires: python - -Obsoletes: trinity-python-dcop < %{version}-%{release} -Provides: trinity-python-dcop = %{version}-%{release} - -%description -n python-dcop -This package contains the shared libraries necessary to run and -develop Python programs using the Python DCOP bindings -libraries. DCOP is the TDE Desktop COmmunications Protocol, used for -communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n python-dcop -%defattr(-,root,root,-) -%{python_sitearch}/pcop.la -%{python_sitearch}/pcop.so -%{python_sitearch}/pydcop.py* - -########## - -%package -n trinity-libkjsembed1 -Summary: Embedded JavaScript library -Group: System/Libraries - -%description -n trinity-libkjsembed1 -This package contains the shared libraries necessary to run programs -linked with the KJSEmbed library. This library provides JavaScript -embedded scripting facilities to TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkjsembed1 -%defattr(-,root,root,-) -%{tde_libdir}/libkjsembed.so.* -%{tde_tdelibdir}/libimagefxplugin.la -%{tde_tdelibdir}/libimagefxplugin.so -%{tde_datadir}/services/imagefx_plugin.desktop -%{tde_tdelibdir}/libqprocessplugin.so -%{tde_tdelibdir}/libqprocessplugin.la -%{tde_datadir}/services/qprocess_plugin.desktop -%{tde_tdelibdir}/libfileitemplugin.la -%{tde_tdelibdir}/libfileitemplugin.so -%{tde_datadir}/services/tdefileitem_plugin.desktop -%{tde_datadir}/apps/kjsembed/ -%{tde_datadir}/servicetypes/binding_type.desktop -%{tde_bindir}/embedjs -%{tde_datadir}/apps/embedjs/ -%{tde_tdeappdir}/embedjs.desktop -%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png -%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png -%{tde_tdelibdir}/libjavascript.la -%{tde_tdelibdir}/libjavascript.so -%dir %{tde_datadir}/apps/kate -%dir %{tde_datadir}/apps/kate/scripts -%{tde_datadir}/apps/kate/scripts/swaptabs.js -%{tde_datadir}/apps/kate/scripts/swaptabs.ui -%{tde_datadir}/apps/kate/scripts/swaptabs.desktop -%{tde_datadir}/services/javascript.desktop -%doc kjsembed/docs/ChangeLog - -########## - -%package -n trinity-libkjsembed-devel -Summary: Embedded JavaScript library (Development files) -Group: Development/Libraries/Other -Requires: trinity-libkjsembed1 = %{version}-%{release} - -%description -n trinity-libkjsembed-devel -This package contains the header files and symbolic links necessary -to develop and compile programs using the KJSEmbed library. This -library provides JavaScript embedded scripting facilities to TDE -applications. - -It also includes lots of example programs that make use of these -bindings, plus comprehensive documentation of the bindings. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkjsembed-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kjsembed/ -%{tde_libdir}/libkjsembed.so -%{tde_libdir}/libkjsembed.la -%{tde_docdir}/trinity-libkjsembed-devel/ - -########## - -%package -n trinity-kjscmd -Summary: A script interpreter using the TDE JavaScript library -Group: System/Libraries -Provides: %{tde_bindir}/kjscmd - -%description -n trinity-kjscmd -This package contains the kjscmd program, which is a standalone -JavaScript interpreter using the KJSEmbed library. - -This package is part of the official TDE bindings module. - -%files -n trinity-kjscmd -%defattr(-,root,root,-) -%{tde_bindir}/kjscmd -%{tde_tdeappdir}/kjscmd.desktop -%{tde_mandir}/man1/kjscmd.* -%{tde_tdelibdir}/libjsconsoleplugin.la -%{tde_tdelibdir}/libjsconsoleplugin.so - -########## - -%package -n trinity-juic -Summary: The Qt Java UI Compiler -Group: Development/Languages/Java -Requires: trinity-libqt3-java = %{version}-%{release} - -%description -n trinity-juic -This package contains the juic program, which is used to convert -a UI description file generated by the Qt Designer, and converts -it into a Qt Java class. It is necessary for compiling and -developing programs using the Qt Java bindings together with Qt -Designer. - -This package is part of the official TDE bindings module. - -%files -n trinity-juic -%defattr(-,root,root,-) -%{tde_bindir}/juic -%{tde_datadir}/juic/ - -########## - -%package -n trinity-libkorundum0-ruby -Summary: TDE bindings for Ruby [Trinity] -Group: System/Libraries -Requires: trinity-libqt0-ruby = %{version}-%{release} - -%description -n trinity-libkorundum0-ruby -This package contains the files necessary for running and developing -Ruby code using the Korundum TDE Ruby bindings. - -It also includes some example programs and templates that make use of -these bindings. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkorundum0-ruby -%defattr(-,root,root,-) -%{tde_bindir}/rbtdesh -%{tde_bindir}/rbtdeapi -%{tde_bindir}/krubyinit -%{tde_bindir}/rbtdeconfig_compiler -%{ruby_rubylibdir}/Korundum.rb -%dir %{ruby_rubylibdir}/TDE -%{ruby_rubylibdir}/TDE/korundum.rb -%{ruby_arch}/korundum.la -%{ruby_arch}/korundum.so* -%doc korundum/ChangeLog - -########## - -%package -n trinity-libqt0-ruby -Summary: Qt bindings for Ruby [Trinity] -Group: System/Libraries -Requires: ruby - -%description -n trinity-libqt0-ruby -This package contains the files necessary for running and developing -Ruby code using the Qt Ruby bindings. - -It also includes some example programs that make use of these bindings, -plus many of the Qt Tutorial examples translated into Ruby. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt0-ruby -%defattr(-,root,root,-) -%{tde_bindir}/rbqtsh -%{tde_bindir}/rbqtapi -%{tde_bindir}/rbuic -%{tde_bindir}/qtrubyinit -%dir %{ruby_rubylibdir}/Qt -%{ruby_rubylibdir}/Qt/qtruby.rb -%{ruby_rubylibdir}/Qt.rb -%{ruby_arch}/qtruby.so* -%{ruby_arch}/qtruby.la -%{ruby_arch}/tqui.so* -%{ruby_arch}/tqui.la -%doc qtruby/ChangeLog - -########## - -%if 0 -%package -n trinity-kmozilla -Summary: Kmozilla for TDE -Group: System/Libraries - -%description -n trinity-kmozilla -This package contains the kmozilla library fro TDE. - -%files -n trinity-kmozilla -%defattr(-,root,root,-) -%{tde_bindir}/kmozilla -%{tde_libdir}/libkmozillapart.so.* -%{tde_libdir}/libkmozillapart.so -%{tde_libdir}/libkmozillapart.la -%{tde_datadir}/services/kmozilla.desktop -%endif - -########## - -%package -n trinity-xpart-notepad -Summary: A small XPart editor -Group: Productivity/Scientific/Math - -%description -n trinity-xpart-notepad -xpart_notepad is a small XPart editor. Use it to understand how to use XPart. - -%files -n trinity-xpart-notepad -%defattr(-,root,root,-) -%{tde_bindir}/shell_xparthost -%{tde_bindir}/xp_notepad -%{tde_libdir}/libxp_notepadpart.la -%{tde_libdir}/libxp_notepadpart.so -%{tde_libdir}/libxp_notepadpart.so.* -%{tde_datadir}/services/xp_notepad.desktop -%doc xparts/xpart_notepad/README - -########## - -%if 0%{?with_gtk1} -%package -n trinity-libgtkxparts1 -Summary: Xparts library for GTK -Group: Development/Languages/Other - -%description -n trinity-libgtkxparts1 -This package contains the xparts library for GTK. - -%files -n trinity-libgtkxparts1 -%defattr(-,root,root,-) -%{tde_libdir}/libgtkxparts.so.* -%{tde_libdir}/libgtkxparts.la - -%endif - -########## - -%package -n trinity-libtdexparts -Summary: Xparts library for TDE -Group: Development/Languages/Other - -Obsoletes: trinity-libkdexparts1 < %{version}-%{release} -Provides: trinity-libkdexparts1 = %{version}-%{release} - -%description -n trinity-libtdexparts -This package contains the xparts library for TDE. - -%files -n trinity-libtdexparts -%defattr(-,root,root,-) -%{tde_libdir}/libtdexparts.so.* -%{tde_libdir}/libtdexparts.la - -########## - -%package -n trinity-libxparts-devel -Summary: Xparts development files -Group: Development/Languages/Other -%if 0%{?with_gtk1} -Requires: trinity-libgtkxparts1 = %{version}-%{release} -%endif -Requires: trinity-libtdexparts = %{version}-%{release} - -%description -n trinity-libxparts-devel -This package contains the development files for Xparts library. - -%files -n trinity-libxparts-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/xtdeparts/ -%if 0%{?with_gtk1} -%{tde_libdir}/libgtkxparts.so -%endif -%{tde_libdir}/libtdexparts.so - -########## - -%package xparts-extras -Summary: Extra xparts for TDE [Trinity] -Group: Development/Languages/Other - -# Metapckage requires -Requires: trinity-xpart-notepad = %{version}-%{release} -%if 0%{?with_gtk1} -Requires: trinity-libgtkxparts1 = %{version}-%{release} -%endif -Requires: trinity-libtdexparts = %{version}-%{release} -Requires: trinity-libdcop-c = %{version}-%{release} - -%description xparts-extras -This package contains extra xparts-based modules for Trinity -This includes the mozilla-konqueror plugin - -This package is part of the official TDE bindings module. - -%files xparts-extras -%defattr(-,root,root,-) - -########### - -%package -n trinity-libdcop-c -Summary: DCOP bindings for C [Trinity] -Group: System/Libraries - -%description -n trinity-libdcop-c -This package contains the DCOP bindings for C. - -%files -n trinity-libdcop-c -%defattr(-,root,root,-) -%{tde_libdir}/libdcopc.so.* - -########### - -%package -n trinity-libdcop-c-devel -Summary: DCOP bindings for C, development files [Trinity] -Group: Development/Languages/C and C++ -Requires: trinity-libdcop-c = %{version}-%{release} - -%description -n trinity-libdcop-c-devel -This package contains the development files for DCOP bindings for C. - -%files -n trinity-libdcop-c-devel -%defattr(-,root,root,-) -%{tde_libdir}/libdcopc.so -%{tde_libdir}/libdcopc.la -%{tde_tdeincludedir}/dcopc/ - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Languages/Other - -Requires: trinity-tdelibs-devel >= %{tde_version} -Requires: %{name} = %{version}-%{release} - -Obsoletes: trinity-kdebindings-devel < %{version}-%{release} -Provides: trinity-kdebindings-devel = %{version}-%{release} - -# Metapackage -Requires: trinity-libsmoketqt-devel = %{version}-%{release} -Requires: trinity-libdcop3-java-devel = %{version}-%{release} -Requires: trinity-libsmoketde-devel = %{version}-%{release} -Requires: trinity-libkjsembed-devel = %{version}-%{release} -Requires: trinity-libxparts-devel = %{version}-%{release} -Requires: trinity-libdcop-c-devel = %{version}-%{release} -Requires: trinity-libtqt3-jni-devel = %{version}-%{release} -Requires: trinity-libtrinity-jni-devel = %{version}-%{release} - -%description devel -This package contains the development files for the TDE bindings. - -%files devel -%defattr(-,root,root,-) - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%if "%{?perl_vendorarch}" == "" -exit 1 -%endif - -%if "%{?ruby_rubylibdir}" == "" -exit 2 -%endif - -%if "%{?ruby_arch}" == "" -exit 3 -%endif - -# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL4/5 -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -%__sed -i "qtruby/rubylib/qtruby/Qt.cpp" \ - -i "korundum/rubylib/korundum/Korundum.cpp" \ - -e "s|rb_frame_this_func|rb_frame_last_func|g" -%endif - -# Another strange FTBFS in RHEL 5 -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -%__sed -i "xparts/xpart_notepad/shell_xparthost.cpp" \ - -i "xparts/xpart_notepad/xp_notepad.cpp" \ - -e "/TDEApplication/ s| );|, true, true, true);|" -%endif - -# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so') -%__sed -i "xparts/Makefile.am" \ - -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|" - -# Fix Fedora >= 28 automatic invalid dependency to '/usr/bin/kjscmd' -%if 0%{?fedora} >= 28 || 0%{?mgaversion} >= 7 -%__sed -i "kjsembed/tdescript/swaptabs.js" \ - -i "kjsembed/stdlib/cmdline.js" \ - -e "s|/usr/bin/env kjscmd|%{tde_bindir}/kjscmd|" -%endif - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export TDEDIR=%{tde_prefix} - -unset JAVA_HOME ||: -%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} - -# sip/PyQt/PyKDE built separately, not here -export DO_NOT_COMPILE="$DO_NOT_COMPILE python" - -# Ruby headers, strange location ... -if [ -d "/usr/include/%{_normalized_cpu}-linux" ]; then - export EXTRA_INCLUDES="/usr/include/%{_normalized_cpu}-linux" -fi - -# 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 [ -d "/usr/evolution28" ]; then - export PATH="/usr/evolution28/bin:${PATH}" - export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" -fi - -# Warning: openSUSE 13.1: /usr/include/ruby-2.0.0/ruby.h -%if 0%{?suse_version} == 1310 || 0%{?suse_version} == 1320 -EXTRA_INCLUDES="/usr/include/ruby-%{rb20_ver}:/usr/include/ruby-%{rb20_ver}/%{_target}" -%endif -%if 0%{?suse_version} >= 1330 -EXTRA_INCLUDES="/usr/include/ruby-%{rb_ver}:/usr/include/ruby-%{rb_ver}/%{_target}-gnu" -%endif - -# Warning: GCC visibility causes FTBFS [Bug #1285] -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_docdir} \ - --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 \ - \ - --with-extra-includes=%{_includedir}/tqscintilla:${EXTRA_INCLUDES} \ - --with-extra-libs=%{tde_libdir} \ - --with-pythondir=%{_usr} \ - \ - %{?_with_java} %{!?_with_java:--without-java} \ - %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} - -# Build dcopperl with specific options -pushd dcopperl -CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor - -# [Bug #348] Ugly hack to modify the man pages directory -sed -i "Makefile" -e "s|/usr/share/man|%{tde_mandir}|g" - -%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: -popd - -# smoke (not smp-safe) -%__make -C smoke - -# The rest is smp-safe -%__make %{?_smp_mflags} PYTHON=%{__python} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT - -%__make install DESTDIR=%{?buildroot} \ - PYTHON=%{__python} - -# Removes some perl files -find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' - -# Installs juic -%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic -%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common -%__install -m 644 qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common -%__install -m 644 qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common -%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java -%__install -m 644 qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java -%__install -m 644 qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java -%__install -m 644 qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic - -# kjsembed sample files -%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install -m 644 kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install -m 644 kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install -m 644 kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install -m 644 kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install -m 644 kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install -m 644 kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ - -# Man installation location is wrong on RHEL4... -if [ -d "%{buildroot}%{_mandir}/man3" ]; then - mv -f %{buildroot}%{_mandir}/man3 %{buildroot}%{tde_mandir}/man3/ - rm -rf %{buildroot}%{_mandir} -fi - -# Move 'embedjs.desktop' to correct location -%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Utilities/embedjs.desktop" "%{?buildroot}%{tde_tdeappdir}/embedjs.desktop" -%__rm -rf "%{?buildroot}%{tde_datadir}/applnk" - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -u kjscmd Development -%suse_update_desktop_file -u embedjs Development -%endif - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%changelog diff --git a/redhat/main/tdebindings/tdebindings.spec b/redhat/main/tdebindings/tdebindings.spec new file mode 100644 index 000000000..141c1d8aa --- /dev/null +++ b/redhat/main/tdebindings/tdebindings.spec @@ -0,0 +1,1193 @@ +# +# spec file for package tdebindings (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/ +# + +# Required for PCLinuxOS: removes the ldflag '--no-undefined' +%if 0%{?pclinuxos} +%define _disable_ld_no_undefined 1 +%endif + +# 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.7 +%endif +%define tde_pkg tdebindings +%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 + +# Special note for RHEL4: +# You must create symlink 'libgcj.so' manually because it does not exist by default. +# E.g: +# ln -s /usr/lib/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so +# or 64 bits: +# ln -s /usr/lib64/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so + +Name: trinity-%{tde_pkg} +Summary: TDE bindings to non-C++ languages +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +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 + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: desktop-file-utils + +# 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 + +# ZLIB support +BuildRequires: zlib-devel + +# PERL module support +BuildRequires: perl(ExtUtils::MakeMaker) + +# GTK2 support +%if 0%{?rhel} == 4 +BuildRequires: evolution28-gtk2-devel +Requires: evolution28-gtk2 +BuildRequires: evolution28-glib2-devel +Requires: evolution28-glib2 +BuildRequires: evolution28-cairo-devel +Requires: evolution28-cairo +BuildRequires: evolution28-pango-devel +Requires: evolution28-pango +BuildRequires: evolution28-atk-devel +Requires: evolution28-atk +%else +BuildRequires: gtk2-devel +%endif + +# XULRUNNER support +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 +#BuildRequires: xulrunner-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: mozilla-xulrunner20-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + +# GTK1 support +%if 0%{?fedora} || (0%{?rhel} >= 5 && 0%{?rhel} <= 7) +%define with_gtk1 1 +BuildRequires: glib-devel +BuildRequires: gtk+-devel +%endif +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 +%if 0%{?with_gtk1} +%define with_gtk1 1 +BuildRequires: glib-devel +BuildRequires: gtk+-devel +%endif +%endif +%if 0%{?mdkversion} == 201100 +%define with_gtk1 1 +BuildRequires: %{_lib}glib1.2-devel +BuildRequires: %{_lib}gtk+-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libgdk_pixbuf2.0-devel +%else +BuildRequires: %{_lib}gdk_pixbuf2.0-devel +%endif +%endif +%if 0%{?fedora} +%if 0%{?fedora} >= 17 +BuildRequires: gdk-pixbuf2-devel +%else +BuildRequires: gdk-pixbuf-devel +%endif +%endif + +# MESA support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: mesaglu-devel +%endif +%if 0%{?suse_version} +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +%endif + + +## Python +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 +%define python python2 +%define __python %__python2 +%else +%define python python +%endif +BuildRequires: %{python} +BuildRequires: %{python}-devel +%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") + +## ruby +BuildRequires: ruby-devel >= 1.8 +BuildRequires: ruby >= 1.8 +%if 0%{?fedora} >= 19 +BuildRequires: rubypick +%endif + +# Check for Ruby library directory +%if "%{?ruby_libarchdir}" != "" +%define ruby_arch %{?ruby_libarchdir} +%else +%if "%{?rb_archdir}" != "" +%define ruby_arch %{?rb_archdir} +%else +%if "%{%ruby_archdir}" != "" +%define ruby_arch %{?ruby_archdir} +%else +%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]' || ruby -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]')} +%endif +%endif +%endif +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 +%define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]') +%endif +%if 0%{?pclinuxos} +%define ruby_arch %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]') +%endif + +%if "%{?ruby_libdir}" != "" +%define ruby_rubylibdir %{?ruby_libdir} +%else +%if "%{?rb_libdir}" != "" +%define ruby_rubylibdir %{?rb_libdir} +%else +%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]' || ruby -rrbconfig -e 'puts RbConfig::CONFIG["rubylibdir"]')} +%endif +%endif + +# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) +%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') + +## java +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +BuildRequires: java-1.4.2-gcj-compat-devel +BuildRequires: libgcj-devel +BuildRequires: gcc-java +%endif + +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} + +# PCLinuxOS use SUN's Java +%if 0%{?pclinuxos} +BuildRequires: java-devel +%else + +# Others use OpenJDK +BuildRequires: java-openjdk +BuildRequires: java-devel >= 1.4.2 +%if 0%{?suse_version} >= 1320 +BuildRequires: java-1_8_0-openjdk-devel +%endif +%if 0%{?fedora} >= 21 || 0%{?mgaversion} >= 5 || 0%{?rhel} >= 8 +BuildRequires: java-1.8.0-openjdk-devel +%endif +%if 0%{?fedora} == 17 || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?fedora} == 20 || 0%{?suse_version} == 1230 || 0%{?suse_version} == 1310 || 0%{?mgaversion} == 3 || 0%{?mgaversion} == 4 || 0%{?rhel} == 7 +BuildRequires: java-1.7.0-openjdk-devel +%endif +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 +BuildRequires: java-1.6.0-openjdk-devel +%endif + +%endif +%endif + +%if 0%{?suse_version} +%define java_home %{_usr}/%{_lib}/jvm/java +%else +%if 0%{?rhel} == 4 +%define java_home %{_usr}/lib/jvm/java-1.4.2-gcj-1.4.2.0 +%else +%define java_home %{_usr}/lib/jvm/java +%endif +%endif +%if 0%{?pclinuxos} == 0 +%define _with_java --with-java=%{java_home} +%endif + +## Perl +# There is no 'perl-devel' package on RHEL5 +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: perl-devel +%endif +%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} + +## QScintilla +BuildRequires: libtqscintilla-devel >= %{?tde_epoch:%{tde_epoch}:}1.7.1 +%define _enable_qscintilla --enable-qscintilla + +Obsoletes: trinity-kdebindings < %{version}-%{release} +Provides: trinity-kdebindings = %{version}-%{release} + +# Metapackage requires +%if "%{?_with_java}" != "" +Requires: trinity-tdebindings-java = %{version}-%{release} +%endif +Requires: trinity-libsmoketqt = %{version}-%{release} +Requires: trinity-libsmoketde = %{version}-%{release} +Requires: perl-dcop = %{version}-%{release} +Requires: python-dcop = %{version}-%{release} +Requires: trinity-libkjsembed1 = %{version}-%{release} +Requires: trinity-kjscmd = %{version}-%{release} +%if "%{?_with_java}" != "" +Requires: trinity-juic = %{version}-%{release} +%endif +Requires: trinity-libkorundum0-ruby = %{version}-%{release} +Requires: trinity-libqt0-ruby = %{version}-%{release} + + +%description +TDE/DCOP bindings to non-C++ languages + +%files +%defattr(-,root,root,-) + +########## + +%package java +Summary: TDE Java bindings metapackage [Trinity] +Group: System/Libraries +Requires: trinity-libdcop3-java = %{version}-%{release} +Requires: trinity-libdcop3-jni = %{version}-%{release} +Requires: trinity-libqt3-java = %{version}-%{release} +Requires: trinity-libtqt3-jni = %{version}-%{release} +Requires: trinity-libtrinity-java = %{version}-%{release} +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description java +A metapackage depending on all TDE, Qt and DCOP bindings libraries +related to the Java language. + +This package is part of the official TDE bindings module. + +%files java +%defattr(-,root,root,-) + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libdcop3-java +Summary: DCOP bindings for Java [Trinity] +Group: System/Libraries + +Requires: trinity-libdcop3-jni = %{version}-%{release} + +%description -n trinity-libdcop3-java +This package contains the Java classes necessary to run Java programs +using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications +Protocol, used for communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-java +%defattr(-,root,root,-) +%{tde_libdir}/java/org/ +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libdcop3-java-devel +Summary: DCOP bindings for Java (dcopidl2java program) [Trinity] +Group: Development/Languages/Java +Requires: trinity-libdcop3-java = %{version}-%{release} + +%description -n trinity-libdcop3-java-devel +This package contains the dcopidl2java program which generates Java +stubs from DCOP IDL files, necessary to do development with the DCOP Java +bindings. DCOP is the TDE Desktop COmmunications Protocol, used for +communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-java-devel +%defattr(-,root,root,-) +%{tde_bindir}/dcopidl2java +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libdcop3-jni +Summary: DCOP bindings for Java ( Native libraries ) [Trinity] +Group: System/Libraries + +%description -n trinity-libdcop3-jni +This package contains the shared libraries and scripts necessary to +run programs using the Java DCOP bindings. DCOP is the TDE Desktop +COmmunications Protocol, used for communicating with running TDE +applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-jni +%defattr(-,root,root,-) +%{tde_libdir}/libjavadcop.la +%{tde_libdir}/libjavadcop.so +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libqt3-java +Summary: Java bindings for Qt [Trinity] +Group: System/Libraries +Requires: trinity-libdcop3-jni = %{version}-%{release} +Requires: trinity-libtqt3-jni = %{version}-%{release} +Requires: trinity-juic = %{version}-%{release} + +%description -n trinity-libqt3-java +This package contains the Java classes necessary to run Java programs +using the Java Qt bindings. Qt is a very popular GUI toolkit, used by +the TDE desktop environment. + +It also includes many example programs that make use of these bindings, +plus many of the Qt Tutorial examples translated into Java. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-java +%defattr(-,root,root,-) +%{tde_libdir}/java/qtjava*.jar +%{tde_tdedocdir}/HTML/en/javalib/ +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libtqt3-jni +Summary: Java bindings for TQt ( Native libraries ) [Trinity] +Group: System/Libraries + +Obsoletes: trinity-libqt3-jni < %{version}-%{release} +Provides: trinity-libqt3-jni = %{version}-%{release} + +%description -n trinity-libtqt3-jni +This package contains the shared libraries necessary to run Java +programs using the Java Qt bindings. Qt is a very popular GUI +toolkit, used by the TDE desktop environment. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtqt3-jni +%defattr(-,root,root,-) +%{tde_libdir}/lib*qtjavasupport.la +%{tde_libdir}/lib*qtjavasupport.so.* +%{tde_libdir}/jni/lib*qtjava.la +%{tde_libdir}/jni/lib*qtjava.so.* +%doc qtjava/ChangeLog +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libtqt3-jni-devel +Summary: Development files fo Java bindings for TQt ( Native libraries ) [Trinity] +Group: Development/Languages/Java +Requires: trinity-libtqt3-jni = %{version}-%{release} + +Obsoletes: trinity-libqt3-jni-devel < %{version}-%{release} +Provides: trinity-libqt3-jni-devel = %{version}-%{release} + +%description -n trinity-libtqt3-jni-devel +This package contains the development files for trinity-libtqt3-jni. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtqt3-jni-devel +%defattr(-,root,root,-) +%{tde_libdir}/lib*qtjavasupport.so +%{tde_libdir}/jni/lib*qtjava.so +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libtrinity-java +Summary: Tdelibs bindings for Java [Trinity] +Group: System/Libraries + +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description -n trinity-libtrinity-java +This package contains the Java classes necessary to run Java programs +using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a +very popular UNIX Desktop Environment. + +It also includes some example applications that use these Java +classes, and multiple usage samples of the most common TDE classes. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-java +%defattr(-,root,root,-) +%{tde_libdir}/java/koala*.jar +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libtrinity-jni +Summary: Tdelibs bindings for java ( Native libraries ) [Trinity] +Group: System/Libraries + +%description -n trinity-libtrinity-jni +This package contains the shared libraries necessary to run Java +programs using the Java tdelibs bindings. TDE is the Trinity Desktop +Environment, a very popular UNIX Desktop Environment. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-jni +%defattr(-,root,root,-) +%{tde_libdir}/jni/libtdejava.la +%{tde_libdir}/jni/libtdejava.so.* +%doc tdejava/ChangeLog +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libtrinity-jni-devel +Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity] +Group: Development/Languages/Java +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description -n trinity-libtrinity-jni-devel +This package contains the development files for trinity-libtrinity-jni. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-jni-devel +%defattr(-,root,root,-) +%{tde_libdir}/jni/libtdejava.so +%endif + +########## + +%package -n trinity-libsmoketqt +Summary: SMOKE Binding Library to Qt +Group: System/Libraries + +Obsoletes: trinity-libsmokeqt1 < %{version}-%{release} +Provides: trinity-libsmokeqt1 = %{version}-%{release} + +%description -n trinity-libsmoketqt +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt library. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmoketqt +%defattr(-,root,root,-) +%{tde_libdir}/libsmoketqt.so.* + +########## + +%package -n trinity-libsmoketqt-devel +Summary: SMOKE Binding Library to TQt - Development Files +Group: Development/Languages/Other +Requires: trinity-libsmoketqt = %{version}-%{release} + +Obsoletes: trinity-libsmokeqt-devel < %{version}-%{release} +Provides: trinity-libsmokeqt-devel = %{version}-%{release} + +%description -n trinity-libsmoketqt-devel +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt library. This package contains the development files for the +library. + +If you are a normal user, you probably don't need this +package. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmoketqt-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/smoke.h +%{tde_libdir}/libsmoketqt.so +%{tde_libdir}/libsmoketqt.la + +########## + +%package -n trinity-libsmoketde +Summary: SMOKE Binding Library to TDE +Group: System/Libraries + +Obsoletes: trinity-libsmokekde1 < %{version}-%{release} +Provides: trinity-libsmokekde1 = %{version}-%{release} + +%description -n trinity-libsmoketde +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +TDE libraries. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmoketde +%defattr(-,root,root,-) +%{tde_libdir}/libsmoketde.so.* + +########## + +%package -n trinity-libsmoketde-devel +Summary: SMOKE Binding Library to TDE - Development Files +Group: Development/Languages/Other +Requires: trinity-libsmoketde = %{version}-%{release} + +Obsoletes: trinity-libsmokekde-devel < %{version}-%{release} +Provides: trinity-libsmokekde-devel = %{version}-%{release} + +%description -n trinity-libsmoketde-devel +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt and TDE libraries. This package contains the development files for +the library. + +If you are a normal user, you probably don't need this +package. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmoketde-devel +%defattr(-,root,root,-) +%{tde_libdir}/libsmoketde.so +%{tde_libdir}/libsmoketde.la + +########## + +%package -n perl-dcop +Summary: DCOP Bindings for Perl +Group: System/Libraries +%if 0%{?suse_version} +Requires: perl-base +%else +Requires: perl +%endif + +Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release} +Provides: trinity-kdebindings-dcopperl = %{version}-%{release} + +Obsoletes: trinity-perl-dcop < %{version}-%{release} +Provides: trinity-perl-dcop = %{version}-%{release} + +%description -n perl-dcop +Perl bindings to the DCOP interprocess communication protocol used by TDE + +%files -n perl-dcop +%defattr(-,root,root,-) +%{perl_vendorarch}/auto/DCOP/ +%{perl_vendorarch}/DCOP.pm +%{perl_vendorarch}/DCOP/ +%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO +%{tde_mandir}/man3/DCOP.3pm* + +########## + +%package -n python-dcop +Summary: DCOP bindings for Python +Group: System/Libraries +Requires: %{python} + +Obsoletes: trinity-python-dcop < %{version}-%{release} +Provides: trinity-python-dcop = %{version}-%{release} + +%description -n python-dcop +This package contains the shared libraries necessary to run and +develop Python programs using the Python DCOP bindings +libraries. DCOP is the TDE Desktop COmmunications Protocol, used for +communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n python-dcop +%defattr(-,root,root,-) +%{python_sitearch}/pcop.la +%{python_sitearch}/pcop.so +%{python_sitearch}/pydcop.py* + +########## + +%package -n trinity-libkjsembed1 +Summary: Embedded JavaScript library +Group: System/Libraries + +%description -n trinity-libkjsembed1 +This package contains the shared libraries necessary to run programs +linked with the KJSEmbed library. This library provides JavaScript +embedded scripting facilities to TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkjsembed1 +%defattr(-,root,root,-) +%{tde_libdir}/libkjsembed.so.* +%{tde_tdelibdir}/libimagefxplugin.la +%{tde_tdelibdir}/libimagefxplugin.so +%{tde_datadir}/services/imagefx_plugin.desktop +%{tde_tdelibdir}/libqprocessplugin.so +%{tde_tdelibdir}/libqprocessplugin.la +%{tde_datadir}/services/qprocess_plugin.desktop +%{tde_tdelibdir}/libfileitemplugin.la +%{tde_tdelibdir}/libfileitemplugin.so +%{tde_datadir}/services/tdefileitem_plugin.desktop +%{tde_datadir}/apps/kjsembed/ +%{tde_datadir}/servicetypes/binding_type.desktop +%{tde_bindir}/embedjs +%{tde_datadir}/apps/embedjs/ +%{tde_tdeappdir}/embedjs.desktop +%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png +%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png +%{tde_tdelibdir}/libjavascript.la +%{tde_tdelibdir}/libjavascript.so +%dir %{tde_datadir}/apps/kate +%dir %{tde_datadir}/apps/kate/scripts +%{tde_datadir}/apps/kate/scripts/swaptabs.js +%{tde_datadir}/apps/kate/scripts/swaptabs.ui +%{tde_datadir}/apps/kate/scripts/swaptabs.desktop +%{tde_datadir}/services/javascript.desktop +%doc kjsembed/docs/ChangeLog + +########## + +%package -n trinity-libkjsembed-devel +Summary: Embedded JavaScript library (Development files) +Group: Development/Libraries/Other +Requires: trinity-libkjsembed1 = %{version}-%{release} + +%description -n trinity-libkjsembed-devel +This package contains the header files and symbolic links necessary +to develop and compile programs using the KJSEmbed library. This +library provides JavaScript embedded scripting facilities to TDE +applications. + +It also includes lots of example programs that make use of these +bindings, plus comprehensive documentation of the bindings. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkjsembed-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kjsembed/ +%{tde_libdir}/libkjsembed.so +%{tde_libdir}/libkjsembed.la +%{tde_docdir}/trinity-libkjsembed-devel/ + +########## + +%package -n trinity-kjscmd +Summary: A script interpreter using the TDE JavaScript library +Group: System/Libraries +Provides: %{tde_bindir}/kjscmd + +%description -n trinity-kjscmd +This package contains the kjscmd program, which is a standalone +JavaScript interpreter using the KJSEmbed library. + +This package is part of the official TDE bindings module. + +%files -n trinity-kjscmd +%defattr(-,root,root,-) +%{tde_bindir}/kjscmd +%{tde_tdeappdir}/kjscmd.desktop +%{tde_mandir}/man1/kjscmd.* +%{tde_tdelibdir}/libjsconsoleplugin.la +%{tde_tdelibdir}/libjsconsoleplugin.so + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-juic +Summary: The Qt Java UI Compiler +Group: Development/Languages/Java +Requires: trinity-libqt3-java = %{version}-%{release} + +%description -n trinity-juic +This package contains the juic program, which is used to convert +a UI description file generated by the Qt Designer, and converts +it into a Qt Java class. It is necessary for compiling and +developing programs using the Qt Java bindings together with Qt +Designer. + +This package is part of the official TDE bindings module. + +%files -n trinity-juic +%defattr(-,root,root,-) +%{tde_bindir}/juic +%{tde_datadir}/juic/ +%endif + +########## + +%package -n trinity-libkorundum0-ruby +Summary: TDE bindings for Ruby [Trinity] +Group: System/Libraries +Requires: trinity-libqt0-ruby = %{version}-%{release} + +%description -n trinity-libkorundum0-ruby +This package contains the files necessary for running and developing +Ruby code using the Korundum TDE Ruby bindings. + +It also includes some example programs and templates that make use of +these bindings. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkorundum0-ruby +%defattr(-,root,root,-) +%{tde_bindir}/rbtdesh +%{tde_bindir}/rbtdeapi +%{tde_bindir}/krubyinit +%{tde_bindir}/rbtdeconfig_compiler +%{ruby_rubylibdir}/Korundum.rb +%dir %{ruby_rubylibdir}/TDE +%{ruby_rubylibdir}/TDE/korundum.rb +%{ruby_arch}/korundum.la +%{ruby_arch}/korundum.so* +%doc korundum/ChangeLog + +########## + +%package -n trinity-libqt0-ruby +Summary: Qt bindings for Ruby [Trinity] +Group: System/Libraries +Requires: ruby + +%description -n trinity-libqt0-ruby +This package contains the files necessary for running and developing +Ruby code using the Qt Ruby bindings. + +It also includes some example programs that make use of these bindings, +plus many of the Qt Tutorial examples translated into Ruby. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt0-ruby +%defattr(-,root,root,-) +%{tde_bindir}/rbqtsh +%{tde_bindir}/rbqtapi +%{tde_bindir}/rbuic +%{tde_bindir}/qtrubyinit +%dir %{ruby_rubylibdir}/Qt +%{ruby_rubylibdir}/Qt/qtruby.rb +%{ruby_rubylibdir}/Qt.rb +%{ruby_arch}/qtruby.so* +%{ruby_arch}/qtruby.la +%{ruby_arch}/tqui.so* +%{ruby_arch}/tqui.la +%doc qtruby/ChangeLog + +########## + +%if 0 +%package -n trinity-kmozilla +Summary: Kmozilla for TDE +Group: System/Libraries + +%description -n trinity-kmozilla +This package contains the kmozilla library fro TDE. + +%files -n trinity-kmozilla +%defattr(-,root,root,-) +%{tde_bindir}/kmozilla +%{tde_libdir}/libkmozillapart.so.* +%{tde_libdir}/libkmozillapart.so +%{tde_libdir}/libkmozillapart.la +%{tde_datadir}/services/kmozilla.desktop +%endif + +########## + +%package -n trinity-xpart-notepad +Summary: A small XPart editor +Group: Productivity/Scientific/Math + +%description -n trinity-xpart-notepad +xpart_notepad is a small XPart editor. Use it to understand how to use XPart. + +%files -n trinity-xpart-notepad +%defattr(-,root,root,-) +%{tde_bindir}/shell_xparthost +%{tde_bindir}/xp_notepad +%{tde_libdir}/libxp_notepadpart.la +%{tde_libdir}/libxp_notepadpart.so +%{tde_libdir}/libxp_notepadpart.so.* +%{tde_datadir}/services/xp_notepad.desktop +%doc xparts/xpart_notepad/README + +########## + +%if 0%{?with_gtk1} +%package -n trinity-libgtkxparts1 +Summary: Xparts library for GTK +Group: Development/Languages/Other + +%description -n trinity-libgtkxparts1 +This package contains the xparts library for GTK. + +%files -n trinity-libgtkxparts1 +%defattr(-,root,root,-) +%{tde_libdir}/libgtkxparts.so.* +%{tde_libdir}/libgtkxparts.la + +%endif + +########## + +%package -n trinity-libtdexparts +Summary: Xparts library for TDE +Group: Development/Languages/Other + +Obsoletes: trinity-libkdexparts1 < %{version}-%{release} +Provides: trinity-libkdexparts1 = %{version}-%{release} + +%description -n trinity-libtdexparts +This package contains the xparts library for TDE. + +%files -n trinity-libtdexparts +%defattr(-,root,root,-) +%{tde_libdir}/libtdexparts.so.* +%{tde_libdir}/libtdexparts.la + +########## + +%package -n trinity-libxparts-devel +Summary: Xparts development files +Group: Development/Languages/Other +%if 0%{?with_gtk1} +Requires: trinity-libgtkxparts1 = %{version}-%{release} +%endif +Requires: trinity-libtdexparts = %{version}-%{release} + +%description -n trinity-libxparts-devel +This package contains the development files for Xparts library. + +%files -n trinity-libxparts-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/xtdeparts/ +%if 0%{?with_gtk1} +%{tde_libdir}/libgtkxparts.so +%endif +%{tde_libdir}/libtdexparts.so + +########## + +%package xparts-extras +Summary: Extra xparts for TDE [Trinity] +Group: Development/Languages/Other + +# Metapckage requires +Requires: trinity-xpart-notepad = %{version}-%{release} +%if 0%{?with_gtk1} +Requires: trinity-libgtkxparts1 = %{version}-%{release} +%endif +Requires: trinity-libtdexparts = %{version}-%{release} +Requires: trinity-libdcop-c = %{version}-%{release} + +%description xparts-extras +This package contains extra xparts-based modules for Trinity +This includes the mozilla-konqueror plugin + +This package is part of the official TDE bindings module. + +%files xparts-extras +%defattr(-,root,root,-) + +########### + +%package -n trinity-libdcop-c +Summary: DCOP bindings for C [Trinity] +Group: System/Libraries + +%description -n trinity-libdcop-c +This package contains the DCOP bindings for C. + +%files -n trinity-libdcop-c +%defattr(-,root,root,-) +%{tde_libdir}/libdcopc.so.* + +########### + +%package -n trinity-libdcop-c-devel +Summary: DCOP bindings for C, development files [Trinity] +Group: Development/Languages/C and C++ +Requires: trinity-libdcop-c = %{version}-%{release} + +%description -n trinity-libdcop-c-devel +This package contains the development files for DCOP bindings for C. + +%files -n trinity-libdcop-c-devel +%defattr(-,root,root,-) +%{tde_libdir}/libdcopc.so +%{tde_libdir}/libdcopc.la +%{tde_tdeincludedir}/dcopc/ + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Languages/Other + +Requires: trinity-tdelibs-devel >= %{tde_version} +Requires: %{name} = %{version}-%{release} + +Obsoletes: trinity-kdebindings-devel < %{version}-%{release} +Provides: trinity-kdebindings-devel = %{version}-%{release} + +# Metapackage +Requires: trinity-libsmoketqt-devel = %{version}-%{release} +%if "%{?_with_java}" != "" +Requires: trinity-libdcop3-java-devel = %{version}-%{release} +%endif +Requires: trinity-libsmoketde-devel = %{version}-%{release} +Requires: trinity-libkjsembed-devel = %{version}-%{release} +Requires: trinity-libxparts-devel = %{version}-%{release} +Requires: trinity-libdcop-c-devel = %{version}-%{release} +%if "%{?_with_java}" != "" +Requires: trinity-libtqt3-jni-devel = %{version}-%{release} +Requires: trinity-libtrinity-jni-devel = %{version}-%{release} +%endif + +%description devel +This package contains the development files for the TDE bindings. + +%files devel +%defattr(-,root,root,-) + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%if "%{?perl_vendorarch}" == "" +exit 1 +%endif + +%if "%{?ruby_rubylibdir}" == "" +exit 2 +%endif + +%if "%{?ruby_arch}" == "" +exit 3 +%endif + +# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL4/5 +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +%__sed -i "qtruby/rubylib/qtruby/Qt.cpp" \ + -i "korundum/rubylib/korundum/Korundum.cpp" \ + -e "s|rb_frame_this_func|rb_frame_last_func|g" +%endif + +# Another strange FTBFS in RHEL 5 +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +%__sed -i "xparts/xpart_notepad/shell_xparthost.cpp" \ + -i "xparts/xpart_notepad/xp_notepad.cpp" \ + -e "/TDEApplication/ s| );|, true, true, true);|" +%endif + +# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so') +%__sed -i "xparts/Makefile.am" \ + -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|" + +# Fix Fedora >= 28 automatic invalid dependency to '/usr/bin/kjscmd' +%if 0%{?fedora} >= 28 || 0%{?mgaversion} >= 7 || 0%{?rhel} >= 8 +%__sed -i "kjsembed/tdescript/swaptabs.js" \ + -i "kjsembed/stdlib/cmdline.js" \ + -e "s|/usr/bin/env kjscmd|%{tde_bindir}/kjscmd|" +%endif + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export TDEDIR=%{tde_prefix} + +unset JAVA_HOME ||: +%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} + +# sip/PyQt/PyKDE built separately, not here +export DO_NOT_COMPILE="$DO_NOT_COMPILE python" + +# Ruby headers, strange location ... +if [ -d "/usr/include/%{_normalized_cpu}-linux" ]; then + export EXTRA_INCLUDES="/usr/include/%{_normalized_cpu}-linux" +fi + +# 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 [ -d "/usr/evolution28" ]; then + export PATH="/usr/evolution28/bin:${PATH}" + export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" +fi + +# Warning: openSUSE 13.1: /usr/include/ruby-2.0.0/ruby.h +%if 0%{?suse_version} == 1310 || 0%{?suse_version} == 1320 +EXTRA_INCLUDES="/usr/include/ruby-%{rb20_ver}:/usr/include/ruby-%{rb20_ver}/%{_target}" +%endif +%if 0%{?suse_version} >= 1330 +EXTRA_INCLUDES="/usr/include/ruby-%{rb_ver}:/usr/include/ruby-%{rb_ver}/%{_target}-gnu" +%endif + +# Warning: GCC visibility causes FTBFS [Bug #1285] +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_docdir} \ + --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 \ + \ + --with-extra-includes=%{_includedir}/tqscintilla:${EXTRA_INCLUDES} \ + --with-extra-libs=%{tde_libdir} \ + --with-pythondir=%{_usr} \ + \ + %{?_with_java} %{!?_with_java:--without-java} \ + %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} + +# Build dcopperl with specific options +pushd dcopperl +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=%{tde_mandir}/man3 +%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: +popd + +# smoke (not smp-safe) +%__make -C smoke + +# The rest is smp-safe +%__make %{?_smp_mflags} PYTHON=%{__python} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT + +%__make install DESTDIR=%{?buildroot} \ + PYTHON=%{__python} + +# Removes some perl files +find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ + -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' + +%if "%{?_with_java}" != "" +# Installs juic +%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic +%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common +%__install -m 644 qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common +%__install -m 644 qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common +%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java +%__install -m 644 qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java +%__install -m 644 qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java +%__install -m 644 qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic +%endif + +# kjsembed sample files +%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install -m 644 kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install -m 644 kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install -m 644 kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install -m 644 kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install -m 644 kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install -m 644 kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ + +# Move 'embedjs.desktop' to correct location +%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Utilities/embedjs.desktop" "%{?buildroot}%{tde_tdeappdir}/embedjs.desktop" +%__rm -rf "%{?buildroot}%{tde_datadir}/applnk" + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -u kjscmd Development +%suse_update_desktop_file -u embedjs Development +%endif + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%changelog diff --git a/redhat/main/tdeedu/tdeedu-14.0.0.spec b/redhat/main/tdeedu/tdeedu-14.0.0.spec deleted file mode 100644 index af7343097..000000000 --- a/redhat/main/tdeedu/tdeedu-14.0.0.spec +++ /dev/null @@ -1,1158 +0,0 @@ -# -# spec file for package tdeedu (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 tdeedu -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Summary: Educational/Edutainment applications -Group: System/GUI/Other -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils - -# 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: gcc-c++ -BuildRequires: fdupes - -# PYTHON support -BuildRequires: python-devel -BuildRequires: python - -# BOOST support -BuildRequires: boost-devel - -# OCAML support -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: ocaml(compiler) -%else -BuildRequires: ocaml -%endif - -# KIG python scripting support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%if 0%{?suse_version} == 1330 || 0%{?suse_version} >= 1500 || 0%{?fedora} >= 29 -%define with_kig 0 -%else -%define with_kig 1 -%endif -%endif - -Obsoletes: trinity-kdeedu < %{version}-%{release} -Provides: trinity-kdeedu = %{version}-%{release} -Obsoletes: trinity-kdeedu-libs < %{version}-%{release} -Provides: trinity-kdeedu-libs = %{version}-%{release} - -# Meta-package -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-blinken = %{version}-%{release} -Requires: trinity-kalzium = %{version}-%{release} -Requires: trinity-kalzium-data = %{version}-%{release} -Requires: trinity-kanagram = %{version}-%{release} -Requires: trinity-kbruch = %{version}-%{release} -Requires: trinity-keduca = %{version}-%{release} -Requires: trinity-kgeography = %{version}-%{release} -Requires: trinity-kgeography-data = %{version}-%{release} -Requires: trinity-khangman = %{version}-%{release} -Requires: trinity-kig = %{version}-%{release} -Requires: trinity-kiten = %{version}-%{release} -Requires: trinity-klatin = %{version}-%{release} -Requires: trinity-klettres = %{version}-%{release} -Requires: trinity-klettres-data = %{version}-%{release} -Requires: trinity-kmplot = %{version}-%{release} -Requires: trinity-kpercentage = %{version}-%{release} -Requires: trinity-kstars = %{version}-%{release} -Requires: trinity-kstars-data = %{version}-%{release} -Requires: trinity-ktouch = %{version}-%{release} -Requires: trinity-kturtle = %{version}-%{release} -Requires: trinity-kverbos = %{version}-%{release} -Requires: trinity-kvoctrain = %{version}-%{release} -Requires: trinity-kwordquiz = %{version}-%{release} -Requires: trinity-libtdeedu3 = %{version}-%{release} -Requires: trinity-libkiten1 = %{version}-%{release} -Requires: trinity-indi = %{version}-%{release} - - -%description -Educational/Edutainment applications, including: -* blinken: Simon Says Game -* kalzium: Periodic Table of Elements -* kanagram: Letter Order Game -* kbruch: Exercise Fractions -* keduca: Tests and Exams -* kgeography: Geography Trainer -* khangman: Hangman Game -* kig: Interactive Geometry -* kiten: Japanese Reference/Study Tool -* klatin: Latin Reviser -* klettres: French alphabet tutor -* kmplot: Mathematical Function Plotter -* kpercentage: Excersie Percentages -* kstars: Desktop Planetarium -* ktouch: Touch Typing Tutor -* kturtle: Logo Programming Environment -* kverbos: Study Spanish Verbforms -* kvoctrain: Vocabulary Trainer -* kwordquiz: Vocabulary Trainer - -%files -%defattr(-,root,root,-) -%doc COPYING README - -########## - -%package data -Summary: Shared data for Trinity educational applications -Group: System/GUI/Other - -%description data -This package contains shared data necessary for running the -educational applications provided with TDE (the Trinity Desktop -Environment). - -This package is part of Trinity, as a component of the TDE education module. - -%files data -%defattr(-,root,root,-) -%{tde_datadir}/applnk/Edutainment/Languages/.directory -%{tde_datadir}/applnk/Edutainment/Miscellaneous/.directory -%{tde_datadir}/applnk/Edutainment/Mathematics/.directory -%{tde_datadir}/applnk/Edutainment/Science/.directory -%{tde_datadir}/applnk/Edutainment/Tools/.directory - -########## - -%package -n trinity-blinken -Summary: Trinity version of the Simon Says electronic memory game -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-blinken -Blinken is based on an electronic game released in 1978, which -challenges players to remember sequences of increasing length. On -the face of the device, there are 4 different color buttons, each -with its own distinctive sound. These buttons light up randomly, -creating the sequence that the player must then recall. If the -player is successful in remembering the sequence of lights in the -correct order, they advance to the next stage, where an identical -sequence with one extra step is presented. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-blinken -%defattr(-,root,root,-) -%{tde_bindir}/blinken -%{tde_tdeappdir}/blinken.desktop -%{tde_datadir}/apps/blinken/ -%{tde_datadir}/config.kcfg/blinken.kcfg -%{tde_datadir}/icons/hicolor/*/apps/blinken.png -%{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz -%{tde_tdedocdir}/HTML/en/blinken/ - -########## - -%package -n trinity-kalzium -Summary: Chemistry teaching tool for Trinity -Group: System/GUI/Other -Requires: trinity-kalzium-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kalzium -Kalzium is a program which shows you the Periodic System of Elements -(PSE). You can use Kalzium to search for information about the -elements or to learn facts about the PSE. - -Kalzium provides you with all kinds of information about the PSE. -You can look up lots of information about the elements and also use -visualisations to show them. - -You can visualise the Periodic Table of the Elements by blocks, -groups, acidic behavior or different states of matter. You can also -plot data for a range of elements (weight, mean weight, density, IE1, -IE2, electronegativity), and you can go back in time to see what -elements were known at a given date. In addition, on platforms where -OCaml supports native code generation, Kalzium includes a chemical -equation solver. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kalzium -%defattr(-,root,root,-) -%{tde_bindir}/kalzium -%{tde_tdeappdir}/kalzium.desktop -%{tde_datadir}/config.kcfg/kalzium.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kalzium.png -%{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz -%{tde_tdedocdir}/HTML/en/kalzium/ - -########## - -%package -n trinity-kalzium-data -Summary: Data files for Kalzium -Group: System/GUI/Other - -%description -n trinity-kalzium-data -This package contains architecture-independent data files for -Kalzium, the TDE periodic table application. This includes pictures -of various chemical equipment and of samples of several elements, in -addition to the actual chemical data. - -See the kalzium package for further information. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kalzium-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kalzium/ - -########## - -%package -n trinity-kanagram -Summary: Letter order game for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kanagram -KAnagram is a game that is based on the word/letter puzzles that the -author played as a child. A word is picked at random and displayed -with its letters in a messed order, with difficulty dependent on the -chosen level. You have an unlimited number of attempts, and scores -are kept. - -It is a very simply constructed game, with 3 difficulty levels of -play. It is fully customizable, allowing you to write in your own -words and set your own 'look and feel' of the game. It is aimed for -children aged 10+ because of the difficulty, but of course everyone -is welcome to try. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kanagram -%defattr(-,root,root,-) -%{tde_bindir}/kanagram -%{tde_tdeappdir}/kanagram.desktop -%{tde_datadir}/apps/kanagram/ -%{tde_datadir}/config.kcfg/kanagram.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kanagram.png -%{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz -%{tde_tdedocdir}/HTML/en/kanagram/ - -########## - -%package -n trinity-kbruch -Summary: Fraction calculation teaching tool for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kbruch -KBruch is a small program to practice calculating with fractions. -Different exercises are provided for this purpose. The program -checks the user's input and gives feedback. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kbruch -%defattr(-,root,root,-) -%{tde_bindir}/kbruch -%{tde_datadir}/apps/kbruch/ -%{tde_tdeappdir}/kbruch.desktop -%{tde_datadir}/config.kcfg/kbruch.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kbruch.png -%{tde_datadir}/icons/hicolor/scalable/apps/kbruch.svgz -%{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png -%{tde_tdedocdir}/HTML/en/kbruch/ - -########## - -%package -n trinity-keduca -Summary: Interactive form-based tests for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-keduca -KEduca is a flash-card application which allows you to make -interactive form-based tests. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-keduca -%defattr(-,root,root,-) -%{tde_bindir}/keduca -%{tde_bindir}/keducabuilder -%{tde_tdelibdir}/libkeducapart.la -%{tde_tdelibdir}/libkeducapart.so -%{tde_tdeappdir}/keduca.desktop -%{tde_tdeappdir}/keducabuilder.desktop -%{tde_datadir}/apps/keduca/ -%{tde_datadir}/config.kcfg/keduca.kcfg -%{tde_datadir}/icons/hicolor/*/apps/keduca.png -%{tde_datadir}/mimelnk/application/x-edu.desktop -%{tde_datadir}/mimelnk/application/x-edugallery.desktop -%{tde_datadir}/services/keduca_part.desktop -%{tde_tdedocdir}/HTML/en/keduca/ - -########## - -%package -n trinity-kgeography -Summary: Geography learning tool for Trinity -Group: System/GUI/Other -Requires: trinity-kgeography-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kgeography -KGeography contains maps allowing you to learn various countries or -the political divisions of several countries. It has several modes, -including a map browser and games involving the names, capitals, or -flags of the map divisions. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kgeography -%defattr(-,root,root,-) -%{tde_bindir}/kgeography -%{tde_tdeappdir}/kgeography.desktop -%{tde_datadir}/config.kcfg/kgeography.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kgeography.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/kgeography.svgz -%{tde_datadir}/icons/hicolor/*/apps/kgeography.png -%{tde_tdedocdir}/HTML/en/kgeography - -########## - -%package -n trinity-kgeography-data -Summary: Data files for KGeography -Group: System/GUI/Other - -%description -n trinity-kgeography-data -This package contains architecture-independent data files for -KGeography, the geography learning tool for TDE. This includes map -and flag images. - -See the kgeography package for further information. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kgeography-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kgeography/ - -########## - -%package -n trinity-khangman -Summary: The classical hangman game for Trinity -Group: System/GUI/Other -#Requires: dustin-dustismo-sans-fonts -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-khangman -KHangMan is a game based on the well known hangman game. It is aimed -for children aged 6 and above. It has four levels of difficulty: -Animals (animals words), Easy, Medium and Hard. - -A word is picked at random and the letters are hidden. You must -guess the word by trying one letter after another. Each time you -guess a wrong letter, a picture of a hangman is drawn. You must -guess the word before getting hanged! You have 10 tries. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-khangman -%defattr(-,root,root,-) -%{tde_confdir}/khangmanrc -%{tde_bindir}/khangman -%{tde_tdeappdir}/khangman.desktop -%{tde_datadir}/apps/khangman/ -%{tde_datadir}/config.kcfg/khangman.kcfg -%{tde_datadir}/icons/hicolor/*/apps/khangman.png -%{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz -%{tde_tdedocdir}/HTML/en/khangman/ - -########## - -%package -n trinity-kig -Summary: Interactive geometry program for TDE -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kig -Kig is an application for interactive geometry. It is intended to -serve two purposes: - -- to allow students to interactively explore mathematical figures and - concepts using the computer; -- to serve as a WYSIWYG tool for drawing mathematical figures and - including them in other documents. - -With this program you can do geometry on a computer just like you -would on a blackboard in a classroom. However, the program allows -you to move and change parts of a geometrical drawing so that you can -see how the other parts change as a result. - -Kig supports loci and user-defined macros. It also supports imports -and exports to/from foreign file formats including Cabri, Dr. Geo, -KGeo, KSeg and XFig. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kig -%defattr(-,root,root,-) -%{tde_confdir}/magic/cabri.magic -%{tde_confdir}/magic/drgeo.magic -%{tde_bindir}/kig -%{tde_bindir}/pykig.py* -%{tde_tdelibdir}/tdefile_drgeo.la -%{tde_tdelibdir}/tdefile_drgeo.so -%{tde_tdelibdir}/tdefile_kig.la -%{tde_tdelibdir}/tdefile_kig.so -%{tde_tdelibdir}/libkigpart.la -%{tde_tdelibdir}/libkigpart.so -%{tde_tdeappdir}/kig.desktop -%if 0%{?with_kig} -%{tde_datadir}/apps/katepart/syntax/python-kig.xml -%endif -%{tde_datadir}/apps/kig/ -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kig_doc.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kig_doc.svgz -%{tde_datadir}/icons/hicolor/*/apps/kig.png -%{tde_datadir}/icons/hicolor/scalable/apps/kig.svgz -%{tde_datadir}/mimelnk/application/x-cabri.desktop -%{tde_datadir}/mimelnk/application/x-drgeo.desktop -%{tde_datadir}/mimelnk/application/x-kig.desktop -%{tde_datadir}/mimelnk/application/x-kgeo.desktop -%{tde_datadir}/mimelnk/application/x-kseg.desktop -%{tde_datadir}/services/tdefile_drgeo.desktop -%{tde_datadir}/services/tdefile_kig.desktop -%{tde_datadir}/services/kig_part.desktop -%{tde_tdedocdir}/HTML/en/kig/ -%{tde_confdir}/magic/cabri.magic.mgc -%{tde_confdir}/magic/drgeo.magic.mgc - -########## - -%package -n trinity-kiten -Summary: Japanese reference/study tool for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} -#Requires: ttf-kochi-gothic | ttf-kochi-mincho - -%description -n trinity-kiten -Kiten is a Japanese reference and study tool for TDE. It is an -application with multiple functions. Firstly, it is a convenient -English to Japanese and Japanese to English dictionary. Secondly, it -is a Kanji dictionary, with multiple ways to look up specific -characters. Thirdly, it is a tool to help you learn Kanji. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kiten -%defattr(-,root,root,-) -%{tde_bindir}/kiten -%{tde_bindir}/kitengen -%{tde_tdeappdir}/kiten.desktop -%{tde_tdedocdir}/HTML/en/kiten/ -%{tde_datadir}/icons/hicolor/*/apps/kiten.png -%{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz - -########## - -%package -n trinity-klatin -Summary: Application to help revise/teach Latin -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-klatin -KLatin is a program to help revise Latin. There are three "sections" -in which different aspects of the language can be revised. These are -the vocabulary, grammar and verb testing sections. In addition there -is a set of revision notes that can be used for self-guided revision. - -In the vocabulary section an XML file is loaded containing various -words and their local language translations. KLatin asks you what -each of these words translate into. The questions take place in a -multiple-choice environment. - -In the grammar and verb sections KLatin asks for a particular part of -a noun or a verb, such as the "ablative singular", or the "1st person -indicative passive plural", and is not multiple choice. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-klatin -%defattr(-,root,root,-) -%{tde_bindir}/klatin -%{tde_tdeappdir}/klatin.desktop -%{tde_datadir}/apps/klatin/ -%{tde_datadir}/config.kcfg/klatin.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klatin.png -%{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz -%{tde_tdedocdir}/HTML/en/klatin/ - -########## - -%package -n trinity-klettres -Summary: Foreign alphabet tutor for Trinity -Group: System/GUI/Other -Requires: trinity-klettres-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-klettres -KLettres is an application specially designed to help the user to -learn the alphabet in a new language and then to learn to read simple -syllables. The user can be a young child aged from two and a half or -an adult that wants to learn the basics of a foreign language. - -Seven languages are currently available: Czech, Danish, Dutch, -English, French, Italian and Slovak. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-klettres -%defattr(-,root,root,-) -%{tde_confdir}/klettresrc -%{tde_bindir}/klettres -%{tde_tdeappdir}/klettres.desktop -%{tde_datadir}/config.kcfg/klettres.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klettres.png -%{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz -%{tde_tdedocdir}/HTML/en/klettres/ - -########## - -%package -n trinity-klettres-data -Summary: Data files for KLettres foreign alphabet tutor -Group: System/GUI/Other - -%description -n trinity-klettres-data -This package contains architecture-independent data files for -KLettres, the foreign alphabet tutor for TDE. This includes sound -files and graphics. - -See the klettres package for further information. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-klettres-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/klettres/ - -########## - -%package -n trinity-kmplot -Summary: Mathematical function plotter for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kmplot -KmPlot is a mathematical function plotter for TDE. It has a powerful -built-in parser. You can plot different functions simultaneously and -combine them to build new functions. - -KmPlot supports parametric functions and functions in polar -coordinates. Several grid modes are supported. Plots may be printed -with high precision in the correct scale. - -KmPlot also provides some numerical and visual features, like filling -and calculating the area between the plot and the first axis, finding -maximum and minimum values, changing function parameters dynamically -and plotting derivatives and integral functions. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kmplot -%defattr(-,root,root,-) -%{tde_bindir}/kmplot -%{tde_tdelibdir}/libkmplotpart.la -%{tde_tdelibdir}/libkmplotpart.so -%{tde_tdeappdir}/kmplot.desktop -%{tde_datadir}/apps/kmplot/ -%{tde_datadir}/config.kcfg/kmplot.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kmplot.png -%{tde_datadir}/icons/hicolor/scalable/apps/kmplot.svgz -%{tde_datadir}/mimelnk/application/x-kmplot.desktop -%{tde_datadir}/services/kmplot_part.desktop -%{tde_tdedocdir}/HTML/en/kmplot/ - -########## - -%package -n trinity-kpercentage -Summary: Percentage calculation teaching tool for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kpercentage -KPercentage is a small math application that will help pupils to -improve their skills in calculating percentages. - -There is a special training section for the three basic tasks. -Finally the pupil can select a random mode, in which all three tasks -are mixed randomly. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kpercentage -%defattr(-,root,root,-) -%{tde_bindir}/kpercentage -%{tde_tdeappdir}/kpercentage.desktop -%{tde_datadir}/apps/kpercentage/ -%{tde_datadir}/icons/hicolor/*/apps/kpercentage.png -%{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz -%{tde_tdedocdir}/HTML/en/kpercentage/ - -########## - -%package -n trinity-kstars -Summary: Desktop planetarium for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} -Requires: trinity-kstars-data = %{version}-%{release} -Requires: trinity-indi = %{version}-%{release} - -%description -n trinity-kstars -KStars is a graphical desktop planetarium for TDE. It depicts an -accurate simulation of the night sky, including stars, -constellations, star clusters, nebulae, galaxies, all planets, the -Sun, the Moon, comets and asteroids. You can see the sky as it -appears from any location on Earth, on any date. - -The user interface is highly intuitive and flexible. The display can -be panned and zoomed with the mouse, and you can easily identify -objects and track their motion across the sky. KStars includes many -powerful features, yet the interface is clean and simple and fun to -use. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kstars -%defattr(-,root,root,-) -%{tde_confdir}/kstarsrc -%{tde_bindir}/kstars -%{tde_tdeappdir}/kstars.desktop -%{tde_datadir}/config.kcfg/kstars.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kstars.png -%{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz -%{tde_tdedocdir}/HTML/en/kstars/ - -########## - -%package -n trinity-kstars-data -Summary: Data files for KStars desktop planetarium -Group: System/GUI/Other - -%description -n trinity-kstars-data -This package contains architecture-independent data files for KStars, -the graphical desktop planetarium for TDE. This includes star -catalogues and astronomical images. - -See the kstars package for further information. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kstars-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kstars/ - -########## - -%package -n trinity-ktouch -Summary: Touch typing tutor for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-ktouch -KTouch is a program for learning touch typing - it helps you learn to -type on a keyboard quickly and correctly. Every finger has its place -on the keyboard with associated keys to press. - -KTouch helps you learn to touch type by providing you with text to -train on, and adjusts to different levels depending on how good you -are. It can display which key to press next, and the correct finger -to use. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-ktouch -%defattr(-,root,root,-) -%{tde_bindir}/ktouch -%{tde_tdeappdir}/ktouch.desktop -%{tde_datadir}/apps/ktouch/ -%{tde_datadir}/config.kcfg/ktouch.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ktouch.png -%{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz -%{tde_tdedocdir}/HTML/en/ktouch/ - -########## - -%package -n trinity-kturtle -Summary: Educational Logo programming environment -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kturtle -KTurtle is an educational programming environment using the Logo -programming language. It tries to make programming as easy and -accessible as possible. This makes KTurtle suitable for teaching -kids the basics of mathematics, geometry and programming. - -The commands used to program are in the style of the Logo programming -language. The unique feature of Logo is that the commands are often -translated into the speaking language of the programmer. - -KTurtle is named after "the turtle" that plays a central role in the -programming environment. The user programs the turtle, using the -Logo commands, to draw a picture on the canvas. - -Note that this version of Logo is only focused on the educational -qualities of the programming language and will not try to suit -professional programmers' needs. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kturtle -%defattr(-,root,root,-) -%{tde_bindir}/kturtle -%{tde_tdeappdir}/kturtle.desktop -%{tde_datadir}/apps/katepart/syntax/logohighlightstyle* -%{tde_datadir}/apps/kturtle/ -%{tde_datadir}/config.kcfg/kturtle.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kturtle.png -%{tde_tdedocdir}/HTML/en/kturtle/ - -########## - -%package -n trinity-kverbos -Summary: Spanish verb form study application for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kverbos -Kverbos allows the user to learn the forms of Spanish verbs. The -program suggests a verb and a time and the user enters the different -verb forms. The program corrects the user input and gives feedback. - -The user can edit the list of the verbs that can be studied. The -program can build regular verb forms by itself. Irregular verb forms -have to be entered by the user. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kverbos -%defattr(-,root,root,-) -%{tde_bindir}/kverbos -%{tde_tdeappdir}/kverbos.desktop -%{tde_datadir}/apps/kverbos/ -%{tde_datadir}/config.kcfg/kverbos.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/kverbosuser.png -%{tde_datadir}/icons/hicolor/*/apps/kverbos.png -%{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz -%{tde_tdedocdir}/HTML/en/kverbos/ - -########## - -%package -n trinity-kvoctrain -Summary: Vocabulary trainer for Trinity -Group: System/GUI/Other -Requires: perl -Requires: perl-libwww-perl -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kvoctrain -KVocTrain is a little utility to help you train your vocabulary when -you are trying to learn a foreign language. You can create your own -database with the words you need. It is intended as a replacement -for index (flash) cards. - -You probably remember flashcards from school. The teacher would -write the original expression on the front side of the card and the -translation on the back. Then look at the cards one after another. -If you knew the translation, you could put it away. If you failed, -you put it back to try again. - -KVocTrain is not intended to teach you grammar or other sophisticated -things. This is and probably will stay beyond the scope of this -application. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kvoctrain -%defattr(-,root,root,-) -%{tde_confdir}/kvoctrainrc -%{tde_bindir}/kvoctrain -%{tde_bindir}/spotlight2kvtml -%{tde_libdir}/libkvoctraincore.so.* -%{tde_tdeappdir}/kvoctrain.desktop -%{tde_datadir}/apps/kvoctrain/ -%{tde_datadir}/mimelnk/text/x-kvtml.desktop -%{tde_datadir}/config.kcfg/kvoctrain.kcfg -%{tde_datadir}/config.kcfg/languagesettings.kcfg -%{tde_datadir}/config.kcfg/presettings.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png -%{tde_tdedocdir}/HTML/en/kvoctrain/ - -########## - -%package -n trinity-kwordquiz -Summary: Flashcard and vocabulary learning program for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kwordquiz -KWordQuiz is a flashcard-based tool that helps you to master new -vocabularies. It may be a language or any other kind of terminology. - -KWordQuiz can open several types of vocabulary data. Supported are -kvtml files used by other TDE programs such as KVocTrain, wql files -used by WordQuiz for Windows, csv files with comma-separated text, -and xml.gz files created by Pauker (http://pauker.sourceforge.net). - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kwordquiz -%defattr(-,root,root,-) -%{tde_confdir}/kwordquizrc -%{tde_bindir}/kwordquiz -%{tde_tdeappdir}/kwordquiz.desktop -%{tde_datadir}/apps/kwordquiz/ -%{tde_datadir}/config.kcfg/kwordquiz.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kwordquiz.png -%{tde_datadir}/icons/hicolor/scalable/apps/kwordquiz.svg -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kwordquiz_doc.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kwordquiz_doc.svg -%{tde_datadir}/mimelnk/application/x-kwordquiz.desktop -%{tde_tdedocdir}/HTML/en/kwordquiz/ - -########## - -%package -n trinity-libtdeedu3 -Summary: Library for use with Trinity educational apps -Group: System/GUI/Other - -%description -n trinity-libtdeedu3 -The TDE-based library libtdeedu is used with educational -applications. It currently provides support for data plotting and -vocabulary items (including a parser for kvtml vocabulary files). - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-libtdeedu3 -%defattr(-,root,root,-) -%{tde_libdir}/libextdate.so.* -%{tde_libdir}/libtdeeducore.so.* -%{tde_libdir}/libtdeeduplot.so.* -%{tde_libdir}/libtdeeduui.so.* - -########## - -%package -n trinity-libtdeedu-devel -Summary: Development files for Trinity educational library -Group: Development/Libraries/Other -Requires: trinity-libtdeedu3 = %{version}-%{release} - -%description -n trinity-libtdeedu-devel -The TDE-based library libtdeedu is used with educational -applications. It currently provides support for data plotting and -vocabulary items (including a parser for kvtml vocabulary files). - -Development files for libtdeedu are included in this package. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-libtdeedu-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/libtdeedu/ -%{tde_libdir}/libextdate.la -%{tde_libdir}/libextdate.so -%{tde_libdir}/libtdeeducore.la -%{tde_libdir}/libtdeeducore.so -%{tde_libdir}/libtdeeduui.la -%{tde_libdir}/libtdeeduui.so -%{tde_libdir}/libtdeeduplot.la -%{tde_libdir}/libtdeeduplot.so - -########## - -%package -n trinity-libkiten1 -Summary: Library for Kiten Japanese reference/study tool -Group: System/GUI/Other -#Requires: kanjidic - -%description -n trinity-libkiten1 -Kiten is a Japanese reference/study tool for TDE. The library -libkiten contains portions of Kiten that may be useful for other -applications. These portions include dictionary, character lookup -and widget classes. - -This package contains the libkiten library along with supporting -data, such as Japanese language data files and GUI resource files. -For further information, see the kiten package. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-libkiten1 -%defattr(-,root,root,-) -%{tde_libdir}/libkiten.so.* -%{tde_datadir}/apps/kiten/ -%{tde_datadir}/config.kcfg/kiten.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/kanjidic.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_add.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_remove.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/kanjidic.png -%{tde_datadir}/icons/locolor/16x16/actions/edit_add.png -%{tde_datadir}/icons/locolor/16x16/actions/edit_remove.png - -########## - -%package -n trinity-libkiten-devel -Summary: Development files for Kiten library -Group: Development/Libraries/Other -Requires: trinity-libkiten1 = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{version} - -%description -n trinity-libkiten-devel -Kiten is a Japanese reference/study tool for TDE. The library -libkiten contains portions of Kiten that may be useful for other -applications. These portions include dictionary, character lookup -and widget classes. - -Development files for libkiten are included in this package. For -further information, see the kiten package. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-libkiten-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/libkiten/ -%{tde_libdir}/libkiten.la -%{tde_libdir}/libkiten.so - -########## - -%package -n trinity-indi -Summary: Instrument Neutral Distributed Interface for astronomical devices -Group: System/GUI/Other - -%description -n trinity-indi -INDI is an Instrument Neutral Distributed Interface control protocol for -astronomical devices, which provides a framework that decouples low level -hardware drivers from high level front end clients. Clients that use the -device drivers are completely unaware of the device capabilities and -communicate with the device drivers and build a completely dynamic GUI -based on the services provided by the device. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-indi -%defattr(-,root,root,-) -%{tde_bindir}/apmount -%{tde_bindir}/apogee_ppi -%{tde_bindir}/celestrongps -%{tde_bindir}/fliccd -%{tde_bindir}/fliwheel -%{tde_bindir}/indiserver -%{tde_bindir}/lx200_16 -%{tde_bindir}/lx200autostar -%{tde_bindir}/lx200basic -%{tde_bindir}/lx200classic -%{tde_bindir}/lx200generic -%{tde_bindir}/lx200gps -%{tde_bindir}/meade_lpi -%{tde_bindir}/sbigccd -%{tde_bindir}/skycommander -%{tde_bindir}/temma -%{tde_bindir}/v4ldriver -%{tde_bindir}/v4lphilips - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries/Other -Requires: %{name} = %{version}-%{release} -Requires: trinity-libtdeedu-devel = %{version}-%{release} -Requires: trinity-libkiten-devel = %{version}-%{release} - -Obsoletes: trinity-kdeedu-devel < %{version}-%{release} -Provides: trinity-kdeedu-devel = %{version}-%{release} - -%description devel -This package contains the development files for tdeedu. - -%files devel -%defattr(-,root,root,-) -%doc libtdeedu/AUTHORS libtdeedu/README -# kstars -%{tde_tdeincludedir}/kstarsinterface.h -%{tde_tdeincludedir}/simclockinterface.h -# kvoctrain -%{tde_libdir}/libkvoctraincore.la -%{tde_libdir}/libkvoctraincore.so - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%if 0%{?fedora} >= 30 -# Fix shebangs -sed -i "kig/pykig/pykig.py" \ - -e "s|env python|env python3|" -%endif - -# RHEL5 strange FTBFS on V4L stuff -%if 0%{?rhel} == 5 -%__sed -i "admin/acinclude.m4.in" -e "s|-ansi||" -%endif - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export kde_confdir="%{tde_confdir}" - -# Specific path for RHEL4 -if [ -d "/usr/X11R6" ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" - export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -# Warning: GCC visibility causes FTBFS [Bug #1285] -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ -%if 0%{?with_kig} - --enable-kig-python-scripting \ -%else - --disable-kig-python-scripting \ -%endif - --enable-ocamlsolver - -%__make %{_smp_mflags} \ - OCAMLLIB=$(ocamlc -where) \ - FACILELIB=$(ocamlc -where) - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r khangman Education Languages Game KidsGame -%suse_update_desktop_file kiten Education Languages -%suse_update_desktop_file klatin Education Languages -%suse_update_desktop_file klettres Education Languages -%suse_update_desktop_file kverbos Education Languages -%suse_update_desktop_file kvoctrain Education Languages -%suse_update_desktop_file kwordquiz Education Languages -%suse_update_desktop_file kbruch Education Math -%suse_update_desktop_file kig Education Math -%suse_update_desktop_file kmplot Education Math -%suse_update_desktop_file kturtle Education Math -%suse_update_desktop_file kpercentage Education Math -%suse_update_desktop_file kalzium Education Chemistry -%suse_update_desktop_file kstars Education Astronomy -%suse_update_desktop_file keduca Education Teaching -%suse_update_desktop_file keducabuilder Education Teaching -%suse_update_desktop_file ktouch Education Teaching -%suse_update_desktop_file -r blinken Education Teaching Game KidsGame -%suse_update_desktop_file kgeography Education Teaching -%suse_update_desktop_file -r kanagram Education Languages Game KidsGame -%endif - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdeedu/tdeedu.spec b/redhat/main/tdeedu/tdeedu.spec new file mode 100644 index 000000000..aaf41572f --- /dev/null +++ b/redhat/main/tdeedu/tdeedu.spec @@ -0,0 +1,1175 @@ +# +# spec file for package tdeedu (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.7 +%endif +%define tde_pkg tdeedu +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Summary: Educational/Edutainment applications +Group: System/GUI/Other +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: desktop-file-utils + +# 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: gcc-c++ +BuildRequires: fdupes + +# PYTHON support +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || 0%{?suse_version} >= 1500 +%define python python3 +%define __python %__python2 +%else +%define python python +%endif +BuildRequires: %{python} +BuildRequires: %{python}-devel + +# BOOST support +BuildRequires: boost-devel + +# OCAML support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: ocaml(compiler) +#BuildRequires: ocaml-facile-devel +%else +BuildRequires: ocaml +#BuildRequires: ocaml-facile-devel +%endif + +# KIG python scripting support +%define with_kig 1 + +Obsoletes: trinity-kdeedu < %{version}-%{release} +Provides: trinity-kdeedu = %{version}-%{release} +Obsoletes: trinity-kdeedu-libs < %{version}-%{release} +Provides: trinity-kdeedu-libs = %{version}-%{release} + +# Meta-package +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-blinken = %{version}-%{release} +Requires: trinity-kalzium = %{version}-%{release} +Requires: trinity-kalzium-data = %{version}-%{release} +Requires: trinity-kanagram = %{version}-%{release} +Requires: trinity-kbruch = %{version}-%{release} +Requires: trinity-keduca = %{version}-%{release} +Requires: trinity-kgeography = %{version}-%{release} +Requires: trinity-kgeography-data = %{version}-%{release} +Requires: trinity-khangman = %{version}-%{release} +Requires: trinity-kig = %{version}-%{release} +Requires: trinity-kiten = %{version}-%{release} +Requires: trinity-klatin = %{version}-%{release} +Requires: trinity-klettres = %{version}-%{release} +Requires: trinity-klettres-data = %{version}-%{release} +Requires: trinity-kmplot = %{version}-%{release} +Requires: trinity-kpercentage = %{version}-%{release} +Requires: trinity-kstars = %{version}-%{release} +Requires: trinity-kstars-data = %{version}-%{release} +Requires: trinity-ktouch = %{version}-%{release} +Requires: trinity-kturtle = %{version}-%{release} +Requires: trinity-kverbos = %{version}-%{release} +Requires: trinity-kvoctrain = %{version}-%{release} +Requires: trinity-kwordquiz = %{version}-%{release} +Requires: trinity-libtdeedu3 = %{version}-%{release} +Requires: trinity-libkiten1 = %{version}-%{release} +Requires: trinity-indi = %{version}-%{release} + + +%description +Educational/Edutainment applications, including: +* blinken: Simon Says Game +* kalzium: Periodic Table of Elements +* kanagram: Letter Order Game +* kbruch: Exercise Fractions +* keduca: Tests and Exams +* kgeography: Geography Trainer +* khangman: Hangman Game +* kig: Interactive Geometry +* kiten: Japanese Reference/Study Tool +* klatin: Latin Reviser +* klettres: French alphabet tutor +* kmplot: Mathematical Function Plotter +* kpercentage: Excersie Percentages +* kstars: Desktop Planetarium +* ktouch: Touch Typing Tutor +* kturtle: Logo Programming Environment +* kverbos: Study Spanish Verbforms +* kvoctrain: Vocabulary Trainer +* kwordquiz: Vocabulary Trainer + +%files +%defattr(-,root,root,-) +%doc COPYING README + +########## + +%package data +Summary: Shared data for Trinity educational applications +Group: System/GUI/Other + +%description data +This package contains shared data necessary for running the +educational applications provided with TDE (the Trinity Desktop +Environment). + +This package is part of Trinity, as a component of the TDE education module. + +%files data +%defattr(-,root,root,-) +%{tde_datadir}/applnk/Edutainment/Languages/.directory +%{tde_datadir}/applnk/Edutainment/Miscellaneous/.directory +%{tde_datadir}/applnk/Edutainment/Mathematics/.directory +%{tde_datadir}/applnk/Edutainment/Science/.directory +%{tde_datadir}/applnk/Edutainment/Tools/.directory + +########## + +%package -n trinity-blinken +Summary: Trinity version of the Simon Says electronic memory game +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-blinken +Blinken is based on an electronic game released in 1978, which +challenges players to remember sequences of increasing length. On +the face of the device, there are 4 different color buttons, each +with its own distinctive sound. These buttons light up randomly, +creating the sequence that the player must then recall. If the +player is successful in remembering the sequence of lights in the +correct order, they advance to the next stage, where an identical +sequence with one extra step is presented. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-blinken +%defattr(-,root,root,-) +%{tde_bindir}/blinken +%{tde_tdeappdir}/blinken.desktop +%{tde_datadir}/apps/blinken/ +%{tde_datadir}/config.kcfg/blinken.kcfg +%{tde_datadir}/icons/hicolor/*/apps/blinken.png +%{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz +%{tde_tdedocdir}/HTML/en/blinken/ +%{tde_mandir}/man1/blinken* + +########## + +%package -n trinity-kalzium +Summary: Chemistry teaching tool for Trinity +Group: System/GUI/Other +Requires: trinity-kalzium-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kalzium +Kalzium is a program which shows you the Periodic System of Elements +(PSE). You can use Kalzium to search for information about the +elements or to learn facts about the PSE. + +Kalzium provides you with all kinds of information about the PSE. +You can look up lots of information about the elements and also use +visualisations to show them. + +You can visualise the Periodic Table of the Elements by blocks, +groups, acidic behavior or different states of matter. You can also +plot data for a range of elements (weight, mean weight, density, IE1, +IE2, electronegativity), and you can go back in time to see what +elements were known at a given date. In addition, on platforms where +OCaml supports native code generation, Kalzium includes a chemical +equation solver. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kalzium +%defattr(-,root,root,-) +%{tde_bindir}/kalzium +%{tde_tdeappdir}/kalzium.desktop +%{tde_datadir}/config.kcfg/kalzium.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kalzium.png +%{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz +%{tde_tdedocdir}/HTML/en/kalzium/ +%{tde_mandir}/man1/kalzium* + +########## + +%package -n trinity-kalzium-data +Summary: Data files for Kalzium +Group: System/GUI/Other + +%description -n trinity-kalzium-data +This package contains architecture-independent data files for +Kalzium, the TDE periodic table application. This includes pictures +of various chemical equipment and of samples of several elements, in +addition to the actual chemical data. + +See the kalzium package for further information. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kalzium-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kalzium/ + +########## + +%package -n trinity-kanagram +Summary: Letter order game for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kanagram +KAnagram is a game that is based on the word/letter puzzles that the +author played as a child. A word is picked at random and displayed +with its letters in a messed order, with difficulty dependent on the +chosen level. You have an unlimited number of attempts, and scores +are kept. + +It is a very simply constructed game, with 3 difficulty levels of +play. It is fully customizable, allowing you to write in your own +words and set your own 'look and feel' of the game. It is aimed for +children aged 10+ because of the difficulty, but of course everyone +is welcome to try. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kanagram +%defattr(-,root,root,-) +%{tde_bindir}/kanagram +%{tde_tdeappdir}/kanagram.desktop +%{tde_datadir}/apps/kanagram/ +%{tde_datadir}/config.kcfg/kanagram.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kanagram.png +%{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz +%{tde_tdedocdir}/HTML/en/kanagram/ +%{tde_mandir}/man1/kanagram* + +########## + +%package -n trinity-kbruch +Summary: Fraction calculation teaching tool for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kbruch +KBruch is a small program to practice calculating with fractions. +Different exercises are provided for this purpose. The program +checks the user's input and gives feedback. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kbruch +%defattr(-,root,root,-) +%{tde_bindir}/kbruch +%{tde_datadir}/apps/kbruch/ +%{tde_tdeappdir}/kbruch.desktop +%{tde_datadir}/config.kcfg/kbruch.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kbruch.png +%{tde_datadir}/icons/hicolor/scalable/apps/kbruch.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png +%{tde_tdedocdir}/HTML/en/kbruch/ +%{tde_mandir}/man1/kbruch* + +########## + +%package -n trinity-keduca +Summary: Interactive form-based tests for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-keduca +KEduca is a flash-card application which allows you to make +interactive form-based tests. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-keduca +%defattr(-,root,root,-) +%{tde_bindir}/keduca +%{tde_bindir}/keducabuilder +%{tde_bindir}/keduca-shrinker +%{tde_tdelibdir}/libkeducapart.la +%{tde_tdelibdir}/libkeducapart.so +%{tde_tdeappdir}/keduca.desktop +%{tde_tdeappdir}/keducabuilder.desktop +%{tde_datadir}/apps/keduca/ +%{tde_datadir}/config.kcfg/keduca.kcfg +%{tde_datadir}/icons/hicolor/*/apps/keduca.png +%{tde_datadir}/mimelnk/application/x-edu.desktop +%{tde_datadir}/mimelnk/application/x-edugallery.desktop +%{tde_datadir}/services/keduca_part.desktop +%{tde_tdedocdir}/HTML/en/keduca/ +%{tde_mandir}/man1/keduca* + +########## + +%package -n trinity-kgeography +Summary: Geography learning tool for Trinity +Group: System/GUI/Other +Requires: trinity-kgeography-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kgeography +KGeography contains maps allowing you to learn various countries or +the political divisions of several countries. It has several modes, +including a map browser and games involving the names, capitals, or +flags of the map divisions. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kgeography +%defattr(-,root,root,-) +%{tde_bindir}/kgeography +%{tde_bindir}/kgeography_gen_map.pl +%{tde_tdeappdir}/kgeography.desktop +%{tde_datadir}/config.kcfg/kgeography.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/kgeography.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/kgeography.svgz +%{tde_datadir}/icons/hicolor/*/apps/kgeography.png +%{tde_tdedocdir}/HTML/en/kgeography +%{tde_mandir}/man1/kgeography* + +########## + +%package -n trinity-kgeography-data +Summary: Data files for KGeography +Group: System/GUI/Other + +%description -n trinity-kgeography-data +This package contains architecture-independent data files for +KGeography, the geography learning tool for TDE. This includes map +and flag images. + +See the kgeography package for further information. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kgeography-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kgeography/ + +########## + +%package -n trinity-khangman +Summary: The classical hangman game for Trinity +Group: System/GUI/Other +#Requires: dustin-dustismo-sans-fonts +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-khangman +KHangMan is a game based on the well known hangman game. It is aimed +for children aged 6 and above. It has four levels of difficulty: +Animals (animals words), Easy, Medium and Hard. + +A word is picked at random and the letters are hidden. You must +guess the word by trying one letter after another. Each time you +guess a wrong letter, a picture of a hangman is drawn. You must +guess the word before getting hanged! You have 10 tries. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-khangman +%defattr(-,root,root,-) +%{tde_confdir}/khangmanrc +%{tde_bindir}/khangman +%{tde_tdeappdir}/khangman.desktop +%{tde_datadir}/apps/khangman/ +%{tde_datadir}/config.kcfg/khangman.kcfg +%{tde_datadir}/icons/hicolor/*/apps/khangman.png +%{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz +%{tde_tdedocdir}/HTML/en/khangman/ +%{tde_mandir}/man1/khangman* + +########## + +%package -n trinity-kig +Summary: Interactive geometry program for TDE +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kig +Kig is an application for interactive geometry. It is intended to +serve two purposes: + +- to allow students to interactively explore mathematical figures and + concepts using the computer; +- to serve as a WYSIWYG tool for drawing mathematical figures and + including them in other documents. + +With this program you can do geometry on a computer just like you +would on a blackboard in a classroom. However, the program allows +you to move and change parts of a geometrical drawing so that you can +see how the other parts change as a result. + +Kig supports loci and user-defined macros. It also supports imports +and exports to/from foreign file formats including Cabri, Dr. Geo, +KGeo, KSeg and XFig. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kig +%defattr(-,root,root,-) +%{tde_confdir}/magic/cabri.magic +%{tde_confdir}/magic/drgeo.magic +%{tde_bindir}/kig +%{tde_bindir}/pykig.py* +%{tde_tdelibdir}/tdefile_drgeo.la +%{tde_tdelibdir}/tdefile_drgeo.so +%{tde_tdelibdir}/tdefile_kig.la +%{tde_tdelibdir}/tdefile_kig.so +%{tde_tdelibdir}/libkigpart.la +%{tde_tdelibdir}/libkigpart.so +%{tde_tdeappdir}/kig.desktop +%if 0%{?with_kig} +%{tde_datadir}/apps/katepart/syntax/python-kig.xml +%endif +%{tde_datadir}/apps/kig/ +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kig_doc.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kig_doc.svgz +%{tde_datadir}/icons/hicolor/*/apps/kig.png +%{tde_datadir}/icons/hicolor/scalable/apps/kig.svgz +%{tde_datadir}/mimelnk/application/x-cabri.desktop +%{tde_datadir}/mimelnk/application/x-drgeo.desktop +%{tde_datadir}/mimelnk/application/x-kig.desktop +%{tde_datadir}/mimelnk/application/x-kgeo.desktop +%{tde_datadir}/mimelnk/application/x-kseg.desktop +%{tde_datadir}/services/tdefile_drgeo.desktop +%{tde_datadir}/services/tdefile_kig.desktop +%{tde_datadir}/services/kig_part.desktop +%{tde_tdedocdir}/HTML/en/kig/ +%{tde_confdir}/magic/cabri.magic.mgc +%{tde_confdir}/magic/drgeo.magic.mgc +%{tde_mandir}/man1/kig* + +########## + +%package -n trinity-kiten +Summary: Japanese reference/study tool for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} +#Requires: ttf-kochi-gothic | ttf-kochi-mincho + +%description -n trinity-kiten +Kiten is a Japanese reference and study tool for TDE. It is an +application with multiple functions. Firstly, it is a convenient +English to Japanese and Japanese to English dictionary. Secondly, it +is a Kanji dictionary, with multiple ways to look up specific +characters. Thirdly, it is a tool to help you learn Kanji. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kiten +%defattr(-,root,root,-) +%{tde_bindir}/kiten +%{tde_bindir}/kitengen +%{tde_tdeappdir}/kiten.desktop +%{tde_tdedocdir}/HTML/en/kiten/ +%{tde_datadir}/icons/hicolor/*/apps/kiten.png +%{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz +%{tde_mandir}/man1/kiten* + +########## + +%package -n trinity-klatin +Summary: Application to help revise/teach Latin +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-klatin +KLatin is a program to help revise Latin. There are three "sections" +in which different aspects of the language can be revised. These are +the vocabulary, grammar and verb testing sections. In addition there +is a set of revision notes that can be used for self-guided revision. + +In the vocabulary section an XML file is loaded containing various +words and their local language translations. KLatin asks you what +each of these words translate into. The questions take place in a +multiple-choice environment. + +In the grammar and verb sections KLatin asks for a particular part of +a noun or a verb, such as the "ablative singular", or the "1st person +indicative passive plural", and is not multiple choice. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-klatin +%defattr(-,root,root,-) +%{tde_bindir}/klatin +%{tde_tdeappdir}/klatin.desktop +%{tde_datadir}/apps/klatin/ +%{tde_datadir}/config.kcfg/klatin.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klatin.png +%{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz +%{tde_tdedocdir}/HTML/en/klatin/ +%{tde_mandir}/man1/klatin* + +########## + +%package -n trinity-klettres +Summary: Foreign alphabet tutor for Trinity +Group: System/GUI/Other +Requires: trinity-klettres-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-klettres +KLettres is an application specially designed to help the user to +learn the alphabet in a new language and then to learn to read simple +syllables. The user can be a young child aged from two and a half or +an adult that wants to learn the basics of a foreign language. + +Seven languages are currently available: Czech, Danish, Dutch, +English, French, Italian and Slovak. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-klettres +%defattr(-,root,root,-) +%{tde_confdir}/klettresrc +%{tde_bindir}/klettres +%{tde_tdeappdir}/klettres.desktop +%{tde_datadir}/config.kcfg/klettres.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klettres.png +%{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz +%{tde_tdedocdir}/HTML/en/klettres/ +%{tde_mandir}/man1/klettres* + +########## + +%package -n trinity-klettres-data +Summary: Data files for KLettres foreign alphabet tutor +Group: System/GUI/Other + +%description -n trinity-klettres-data +This package contains architecture-independent data files for +KLettres, the foreign alphabet tutor for TDE. This includes sound +files and graphics. + +See the klettres package for further information. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-klettres-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/klettres/ + +########## + +%package -n trinity-kmplot +Summary: Mathematical function plotter for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kmplot +KmPlot is a mathematical function plotter for TDE. It has a powerful +built-in parser. You can plot different functions simultaneously and +combine them to build new functions. + +KmPlot supports parametric functions and functions in polar +coordinates. Several grid modes are supported. Plots may be printed +with high precision in the correct scale. + +KmPlot also provides some numerical and visual features, like filling +and calculating the area between the plot and the first axis, finding +maximum and minimum values, changing function parameters dynamically +and plotting derivatives and integral functions. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kmplot +%defattr(-,root,root,-) +%{tde_bindir}/kmplot +%{tde_tdelibdir}/libkmplotpart.la +%{tde_tdelibdir}/libkmplotpart.so +%{tde_tdeappdir}/kmplot.desktop +%{tde_datadir}/apps/kmplot/ +%{tde_datadir}/config.kcfg/kmplot.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kmplot.png +%{tde_datadir}/icons/hicolor/scalable/apps/kmplot.svgz +%{tde_datadir}/mimelnk/application/x-kmplot.desktop +%{tde_datadir}/services/kmplot_part.desktop +%{tde_tdedocdir}/HTML/en/kmplot/ +%{tde_mandir}/man1/kmplot* + +########## + +%package -n trinity-kpercentage +Summary: Percentage calculation teaching tool for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kpercentage +KPercentage is a small math application that will help pupils to +improve their skills in calculating percentages. + +There is a special training section for the three basic tasks. +Finally the pupil can select a random mode, in which all three tasks +are mixed randomly. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kpercentage +%defattr(-,root,root,-) +%{tde_bindir}/kpercentage +%{tde_tdeappdir}/kpercentage.desktop +%{tde_datadir}/apps/kpercentage/ +%{tde_datadir}/icons/hicolor/*/apps/kpercentage.png +%{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz +%{tde_tdedocdir}/HTML/en/kpercentage/ +%{tde_mandir}/man1/kpercentage* + +########## + +%package -n trinity-kstars +Summary: Desktop planetarium for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} +Requires: trinity-kstars-data = %{version}-%{release} +Requires: trinity-indi = %{version}-%{release} + +%description -n trinity-kstars +KStars is a graphical desktop planetarium for TDE. It depicts an +accurate simulation of the night sky, including stars, +constellations, star clusters, nebulae, galaxies, all planets, the +Sun, the Moon, comets and asteroids. You can see the sky as it +appears from any location on Earth, on any date. + +The user interface is highly intuitive and flexible. The display can +be panned and zoomed with the mouse, and you can easily identify +objects and track their motion across the sky. KStars includes many +powerful features, yet the interface is clean and simple and fun to +use. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kstars +%defattr(-,root,root,-) +%{tde_confdir}/kstarsrc +%{tde_bindir}/kstars +%{tde_tdeappdir}/kstars.desktop +%{tde_datadir}/config.kcfg/kstars.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kstars.png +%{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz +%{tde_tdedocdir}/HTML/en/kstars/ +%{tde_mandir}/man1/kstars* + +########## + +%package -n trinity-kstars-data +Summary: Data files for KStars desktop planetarium +Group: System/GUI/Other + +%description -n trinity-kstars-data +This package contains architecture-independent data files for KStars, +the graphical desktop planetarium for TDE. This includes star +catalogues and astronomical images. + +See the kstars package for further information. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kstars-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kstars/ + +########## + +%package -n trinity-ktouch +Summary: Touch typing tutor for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-ktouch +KTouch is a program for learning touch typing - it helps you learn to +type on a keyboard quickly and correctly. Every finger has its place +on the keyboard with associated keys to press. + +KTouch helps you learn to touch type by providing you with text to +train on, and adjusts to different levels depending on how good you +are. It can display which key to press next, and the correct finger +to use. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-ktouch +%defattr(-,root,root,-) +%{tde_bindir}/ktouch +%{tde_tdeappdir}/ktouch.desktop +%{tde_datadir}/apps/ktouch/ +%{tde_datadir}/config.kcfg/ktouch.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ktouch.png +%{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz +%{tde_tdedocdir}/HTML/en/ktouch/ +%{tde_mandir}/man1/ktouch* + +########## + +%package -n trinity-kturtle +Summary: Educational Logo programming environment +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kturtle +KTurtle is an educational programming environment using the Logo +programming language. It tries to make programming as easy and +accessible as possible. This makes KTurtle suitable for teaching +kids the basics of mathematics, geometry and programming. + +The commands used to program are in the style of the Logo programming +language. The unique feature of Logo is that the commands are often +translated into the speaking language of the programmer. + +KTurtle is named after "the turtle" that plays a central role in the +programming environment. The user programs the turtle, using the +Logo commands, to draw a picture on the canvas. + +Note that this version of Logo is only focused on the educational +qualities of the programming language and will not try to suit +professional programmers' needs. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kturtle +%defattr(-,root,root,-) +%{tde_bindir}/kturtle +%{tde_tdeappdir}/kturtle.desktop +%{tde_datadir}/apps/katepart/syntax/logohighlightstyle* +%{tde_datadir}/apps/kturtle/ +%{tde_datadir}/config.kcfg/kturtle.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kturtle.png +%{tde_tdedocdir}/HTML/en/kturtle/ +%{tde_mandir}/man1/kturtle* + +########## + +%package -n trinity-kverbos +Summary: Spanish verb form study application for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kverbos +Kverbos allows the user to learn the forms of Spanish verbs. The +program suggests a verb and a time and the user enters the different +verb forms. The program corrects the user input and gives feedback. + +The user can edit the list of the verbs that can be studied. The +program can build regular verb forms by itself. Irregular verb forms +have to be entered by the user. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kverbos +%defattr(-,root,root,-) +%{tde_bindir}/kverbos +%{tde_tdeappdir}/kverbos.desktop +%{tde_datadir}/apps/kverbos/ +%{tde_datadir}/config.kcfg/kverbos.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/kverbosuser.png +%{tde_datadir}/icons/hicolor/*/apps/kverbos.png +%{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz +%{tde_tdedocdir}/HTML/en/kverbos/ +%{tde_mandir}/man1/kverbos* + +########## + +%package -n trinity-kvoctrain +Summary: Vocabulary trainer for Trinity +Group: System/GUI/Other +Requires: perl +Requires: perl-libwww-perl +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kvoctrain +KVocTrain is a little utility to help you train your vocabulary when +you are trying to learn a foreign language. You can create your own +database with the words you need. It is intended as a replacement +for index (flash) cards. + +You probably remember flashcards from school. The teacher would +write the original expression on the front side of the card and the +translation on the back. Then look at the cards one after another. +If you knew the translation, you could put it away. If you failed, +you put it back to try again. + +KVocTrain is not intended to teach you grammar or other sophisticated +things. This is and probably will stay beyond the scope of this +application. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kvoctrain +%defattr(-,root,root,-) +%{tde_confdir}/kvoctrainrc +%{tde_bindir}/kvoctrain +%{tde_bindir}/spotlight2kvtml +%{tde_libdir}/libkvoctraincore.so.* +%{tde_tdeappdir}/kvoctrain.desktop +%{tde_datadir}/apps/kvoctrain/ +%{tde_datadir}/mimelnk/text/x-kvtml.desktop +%{tde_datadir}/config.kcfg/kvoctrain.kcfg +%{tde_datadir}/config.kcfg/languagesettings.kcfg +%{tde_datadir}/config.kcfg/presettings.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png +%{tde_tdedocdir}/HTML/en/kvoctrain/ +%{tde_mandir}/man1/kvoctrain* +%{tde_mandir}/man1/spotlight2kvtml* + +########## + +%package -n trinity-kwordquiz +Summary: Flashcard and vocabulary learning program for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kwordquiz +KWordQuiz is a flashcard-based tool that helps you to master new +vocabularies. It may be a language or any other kind of terminology. + +KWordQuiz can open several types of vocabulary data. Supported are +kvtml files used by other TDE programs such as KVocTrain, wql files +used by WordQuiz for Windows, csv files with comma-separated text, +and xml.gz files created by Pauker (http://pauker.sourceforge.net). + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kwordquiz +%defattr(-,root,root,-) +%{tde_confdir}/kwordquizrc +%{tde_bindir}/kwordquiz +%{tde_tdeappdir}/kwordquiz.desktop +%{tde_datadir}/apps/kwordquiz/ +%{tde_datadir}/config.kcfg/kwordquiz.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kwordquiz.png +%{tde_datadir}/icons/hicolor/scalable/apps/kwordquiz.svg +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kwordquiz_doc.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kwordquiz_doc.svg +%{tde_datadir}/mimelnk/application/x-kwordquiz.desktop +%{tde_tdedocdir}/HTML/en/kwordquiz/ +%{tde_mandir}/man1/kwordquiz* +%{tde_mandir}/man1/langen* + +########## + +%package -n trinity-libtdeedu3 +Summary: Library for use with Trinity educational apps +Group: System/GUI/Other + +%description -n trinity-libtdeedu3 +The TDE-based library libtdeedu is used with educational +applications. It currently provides support for data plotting and +vocabulary items (including a parser for kvtml vocabulary files). + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-libtdeedu3 +%defattr(-,root,root,-) +%{tde_libdir}/libextdate.so.* +%{tde_libdir}/libtdeeducore.so.* +%{tde_libdir}/libtdeeduplot.so.* +%{tde_libdir}/libtdeeduui.so.* + +########## + +%package -n trinity-libtdeedu-devel +Summary: Development files for Trinity educational library +Group: Development/Libraries/Other +Requires: trinity-libtdeedu3 = %{version}-%{release} + +%description -n trinity-libtdeedu-devel +The TDE-based library libtdeedu is used with educational +applications. It currently provides support for data plotting and +vocabulary items (including a parser for kvtml vocabulary files). + +Development files for libtdeedu are included in this package. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-libtdeedu-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/libtdeedu/ +%{tde_libdir}/libextdate.la +%{tde_libdir}/libextdate.so +%{tde_libdir}/libtdeeducore.la +%{tde_libdir}/libtdeeducore.so +%{tde_libdir}/libtdeeduui.la +%{tde_libdir}/libtdeeduui.so +%{tde_libdir}/libtdeeduplot.la +%{tde_libdir}/libtdeeduplot.so + +########## + +%package -n trinity-libkiten1 +Summary: Library for Kiten Japanese reference/study tool +Group: System/GUI/Other +#Requires: kanjidic + +%description -n trinity-libkiten1 +Kiten is a Japanese reference/study tool for TDE. The library +libkiten contains portions of Kiten that may be useful for other +applications. These portions include dictionary, character lookup +and widget classes. + +This package contains the libkiten library along with supporting +data, such as Japanese language data files and GUI resource files. +For further information, see the kiten package. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-libkiten1 +%defattr(-,root,root,-) +%{tde_libdir}/libkiten.so.* +%{tde_datadir}/apps/kiten/ +%{tde_datadir}/config.kcfg/kiten.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/kanjidic.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_add.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_remove.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/kanjidic.png +%{tde_datadir}/icons/locolor/16x16/actions/edit_add.png +%{tde_datadir}/icons/locolor/16x16/actions/edit_remove.png + +########## + +%package -n trinity-libkiten-devel +Summary: Development files for Kiten library +Group: Development/Libraries/Other +Requires: trinity-libkiten1 = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{version} + +%description -n trinity-libkiten-devel +Kiten is a Japanese reference/study tool for TDE. The library +libkiten contains portions of Kiten that may be useful for other +applications. These portions include dictionary, character lookup +and widget classes. + +Development files for libkiten are included in this package. For +further information, see the kiten package. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-libkiten-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/libkiten/ +%{tde_libdir}/libkiten.la +%{tde_libdir}/libkiten.so + +########## + +%package -n trinity-indi +Summary: Instrument Neutral Distributed Interface for astronomical devices +Group: System/GUI/Other + +%description -n trinity-indi +INDI is an Instrument Neutral Distributed Interface control protocol for +astronomical devices, which provides a framework that decouples low level +hardware drivers from high level front end clients. Clients that use the +device drivers are completely unaware of the device capabilities and +communicate with the device drivers and build a completely dynamic GUI +based on the services provided by the device. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-indi +%defattr(-,root,root,-) +%{tde_bindir}/apmount +%{tde_bindir}/apogee_ppi +%{tde_bindir}/celestrongps +%{tde_bindir}/fliccd +%{tde_bindir}/fliwheel +%{tde_bindir}/indiserver +%{tde_bindir}/lx200_16 +%{tde_bindir}/lx200autostar +%{tde_bindir}/lx200basic +%{tde_bindir}/lx200classic +%{tde_bindir}/lx200generic +%{tde_bindir}/lx200gps +%{tde_bindir}/meade_lpi +%{tde_bindir}/sbigccd +%{tde_bindir}/skycommander +%{tde_bindir}/temma +%{tde_bindir}/v4ldriver +%{tde_bindir}/v4lphilips +%{tde_mandir}/man1/celestrongps* +%{tde_mandir}/man1/fliccd* +%{tde_mandir}/man1/indi* +%{tde_mandir}/man1/lx200* +%{tde_mandir}/man1/temma* +%{tde_mandir}/man1/v4l* + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} +Requires: trinity-libtdeedu-devel = %{version}-%{release} +Requires: trinity-libkiten-devel = %{version}-%{release} + +Obsoletes: trinity-kdeedu-devel < %{version}-%{release} +Provides: trinity-kdeedu-devel = %{version}-%{release} + +%description devel +This package contains the development files for tdeedu. + +%files devel +%defattr(-,root,root,-) +%doc libtdeedu/AUTHORS libtdeedu/README +# kstars +%{tde_tdeincludedir}/kstarsinterface.h +%{tde_tdeincludedir}/simclockinterface.h +# kvoctrain +%{tde_libdir}/libkvoctraincore.la +%{tde_libdir}/libkvoctraincore.so + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +# Fix shebangs +sed -i "kig/pykig/pykig.py" \ + -e "s|env python|env %{python}|" +%endif + + +%build +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DSYSCONF_INSTALL_DIR="%{tde_confdir}" \ + -DXDG_MENU_INSTALL_DIR="%{_sysconfdir}/xdg/menus" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_OCAML_SOLVER=OFF \ + .. + +%__make %{?_smp_mflags} || %__make + + +%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 -r khangman Education Languages Game KidsGame +%suse_update_desktop_file kiten Education Languages +%suse_update_desktop_file klatin Education Languages +%suse_update_desktop_file klettres Education Languages +%suse_update_desktop_file kverbos Education Languages +%suse_update_desktop_file kvoctrain Education Languages +%suse_update_desktop_file kwordquiz Education Languages +%suse_update_desktop_file kbruch Education Math +%suse_update_desktop_file kig Education Math +%suse_update_desktop_file kmplot Education Math +%suse_update_desktop_file kturtle Education Math +%suse_update_desktop_file kpercentage Education Math +%suse_update_desktop_file kalzium Education Chemistry +%suse_update_desktop_file kstars Education Astronomy +%suse_update_desktop_file keduca Education Teaching +%suse_update_desktop_file keducabuilder Education Teaching +%suse_update_desktop_file ktouch Education Teaching +%suse_update_desktop_file -r blinken Education Teaching Game KidsGame +%suse_update_desktop_file kgeography Education Teaching +%suse_update_desktop_file -r kanagram Education Languages Game KidsGame +%endif + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdegames/tdegames-14.0.0.spec b/redhat/main/tdegames/tdegames-14.0.0.spec deleted file mode 100644 index 993f41a18..000000000 --- a/redhat/main/tdegames/tdegames-14.0.0.spec +++ /dev/null @@ -1,1195 +0,0 @@ -# -# spec file for package tdegames (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 tdegames -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_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} -Summary: Trinity Desktop Environment - Games -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Group: System/GUI/Other -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: desktop-file-utils -BuildRequires: fdupes -BuildRequires: libtool - -# 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 - -# OPENSSL support -BuildRequires: openssl-devel - -# ACL support -BuildRequires: libacl-devel - -# ATTR support -BuildRequires: libattr-devel - -# 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 - -# GLIB2 support -BuildRequires: glib2-devel - -Obsoletes: trinity-kdegames < %{version}-%{release} -Provides: trinity-kdegames = %{version}-%{release} -Obsoletes: trinity-kdegames-libs < %{version}-%{release} -Provides: trinity-kdegames-libs = %{version}-%{release} - -Requires: trinity-libtdegames1 = %{version}-%{release} -Requires: trinity-tdegames-card-data = %{version}-%{release} -Requires: trinity-atlantik = %{version}-%{release} -Requires: trinity-kasteroids = %{version}-%{release} -Requires: trinity-katomic = %{version}-%{release} -Requires: trinity-kbackgammon = %{version}-%{release} -Requires: trinity-kbattleship = %{version}-%{release} -Requires: trinity-kblackbox = %{version}-%{release} -Requires: trinity-kbounce = %{version}-%{release} -Requires: trinity-kenolaba = %{version}-%{release} -Requires: trinity-kfouleggs = %{version}-%{release} -Requires: trinity-kgoldrunner = %{version}-%{release} -Requires: trinity-kjumpingcube = %{version}-%{release} -Requires: trinity-klickety = %{version}-%{release} -Requires: trinity-klines = %{version}-%{release} -Requires: trinity-kmahjongg = %{version}-%{release} -Requires: trinity-kmines = %{version}-%{release} -Requires: trinity-knetwalk = %{version}-%{release} -Requires: trinity-kolf = %{version}-%{release} -Requires: trinity-konquest = %{version}-%{release} -Requires: trinity-kpat = %{version}-%{release} -Requires: trinity-kpoker = %{version}-%{release} -Requires: trinity-kreversi = %{version}-%{release} -Requires: trinity-ksame = %{version}-%{release} -Requires: trinity-kshisen = %{version}-%{release} -Requires: trinity-ksirtet = %{version}-%{release} -Requires: trinity-ksmiletris = %{version}-%{release} -Requires: trinity-ksnake = %{version}-%{release} -Requires: trinity-ksokoban = %{version}-%{release} -Requires: trinity-kspaceduel = %{version}-%{release} -Requires: trinity-ktron = %{version}-%{release} -Requires: trinity-ktuberling = %{version}-%{release} -Requires: trinity-twin4 = %{version}-%{release} -Requires: trinity-lskat = %{version}-%{release} - - -%description -Games and gaming libraries for the Trinity Desktop Environment. -Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg, -kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris, -ksnake, ksirtet, katomic, kjumpingcube, ktuberling. - -%files - -########## - -%package devel -Summary: Development files for %{name} -Group: Amusements/Games/Other - -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{tde_version} -Requires: trinity-libtdegames-devel = %{version}-%{release} -Requires: trinity-atlantik-devel = %{version}-%{release} -Requires: trinity-kolf-devel = %{version}-%{release} - -Obsoletes: trinity-kdegames-devel < %{version}-%{release} -Provides: trinity-kdegames-devel = %{version}-%{release} - -%description devel -Install %{name}-devel if you wish to develop or compile games for the -TDE desktop. - -%files devel -%defattr(-,root,root,-) -%{tde_datadir}/cmake/libtdegames.cmake - -########## - -%package -n trinity-libtdegames1 -Summary: Trinity games library and common files -Group: Amusements/Games/Other - -%description -n trinity-libtdegames1 -This library provides a common infrastructure for several of the -games in the TDE distribution. Features include standardized menu -items, high score handling, card display, and network connections -including chat capabilities. - -This package is part of TDE, and a component of the TDE games module. - -%files -n trinity-libtdegames1 -%defattr(-,root,root,-) -%{tde_libdir}/libtdegames.so.* -%dir %{tde_datadir}/apps/tdegames -%dir %{tde_datadir}/apps/tdegames/pics -%{tde_datadir}/apps/tdegames/pics/star.png -%{tde_datadir}/icons/crystalsvg/*/actions/roll.png -%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png - -########## - -%package -n trinity-libtdegames-devel -Summary: Trinity games library headers -Group: Development/Libraries/Other -Requires: trinity-libtdegames1 = %{version}-%{release} - -%description -n trinity-libtdegames-devel -This package is necessary if you want to develop your own games using -the TDE games library. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-libtdegames-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_tdeincludedir}/kgame -%{tde_libdir}/libtdegames.so -%{tde_libdir}/libtdegames.la - -########## - -%package card-data -Summary: Card decks for Trinity games -Group: Amusements/Games/Other - -%description card-data -Several different collections of card images for use by TDE games. - -This package is part of Trinity, and a component of the TDE games module. - -%files card-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/carddecks/ - -########## - -%package -n trinity-atlantik -Summary: TDE client for Monopoly-like network games -Group: Amusements/Games/Board/Other - -%description -n trinity-atlantik -This is a TDE client for playing Monopoly-like boardgames on the -monopd network. It can play any board supported by the network -server, including the classic Monopoly game, as well as the Atlantik -game in which the property includes several major cities in North -America and Europe. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-atlantik -%defattr(-,root,root,-) -%{tde_bindir}/atlantik -%{tde_libdir}/libatlantic.so.* -%{tde_libdir}/libatlantikclient.so.* -%{tde_libdir}/libatlantikui.so.* -%{tde_tdelibdir}/tdeio_atlantik.la -%{tde_tdelibdir}/tdeio_atlantik.so -%{tde_datadir}/services/atlantik.protocol -%{tde_tdeappdir}/atlantik.desktop -%{tde_datadir}/icons/hicolor/*/apps/atlantik.png -%{tde_datadir}/apps/atlantik/ -%{tde_tdedocdir}/HTML/en/atlantik/ - -########## - -%package -n trinity-atlantik-devel -Summary: Development files for Atlantik -Group: Development/Libraries/Other -Requires: trinity-atlantik = %{version}-%{release} - -%description -n trinity-atlantik-devel -This package contains header files for compiling programs against the -libraries which come with Atlantik. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-atlantik-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/atlantik -%{tde_tdeincludedir}/atlantic -%{tde_libdir}/libatlantic.so -%{tde_libdir}/libatlantic.la -%{tde_libdir}/libatlantikclient.so -%{tde_libdir}/libatlantikclient.la -%{tde_libdir}/libatlantikui.so -%{tde_libdir}/libatlantikui.la - -########## - -%package -n trinity-kasteroids -Summary: Asteroids for Trinity -Group: Amusements/Games/Action/Arcade - -%description -n trinity-kasteroids -You know this game. It is based on Warwick Allison's QwSpriteField -widget. - -The objective of kasteroids is to destroy all the asteroids on the -screen to advance to the next level. Your ship is destroyed if it -makes contact with an asteroid. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kasteroids -%defattr(-,root,root,-) -%{tde_bindir}/kasteroids -%{tde_datadir}/icons/hicolor/*/apps/kasteroids.png -%{tde_tdeappdir}/kasteroids.desktop -%{tde_datadir}/apps/kasteroids/ -%{tde_datadir}/config.kcfg/kasteroids.kcfg -%{tde_tdedocdir}/HTML/en/kasteroids/ - -########## - -%package -n trinity-katomic -Summary: Atomic Entertainment game for Trinity -Group: Amusements/Games/Strategy/Other - -%description -n trinity-katomic -This is a puzzle game, in which the object is to assemble a molecule -from its atoms on a Sokoban-like board. On each move, an atom goes -as far as it can in a specified direction before being stopped by a -wall or another atom. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-katomic -%defattr(-,root,root,-) -%{tde_datadir}/apps/katomic/ -%{tde_datadir}/icons/hicolor/*/apps/katomic.png -%{tde_tdeappdir}/katomic.desktop -%{tde_bindir}/katomic -%{tde_tdedocdir}/HTML/en/katomic/ - -########## - -%package -n trinity-kbackgammon -Summary: A Backgammon game for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-kbackgammon -KBackgammon is a backgammon program for Trinity. It is based on the -code, ideas and concepts of KFibs (which is a FIBS client for -TDE1). For a short time, KBackgammon was called bacKgammon (if you -know somebody who is still using bacKgammon, please force them to -upgrade :-)). - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbackgammon -%defattr(-,root,root,-) -%{tde_bindir}/kbackgammon -%{tde_tdeappdir}/kbackgammon.desktop -%{tde_datadir}/apps/kbackgammon/ -%{tde_datadir}/icons/hicolor/*/apps/kbackgammon.png -%{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png -%{tde_tdedocdir}/HTML/en/kbackgammon/ - -########## - -%package -n trinity-kbattleship -Summary: Battleship game for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-kbattleship -This is an implementation of the Battleship game. Each player tries -to be the first to sink all the opponent's ships by firing "blindly" -at them. The game has options to play over a network connection or -against the computer. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbattleship -%defattr(-,root,root,-) -%{tde_datadir}/apps/kbattleship/ -%{tde_datadir}/apps/zeroconf/_kbattleship._tcp -%{tde_datadir}/icons/hicolor/*/apps/kbattleship.png -%{tde_tdeappdir}/kbattleship.desktop -%{tde_bindir}/kbattleship -%{tde_tdedocdir}/HTML/en/kbattleship/ - -########## - -%package -n trinity-kblackbox -Summary: A simple logical game for the Trinity project -Group: Amusements/Games/Board/Other - -%description -n trinity-kblackbox -KBlackBox is a game of hide and seek played on an grid of boxes. Your -opponent (Random number generator, in this case) has hidden several -balls within this box. By shooting rays into the box and observing -where they emerge it is possible to deduce the positions of the -hidden balls. The fewer rays you use to find the balls, the lower -your score. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kblackbox -%defattr(-,root,root,-) -%{tde_datadir}/apps/kblackbox/ -%{tde_datadir}/icons/hicolor/*/apps/kblackbox.png -%{tde_tdeappdir}/kblackbox.desktop -%{tde_bindir}/kblackbox -%{tde_tdedocdir}/HTML/en/kblackbox/ - -########## - -%package -n trinity-kbounce -Summary: Jezzball clone for the K Desktop Environment -Group: Amusements/Games/Action/Arcade - -%description -n trinity-kbounce -This is a clone of the popular Jezzball game originally created by -Microsoft. Jezzball is one of the rare and simple games requiring -skill, timing, and patience in order to be successful. A ball begins -to bounce off of an area enclosed by four borders (like a -square). You must move your pointer to certain areas within the -square. Upon clicking, a new border is constructed at a relatively -quick pace. You can change the direction of the borders by 90 degrees -as well. Ultimately, you must force the ball to bounce around in a -smaller, and smaller area as time goes by without the ball ever -touching the borders as they are being constructed. If a ball touches -a certain part of the border as it is being built, the game is over. -After 75% of the original space has been blocked off from the moving -ball, you advance one level, and one more ball is added to the mix in -the following level. - -This game was previously known as kjezz. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbounce -%defattr(-,root,root,-) -%{tde_datadir}/apps/kbounce/ -%{tde_tdeappdir}/kbounce.desktop -%{tde_datadir}/icons/hicolor/*/apps/kbounce.png -%{tde_bindir}/kbounce -%{tde_tdedocdir}/HTML/en/kbounce/ - -########## - -%package -n trinity-kenolaba -Summary: Enolaba board game for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-kenolaba -kenolaba is a simple board strategy game that is played by two -players. There are red and yellow pieces for each player. Beginning -from a start position where each player has 14 pieces, moves are -drawn until one player has pushed 6 pieces of his opponent out of the -board. - -This game was previously known as kabalone, and was inspired by the -board game Abalone by Abalone SA, France. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kenolaba -%defattr(-,root,root,-) -%{tde_datadir}/apps/kenolaba/ -%{tde_datadir}/icons/hicolor/*/apps/kenolaba.png -%{tde_tdeappdir}/kenolaba.desktop -%{tde_bindir}/kenolaba -%{tde_tdedocdir}/HTML/en/kenolaba/ - -########## - -%package -n trinity-kfouleggs -Summary: A TDE clone of the Japanese PuyoPuyo game -Group: Amusements/Games/Action/Arcade - -%description -n trinity-kfouleggs -KFouleggs is a clone of the Japanese PuyoPuyo game, with advanced -features such as multiplayer games against human or AI, and network -play. If you have played Tetris or one of its many clones, you will -find KFouleggs easy to learn. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kfouleggs -%defattr(-,root,root,-) -%{tde_tdeappdir}/kfouleggs.desktop -%{tde_datadir}/apps/kfouleggs/ -%{tde_datadir}/config.kcfg/kfouleggs.kcfg -%{tde_bindir}/kfouleggs -%{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png -%{tde_tdedocdir}/HTML/en/kfouleggs/ - -########## - -%package -n trinity-kgoldrunner -Summary: A Trinity clone of the Loderunner arcade game -Group: Amusements/Games/Action/Arcade - -%description -n trinity-kgoldrunner -KGoldrunner, a game of action and puzzle solving. Run through the -maze, dodge your enemies, collect all the gold and climb up to the -next level. - -You must guide the hero with the mouse or keyboard and collect all -the gold nuggets, then you can climb up into the next level. Your -enemies are also after the gold and they will kill you if they catch -you! - -The problem is you have no weapon to kill them. All you can do is -run away, dig holes in the floor to trap them or lure them into some -area where they cannot hurt you. After a short time a trapped enemy -climbs out of his hole, but if it closes before that, he will die and -reappear somewhere else. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kgoldrunner -%defattr(-,root,root,-) -%{tde_datadir}/apps/kgoldrunner/ -%{tde_datadir}/icons/hicolor/*/apps/kgoldrunner.png -%{tde_tdeappdir}/KGoldrunner.desktop -%{tde_bindir}/kgoldrunner -%{tde_tdedocdir}/HTML/en/kgoldrunner/ - -########## - -%package -n trinity-kjumpingcube -Summary: Tactical one or two player game -Group: Amusements/Games/Strategy/Other - -%description -n trinity-kjumpingcube -KJumpingCube is a simple tactical game. You can play it against the -computer or against a friend. The playing field consists of squares -that contains points. By clicking on the squares you can increase -the points and if the points reach a maximum the points will jump to -the squares neighbours and take them over. Winner is the one, who -owns all squares. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kjumpingcube -%defattr(-,root,root,-) -%{tde_bindir}/kjumpingcube -%{tde_datadir}/icons/hicolor/*/apps/kjumpingcube.png -%{tde_datadir}/apps/kjumpingcube/ -%{tde_tdeappdir}/kjumpingcube.desktop -%{tde_datadir}/config.kcfg/kjumpingcube.kcfg -%{tde_tdedocdir}/HTML/en/kjumpingcube/ - -########## - -%package -n trinity-klickety -Summary: A Clickomania-like game for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-klickety -Klickety is an adaptation of the (perhaps) well-known Clickomania -game; it is very similar to the "same" game. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-klickety -%defattr(-,root,root,-) -%{tde_bindir}/klickety -%{tde_tdeappdir}/klickety.desktop -%{tde_datadir}/icons/hicolor/*/apps/klickety.png -%{tde_datadir}/icons/crystalsvg/*/actions/endturn.png -%{tde_datadir}/apps/klickety/ -%{tde_tdedocdir}/HTML/en/klickety/ - -########## - -%package -n trinity-klines -Summary: Color lines for Trinity -Group: Amusements/Games/Strategy/Other - -%description -n trinity-klines -KLines is a simple game. It is played by one player, so there is only -one winner :-). You play for fun and against the high score. It was -inspired by a well known game - "Color lines", written for DOS by -Olga Demina, Igor Demina, Igor Ivkin and Gennady Denisov back in -1992. - -The main rules of the game are as simple as possible: you move (using -the mouse) marbles from cell to cell and build lines (horizontal, -vertical or diagonal). When a line contains 5 or more marbles, they -are removed and your score grows. After each turn the computer drops -three more marbles. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-klines -%defattr(-,root,root,-) -%{tde_datadir}/apps/klines/ -%{tde_tdeappdir}/klines.desktop -%{tde_bindir}/klines -%{tde_datadir}/config.kcfg/klines.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klines.png -%{tde_tdedocdir}/HTML/en/klines/ - -########## - -%package -n trinity-kmahjongg -Summary: The classic mahjongg game for Trinity project -Group: Amusements/Games/Board/Other - -%description -n trinity-kmahjongg -Your mission in this game is to remove all tiles from the game board. A -matching pair of tiles can be removed, if they are 'free', which means that -no other tiles block them on the left or right side. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kmahjongg -%defattr(-,root,root,-) -%{tde_datadir}/apps/kmahjongg/ -%{tde_datadir}/icons/hicolor/*/apps/kmahjongg.png -%{tde_tdeappdir}/kmahjongg.desktop -%{tde_bindir}/kmahjongg -%{tde_datadir}/config.kcfg/kmahjongg.kcfg -%{tde_tdedocdir}/HTML/en/kmahjongg/ - -########## - -%package -n trinity-kmines -Summary: Minesweeper for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-kmines -KMines is the classic Minesweeper game. You must uncover all the -empty cases without blowing on a mine. - -When you uncover a case, a number appears : it indicates how many -mines surround this case. If there is no number the neighbour cases -are automatically uncovered. In your process of uncovering secure -cases, it is very useful to put a flag on the cases which contain a -mine. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kmines -%defattr(-,root,root,-) -%{tde_datadir}/icons/hicolor/*/apps/kmines.png -%{tde_tdeappdir}/kmines.desktop -%{tde_datadir}/apps/kmines/ -%{tde_bindir}/kmines -%{tde_tdedocdir}/HTML/en/kmines/ - -########## - -%package -n trinity-knetwalk -Summary: A game for system administrators -Group: Amusements/Games/Board/Other - -%description -n trinity-knetwalk -This game presents the player with a rectangular field consisting of -a server, several clients, and pieces of wire. The object is to -rotate these elements until every client is connected to the server, -and no wires are left unconnected. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-knetwalk -%defattr(-,root,root,-) -%{tde_bindir}/knetwalk -%{tde_datadir}/apps/knetwalk -%{tde_datadir}/icons/hicolor/*/apps/knetwalk.png -%{tde_tdeappdir}/knetwalk.desktop -%{tde_tdedocdir}/HTML/en/knetwalk/ - -########## - -%package -n trinity-kolf -Summary: Minigolf game for TDE -Group: Amusements/Games/Action/Arcade - -%description -n trinity-kolf -This is a minigolf game for TDE that allows you to go through different -golf courses and waste an exorbitant amount of time. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kolf -%defattr(-,root,root,-) -%{tde_confdir}/magic/kolf.magic -%{tde_datadir}/apps/kolf/ -%{tde_bindir}/kolf -%{tde_tdeappdir}/kolf.desktop -%{tde_datadir}/icons/hicolor/*/apps/kolf.png -%{tde_datadir}/mimelnk/application/x-kolf.desktop -%{tde_datadir}/mimelnk/application/x-kourse.desktop -%{tde_libdir}/libtdeinit_kolf.so -%{tde_libdir}/libtdeinit_kolf.la -%{tde_tdelibdir}/kolf.la -%{tde_tdelibdir}/kolf.so -%{tde_libdir}/libkolf.so.1 -%{tde_libdir}/libkolf.so.1.2.0 -%{tde_tdedocdir}/HTML/en/kolf/ -%{tde_confdir}/magic/kolf.magic.mgc - -########## - -%package -n trinity-kolf-devel -Summary: Development files for Kolf -Group: Development/Libraries/Other -Requires: trinity-kolf = %{version}-%{release} - -%description -n trinity-kolf-devel -This package contains headers and development libraries for compiling -Kolf plugins. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kolf-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kolf -%{tde_libdir}/libkolf.la -%{tde_libdir}/libkolf.so - -########## - -%package -n trinity-konquest -Summary: TDE based GNU-Lactic Konquest game -Group: Amusements/Games/Strategy/Other - -%description -n trinity-konquest -This the TDE version of Gnu-Lactic Konquest, a multi-player strategy -game. The goal of the game is to expand your interstellar empire -across the galaxy and, of course, crush your rivals in the process. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-konquest -%defattr(-,root,root,-) -%{tde_datadir}/apps/konquest/ -%{tde_datadir}/icons/hicolor/*/apps/konquest.png -%{tde_tdeappdir}/konquest.desktop -%{tde_bindir}/konquest -%{tde_tdedocdir}/HTML/en/konquest/ - -########## - -%package -n trinity-kpat -Summary: Trinity solitaire patience game -Group: Amusements/Games/Board/Card - -%description -n trinity-kpat -KPatience is a collection of 14 card games. All the games are single -player games. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kpat -%defattr(-,root,root,-) -%{tde_datadir}/icons/hicolor/*/apps/kpat.png -%{tde_datadir}/apps/kpat/ -%{tde_tdeappdir}/kpat.desktop -%{tde_bindir}/kpat -%{tde_tdedocdir}/HTML/en/kpat/ - -########## - -%package -n trinity-kpoker -Summary: Trinity based Poker clone -Group: Amusements/Games/Board/Card - -%description -n trinity-kpoker -KPoker is a TDE compliant clone of those highly addictive pocket -video poker games which are sometimes called "Videopoker" as well. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kpoker -%defattr(-,root,root,-) -%{tde_datadir}/apps/kpoker/ -%{tde_datadir}/icons/hicolor/*/apps/kpoker.png -%{tde_tdeappdir}/kpoker.desktop -%{tde_bindir}/kpoker -%{tde_tdedocdir}/HTML/en/kpoker/ - -########## - -%package -n trinity-kreversi -Summary: Reversi for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-kreversi -Reversi is a simple strategy game that is played by two -players. There is only one type of piece - one side of it is black, -the other white. If a player captures a piece on the board, that -piece is turned and belongs to that player. The winner is the person -that has more pieces of his own color on the board and if there are -no more moves possible. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kreversi -%defattr(-,root,root,-) -%{tde_bindir}/kreversi -%{tde_tdeappdir}/kreversi.desktop -%{tde_datadir}/apps/kreversi/ -%{tde_datadir}/config.kcfg/kreversi.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/lastmoves.png -%{tde_datadir}/icons/crystalsvg/*/actions/legalmoves.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/lastmoves.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/legalmoves.svgz -%{tde_datadir}/icons/hicolor/*/apps/kreversi.png -%{tde_tdedocdir}/HTML/en/kreversi/ - -########## - -%package -n trinity-ksame -Summary: SameGame for Trinity -Group: Amusements/Games/Strategy/Other - -%description -n trinity-ksame -KSame is a simple game. It's played by one player, so there is only -one winner :-) You play for fun and against the high score. It has -been inspired by SameGame, that is only famous on the Macintosh -platform. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksame -%defattr(-,root,root,-) -%{tde_bindir}/ksame -%{tde_datadir}/icons/hicolor/*/apps/ksame.png -%{tde_datadir}/apps/ksame/ -%{tde_tdeappdir}/ksame.desktop -%{tde_tdedocdir}/HTML/en/ksame/ - -########## - -%package -n trinity-kshisen -Summary: Shisen-Sho for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-kshisen -KShisen-Sho is a single-player-game similar to Mahjongg and uses the -same set of tiles as Mahjongg. - -The object of the game is to remove all tiles from the field. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kshisen -%defattr(-,root,root,-) -%{tde_datadir}/apps/kshisen/ -%{tde_datadir}/config.kcfg/kshisen.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kshisen.png -%{tde_tdeappdir}/kshisen.desktop -%{tde_bindir}/kshisen -%{tde_tdedocdir}/HTML/en/kshisen/ - -########## - -%package -n trinity-ksirtet -Summary: Tetris and Puyo-Puyo games for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-ksirtet -This program is a clone of the well known game Tetris. You must fit -the falling pieces to form full lines. You can rotate and translate -the falling piece. The game ends when no more piece can fall ie when -your incomplete lines reach the top of the board. - -Every time you have destroyed 10 lines, you gain a level and the -pieces fall quicker (exactly the piece falls from a line each -1/(1+level) second). - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksirtet -%defattr(-,root,root,-) -%{tde_tdeappdir}/ksirtet.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksirtet.png -%{tde_datadir}/apps/ksirtet/ -%{tde_bindir}/ksirtet -%{tde_datadir}/config.kcfg/ksirtet.kcfg -%{tde_tdedocdir}/HTML/en/ksirtet/ - -########## - -%package -n trinity-ksmiletris -Summary: Tetris like game for Trinity -Group: Amusements/Games/Action/Arcade - -%description -n trinity-ksmiletris -This is a game with falling blocks composed of different types of -smilies. The object of the game is to "crack a smile" by guiding -blocks so there are two or more of the same symbol vertically. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksmiletris -%defattr(-,root,root,-) -%{tde_datadir}/apps/ksmiletris/ -%{tde_datadir}/icons/hicolor/*/apps/ksmiletris.png -%{tde_tdeappdir}/ksmiletris.desktop -%{tde_bindir}/ksmiletris -%{tde_tdedocdir}/HTML/en/ksmiletris/ - -########## - -%package -n trinity-ksnake -Summary: Snake Race for Trinity -Group: Amusements/Games/Action/Arcade - -%description -n trinity-ksnake -Snake Race is a game of speed and agility. You are a hungry snake and -are trying to eat all the apples in the room before getting out! - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksnake -%defattr(-,root,root,-) -%{tde_datadir}/apps/ksnake/ -%{tde_datadir}/config.kcfg/ksnake.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ksnake.png -%{tde_tdeappdir}/ksnake.desktop -%{tde_bindir}/ksnake -%{tde_tdedocdir}/HTML/en/ksnake/ - -########## - -%package -n trinity-ksokoban -Summary: Sokoban game for Trinity -Group: Amusements/Games/Strategy/Other - -%description -n trinity-ksokoban -The first sokoban game was created in 1982 by Hiroyuki Imabayashi at -the Japanese company Thinking Rabbit, Inc. "Sokoban" is japanese for -"warehouse keeper". The idea is that you are a warehouse keeper -trying to push crates to their proper locations in a warehouse. - -The problem is that you cannot pull the crates or step over them. If -you are not careful, some of the crates can get stuck in wrong places -and/or block your way. - -It can be rather difficult just to solve a level. But if you want to -make it even harder, you can try to minimise the number of moves -and/or pushes you use to solve the level. - -To make the game more fun for small kids (below 10 years or so), some -collections with easier levels are also included in KSokoban. These -are marked (easy) in the level collection menu. Of course, these -levels can be fun for adults too, for example if you don't want to -expose yourself to too much mental strain. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksokoban -%defattr(-,root,root,-) -%{tde_tdeappdir}/ksokoban.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksokoban.png -%{tde_bindir}/ksokoban -%{tde_tdedocdir}/HTML/en/ksokoban/ - -########## - -%package -n trinity-kspaceduel -Summary: Arcade two-player space game for Trinity -Group: Amusements/Games/Action/Arcade - -%description -n trinity-kspaceduel -KSpaceduel is an space arcade game for two players. - -Each player controls a ship that flies around the sun and tries to -shoot at the other ship. You can play KSpaceduel with another person, -against the computer, or you can have the computer control both ships -and play each other. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kspaceduel -%defattr(-,root,root,-) -%{tde_datadir}/apps/kspaceduel/ -%{tde_datadir}/icons/hicolor/*/apps/kspaceduel.png -%{tde_tdeappdir}/kspaceduel.desktop -%{tde_bindir}/kspaceduel -%{tde_datadir}/config.kcfg/kspaceduel.kcfg -%{tde_tdedocdir}/HTML/en/kspaceduel/ - -########## - -%package -n trinity-ktron -Summary: Tron clone for the K Desktop Environment -Group: Amusements/Games/Action/Arcade - -%description -n trinity-ktron -The object of the game is to avoid running into walls, your own tail, -and that of your opponent. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ktron -%defattr(-,root,root,-) -%{tde_bindir}/ktron -%{tde_datadir}/icons/hicolor/*/apps/ktron.png -%{tde_tdeappdir}/ktron.desktop -%{tde_datadir}/apps/ktron/ -%{tde_datadir}/config.kcfg/ktron.kcfg -%{tde_tdedocdir}/HTML/en/ktron/ - -########## - -%package -n trinity-ktuberling -Summary: Potato Guy for Trinity -Group: Amusements/Games/Action/Arcade - -%description -n trinity-ktuberling -KTuberling is a game intended for small children. Of course, it may -be suitable for adults who have remained young at heart. - -It is a potato editor. That means that you can drag and drop eyes, -mouths, moustache, and other parts of face and goodies onto a -potato-like guy. Similarly, you have a penguin on which you can drop -other stuff. - -There is no winner for the game. The only purpose is to make the -funniest faces you can. - -There is a museum (like a "Madame Tusseau" gallery) where you can -find many funny examples of decorated potatoes. Of course, you can -send your own creations to the programmer, Eric Bischoff, who will -include them in the museum if he gets some spare time. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ktuberling -%defattr(-,root,root,-) -%{tde_bindir}/ktuberling -%{tde_datadir}/icons/hicolor/*/apps/ktuberling.png -%{tde_tdeappdir}/ktuberling.desktop -%{tde_datadir}/apps/ktuberling/ -%{tde_datadir}/mimelnk/application/x-tuberling.desktop -%{tde_tdedocdir}/HTML/en/ktuberling/ - -########## - -%package -n trinity-twin4 -Summary: Connect Four clone for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-twin4 -Four wins is a game for two players. Each player is represented by a -colour (yellow and red). The goal of the game is to get four -connected pieces of your colour into a row, column or any -diagonal. This is done by placing one of your pieces into any of the -seven columns. A piece will begin to fill a column from the bottom, -i.e. it will fall down until it reaches the ground level or another -stone. After a move is done it is the turn of the other player. This -is repeated until the game is over, i.e. one of the players has four -pieces in a row, column or diagonal or no more moves are possible -because the board is filled. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-twin4 -%defattr(-,root,root,-) -%{tde_bindir}/twin4 -%{tde_bindir}/twin4proc -%{tde_datadir}/apps/twin4/ -%{tde_datadir}/config.kcfg/twin4.kcfg -%{tde_datadir}/icons/hicolor/*/apps/twin4.png -%{tde_tdeappdir}/twin4.desktop -%{tde_tdedocdir}/HTML/en/twin4/ - -########## - -%package -n trinity-lskat -Summary: Lieutnant Skat card game for Trinity -Group: Amusements/Games/Board/Card - -%description -n trinity-lskat -Lieutnant Skat (from German Offiziersskat) is a card game for two -players. It is roughly played according to the rules of Skat but with -only two players and simplified rules. - -Every player has a set of cards in front of him/her, half of them -covered and half of them open. Both players try to win more than 60 -of the 120 possible points. After 16 moves all cards are played and -the game ends. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-lskat -%defattr(-,root,root,-) -%{tde_bindir}/lskat -%{tde_bindir}/lskatproc -%{tde_datadir}/apps/lskat/ -%{tde_datadir}/icons/hicolor/*/apps/lskat.png -%{tde_tdeappdir}/lskat.desktop -%{tde_tdedocdir}/HTML/en/lskat/ - -########## - -%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 - -%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 \ - -DCMAKE_PROGRAM_PATH="%{tde_bindir}" \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DBUILD_ALL="ON" \ - -DWITH_ALL_OPTIONS="ON" \ - .. - -%__make %{?_smp_mflags} || %__make - - -%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 -r kasteroids Game ArcadeGame -%suse_update_desktop_file -r KGoldrunner Game ArcadeGame -%suse_update_desktop_file -r ksnake Game ArcadeGame -%suse_update_desktop_file -r kspaceduel Game ArcadeGame -%suse_update_desktop_file -r ktron Game ArcadeGame -%suse_update_desktop_file -r kfouleggs Game BlocksGame -%suse_update_desktop_file -r ksirtet Game BlocksGame -%suse_update_desktop_file -r klickety Game BoardGame -%suse_update_desktop_file -r ksmiletris Game BlocksGame -%suse_update_desktop_file -r ktuberling Game KidsGame -%suse_update_desktop_file -r atlantik Game BoardGame -%suse_update_desktop_file -r kbackgammon Game BoardGame -%suse_update_desktop_file -r kbattleship Game BoardGame -%suse_update_desktop_file -r kblackbox Game BoardGame -%suse_update_desktop_file -r kenolaba Game BoardGame -%suse_update_desktop_file -r kmahjongg Game BoardGame -%suse_update_desktop_file -r kreversi Game BoardGame -%suse_update_desktop_file -r kshisen Game BoardGame -%suse_update_desktop_file -r twin4 Game BoardGame -%suse_update_desktop_file -r kpat Game CardGame -%suse_update_desktop_file -r kpoker Game CardGame -%suse_update_desktop_file -r lskat Game CardGame -%suse_update_desktop_file -r katomic Game LogicGame -%suse_update_desktop_file -r kjumpingcube Game LogicGame -%suse_update_desktop_file -r klines Game LogicGame -%suse_update_desktop_file -r -G "Tactical Game" knetwalk Game LogicGame -%suse_update_desktop_file -r kmines Game LogicGame -%suse_update_desktop_file -r konquest Game LogicGame -%suse_update_desktop_file -r ksame Game LogicGame -%suse_update_desktop_file -r ksokoban Game LogicGame -%suse_update_desktop_file -r kbounce Game LogicGame -%suse_update_desktop_file -r kolf Game SportsGame -%endif - -# Links duplicate files -%fdupes "%{?buildroot}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdegames/tdegames.spec b/redhat/main/tdegames/tdegames.spec new file mode 100644 index 000000000..f1d8a06ee --- /dev/null +++ b/redhat/main/tdegames/tdegames.spec @@ -0,0 +1,1195 @@ +# +# spec file for package tdegames (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.7 +%endif +%define tde_pkg tdegames +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_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} +Summary: Trinity Desktop Environment - Games +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Group: System/GUI/Other +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: desktop-file-utils +BuildRequires: fdupes +BuildRequires: libtool + +# 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 + +# OPENSSL support +BuildRequires: openssl-devel + +# ACL support +BuildRequires: libacl-devel + +# ATTR support +BuildRequires: libattr-devel + +# 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 + +# GLIB2 support +BuildRequires: glib2-devel + +Obsoletes: trinity-kdegames < %{version}-%{release} +Provides: trinity-kdegames = %{version}-%{release} +Obsoletes: trinity-kdegames-libs < %{version}-%{release} +Provides: trinity-kdegames-libs = %{version}-%{release} + +Requires: trinity-libtdegames1 = %{version}-%{release} +Requires: trinity-tdegames-card-data = %{version}-%{release} +Requires: trinity-atlantik = %{version}-%{release} +Requires: trinity-kasteroids = %{version}-%{release} +Requires: trinity-katomic = %{version}-%{release} +Requires: trinity-kbackgammon = %{version}-%{release} +Requires: trinity-kbattleship = %{version}-%{release} +Requires: trinity-kblackbox = %{version}-%{release} +Requires: trinity-kbounce = %{version}-%{release} +Requires: trinity-kenolaba = %{version}-%{release} +Requires: trinity-kfouleggs = %{version}-%{release} +Requires: trinity-kgoldrunner = %{version}-%{release} +Requires: trinity-kjumpingcube = %{version}-%{release} +Requires: trinity-klickety = %{version}-%{release} +Requires: trinity-klines = %{version}-%{release} +Requires: trinity-kmahjongg = %{version}-%{release} +Requires: trinity-kmines = %{version}-%{release} +Requires: trinity-knetwalk = %{version}-%{release} +Requires: trinity-kolf = %{version}-%{release} +Requires: trinity-konquest = %{version}-%{release} +Requires: trinity-kpat = %{version}-%{release} +Requires: trinity-kpoker = %{version}-%{release} +Requires: trinity-kreversi = %{version}-%{release} +Requires: trinity-ksame = %{version}-%{release} +Requires: trinity-kshisen = %{version}-%{release} +Requires: trinity-ksirtet = %{version}-%{release} +Requires: trinity-ksmiletris = %{version}-%{release} +Requires: trinity-ksnake = %{version}-%{release} +Requires: trinity-ksokoban = %{version}-%{release} +Requires: trinity-kspaceduel = %{version}-%{release} +Requires: trinity-ktron = %{version}-%{release} +Requires: trinity-ktuberling = %{version}-%{release} +Requires: trinity-twin4 = %{version}-%{release} +Requires: trinity-lskat = %{version}-%{release} + + +%description +Games and gaming libraries for the Trinity Desktop Environment. +Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg, +kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris, +ksnake, ksirtet, katomic, kjumpingcube, ktuberling. + +%files + +########## + +%package devel +Summary: Development files for %{name} +Group: Amusements/Games/Other + +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{tde_version} +Requires: trinity-libtdegames-devel = %{version}-%{release} +Requires: trinity-atlantik-devel = %{version}-%{release} +Requires: trinity-kolf-devel = %{version}-%{release} + +Obsoletes: trinity-kdegames-devel < %{version}-%{release} +Provides: trinity-kdegames-devel = %{version}-%{release} + +%description devel +Install %{name}-devel if you wish to develop or compile games for the +TDE desktop. + +%files devel +%defattr(-,root,root,-) +%{tde_datadir}/cmake/libtdegames.cmake + +########## + +%package -n trinity-libtdegames1 +Summary: Trinity games library and common files +Group: Amusements/Games/Other + +%description -n trinity-libtdegames1 +This library provides a common infrastructure for several of the +games in the TDE distribution. Features include standardized menu +items, high score handling, card display, and network connections +including chat capabilities. + +This package is part of TDE, and a component of the TDE games module. + +%files -n trinity-libtdegames1 +%defattr(-,root,root,-) +%{tde_libdir}/libtdegames.so.* +%dir %{tde_datadir}/apps/tdegames +%dir %{tde_datadir}/apps/tdegames/pics +%{tde_datadir}/apps/tdegames/pics/star.png +%{tde_datadir}/icons/crystalsvg/*/actions/roll.png +%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png + +########## + +%package -n trinity-libtdegames-devel +Summary: Trinity games library headers +Group: Development/Libraries/Other +Requires: trinity-libtdegames1 = %{version}-%{release} + +%description -n trinity-libtdegames-devel +This package is necessary if you want to develop your own games using +the TDE games library. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-libtdegames-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_tdeincludedir}/kgame +%{tde_libdir}/libtdegames.so +%{tde_libdir}/libtdegames.la + +########## + +%package card-data +Summary: Card decks for Trinity games +Group: Amusements/Games/Other + +%description card-data +Several different collections of card images for use by TDE games. + +This package is part of Trinity, and a component of the TDE games module. + +%files card-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/carddecks/ + +########## + +%package -n trinity-atlantik +Summary: TDE client for Monopoly-like network games +Group: Amusements/Games/Board/Other + +%description -n trinity-atlantik +This is a TDE client for playing Monopoly-like boardgames on the +monopd network. It can play any board supported by the network +server, including the classic Monopoly game, as well as the Atlantik +game in which the property includes several major cities in North +America and Europe. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-atlantik +%defattr(-,root,root,-) +%{tde_bindir}/atlantik +%{tde_libdir}/libatlantic.so.* +%{tde_libdir}/libatlantikclient.so.* +%{tde_libdir}/libatlantikui.so.* +%{tde_tdelibdir}/tdeio_atlantik.la +%{tde_tdelibdir}/tdeio_atlantik.so +%{tde_datadir}/services/atlantik.protocol +%{tde_tdeappdir}/atlantik.desktop +%{tde_datadir}/icons/hicolor/*/apps/atlantik.png +%{tde_datadir}/apps/atlantik/ +%{tde_tdedocdir}/HTML/en/atlantik/ + +########## + +%package -n trinity-atlantik-devel +Summary: Development files for Atlantik +Group: Development/Libraries/Other +Requires: trinity-atlantik = %{version}-%{release} + +%description -n trinity-atlantik-devel +This package contains header files for compiling programs against the +libraries which come with Atlantik. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-atlantik-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/atlantik +%{tde_tdeincludedir}/atlantic +%{tde_libdir}/libatlantic.so +%{tde_libdir}/libatlantic.la +%{tde_libdir}/libatlantikclient.so +%{tde_libdir}/libatlantikclient.la +%{tde_libdir}/libatlantikui.so +%{tde_libdir}/libatlantikui.la + +########## + +%package -n trinity-kasteroids +Summary: Asteroids for Trinity +Group: Amusements/Games/Action/Arcade + +%description -n trinity-kasteroids +You know this game. It is based on Warwick Allison's QwSpriteField +widget. + +The objective of kasteroids is to destroy all the asteroids on the +screen to advance to the next level. Your ship is destroyed if it +makes contact with an asteroid. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kasteroids +%defattr(-,root,root,-) +%{tde_bindir}/kasteroids +%{tde_datadir}/icons/hicolor/*/apps/kasteroids.png +%{tde_tdeappdir}/kasteroids.desktop +%{tde_datadir}/apps/kasteroids/ +%{tde_datadir}/config.kcfg/kasteroids.kcfg +%{tde_tdedocdir}/HTML/en/kasteroids/ + +########## + +%package -n trinity-katomic +Summary: Atomic Entertainment game for Trinity +Group: Amusements/Games/Strategy/Other + +%description -n trinity-katomic +This is a puzzle game, in which the object is to assemble a molecule +from its atoms on a Sokoban-like board. On each move, an atom goes +as far as it can in a specified direction before being stopped by a +wall or another atom. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-katomic +%defattr(-,root,root,-) +%{tde_datadir}/apps/katomic/ +%{tde_datadir}/icons/hicolor/*/apps/katomic.png +%{tde_tdeappdir}/katomic.desktop +%{tde_bindir}/katomic +%{tde_tdedocdir}/HTML/en/katomic/ + +########## + +%package -n trinity-kbackgammon +Summary: A Backgammon game for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-kbackgammon +KBackgammon is a backgammon program for Trinity. It is based on the +code, ideas and concepts of KFibs (which is a FIBS client for +TDE1). For a short time, KBackgammon was called bacKgammon (if you +know somebody who is still using bacKgammon, please force them to +upgrade :-)). + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbackgammon +%defattr(-,root,root,-) +%{tde_bindir}/kbackgammon +%{tde_tdeappdir}/kbackgammon.desktop +%{tde_datadir}/apps/kbackgammon/ +%{tde_datadir}/icons/hicolor/*/apps/kbackgammon.png +%{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png +%{tde_tdedocdir}/HTML/en/kbackgammon/ + +########## + +%package -n trinity-kbattleship +Summary: Battleship game for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-kbattleship +This is an implementation of the Battleship game. Each player tries +to be the first to sink all the opponent's ships by firing "blindly" +at them. The game has options to play over a network connection or +against the computer. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbattleship +%defattr(-,root,root,-) +%{tde_datadir}/apps/kbattleship/ +%{tde_datadir}/apps/zeroconf/_kbattleship._tcp +%{tde_datadir}/icons/hicolor/*/apps/kbattleship.png +%{tde_tdeappdir}/kbattleship.desktop +%{tde_bindir}/kbattleship +%{tde_tdedocdir}/HTML/en/kbattleship/ + +########## + +%package -n trinity-kblackbox +Summary: A simple logical game for the Trinity project +Group: Amusements/Games/Board/Other + +%description -n trinity-kblackbox +KBlackBox is a game of hide and seek played on an grid of boxes. Your +opponent (Random number generator, in this case) has hidden several +balls within this box. By shooting rays into the box and observing +where they emerge it is possible to deduce the positions of the +hidden balls. The fewer rays you use to find the balls, the lower +your score. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kblackbox +%defattr(-,root,root,-) +%{tde_datadir}/apps/kblackbox/ +%{tde_datadir}/icons/hicolor/*/apps/kblackbox.png +%{tde_tdeappdir}/kblackbox.desktop +%{tde_bindir}/kblackbox +%{tde_tdedocdir}/HTML/en/kblackbox/ + +########## + +%package -n trinity-kbounce +Summary: Jezzball clone for the K Desktop Environment +Group: Amusements/Games/Action/Arcade + +%description -n trinity-kbounce +This is a clone of the popular Jezzball game originally created by +Microsoft. Jezzball is one of the rare and simple games requiring +skill, timing, and patience in order to be successful. A ball begins +to bounce off of an area enclosed by four borders (like a +square). You must move your pointer to certain areas within the +square. Upon clicking, a new border is constructed at a relatively +quick pace. You can change the direction of the borders by 90 degrees +as well. Ultimately, you must force the ball to bounce around in a +smaller, and smaller area as time goes by without the ball ever +touching the borders as they are being constructed. If a ball touches +a certain part of the border as it is being built, the game is over. +After 75% of the original space has been blocked off from the moving +ball, you advance one level, and one more ball is added to the mix in +the following level. + +This game was previously known as kjezz. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbounce +%defattr(-,root,root,-) +%{tde_datadir}/apps/kbounce/ +%{tde_tdeappdir}/kbounce.desktop +%{tde_datadir}/icons/hicolor/*/apps/kbounce.png +%{tde_bindir}/kbounce +%{tde_tdedocdir}/HTML/en/kbounce/ + +########## + +%package -n trinity-kenolaba +Summary: Enolaba board game for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-kenolaba +kenolaba is a simple board strategy game that is played by two +players. There are red and yellow pieces for each player. Beginning +from a start position where each player has 14 pieces, moves are +drawn until one player has pushed 6 pieces of his opponent out of the +board. + +This game was previously known as kabalone, and was inspired by the +board game Abalone by Abalone SA, France. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kenolaba +%defattr(-,root,root,-) +%{tde_datadir}/apps/kenolaba/ +%{tde_datadir}/icons/hicolor/*/apps/kenolaba.png +%{tde_tdeappdir}/kenolaba.desktop +%{tde_bindir}/kenolaba +%{tde_tdedocdir}/HTML/en/kenolaba/ + +########## + +%package -n trinity-kfouleggs +Summary: A TDE clone of the Japanese PuyoPuyo game +Group: Amusements/Games/Action/Arcade + +%description -n trinity-kfouleggs +KFouleggs is a clone of the Japanese PuyoPuyo game, with advanced +features such as multiplayer games against human or AI, and network +play. If you have played Tetris or one of its many clones, you will +find KFouleggs easy to learn. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kfouleggs +%defattr(-,root,root,-) +%{tde_tdeappdir}/kfouleggs.desktop +%{tde_datadir}/apps/kfouleggs/ +%{tde_datadir}/config.kcfg/kfouleggs.kcfg +%{tde_bindir}/kfouleggs +%{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png +%{tde_tdedocdir}/HTML/en/kfouleggs/ + +########## + +%package -n trinity-kgoldrunner +Summary: A Trinity clone of the Loderunner arcade game +Group: Amusements/Games/Action/Arcade + +%description -n trinity-kgoldrunner +KGoldrunner, a game of action and puzzle solving. Run through the +maze, dodge your enemies, collect all the gold and climb up to the +next level. + +You must guide the hero with the mouse or keyboard and collect all +the gold nuggets, then you can climb up into the next level. Your +enemies are also after the gold and they will kill you if they catch +you! + +The problem is you have no weapon to kill them. All you can do is +run away, dig holes in the floor to trap them or lure them into some +area where they cannot hurt you. After a short time a trapped enemy +climbs out of his hole, but if it closes before that, he will die and +reappear somewhere else. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kgoldrunner +%defattr(-,root,root,-) +%{tde_datadir}/apps/kgoldrunner/ +%{tde_datadir}/icons/hicolor/*/apps/kgoldrunner.png +%{tde_tdeappdir}/KGoldrunner.desktop +%{tde_bindir}/kgoldrunner +%{tde_tdedocdir}/HTML/en/kgoldrunner/ + +########## + +%package -n trinity-kjumpingcube +Summary: Tactical one or two player game +Group: Amusements/Games/Strategy/Other + +%description -n trinity-kjumpingcube +KJumpingCube is a simple tactical game. You can play it against the +computer or against a friend. The playing field consists of squares +that contains points. By clicking on the squares you can increase +the points and if the points reach a maximum the points will jump to +the squares neighbours and take them over. Winner is the one, who +owns all squares. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kjumpingcube +%defattr(-,root,root,-) +%{tde_bindir}/kjumpingcube +%{tde_datadir}/icons/hicolor/*/apps/kjumpingcube.png +%{tde_datadir}/apps/kjumpingcube/ +%{tde_tdeappdir}/kjumpingcube.desktop +%{tde_datadir}/config.kcfg/kjumpingcube.kcfg +%{tde_tdedocdir}/HTML/en/kjumpingcube/ + +########## + +%package -n trinity-klickety +Summary: A Clickomania-like game for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-klickety +Klickety is an adaptation of the (perhaps) well-known Clickomania +game; it is very similar to the "same" game. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-klickety +%defattr(-,root,root,-) +%{tde_bindir}/klickety +%{tde_tdeappdir}/klickety.desktop +%{tde_datadir}/icons/hicolor/*/apps/klickety.png +%{tde_datadir}/icons/crystalsvg/*/actions/endturn.png +%{tde_datadir}/apps/klickety/ +%{tde_tdedocdir}/HTML/en/klickety/ + +########## + +%package -n trinity-klines +Summary: Color lines for Trinity +Group: Amusements/Games/Strategy/Other + +%description -n trinity-klines +KLines is a simple game. It is played by one player, so there is only +one winner :-). You play for fun and against the high score. It was +inspired by a well known game - "Color lines", written for DOS by +Olga Demina, Igor Demina, Igor Ivkin and Gennady Denisov back in +1992. + +The main rules of the game are as simple as possible: you move (using +the mouse) marbles from cell to cell and build lines (horizontal, +vertical or diagonal). When a line contains 5 or more marbles, they +are removed and your score grows. After each turn the computer drops +three more marbles. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-klines +%defattr(-,root,root,-) +%{tde_datadir}/apps/klines/ +%{tde_tdeappdir}/klines.desktop +%{tde_bindir}/klines +%{tde_datadir}/config.kcfg/klines.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klines.png +%{tde_tdedocdir}/HTML/en/klines/ + +########## + +%package -n trinity-kmahjongg +Summary: The classic mahjongg game for Trinity project +Group: Amusements/Games/Board/Other + +%description -n trinity-kmahjongg +Your mission in this game is to remove all tiles from the game board. A +matching pair of tiles can be removed, if they are 'free', which means that +no other tiles block them on the left or right side. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kmahjongg +%defattr(-,root,root,-) +%{tde_datadir}/apps/kmahjongg/ +%{tde_datadir}/icons/hicolor/*/apps/kmahjongg.png +%{tde_tdeappdir}/kmahjongg.desktop +%{tde_bindir}/kmahjongg +%{tde_datadir}/config.kcfg/kmahjongg.kcfg +%{tde_tdedocdir}/HTML/en/kmahjongg/ + +########## + +%package -n trinity-kmines +Summary: Minesweeper for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-kmines +KMines is the classic Minesweeper game. You must uncover all the +empty cases without blowing on a mine. + +When you uncover a case, a number appears : it indicates how many +mines surround this case. If there is no number the neighbour cases +are automatically uncovered. In your process of uncovering secure +cases, it is very useful to put a flag on the cases which contain a +mine. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kmines +%defattr(-,root,root,-) +%{tde_datadir}/icons/hicolor/*/apps/kmines.png +%{tde_tdeappdir}/kmines.desktop +%{tde_datadir}/apps/kmines/ +%{tde_bindir}/kmines +%{tde_tdedocdir}/HTML/en/kmines/ + +########## + +%package -n trinity-knetwalk +Summary: A game for system administrators +Group: Amusements/Games/Board/Other + +%description -n trinity-knetwalk +This game presents the player with a rectangular field consisting of +a server, several clients, and pieces of wire. The object is to +rotate these elements until every client is connected to the server, +and no wires are left unconnected. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-knetwalk +%defattr(-,root,root,-) +%{tde_bindir}/knetwalk +%{tde_datadir}/apps/knetwalk +%{tde_datadir}/icons/hicolor/*/apps/knetwalk.png +%{tde_tdeappdir}/knetwalk.desktop +%{tde_tdedocdir}/HTML/en/knetwalk/ + +########## + +%package -n trinity-kolf +Summary: Minigolf game for TDE +Group: Amusements/Games/Action/Arcade + +%description -n trinity-kolf +This is a minigolf game for TDE that allows you to go through different +golf courses and waste an exorbitant amount of time. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kolf +%defattr(-,root,root,-) +%{tde_confdir}/magic/kolf.magic +%{tde_datadir}/apps/kolf/ +%{tde_bindir}/kolf +%{tde_tdeappdir}/kolf.desktop +%{tde_datadir}/icons/hicolor/*/apps/kolf.png +%{tde_datadir}/mimelnk/application/x-kolf.desktop +%{tde_datadir}/mimelnk/application/x-kourse.desktop +%{tde_libdir}/libtdeinit_kolf.so +%{tde_libdir}/libtdeinit_kolf.la +%{tde_tdelibdir}/kolf.la +%{tde_tdelibdir}/kolf.so +%{tde_libdir}/libkolf.so.1 +%{tde_libdir}/libkolf.so.1.2.0 +%{tde_tdedocdir}/HTML/en/kolf/ +%{tde_confdir}/magic/kolf.magic.mgc + +########## + +%package -n trinity-kolf-devel +Summary: Development files for Kolf +Group: Development/Libraries/Other +Requires: trinity-kolf = %{version}-%{release} + +%description -n trinity-kolf-devel +This package contains headers and development libraries for compiling +Kolf plugins. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kolf-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kolf +%{tde_libdir}/libkolf.la +%{tde_libdir}/libkolf.so + +########## + +%package -n trinity-konquest +Summary: TDE based GNU-Lactic Konquest game +Group: Amusements/Games/Strategy/Other + +%description -n trinity-konquest +This the TDE version of Gnu-Lactic Konquest, a multi-player strategy +game. The goal of the game is to expand your interstellar empire +across the galaxy and, of course, crush your rivals in the process. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-konquest +%defattr(-,root,root,-) +%{tde_datadir}/apps/konquest/ +%{tde_datadir}/icons/hicolor/*/apps/konquest.png +%{tde_tdeappdir}/konquest.desktop +%{tde_bindir}/konquest +%{tde_tdedocdir}/HTML/en/konquest/ + +########## + +%package -n trinity-kpat +Summary: Trinity solitaire patience game +Group: Amusements/Games/Board/Card + +%description -n trinity-kpat +KPatience is a collection of 14 card games. All the games are single +player games. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kpat +%defattr(-,root,root,-) +%{tde_datadir}/icons/hicolor/*/apps/kpat.png +%{tde_datadir}/apps/kpat/ +%{tde_tdeappdir}/kpat.desktop +%{tde_bindir}/kpat +%{tde_tdedocdir}/HTML/en/kpat/ + +########## + +%package -n trinity-kpoker +Summary: Trinity based Poker clone +Group: Amusements/Games/Board/Card + +%description -n trinity-kpoker +KPoker is a TDE compliant clone of those highly addictive pocket +video poker games which are sometimes called "Videopoker" as well. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kpoker +%defattr(-,root,root,-) +%{tde_datadir}/apps/kpoker/ +%{tde_datadir}/icons/hicolor/*/apps/kpoker.png +%{tde_tdeappdir}/kpoker.desktop +%{tde_bindir}/kpoker +%{tde_tdedocdir}/HTML/en/kpoker/ + +########## + +%package -n trinity-kreversi +Summary: Reversi for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-kreversi +Reversi is a simple strategy game that is played by two +players. There is only one type of piece - one side of it is black, +the other white. If a player captures a piece on the board, that +piece is turned and belongs to that player. The winner is the person +that has more pieces of his own color on the board and if there are +no more moves possible. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kreversi +%defattr(-,root,root,-) +%{tde_bindir}/kreversi +%{tde_tdeappdir}/kreversi.desktop +%{tde_datadir}/apps/kreversi/ +%{tde_datadir}/config.kcfg/kreversi.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/lastmoves.png +%{tde_datadir}/icons/crystalsvg/*/actions/legalmoves.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/lastmoves.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/legalmoves.svgz +%{tde_datadir}/icons/hicolor/*/apps/kreversi.png +%{tde_tdedocdir}/HTML/en/kreversi/ + +########## + +%package -n trinity-ksame +Summary: SameGame for Trinity +Group: Amusements/Games/Strategy/Other + +%description -n trinity-ksame +KSame is a simple game. It's played by one player, so there is only +one winner :-) You play for fun and against the high score. It has +been inspired by SameGame, that is only famous on the Macintosh +platform. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksame +%defattr(-,root,root,-) +%{tde_bindir}/ksame +%{tde_datadir}/icons/hicolor/*/apps/ksame.png +%{tde_datadir}/apps/ksame/ +%{tde_tdeappdir}/ksame.desktop +%{tde_tdedocdir}/HTML/en/ksame/ + +########## + +%package -n trinity-kshisen +Summary: Shisen-Sho for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-kshisen +KShisen-Sho is a single-player-game similar to Mahjongg and uses the +same set of tiles as Mahjongg. + +The object of the game is to remove all tiles from the field. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kshisen +%defattr(-,root,root,-) +%{tde_datadir}/apps/kshisen/ +%{tde_datadir}/config.kcfg/kshisen.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kshisen.png +%{tde_tdeappdir}/kshisen.desktop +%{tde_bindir}/kshisen +%{tde_tdedocdir}/HTML/en/kshisen/ + +########## + +%package -n trinity-ksirtet +Summary: Tetris and Puyo-Puyo games for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-ksirtet +This program is a clone of the well known game Tetris. You must fit +the falling pieces to form full lines. You can rotate and translate +the falling piece. The game ends when no more piece can fall ie when +your incomplete lines reach the top of the board. + +Every time you have destroyed 10 lines, you gain a level and the +pieces fall quicker (exactly the piece falls from a line each +1/(1+level) second). + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksirtet +%defattr(-,root,root,-) +%{tde_tdeappdir}/ksirtet.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksirtet.png +%{tde_datadir}/apps/ksirtet/ +%{tde_bindir}/ksirtet +%{tde_datadir}/config.kcfg/ksirtet.kcfg +%{tde_tdedocdir}/HTML/en/ksirtet/ + +########## + +%package -n trinity-ksmiletris +Summary: Tetris like game for Trinity +Group: Amusements/Games/Action/Arcade + +%description -n trinity-ksmiletris +This is a game with falling blocks composed of different types of +smilies. The object of the game is to "crack a smile" by guiding +blocks so there are two or more of the same symbol vertically. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksmiletris +%defattr(-,root,root,-) +%{tde_datadir}/apps/ksmiletris/ +%{tde_datadir}/icons/hicolor/*/apps/ksmiletris.png +%{tde_tdeappdir}/ksmiletris.desktop +%{tde_bindir}/ksmiletris +%{tde_tdedocdir}/HTML/en/ksmiletris/ + +########## + +%package -n trinity-ksnake +Summary: Snake Race for Trinity +Group: Amusements/Games/Action/Arcade + +%description -n trinity-ksnake +Snake Race is a game of speed and agility. You are a hungry snake and +are trying to eat all the apples in the room before getting out! + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksnake +%defattr(-,root,root,-) +%{tde_datadir}/apps/ksnake/ +%{tde_datadir}/config.kcfg/ksnake.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ksnake.png +%{tde_tdeappdir}/ksnake.desktop +%{tde_bindir}/ksnake +%{tde_tdedocdir}/HTML/en/ksnake/ + +########## + +%package -n trinity-ksokoban +Summary: Sokoban game for Trinity +Group: Amusements/Games/Strategy/Other + +%description -n trinity-ksokoban +The first sokoban game was created in 1982 by Hiroyuki Imabayashi at +the Japanese company Thinking Rabbit, Inc. "Sokoban" is japanese for +"warehouse keeper". The idea is that you are a warehouse keeper +trying to push crates to their proper locations in a warehouse. + +The problem is that you cannot pull the crates or step over them. If +you are not careful, some of the crates can get stuck in wrong places +and/or block your way. + +It can be rather difficult just to solve a level. But if you want to +make it even harder, you can try to minimise the number of moves +and/or pushes you use to solve the level. + +To make the game more fun for small kids (below 10 years or so), some +collections with easier levels are also included in KSokoban. These +are marked (easy) in the level collection menu. Of course, these +levels can be fun for adults too, for example if you don't want to +expose yourself to too much mental strain. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksokoban +%defattr(-,root,root,-) +%{tde_tdeappdir}/ksokoban.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksokoban.png +%{tde_bindir}/ksokoban +%{tde_tdedocdir}/HTML/en/ksokoban/ + +########## + +%package -n trinity-kspaceduel +Summary: Arcade two-player space game for Trinity +Group: Amusements/Games/Action/Arcade + +%description -n trinity-kspaceduel +KSpaceduel is an space arcade game for two players. + +Each player controls a ship that flies around the sun and tries to +shoot at the other ship. You can play KSpaceduel with another person, +against the computer, or you can have the computer control both ships +and play each other. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kspaceduel +%defattr(-,root,root,-) +%{tde_datadir}/apps/kspaceduel/ +%{tde_datadir}/icons/hicolor/*/apps/kspaceduel.png +%{tde_tdeappdir}/kspaceduel.desktop +%{tde_bindir}/kspaceduel +%{tde_datadir}/config.kcfg/kspaceduel.kcfg +%{tde_tdedocdir}/HTML/en/kspaceduel/ + +########## + +%package -n trinity-ktron +Summary: Tron clone for the K Desktop Environment +Group: Amusements/Games/Action/Arcade + +%description -n trinity-ktron +The object of the game is to avoid running into walls, your own tail, +and that of your opponent. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ktron +%defattr(-,root,root,-) +%{tde_bindir}/ktron +%{tde_datadir}/icons/hicolor/*/apps/ktron.png +%{tde_tdeappdir}/ktron.desktop +%{tde_datadir}/apps/ktron/ +%{tde_datadir}/config.kcfg/ktron.kcfg +%{tde_tdedocdir}/HTML/en/ktron/ + +########## + +%package -n trinity-ktuberling +Summary: Potato Guy for Trinity +Group: Amusements/Games/Action/Arcade + +%description -n trinity-ktuberling +KTuberling is a game intended for small children. Of course, it may +be suitable for adults who have remained young at heart. + +It is a potato editor. That means that you can drag and drop eyes, +mouths, moustache, and other parts of face and goodies onto a +potato-like guy. Similarly, you have a penguin on which you can drop +other stuff. + +There is no winner for the game. The only purpose is to make the +funniest faces you can. + +There is a museum (like a "Madame Tusseau" gallery) where you can +find many funny examples of decorated potatoes. Of course, you can +send your own creations to the programmer, Eric Bischoff, who will +include them in the museum if he gets some spare time. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ktuberling +%defattr(-,root,root,-) +%{tde_bindir}/ktuberling +%{tde_datadir}/icons/hicolor/*/apps/ktuberling.png +%{tde_tdeappdir}/ktuberling.desktop +%{tde_datadir}/apps/ktuberling/ +%{tde_datadir}/mimelnk/application/x-tuberling.desktop +%{tde_tdedocdir}/HTML/en/ktuberling/ + +########## + +%package -n trinity-twin4 +Summary: Connect Four clone for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-twin4 +Four wins is a game for two players. Each player is represented by a +colour (yellow and red). The goal of the game is to get four +connected pieces of your colour into a row, column or any +diagonal. This is done by placing one of your pieces into any of the +seven columns. A piece will begin to fill a column from the bottom, +i.e. it will fall down until it reaches the ground level or another +stone. After a move is done it is the turn of the other player. This +is repeated until the game is over, i.e. one of the players has four +pieces in a row, column or diagonal or no more moves are possible +because the board is filled. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-twin4 +%defattr(-,root,root,-) +%{tde_bindir}/twin4 +%{tde_bindir}/twin4proc +%{tde_datadir}/apps/twin4/ +%{tde_datadir}/config.kcfg/twin4.kcfg +%{tde_datadir}/icons/hicolor/*/apps/twin4.png +%{tde_tdeappdir}/twin4.desktop +%{tde_tdedocdir}/HTML/en/twin4/ + +########## + +%package -n trinity-lskat +Summary: Lieutnant Skat card game for Trinity +Group: Amusements/Games/Board/Card + +%description -n trinity-lskat +Lieutnant Skat (from German Offiziersskat) is a card game for two +players. It is roughly played according to the rules of Skat but with +only two players and simplified rules. + +Every player has a set of cards in front of him/her, half of them +covered and half of them open. Both players try to win more than 60 +of the 120 possible points. After 16 moves all cards are played and +the game ends. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-lskat +%defattr(-,root,root,-) +%{tde_bindir}/lskat +%{tde_bindir}/lskatproc +%{tde_datadir}/apps/lskat/ +%{tde_datadir}/icons/hicolor/*/apps/lskat.png +%{tde_tdeappdir}/lskat.desktop +%{tde_tdedocdir}/HTML/en/lskat/ + +########## + +%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 + +%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 \ + -DCMAKE_PROGRAM_PATH="%{tde_bindir}" \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DBUILD_ALL="ON" \ + -DWITH_ALL_OPTIONS="ON" \ + .. + +%__make %{?_smp_mflags} || %__make + + +%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 -r kasteroids Game ArcadeGame +%suse_update_desktop_file -r KGoldrunner Game ArcadeGame +%suse_update_desktop_file -r ksnake Game ArcadeGame +%suse_update_desktop_file -r kspaceduel Game ArcadeGame +%suse_update_desktop_file -r ktron Game ArcadeGame +%suse_update_desktop_file -r kfouleggs Game BlocksGame +%suse_update_desktop_file -r ksirtet Game BlocksGame +%suse_update_desktop_file -r klickety Game BoardGame +%suse_update_desktop_file -r ksmiletris Game BlocksGame +%suse_update_desktop_file -r ktuberling Game KidsGame +%suse_update_desktop_file -r atlantik Game BoardGame +%suse_update_desktop_file -r kbackgammon Game BoardGame +%suse_update_desktop_file -r kbattleship Game BoardGame +%suse_update_desktop_file -r kblackbox Game BoardGame +%suse_update_desktop_file -r kenolaba Game BoardGame +%suse_update_desktop_file -r kmahjongg Game BoardGame +%suse_update_desktop_file -r kreversi Game BoardGame +%suse_update_desktop_file -r kshisen Game BoardGame +%suse_update_desktop_file -r twin4 Game BoardGame +%suse_update_desktop_file -r kpat Game CardGame +%suse_update_desktop_file -r kpoker Game CardGame +%suse_update_desktop_file -r lskat Game CardGame +%suse_update_desktop_file -r katomic Game LogicGame +%suse_update_desktop_file -r kjumpingcube Game LogicGame +%suse_update_desktop_file -r klines Game LogicGame +%suse_update_desktop_file -r -G "Tactical Game" knetwalk Game LogicGame +%suse_update_desktop_file -r kmines Game LogicGame +%suse_update_desktop_file -r konquest Game LogicGame +%suse_update_desktop_file -r ksame Game LogicGame +%suse_update_desktop_file -r ksokoban Game LogicGame +%suse_update_desktop_file -r kbounce Game LogicGame +%suse_update_desktop_file -r kolf Game SportsGame +%endif + +# Links duplicate files +%fdupes "%{?buildroot}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdegraphics/tdegraphics-14.0.0.spec b/redhat/main/tdegraphics/tdegraphics-14.0.0.spec deleted file mode 100644 index 5206a11b8..000000000 --- a/redhat/main/tdegraphics/tdegraphics-14.0.0.spec +++ /dev/null @@ -1,1120 +0,0 @@ -# -# spec file for package tdegraphics (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 tdegraphics -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_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} -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Trinity Desktop Environment - Graphics Applications -Group: Productivity/Graphics/Viewers -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: gettext -BuildRequires: libtool -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 - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1310 -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# LIBUSB support -BuildRequires: libusb-devel - -# MNG support -BuildRequires: libmng-devel - -# TIFF support -BuildRequires: libtiff-devel - -# PCRE support -BuildRequires: pcre-devel - -# ACL support -BuildRequires: libacl-devel - -# GIF support -%if 0%{?suse_version} || 0%{?fedora} >= 28 -BuildRequires: giflib-devel -%else -BuildRequires: libungif-devel -%endif - -# GPHOTO2 support -%if 0%{?suse_version} -BuildRequires: libgphoto2-devel -%else -BuildRequires: gphoto2-devel -%endif - -# PAPER support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_paper 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}paper-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libpaper-devel -%endif -%endif - -# T1LIB support -%if 0%{?suse_version} && 0%{?suse_version} <= 1230 -%define with_t1lib 1 -BuildRequires: t1lib-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} -%define with_t1lib 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}t1lib-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: t1lib-devel -%endif -%endif - -# SANE support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}sane1-devel -%else -BuildRequires: sane-backends-devel -%endif - -# LIBXXF86VM support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xxf86vm-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210 -BuildRequires: libXxf86vm-devel -%endif - -# XMU support -%if 0%{?suse_version} == 1140 -BuildRequires: xorg-x11-libXmu-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210 -BuildRequires: libXmu-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} >= 4 -BuildRequires: libxmu-devel -%endif -%if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3 -BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel -%endif - -# MESA support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: mesa-libGL-devel -BuildRequires: mesa-libGLU-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: mesaglu-devel -%endif -%if 0%{?suse_version} -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-Mesa-libGLU -%endif - -# DRM support -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%else -BuildRequires: libdrm-devel -%endif - -# OPENEXR support -BuildRequires: OpenEXR-devel - -# POPPLER support -%define with_pdf 1 -%if 0%{?with_pdf} -%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version} -%if 0%{?suse_version} >= 1500 -BuildRequires: libpoppler-devel >= 0.12 -%else -BuildRequires: poppler-devel >= 0.12 -%endif -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}poppler-devel -%endif -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -# On RHEL 5, the distro-provided poppler is too old. We built a newer one. -BuildRequires: trinity-poppler-devel >= 0.12 -%endif -%endif - -# LCMS support -%if 0%{?suse_version} || 0%{?rhel} >= 7 -BuildRequires: liblcms-devel -%else -BuildRequires: lcms-devel -%endif - -# FRIBIDI support -BuildRequires: fribidi-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# kamera -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -%define build_kamera 1 -%endif - -# kmrml (deprecated) -#define build_kmrml 1 -%if 0%{?build_kmrml} -#Requires: gift -%else -Obsoletes: trinity-kmrml -%endif - -Obsoletes: trinity-kdegraphics < %{version}-%{release} -Provides: trinity-kdegraphics = %{version}-%{release} -Obsoletes: trinity-kdegraphics-libs < %{version}-%{release} -Provides: trinity-kdegraphics-libs = %{version}-%{release} -Obsoletes: trinity-kdegraphics-extras < %{version}-%{release} -Provides: trinity-kdegraphics-extras = %{version}-%{release} - - -%{?build_kamera:Requires: trinity-kamera = %{version}-%{release}} -Requires: trinity-kcoloredit = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: trinity-kdvi = %{version}-%{release} -Requires: trinity-kfax = %{version}-%{release} -Requires: trinity-kfaxview = %{version}-%{release} -Requires: trinity-kgamma = %{version}-%{release} -Requires: trinity-kghostview = %{version}-%{release} -Requires: trinity-kiconedit = %{version}-%{release} -%{?build_kmrml:Requires: trinity-kmrml = %{version}-%{release}} -Requires: trinity-kolourpaint = %{version}-%{release} -Requires: trinity-kooka = %{version}-%{release} -Requires: trinity-kpdf = %{version}-%{release} -Requires: trinity-kpovmodeler = %{version}-%{release} -Requires: trinity-kruler = %{version}-%{release} -Requires: trinity-ksnapshot = %{version}-%{release} -Requires: trinity-ksvg = %{version}-%{release} -Requires: trinity-kview = %{version}-%{release} -Requires: trinity-kviewshell = %{version}-%{release} -Requires: trinity-libkscan = %{version}-%{release} -%if 0%{?with_pdf} -Requires: trinity-libpoppler-tqt = %{version}-%{release} -%endif - -%description -Graphics applications for the Trinity Desktop Environment, including -%if 0%{?build_kamera} -* kamera (digital camera support) -%endif -* kcoloredit (palette editor and color chooser) -* kdvi (displays TeX .dvi files) -* kfax -* kfaxview -* kghostview (displays postscript files) -* kiconedit (icon editor) -* kooka (scanner application) -* kpdf (displays PDF files) -* kpovmodler -* kruler (screen ruler and color measurement tool) -* ksnapshot (screen capture utility) -* kview (image viewer for GIF, JPEG, TIFF, etc.) - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog README - -########## - -%if 0%{?build_kamera} - -%package -n trinity-kamera -Summary: Digital camera io_slave for Konqueror -Group: Hardware/Camera - -%description -n trinity-kamera -This is a digital camera io_slave for TDE which uses gphoto2 and libgpio -to allow access to your camera's pictures with the URL camera:/ - -%files -n trinity-kamera -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_kamera.la -%{tde_tdelibdir}/kcm_kamera.so -%{tde_tdelibdir}/tdeio_kamera.la -%{tde_tdelibdir}/tdeio_kamera.so -%{tde_tdeappdir}/kamera.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/camera_test.png -%{tde_datadir}/icons/crystalsvg/*/apps/camera-photo.png -%{tde_datadir}/icons/crystalsvg/*/devices/camera-photo.png -%{tde_datadir}/icons/crystalsvg/*/places/camera-photo.png -%{tde_datadir}/services/camera.protocol -%{tde_tdedocdir}/HTML/en/kamera/ -%{tde_tdedocdir}/HTML/en/tdeioslave/camera/ - -%endif - -########## - -%package -n trinity-kcoloredit -Summary: A color palette editor and color picker for TDE -Group: Productivity/Graphics/Viewers - -%description -n trinity-kcoloredit -This package contains two programs, a color palette editor and also a color -picker. - -%files -n trinity-kcoloredit -%defattr(-,root,root,-) -%{tde_bindir}/kcolorchooser -%{tde_bindir}/kcoloredit -%{tde_tdeappdir}/kcolorchooser.desktop -%{tde_tdeappdir}/kcoloredit.desktop -%{tde_datadir}/apps/kcoloredit/ -%{tde_datadir}/icons/hicolor/*/apps/kcolorchooser.png -%{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png -%{tde_tdedocdir}/HTML/en/kcoloredit/ - -########## - -%package kfile-plugins -Summary: TDE metainfo plugins for graphic files -Group: System/GUI/Other - -%description kfile-plugins -This packages provides meta information for graphic files (file sizes, -tags, etc. all from within the file manager). - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/gsthumbnail.la -%{tde_tdelibdir}/gsthumbnail.so -%{tde_tdelibdir}/tdefile_bmp.la -%{tde_tdelibdir}/tdefile_bmp.so -%{tde_tdelibdir}/tdefile_dds.la -%{tde_tdelibdir}/tdefile_dds.so -%{tde_tdelibdir}/tdefile_dvi.la -%{tde_tdelibdir}/tdefile_dvi.so -%{tde_tdelibdir}/tdefile_exr.la -%{tde_tdelibdir}/tdefile_exr.so -%{tde_tdelibdir}/tdefile_gif.la -%{tde_tdelibdir}/tdefile_gif.so -%{tde_tdelibdir}/tdefile_ico.la -%{tde_tdelibdir}/tdefile_ico.so -%{tde_tdelibdir}/tdefile_jpeg.la -%{tde_tdelibdir}/tdefile_jpeg.so -%{tde_tdelibdir}/tdefile_pcx.la -%{tde_tdelibdir}/tdefile_pcx.so -%if 0%{?with_pdf} -%{tde_tdelibdir}/tdefile_pdf.la -%{tde_tdelibdir}/tdefile_pdf.so -%endif -%{tde_tdelibdir}/tdefile_png.la -%{tde_tdelibdir}/tdefile_png.so -%{tde_tdelibdir}/tdefile_pnm.la -%{tde_tdelibdir}/tdefile_pnm.so -%{tde_tdelibdir}/tdefile_ps.la -%{tde_tdelibdir}/tdefile_ps.so -%{tde_tdelibdir}/tdefile_raw.la -%{tde_tdelibdir}/tdefile_raw.so -%{tde_tdelibdir}/tdefile_rgb.la -%{tde_tdelibdir}/tdefile_rgb.so -%{tde_tdelibdir}/tdefile_tga.la -%{tde_tdelibdir}/tdefile_tga.so -%{tde_tdelibdir}/tdefile_tiff.la -%{tde_tdelibdir}/tdefile_tiff.so -%{tde_tdelibdir}/tdefile_xbm.la -%{tde_tdelibdir}/tdefile_xbm.so -%{tde_tdelibdir}/tdefile_xpm.la -%{tde_tdelibdir}/tdefile_xpm.so -%{tde_datadir}/services/gsthumbnail.desktop -%{tde_datadir}/services/tdefile_bmp.desktop -%{tde_datadir}/services/tdefile_dds.desktop -%{tde_datadir}/services/tdefile_dvi.desktop -%{tde_datadir}/services/tdefile_exr.desktop -%{tde_datadir}/services/tdefile_gif.desktop -%{tde_datadir}/services/tdefile_ico.desktop -%{tde_datadir}/services/tdefile_jpeg.desktop -%{tde_datadir}/services/tdefile_pcx.desktop -%if 0%{?with_pdf} -%{tde_datadir}/services/tdefile_pdf.desktop -%endif -%{tde_datadir}/services/tdefile_png.desktop -%{tde_datadir}/services/tdefile_pnm.desktop -%{tde_datadir}/services/tdefile_ps.desktop -%{tde_datadir}/services/tdefile_raw.desktop -%{tde_datadir}/services/tdefile_rgb.desktop -%{tde_datadir}/services/tdefile_tga.desktop -%{tde_datadir}/services/tdefile_tiff.desktop -%{tde_datadir}/services/tdefile_xbm.desktop -%{tde_datadir}/services/tdefile_xpm.desktop - -########## - -%package -n trinity-kdvi -Summary: Dvi viewer for TDE -Group: Productivity/Graphics/Viewers - -%description -n trinity-kdvi -This program and KPart allow the user to display *.DVI files from TeX. - -%files -n trinity-kdvi -%defattr(-,root,root,-) -%{tde_bindir}/kdvi -%{tde_tdelibdir}/kdvipart.la -%{tde_tdelibdir}/kdvipart.so -%{tde_tdeappdir}/kdvi.desktop -%{tde_datadir}/apps/kdvi/ -%{tde_datadir}/config.kcfg/kdvi.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kdvi.png -%{tde_datadir}/icons/hicolor/scalable/apps/kdvi.svgz -%{tde_datadir}/services/kdvimultipage.desktop -%{tde_tdedocdir}/HTML/en/kdvi/ - -########## - -%package -n trinity-kfax -Summary: G3/G4 fax viewer for Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-kfax -A fax viewer for Trinity, supporting the display of raw and tiffed fax images -(g3, g3-2d, g4). - -%files -n trinity-kfax -%defattr(-,root,root,-) -%{tde_bindir}/kfax -%{tde_tdeappdir}/kfax.desktop -%{tde_datadir}/apps/kfax/ -%{tde_datadir}/icons/hicolor/??x??/apps/kfax.png -%{tde_datadir}/icons/hicolor/scalable/apps/kfax.svgz -%{tde_tdedocdir}/HTML/en/kfax/ - -########## - -%package -n trinity-kfaxview -Summary: G3/G4 fax viewer for Trinity using kviewshell -Group: Productivity/Publishing/TeX/Frontends - -%description -n trinity-kfaxview -A fax viewer for Trinity, supporting the display of raw and tiffed fax images -(g3, g3-2d, g4). - -This faxviewer uses kviewshell and is intended to replace the standalone -kfax application once it reproduces all of kfax's features. - -%files -n trinity-kfaxview -%defattr(-,root,root,-) -%{tde_bindir}/kfaxview -%{tde_libdir}/libkfaximage.so.* -%{tde_tdelibdir}/kfaxviewpart.* -%{tde_tdeappdir}/kfaxview.desktop -%{tde_datadir}/apps/kfaxview/ -%{tde_datadir}/icons/hicolor/??x??/apps/kfaxview.png -%{tde_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz -%{tde_datadir}/services/kfaxmultipage.desktop -%{tde_datadir}/services/kfaxmultipage_tiff.desktop -%{tde_tdedocdir}/HTML/en/kfaxview/ - -########## - -%package -n trinity-kgamma -Summary: Gamma correction module for the Trinity Control Center -Group: Productivity/Graphics/Viewers - -%description -n trinity-kgamma -KGamma is a Trinity Control Center module for gamma calibration/correction -of XFree86. With proper gamma settings, your display (websites, images, -etc.) will look the same on your monitor as on other monitors. - -Homepage: http://kgamma.berlios.de/index2.php - -%files -n trinity-kgamma -%defattr(-,root,root,-) -%{tde_bindir}/xf86gammacfg -%{tde_tdelibdir}/kcm_kgamma.la -%{tde_tdelibdir}/kcm_kgamma.so -%{tde_datadir}/applnk/.hidden/kgamma.desktop -%{tde_datadir}/apps/kgamma/ -%{tde_datadir}/icons/hicolor/*/apps/kgamma.png -%{tde_tdedocdir}/HTML/en/kgamma/ - -########## - -%package -n trinity-kghostview -Summary: PostScript viewer for Trinity -Group: Productivity/Graphics/Viewers -Requires: ghostscript - -%description -n trinity-kghostview -KGhostview is Trinity's PostScript viewer. It is a port of Tim Theisen's -Ghostview program which is used to view documents prepared in Adobe's -PostScript page description language. PostScript is the major page -description language for printing on UNIX systems, and this application is -useful to preview material intended for printing, or for reading documents -online. - -%files -n trinity-kghostview -%defattr(-,root,root,-) -%{tde_bindir}/kghostview -%{tde_tdelibdir}/libkghostviewpart.la -%{tde_tdelibdir}/libkghostviewpart.so -%{tde_libdir}/libkghostviewlib.so.* -%{tde_tdeappdir}/kghostview.desktop -%{tde_datadir}/apps/tdeconf_update/kghostview.upd -%{tde_datadir}/apps/tdeconf_update/update-to-xt-names.pl -%{tde_datadir}/apps/kghostview/ -%{tde_datadir}/config.kcfg/kghostview.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kghostview.png -%{tde_datadir}/services/kghostview_part.desktop -%{tde_tdedocdir}/HTML/en/kghostview/ - -########## - -%package -n trinity-tdeiconedit -Summary: An icon editor for Trinity -Group: Productivity/Graphics/Viewers - -Obsoletes: trinity-kiconedit < %{version}-%{release} -Provides: trinity-kiconedit = %{version}-%{release} - -%description -n trinity-tdeiconedit -TDEIconedit allows you easily to create and edit icons. - -%files -n trinity-tdeiconedit -%defattr(-,root,root,-) -%{tde_bindir}/tdeiconedit -%{tde_tdeappdir}/tdeiconedit.desktop -%{tde_datadir}/apps/tdeiconedit/ -%{tde_datadir}/icons/hicolor/*/apps/tdeiconedit.png -%{tde_tdedocdir}/HTML/en/tdeiconedit/ - -########## - -%if 0%{?build_kmrml} - -%package -n trinity-kmrml -Summary: A Konqueror plugin for searching pictures -Group: Productivity/Graphics/Viewers - -%description -n trinity-kmrml -MRML is short for Multimedia Retrieval Markup Language, which defines a -protocol for querying a server for images based on their content. See -http://www.mrml.net about MRML and the GNU Image Finding Tool (GIFT), an -MRML server. - -%files -n trinity-kmrml -%defattr(-,root,root,-) -%{tde_bindir}/mrmlsearch -%{tde_tdelibdir}/kcm_kmrml.la -%{tde_tdelibdir}/kcm_kmrml.so -%{tde_tdelibdir}/kded_daemonwatcher.la -%{tde_tdelibdir}/kded_daemonwatcher.so -%{tde_tdelibdir}/tdeio_mrml.la -%{tde_tdelibdir}/tdeio_mrml.so -%{tde_tdelibdir}/libkmrmlpart.la -%{tde_tdelibdir}/libkmrmlpart.so -%{tde_tdelibdir}/mrmlsearch.la -%{tde_tdelibdir}/mrmlsearch.so -%{tde_libdir}/libtdeinit_mrmlsearch.so -%{tde_tdeappdir}/kcmkmrml.desktop -%{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop -%{tde_datadir}/mimelnk/text/mrml.desktop -%{tde_datadir}/services/kded/daemonwatcher.desktop -%{tde_datadir}/services/mrml.protocol -%{tde_datadir}/services/mrml_part.desktop - -%endif - -########## - -%package -n trinity-kolourpaint -Summary: A simple paint program for Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-kolourpaint -KolourPaint is a very simple paint program for Trinity. It aims to be -conceptually simple to understand; providing a level of functionality -targeted towards the average user. It's designed for daily tasks like: - -* Painting - drawing diagrams and "finger painting" -* Image Manipulation - editing screenshots and photos; applying effects -* Icon Editing - drawing clipart and logos with transparency - -It's not an unusable and monolithic program where simple tasks like -drawing lines become near impossible. Nor is it so simple that it lacks -essential features like Undo/Redo. - -Homepage: http://kolourpaint.sourceforge.net - -%files -n trinity-kolourpaint -%defattr(-,root,root,-) -%{tde_bindir}/kolourpaint -%{tde_tdeappdir}/kolourpaint.desktop -%{tde_datadir}/apps/kolourpaint/ -%{tde_datadir}/icons/hicolor/*/apps/kolourpaint.png -%{tde_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz -%{tde_tdedocdir}/HTML/en/kolourpaint/ - -########## - -%package -n trinity-kooka -Summary: Scanner program for Trinity -Group: Hardware/Scanner - -%description -n trinity-kooka -Kooka is an open source GNU/Linux scan program based on SANE and -KScan library. - -Kooka helps you to handle the most important scan parameters, find the -correct image file format to save and manage your scanned images. It -offers support for different OCR modules. Libkscan, a autonomous part -of Kooka, provides a scan service for easy and consistent use to all -KDE applications. - -Install ocrad or gocr if you wish to enable optical character recognition -in kooka. - -Homepage: http://kooka.kde.org/ - -%files -n trinity-kooka -%defattr(-,root,root,-) -%{tde_bindir}/kooka -%{tde_tdeappdir}/kooka.desktop -%{tde_datadir}/apps/kooka/ -%{tde_confdir}/kookarc -%{tde_datadir}/icons/hicolor/*/apps/kooka.png -%{tde_tdedocdir}/HTML/en/kooka/ - -########## - -%package -n trinity-kpdf -Summary: PDF viewer for Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-kpdf -KPDF allows you to view PDF (Portable Document Format) files. This package -includes kpdfpart so you can embed in konqueror or run as a standalone -application. - -%files -n trinity-kpdf -%defattr(-,root,root,-) -%{tde_bindir}/kpdf -%{tde_tdelibdir}/libkpdfpart.la -%{tde_tdelibdir}/libkpdfpart.so -%{tde_tdeappdir}/kpdf.desktop -%{tde_datadir}/apps/kpdf/ -%{tde_datadir}/apps/kpdfpart/ -%{tde_datadir}/config.kcfg/kpdf.kcfg -%{tde_tdedocdir}/HTML/en/kpdf/ -%{tde_datadir}/icons/hicolor/*/apps/kpdf.png -%{tde_datadir}/icons/hicolor/scalable/apps/kpdf.svgz -%{tde_datadir}/services/kpdf_part.desktop - -########## - -%package -n trinity-kpovmodeler -Summary: A graphical editor for povray scenes -Group: Productivity/Graphics/Viewers -#Requires: povray - -%description -n trinity-kpovmodeler -KPovmodeler is KDE's graphical editor for povray scenes. KPovModeler is a -modeling and composition program for creating POV-Ray scenes in KDE. - -For most modelers, POV-Ray is nothing but a rendering engine. This greatly -limits the innate possibilities of the POV-Ray scripted language. This -is not the case for KPovModeler, which allows you to use all the features -of POV-Ray through the translation of POV-Ray language into a graphical -tree. - -kpovmodeler uses the povray package, currently available only in Debian's -non-free, unsupported repository. - -Homepage: http://www.kpovmodeler.org - -%files -n trinity-kpovmodeler -%defattr(-,root,root,-) -%{tde_bindir}/kpovmodeler -%{tde_libdir}/libkpovmodeler.so.* -%{tde_tdelibdir}/libkpovmodelerpart.* -%{tde_tdeappdir}/kpovmodeler.desktop -%{tde_datadir}/apps/kpovmodeler/ -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.* -%{tde_datadir}/icons/hicolor/*/apps/kpovmodeler.* -%doc %{tde_tdedocdir}/HTML/en/kpovmodeler/ - -########## - -%package -n trinity-kruler -Summary: A screen ruler and color measurement tool for Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-kruler -Kruler is a screen ruler (using pixels) and color measurement tool for KDE. - -%files -n trinity-kruler -%defattr(-,root,root,-) -%{tde_bindir}/kruler -%{tde_tdeappdir}/kruler.desktop -%{tde_datadir}/applnk/Graphics/kruler.desktop -%{tde_datadir}/apps/kruler/ -%{tde_datadir}/icons/hicolor/*/apps/kruler.png -%{tde_tdedocdir}/HTML/en/kruler/ - -########## - -%package -n trinity-ksnapshot -Summary: Screenshot utility for Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-ksnapshot -KSnapshot is a simple applet for taking screenshots. It is capable of -capturing images of either the whole desktop or just a single window. -The images can then be saved in a variety of formats. - -%files -n trinity-ksnapshot -%defattr(-,root,root,-) -%{tde_bindir}/ksnapshot -%{tde_tdeappdir}/ksnapshot.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksnapshot.png -%{tde_datadir}/icons/hicolor/scalable/apps/ksnapshot.svgz -%{tde_tdedocdir}/HTML/en/ksnapshot/ - -########## - -%package -n trinity-ksvg -Summary: SVG viewer for Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-ksvg -KSVG allows you view SVG (scalable vector graphics) files. This package -includes kpart so you can embed it in konqueror and a standalone -application. - -%files -n trinity-ksvg -%defattr(-,root,root,-) -%{tde_bindir}/printnodetest -%{tde_bindir}/svgdisplay -%{tde_tdelibdir}/libksvgplugin.la -%{tde_tdelibdir}/libksvgplugin.so -%{tde_tdelibdir}/libksvgrendererlibart.la -%{tde_tdelibdir}/libksvgrendererlibart.so -%{tde_tdelibdir}/svgthumbnail.la -%{tde_tdelibdir}/svgthumbnail.so -%{tde_libdir}/libksvg.so.0 -%{tde_libdir}/libksvg.so.0.0.1 -%{tde_libdir}/libtext2path.so.0 -%{tde_libdir}/libtext2path.so.0.0.0 -%{tde_datadir}/apps/ksvg/ -%{tde_datadir}/services/ksvglibartcanvas.desktop -%{tde_datadir}/services/ksvgplugin.desktop -%{tde_datadir}/services/svgthumbnail.desktop -%{tde_datadir}/servicetypes/ksvgrenderer.desktop - -########## - -%package -n trinity-kview -Summary: Simple image viewer/converter for Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-kview -KView is a simple image viewer and converter application. It supports -a number of plugins, which add an array of basic editing capabilities -as well. - -%files -n trinity-kview -%defattr(-,root,root,-) -%{tde_bindir}/kview -%{tde_tdelibdir}/kcm_kviewcanvasconfig.la -%{tde_tdelibdir}/kcm_kviewcanvasconfig.so -%{tde_tdelibdir}/kcm_kviewgeneralconfig.la -%{tde_tdelibdir}/kcm_kviewgeneralconfig.so -%{tde_tdelibdir}/kcm_kviewpluginsconfig.la -%{tde_tdelibdir}/kcm_kviewpluginsconfig.so -%{tde_tdelibdir}/kcm_kviewpresenterconfig.la -%{tde_tdelibdir}/kcm_kviewpresenterconfig.so -%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.la -%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.so -%{tde_tdelibdir}/kview.la -%{tde_tdelibdir}/kview.so -%{tde_tdelibdir}/kview_browserplugin.la -%{tde_tdelibdir}/kview_browserplugin.so -%{tde_tdelibdir}/kview_effectsplugin.la -%{tde_tdelibdir}/kview_effectsplugin.so -%{tde_tdelibdir}/kview_presenterplugin.la -%{tde_tdelibdir}/kview_presenterplugin.so -%{tde_tdelibdir}/kview_scannerplugin.la -%{tde_tdelibdir}/kview_scannerplugin.so -%{tde_tdelibdir}/libkviewcanvas.la -%{tde_tdelibdir}/libkviewcanvas.so -%{tde_tdelibdir}/libkviewviewer.la -%{tde_tdelibdir}/libkviewviewer.so -%{tde_libdir}/libtdeinit_kview.so -%{tde_libdir}/libkimageviewer.so.* -%{tde_tdelibdir}/libphotobook.la -%{tde_tdelibdir}/libphotobook.so -%{tde_tdeappdir}/kview.desktop -%{tde_datadir}/apps/kview/ -%{tde_datadir}/apps/kviewviewer/ -%{tde_datadir}/apps/photobook/ -%{tde_datadir}/icons/crystalsvg/*/apps/photobook.png -%{tde_datadir}/icons/hicolor/*/apps/kview.png -%{tde_datadir}/services/tdeconfiguredialog/ -%{tde_datadir}/services/kviewcanvas.desktop -%{tde_datadir}/services/kviewviewer.desktop -%{tde_datadir}/services/photobook.desktop -%{tde_datadir}/servicetypes/kimageviewer.desktop -%{tde_datadir}/servicetypes/kimageviewercanvas.desktop -%{tde_tdedocdir}/HTML/en/kview/ - -########## - -%package -n trinity-kviewshell -Summary: Generic framework for viewer applications in Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-kviewshell -KViewShell is a generic viewing framework that allows the graphical -applications, such as the kview image viewer, to be embedded in other -KDE applications, such as Konqueror. - -KViewShell comes with a djvuviewpart plugin included, for viewing -DjVu images. - -%files -n trinity-kviewshell -%defattr(-,root,root,-) -%{tde_bindir}/kviewshell -%{tde_libdir}/libdjvu.la -%{tde_libdir}/libdjvu.so -%{tde_tdelibdir}/djvuviewpart.so -%{tde_tdelibdir}/djvuviewpart.la -%{tde_tdelibdir}/emptymultipagepart.la -%{tde_tdelibdir}/emptymultipagepart.so -%{tde_tdelibdir}/kviewerpart.la -%{tde_tdelibdir}/kviewerpart.so -%{tde_libdir}/libtdemultipage.so.* -%{tde_datadir}/apps/djvumultipage.rc -%{tde_datadir}/apps/kviewerpart/ -%{tde_datadir}/apps/kviewshell/ -%{tde_datadir}/config.kcfg/djvumultipage.kcfg -%{tde_datadir}/config.kcfg/kviewshell.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kviewshell.png -%{tde_datadir}/services/emptymultipage.desktop -%{tde_datadir}/services/djvumultipage.desktop -%{tde_datadir}/servicetypes/tdemultipage.desktop - -########## - -%package -n trinity-libkscan -Summary: Scanner library for Trinity -Group: Hardware/Scanner - -%description -n trinity-libkscan -KScan is TDE's scanner library. It's used by kooka and by koffice currently. -It provides an easy-to-use library, which allows you to access your scanner -(as long as it's sane compatible). - -%files -n trinity-libkscan -%defattr(-,root,root,-) -%{tde_libdir}/libkscan.so.* -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_color.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_gray.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_halftone.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_lineart.png -%{tde_datadir}/services/scanservice.desktop - -########## - -%package -n trinity-libkscan-devel -Summary: Development files for the Trinity scanner library -Group: Development/Libraries/Other -Requires: trinity-libkscan = %{version}-%{release} - -%description -n trinity-libkscan-devel -This package contains development files for Trinity's scanner library. - -%files -n trinity-libkscan-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkscan.la -%{tde_libdir}/libkscan.so - -########## - -%if 0%{?with_pdf} -%package -n trinity-libpoppler-tqt -Summary: TQt support for Poppler -Group: Productivity/Graphics/Viewers -Obsoletes: poppler-tqt < %{version}-%{release} -Provides: poppler-tqt = %{version}-%{release} -Obsoletes: %{name}-libpoppler-tqt < %{version}-%{release} -Provides: %{name}-libpoppler-tqt = %{version}-%{release} - -%description -n trinity-libpoppler-tqt -TQt support library for Poppler. -This library is used by the Trinity graphics file plugins for PDF support. - -%files -n trinity-libpoppler-tqt -%defattr(-,root,root,-) -%{tde_libdir}/libpoppler-tqt.so.* -%endif - -########## - -%if 0%{?with_pdf} -%package -n trinity-libpoppler-tqt-devel -Summary: Development files for TQt support for Poppler -Group: Development/Libraries/Other -Requires: trinity-libpoppler-tqt = %{version}-%{release} -Obsoletes: poppler-tqt-devel < %{version}-%{release} -Provides: poppler-tqt-devel = %{version}-%{release} -Obsoletes: %{name}-libpoppler-tqt-devel < %{version}-%{release} -Provides: %{name}-libpoppler-tqt-devel = %{version}-%{release} - -%description -n trinity-libpoppler-tqt-devel -Development files of TQt support library for Poppler. -This package contains the development files needed to compile applications against poppler-tqt. - -%files -n trinity-libpoppler-tqt-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/poppler-link-qt3.h -%{tde_tdeincludedir}/poppler-page-transition.h -%{tde_tdeincludedir}/poppler-qt.h -%{tde_libdir}/libpoppler-tqt.la -%{tde_libdir}/libpoppler-tqt.so -%{tde_libdir}/pkgconfig/poppler-tqt.pc -%endif - -########## - -%package devel -Summary: Development files for tdegraphics -Group: Development/Libraries/Other - -Obsoletes: trinity-kdegraphics-devel < %{version}-%{release} -Provides: trinity-kdegraphics-devel = %{version}-%{release} - -Requires: %{name} = %{version}-%{release} -Requires: trinity-libkscan-devel = %{version}-%{release} -%if 0%{?with_pdf} -Requires: trinity-libpoppler-tqt-devel = %{version}-%{release} -%endif - -%description devel -This package contains the development files needed to compile -applications against tdegraphics libraries. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/dom/ -%{tde_tdeincludedir}/kfaximage.h -%{tde_tdeincludedir}/tdemultipageInterface.h -%{tde_tdeincludedir}/ksvg/ -%{tde_tdeincludedir}/kviewshell/ -%{tde_tdeincludedir}/libtext2path-0.1/ -%{tde_libdir}/libtdeinit_kview.la -%if 0%{?build_kmrml} -%{tde_libdir}/libtdeinit_mrmlsearch.la -%endif -%{tde_libdir}/libkghostviewlib.la -%{tde_libdir}/libkghostviewlib.so -%{tde_libdir}/libkimageviewer.la -%{tde_libdir}/libkimageviewer.so -%{tde_libdir}/libtdemultipage.la -%{tde_libdir}/libtdemultipage.so -%{tde_libdir}/libkpovmodeler.la -%{tde_libdir}/libkpovmodeler.so -%{tde_libdir}/libksvg.la -%{tde_libdir}/libksvg.so -%{tde_libdir}/libtext2path.la -%{tde_libdir}/libtext2path.so -# kfaxview -%{tde_libdir}/libkfaximage.so -%{tde_libdir}/libkfaximage.la -# cmake -%{tde_datadir}/cmake/* - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%if 0%{?build_kamera} == 0 -%__rm -rf doc/kamera/ -%endif - -# Fix applications icons -%__sed -i "kooka/kooka.desktop" -e "s|^Icon=.*|Icon=kooka|" - -# Fix FTBFS in RHEL 5 -%if 0%{?rhel} && 0%{?rhel} <= 5 -%__sed -i "kpdf/xpdf/aconf.h" \ - -e "s|#define HAVE_MKSTEMPS 1|#define HAVE_MKSTEMPS 0|" -%__sed -i "tdefile-plugins/dependencies/poppler-tqt/CMakeLists.txt" \ - -e "/link_directories/ s|$|\n \${POPPLER_LIBRARY_DIRS}|" \ - -e "/{POPPLER_INCLUDE_DIRS/ s|$|\n \${POPPLER_INCLUDE_DIRS}/..|" -%endif - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -# 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 \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - \ - %{?with_t1lib:-DWITH_T1LIB=ON} \ - %{?with_paper:-DWITH_LIBPAPER=ON} \ - -DWITH_TIFF=ON \ - -DWITH_OPENEXR=ON \ - -DWITH_PDF=%{?with_pdf:ON}%{?!with_pdf:OFF} \ - -DBUILD_ALL=ON \ - -DBUILD_KUICKSHOW=OFF \ - %{!?build_kmrml:-DBUILD_KMRML=OFF} \ - %{!?build_kamera:-DBUILD_KAMERA=OFF} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Adds missing icons in 'hicolor' theme -%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,32x32,48x48,64x64}"/apps/" -pushd "%{?buildroot}%{tde_datadir}/icons" -for i in {16,32,48,64}; do %__cp $BUILD_ROOT%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/scanner.png %{buildroot}%{tde_datadir}/icons/hicolor/"$i"x"$i"/apps/kooka.png; done -popd - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpovmodeler.desktop Graphics 3DGraphics -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kolourpaint.desktop Graphics RasterGraphics -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/tdeiconedit.desktop Graphics RasterGraphics -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kview.desktop Graphics Viewer -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kooka.desktop Graphics Scanning -%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kruler.desktop Utility DesktopUtility -%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/ksnapshot.desktop Utility DesktopUtility -%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kcolorchooser.desktop Utility DesktopUtility -%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kcoloredit.desktop Utility DesktopUtility -%suse_update_desktop_file -u %{?buildroot}%{tde_tdeappdir}/kfax.desktop Office Viewer -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kghostview.desktop Office Viewer -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kdvi.desktop Office Viewer -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpdf.desktop Office Viewer -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kfaxview.desktop Office Viewer -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kamera.desktop -%endif - -# Links duplicate files -%fdupes "%{?buildroot}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdegraphics/tdegraphics.spec b/redhat/main/tdegraphics/tdegraphics.spec new file mode 100644 index 000000000..2905481b3 --- /dev/null +++ b/redhat/main/tdegraphics/tdegraphics.spec @@ -0,0 +1,1120 @@ +# +# spec file for package tdegraphics (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tdegraphics +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_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} +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Trinity Desktop Environment - Graphics Applications +Group: Productivity/Graphics/Viewers +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: gettext +BuildRequires: libtool +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 + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1310 +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# LIBUSB support +BuildRequires: libusb-devel + +# MNG support +BuildRequires: libmng-devel + +# TIFF support +BuildRequires: libtiff-devel + +# PCRE support +BuildRequires: pcre-devel + +# ACL support +BuildRequires: libacl-devel + +# GIF support +%if 0%{?suse_version} || 0%{?fedora} >= 28 || 0%{?rhel} >= 8 +BuildRequires: giflib-devel +%else +BuildRequires: libungif-devel +%endif + +# GPHOTO2 support +%if 0%{?suse_version} +BuildRequires: libgphoto2-devel +%else +BuildRequires: gphoto2-devel +%endif + +# PAPER support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_paper 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}paper-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libpaper-devel +%endif +%endif + +# T1LIB support +%if 0%{?suse_version} && 0%{?suse_version} <= 1230 +%define with_t1lib 1 +BuildRequires: t1lib-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} || (0%{?rhel} >= 5 && 0%{?rhel} <= 7) || 0%{?fedora} +%define with_t1lib 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}t1lib-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: t1lib-devel +%endif +%endif + +# SANE support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}sane1-devel +%else +BuildRequires: sane-backends-devel +%endif + +# LIBXXF86VM support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xxf86vm-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210 +BuildRequires: libXxf86vm-devel +%endif + +# XMU support +%if 0%{?suse_version} == 1140 +BuildRequires: xorg-x11-libXmu-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210 +BuildRequires: libXmu-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} >= 4 +BuildRequires: libxmu-devel +%endif +%if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3 +BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel +%endif + +# MESA support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: mesaglu-devel +%endif +%if 0%{?suse_version} +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-Mesa-libGLU +%endif + +# DRM support +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%else +BuildRequires: libdrm-devel +%endif + +# OPENEXR support +BuildRequires: OpenEXR-devel + +# POPPLER support +%define with_pdf 1 +%if 0%{?with_pdf} +%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version} +%if 0%{?suse_version} >= 1500 +BuildRequires: libpoppler-devel >= 0.12 +%else +BuildRequires: poppler-devel >= 0.12 +%endif +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}poppler-devel +%endif +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +# On RHEL 5, the distro-provided poppler is too old. We built a newer one. +BuildRequires: trinity-poppler-devel >= 0.12 +%endif +%endif + +# LCMS support +%if 0%{?suse_version} || 0%{?rhel} >= 7 +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif + +# FRIBIDI support +BuildRequires: fribidi-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# kamera +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +%define build_kamera 1 +%endif + +# kmrml (deprecated) +#define build_kmrml 1 +%if 0%{?build_kmrml} +#Requires: gift +%else +Obsoletes: trinity-kmrml +%endif + +Obsoletes: trinity-kdegraphics < %{version}-%{release} +Provides: trinity-kdegraphics = %{version}-%{release} +Obsoletes: trinity-kdegraphics-libs < %{version}-%{release} +Provides: trinity-kdegraphics-libs = %{version}-%{release} +Obsoletes: trinity-kdegraphics-extras < %{version}-%{release} +Provides: trinity-kdegraphics-extras = %{version}-%{release} + + +%{?build_kamera:Requires: trinity-kamera = %{version}-%{release}} +Requires: trinity-kcoloredit = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: trinity-kdvi = %{version}-%{release} +Requires: trinity-kfax = %{version}-%{release} +Requires: trinity-kfaxview = %{version}-%{release} +Requires: trinity-kgamma = %{version}-%{release} +Requires: trinity-kghostview = %{version}-%{release} +Requires: trinity-kiconedit = %{version}-%{release} +%{?build_kmrml:Requires: trinity-kmrml = %{version}-%{release}} +Requires: trinity-kolourpaint = %{version}-%{release} +Requires: trinity-kooka = %{version}-%{release} +Requires: trinity-kpdf = %{version}-%{release} +Requires: trinity-kpovmodeler = %{version}-%{release} +Requires: trinity-kruler = %{version}-%{release} +Requires: trinity-ksnapshot = %{version}-%{release} +Requires: trinity-ksvg = %{version}-%{release} +Requires: trinity-kview = %{version}-%{release} +Requires: trinity-kviewshell = %{version}-%{release} +Requires: trinity-libkscan = %{version}-%{release} +%if 0%{?with_pdf} +Requires: trinity-libpoppler-tqt = %{version}-%{release} +%endif + +%description +Graphics applications for the Trinity Desktop Environment, including +%if 0%{?build_kamera} +* kamera (digital camera support) +%endif +* kcoloredit (palette editor and color chooser) +* kdvi (displays TeX .dvi files) +* kfax +* kfaxview +* kghostview (displays postscript files) +* kiconedit (icon editor) +* kooka (scanner application) +* kpdf (displays PDF files) +* kpovmodler +* kruler (screen ruler and color measurement tool) +* ksnapshot (screen capture utility) +* kview (image viewer for GIF, JPEG, TIFF, etc.) + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog README + +########## + +%if 0%{?build_kamera} + +%package -n trinity-kamera +Summary: Digital camera io_slave for Konqueror +Group: Hardware/Camera + +%description -n trinity-kamera +This is a digital camera io_slave for TDE which uses gphoto2 and libgpio +to allow access to your camera's pictures with the URL camera:/ + +%files -n trinity-kamera +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_kamera.la +%{tde_tdelibdir}/kcm_kamera.so +%{tde_tdelibdir}/tdeio_kamera.la +%{tde_tdelibdir}/tdeio_kamera.so +%{tde_tdeappdir}/kamera.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/camera_test.png +%{tde_datadir}/icons/crystalsvg/*/apps/camera-photo.png +%{tde_datadir}/icons/crystalsvg/*/devices/camera-photo.png +%{tde_datadir}/icons/crystalsvg/*/places/camera-photo.png +%{tde_datadir}/services/camera.protocol +%{tde_tdedocdir}/HTML/en/kamera/ +%{tde_tdedocdir}/HTML/en/tdeioslave/camera/ + +%endif + +########## + +%package -n trinity-kcoloredit +Summary: A color palette editor and color picker for TDE +Group: Productivity/Graphics/Viewers + +%description -n trinity-kcoloredit +This package contains two programs, a color palette editor and also a color +picker. + +%files -n trinity-kcoloredit +%defattr(-,root,root,-) +%{tde_bindir}/kcolorchooser +%{tde_bindir}/kcoloredit +%{tde_tdeappdir}/kcolorchooser.desktop +%{tde_tdeappdir}/kcoloredit.desktop +%{tde_datadir}/apps/kcoloredit/ +%{tde_datadir}/icons/hicolor/*/apps/kcolorchooser.png +%{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png +%{tde_tdedocdir}/HTML/en/kcoloredit/ + +########## + +%package kfile-plugins +Summary: TDE metainfo plugins for graphic files +Group: System/GUI/Other + +%description kfile-plugins +This packages provides meta information for graphic files (file sizes, +tags, etc. all from within the file manager). + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/gsthumbnail.la +%{tde_tdelibdir}/gsthumbnail.so +%{tde_tdelibdir}/tdefile_bmp.la +%{tde_tdelibdir}/tdefile_bmp.so +%{tde_tdelibdir}/tdefile_dds.la +%{tde_tdelibdir}/tdefile_dds.so +%{tde_tdelibdir}/tdefile_dvi.la +%{tde_tdelibdir}/tdefile_dvi.so +%{tde_tdelibdir}/tdefile_exr.la +%{tde_tdelibdir}/tdefile_exr.so +%{tde_tdelibdir}/tdefile_gif.la +%{tde_tdelibdir}/tdefile_gif.so +%{tde_tdelibdir}/tdefile_ico.la +%{tde_tdelibdir}/tdefile_ico.so +%{tde_tdelibdir}/tdefile_jpeg.la +%{tde_tdelibdir}/tdefile_jpeg.so +%{tde_tdelibdir}/tdefile_pcx.la +%{tde_tdelibdir}/tdefile_pcx.so +%if 0%{?with_pdf} +%{tde_tdelibdir}/tdefile_pdf.la +%{tde_tdelibdir}/tdefile_pdf.so +%endif +%{tde_tdelibdir}/tdefile_png.la +%{tde_tdelibdir}/tdefile_png.so +%{tde_tdelibdir}/tdefile_pnm.la +%{tde_tdelibdir}/tdefile_pnm.so +%{tde_tdelibdir}/tdefile_ps.la +%{tde_tdelibdir}/tdefile_ps.so +%{tde_tdelibdir}/tdefile_raw.la +%{tde_tdelibdir}/tdefile_raw.so +%{tde_tdelibdir}/tdefile_rgb.la +%{tde_tdelibdir}/tdefile_rgb.so +%{tde_tdelibdir}/tdefile_tga.la +%{tde_tdelibdir}/tdefile_tga.so +%{tde_tdelibdir}/tdefile_tiff.la +%{tde_tdelibdir}/tdefile_tiff.so +%{tde_tdelibdir}/tdefile_xbm.la +%{tde_tdelibdir}/tdefile_xbm.so +%{tde_tdelibdir}/tdefile_xpm.la +%{tde_tdelibdir}/tdefile_xpm.so +%{tde_datadir}/services/gsthumbnail.desktop +%{tde_datadir}/services/tdefile_bmp.desktop +%{tde_datadir}/services/tdefile_dds.desktop +%{tde_datadir}/services/tdefile_dvi.desktop +%{tde_datadir}/services/tdefile_exr.desktop +%{tde_datadir}/services/tdefile_gif.desktop +%{tde_datadir}/services/tdefile_ico.desktop +%{tde_datadir}/services/tdefile_jpeg.desktop +%{tde_datadir}/services/tdefile_pcx.desktop +%if 0%{?with_pdf} +%{tde_datadir}/services/tdefile_pdf.desktop +%endif +%{tde_datadir}/services/tdefile_png.desktop +%{tde_datadir}/services/tdefile_pnm.desktop +%{tde_datadir}/services/tdefile_ps.desktop +%{tde_datadir}/services/tdefile_raw.desktop +%{tde_datadir}/services/tdefile_rgb.desktop +%{tde_datadir}/services/tdefile_tga.desktop +%{tde_datadir}/services/tdefile_tiff.desktop +%{tde_datadir}/services/tdefile_xbm.desktop +%{tde_datadir}/services/tdefile_xpm.desktop + +########## + +%package -n trinity-kdvi +Summary: Dvi viewer for TDE +Group: Productivity/Graphics/Viewers + +%description -n trinity-kdvi +This program and KPart allow the user to display *.DVI files from TeX. + +%files -n trinity-kdvi +%defattr(-,root,root,-) +%{tde_bindir}/kdvi +%{tde_tdelibdir}/kdvipart.la +%{tde_tdelibdir}/kdvipart.so +%{tde_tdeappdir}/kdvi.desktop +%{tde_datadir}/apps/kdvi/ +%{tde_datadir}/config.kcfg/kdvi.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kdvi.png +%{tde_datadir}/icons/hicolor/scalable/apps/kdvi.svgz +%{tde_datadir}/services/kdvimultipage.desktop +%{tde_tdedocdir}/HTML/en/kdvi/ + +########## + +%package -n trinity-kfax +Summary: G3/G4 fax viewer for Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-kfax +A fax viewer for Trinity, supporting the display of raw and tiffed fax images +(g3, g3-2d, g4). + +%files -n trinity-kfax +%defattr(-,root,root,-) +%{tde_bindir}/kfax +%{tde_tdeappdir}/kfax.desktop +%{tde_datadir}/apps/kfax/ +%{tde_datadir}/icons/hicolor/??x??/apps/kfax.png +%{tde_datadir}/icons/hicolor/scalable/apps/kfax.svgz +%{tde_tdedocdir}/HTML/en/kfax/ + +########## + +%package -n trinity-kfaxview +Summary: G3/G4 fax viewer for Trinity using kviewshell +Group: Productivity/Publishing/TeX/Frontends + +%description -n trinity-kfaxview +A fax viewer for Trinity, supporting the display of raw and tiffed fax images +(g3, g3-2d, g4). + +This faxviewer uses kviewshell and is intended to replace the standalone +kfax application once it reproduces all of kfax's features. + +%files -n trinity-kfaxview +%defattr(-,root,root,-) +%{tde_bindir}/kfaxview +%{tde_libdir}/libkfaximage.so.* +%{tde_tdelibdir}/kfaxviewpart.* +%{tde_tdeappdir}/kfaxview.desktop +%{tde_datadir}/apps/kfaxview/ +%{tde_datadir}/icons/hicolor/??x??/apps/kfaxview.png +%{tde_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz +%{tde_datadir}/services/kfaxmultipage.desktop +%{tde_datadir}/services/kfaxmultipage_tiff.desktop +%{tde_tdedocdir}/HTML/en/kfaxview/ + +########## + +%package -n trinity-kgamma +Summary: Gamma correction module for the Trinity Control Center +Group: Productivity/Graphics/Viewers + +%description -n trinity-kgamma +KGamma is a Trinity Control Center module for gamma calibration/correction +of XFree86. With proper gamma settings, your display (websites, images, +etc.) will look the same on your monitor as on other monitors. + +Homepage: http://kgamma.berlios.de/index2.php + +%files -n trinity-kgamma +%defattr(-,root,root,-) +%{tde_bindir}/xf86gammacfg +%{tde_tdelibdir}/kcm_kgamma.la +%{tde_tdelibdir}/kcm_kgamma.so +%{tde_datadir}/applnk/.hidden/kgamma.desktop +%{tde_datadir}/apps/kgamma/ +%{tde_datadir}/icons/hicolor/*/apps/kgamma.png +%{tde_tdedocdir}/HTML/en/kgamma/ + +########## + +%package -n trinity-kghostview +Summary: PostScript viewer for Trinity +Group: Productivity/Graphics/Viewers +Requires: ghostscript + +%description -n trinity-kghostview +KGhostview is Trinity's PostScript viewer. It is a port of Tim Theisen's +Ghostview program which is used to view documents prepared in Adobe's +PostScript page description language. PostScript is the major page +description language for printing on UNIX systems, and this application is +useful to preview material intended for printing, or for reading documents +online. + +%files -n trinity-kghostview +%defattr(-,root,root,-) +%{tde_bindir}/kghostview +%{tde_tdelibdir}/libkghostviewpart.la +%{tde_tdelibdir}/libkghostviewpart.so +%{tde_libdir}/libkghostviewlib.so.* +%{tde_tdeappdir}/kghostview.desktop +%{tde_datadir}/apps/tdeconf_update/kghostview.upd +%{tde_datadir}/apps/tdeconf_update/update-to-xt-names.pl +%{tde_datadir}/apps/kghostview/ +%{tde_datadir}/config.kcfg/kghostview.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kghostview.png +%{tde_datadir}/services/kghostview_part.desktop +%{tde_tdedocdir}/HTML/en/kghostview/ + +########## + +%package -n trinity-tdeiconedit +Summary: An icon editor for Trinity +Group: Productivity/Graphics/Viewers + +Obsoletes: trinity-kiconedit < %{version}-%{release} +Provides: trinity-kiconedit = %{version}-%{release} + +%description -n trinity-tdeiconedit +TDEIconedit allows you easily to create and edit icons. + +%files -n trinity-tdeiconedit +%defattr(-,root,root,-) +%{tde_bindir}/tdeiconedit +%{tde_tdeappdir}/tdeiconedit.desktop +%{tde_datadir}/apps/tdeiconedit/ +%{tde_datadir}/icons/hicolor/*/apps/tdeiconedit.png +%{tde_tdedocdir}/HTML/en/tdeiconedit/ + +########## + +%if 0%{?build_kmrml} + +%package -n trinity-kmrml +Summary: A Konqueror plugin for searching pictures +Group: Productivity/Graphics/Viewers + +%description -n trinity-kmrml +MRML is short for Multimedia Retrieval Markup Language, which defines a +protocol for querying a server for images based on their content. See +http://www.mrml.net about MRML and the GNU Image Finding Tool (GIFT), an +MRML server. + +%files -n trinity-kmrml +%defattr(-,root,root,-) +%{tde_bindir}/mrmlsearch +%{tde_tdelibdir}/kcm_kmrml.la +%{tde_tdelibdir}/kcm_kmrml.so +%{tde_tdelibdir}/kded_daemonwatcher.la +%{tde_tdelibdir}/kded_daemonwatcher.so +%{tde_tdelibdir}/tdeio_mrml.la +%{tde_tdelibdir}/tdeio_mrml.so +%{tde_tdelibdir}/libkmrmlpart.la +%{tde_tdelibdir}/libkmrmlpart.so +%{tde_tdelibdir}/mrmlsearch.la +%{tde_tdelibdir}/mrmlsearch.so +%{tde_libdir}/libtdeinit_mrmlsearch.so +%{tde_tdeappdir}/kcmkmrml.desktop +%{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop +%{tde_datadir}/mimelnk/text/mrml.desktop +%{tde_datadir}/services/kded/daemonwatcher.desktop +%{tde_datadir}/services/mrml.protocol +%{tde_datadir}/services/mrml_part.desktop + +%endif + +########## + +%package -n trinity-kolourpaint +Summary: A simple paint program for Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-kolourpaint +KolourPaint is a very simple paint program for Trinity. It aims to be +conceptually simple to understand; providing a level of functionality +targeted towards the average user. It's designed for daily tasks like: + +* Painting - drawing diagrams and "finger painting" +* Image Manipulation - editing screenshots and photos; applying effects +* Icon Editing - drawing clipart and logos with transparency + +It's not an unusable and monolithic program where simple tasks like +drawing lines become near impossible. Nor is it so simple that it lacks +essential features like Undo/Redo. + +Homepage: http://kolourpaint.sourceforge.net + +%files -n trinity-kolourpaint +%defattr(-,root,root,-) +%{tde_bindir}/kolourpaint +%{tde_tdeappdir}/kolourpaint.desktop +%{tde_datadir}/apps/kolourpaint/ +%{tde_datadir}/icons/hicolor/*/apps/kolourpaint.png +%{tde_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz +%{tde_tdedocdir}/HTML/en/kolourpaint/ + +########## + +%package -n trinity-kooka +Summary: Scanner program for Trinity +Group: Hardware/Scanner + +%description -n trinity-kooka +Kooka is an open source GNU/Linux scan program based on SANE and +KScan library. + +Kooka helps you to handle the most important scan parameters, find the +correct image file format to save and manage your scanned images. It +offers support for different OCR modules. Libkscan, a autonomous part +of Kooka, provides a scan service for easy and consistent use to all +KDE applications. + +Install ocrad or gocr if you wish to enable optical character recognition +in kooka. + +Homepage: http://kooka.kde.org/ + +%files -n trinity-kooka +%defattr(-,root,root,-) +%{tde_bindir}/kooka +%{tde_tdeappdir}/kooka.desktop +%{tde_datadir}/apps/kooka/ +%{tde_confdir}/kookarc +%{tde_datadir}/icons/hicolor/*/apps/kooka.png +%{tde_tdedocdir}/HTML/en/kooka/ + +########## + +%package -n trinity-kpdf +Summary: PDF viewer for Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-kpdf +KPDF allows you to view PDF (Portable Document Format) files. This package +includes kpdfpart so you can embed in konqueror or run as a standalone +application. + +%files -n trinity-kpdf +%defattr(-,root,root,-) +%{tde_bindir}/kpdf +%{tde_tdelibdir}/libkpdfpart.la +%{tde_tdelibdir}/libkpdfpart.so +%{tde_tdeappdir}/kpdf.desktop +%{tde_datadir}/apps/kpdf/ +%{tde_datadir}/apps/kpdfpart/ +%{tde_datadir}/config.kcfg/kpdf.kcfg +%{tde_tdedocdir}/HTML/en/kpdf/ +%{tde_datadir}/icons/hicolor/*/apps/kpdf.png +%{tde_datadir}/icons/hicolor/scalable/apps/kpdf.svgz +%{tde_datadir}/services/kpdf_part.desktop + +########## + +%package -n trinity-kpovmodeler +Summary: A graphical editor for povray scenes +Group: Productivity/Graphics/Viewers +#Requires: povray + +%description -n trinity-kpovmodeler +KPovmodeler is KDE's graphical editor for povray scenes. KPovModeler is a +modeling and composition program for creating POV-Ray scenes in KDE. + +For most modelers, POV-Ray is nothing but a rendering engine. This greatly +limits the innate possibilities of the POV-Ray scripted language. This +is not the case for KPovModeler, which allows you to use all the features +of POV-Ray through the translation of POV-Ray language into a graphical +tree. + +kpovmodeler uses the povray package, currently available only in Debian's +non-free, unsupported repository. + +Homepage: http://www.kpovmodeler.org + +%files -n trinity-kpovmodeler +%defattr(-,root,root,-) +%{tde_bindir}/kpovmodeler +%{tde_libdir}/libkpovmodeler.so.* +%{tde_tdelibdir}/libkpovmodelerpart.* +%{tde_tdeappdir}/kpovmodeler.desktop +%{tde_datadir}/apps/kpovmodeler/ +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.* +%{tde_datadir}/icons/hicolor/*/apps/kpovmodeler.* +%doc %{tde_tdedocdir}/HTML/en/kpovmodeler/ + +########## + +%package -n trinity-kruler +Summary: A screen ruler and color measurement tool for Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-kruler +Kruler is a screen ruler (using pixels) and color measurement tool for KDE. + +%files -n trinity-kruler +%defattr(-,root,root,-) +%{tde_bindir}/kruler +%{tde_tdeappdir}/kruler.desktop +%{tde_datadir}/applnk/Graphics/kruler.desktop +%{tde_datadir}/apps/kruler/ +%{tde_datadir}/icons/hicolor/*/apps/kruler.png +%{tde_tdedocdir}/HTML/en/kruler/ + +########## + +%package -n trinity-ksnapshot +Summary: Screenshot utility for Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-ksnapshot +KSnapshot is a simple applet for taking screenshots. It is capable of +capturing images of either the whole desktop or just a single window. +The images can then be saved in a variety of formats. + +%files -n trinity-ksnapshot +%defattr(-,root,root,-) +%{tde_bindir}/ksnapshot +%{tde_tdeappdir}/ksnapshot.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksnapshot.png +%{tde_datadir}/icons/hicolor/scalable/apps/ksnapshot.svgz +%{tde_tdedocdir}/HTML/en/ksnapshot/ + +########## + +%package -n trinity-ksvg +Summary: SVG viewer for Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-ksvg +KSVG allows you view SVG (scalable vector graphics) files. This package +includes kpart so you can embed it in konqueror and a standalone +application. + +%files -n trinity-ksvg +%defattr(-,root,root,-) +%{tde_bindir}/printnodetest +%{tde_bindir}/svgdisplay +%{tde_tdelibdir}/libksvgplugin.la +%{tde_tdelibdir}/libksvgplugin.so +%{tde_tdelibdir}/libksvgrendererlibart.la +%{tde_tdelibdir}/libksvgrendererlibart.so +%{tde_tdelibdir}/svgthumbnail.la +%{tde_tdelibdir}/svgthumbnail.so +%{tde_libdir}/libksvg.so.0 +%{tde_libdir}/libksvg.so.0.0.1 +%{tde_libdir}/libtext2path.so.0 +%{tde_libdir}/libtext2path.so.0.0.0 +%{tde_datadir}/apps/ksvg/ +%{tde_datadir}/services/ksvglibartcanvas.desktop +%{tde_datadir}/services/ksvgplugin.desktop +%{tde_datadir}/services/svgthumbnail.desktop +%{tde_datadir}/servicetypes/ksvgrenderer.desktop + +########## + +%package -n trinity-kview +Summary: Simple image viewer/converter for Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-kview +KView is a simple image viewer and converter application. It supports +a number of plugins, which add an array of basic editing capabilities +as well. + +%files -n trinity-kview +%defattr(-,root,root,-) +%{tde_bindir}/kview +%{tde_tdelibdir}/kcm_kviewcanvasconfig.la +%{tde_tdelibdir}/kcm_kviewcanvasconfig.so +%{tde_tdelibdir}/kcm_kviewgeneralconfig.la +%{tde_tdelibdir}/kcm_kviewgeneralconfig.so +%{tde_tdelibdir}/kcm_kviewpluginsconfig.la +%{tde_tdelibdir}/kcm_kviewpluginsconfig.so +%{tde_tdelibdir}/kcm_kviewpresenterconfig.la +%{tde_tdelibdir}/kcm_kviewpresenterconfig.so +%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.la +%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.so +%{tde_tdelibdir}/kview.la +%{tde_tdelibdir}/kview.so +%{tde_tdelibdir}/kview_browserplugin.la +%{tde_tdelibdir}/kview_browserplugin.so +%{tde_tdelibdir}/kview_effectsplugin.la +%{tde_tdelibdir}/kview_effectsplugin.so +%{tde_tdelibdir}/kview_presenterplugin.la +%{tde_tdelibdir}/kview_presenterplugin.so +%{tde_tdelibdir}/kview_scannerplugin.la +%{tde_tdelibdir}/kview_scannerplugin.so +%{tde_tdelibdir}/libkviewcanvas.la +%{tde_tdelibdir}/libkviewcanvas.so +%{tde_tdelibdir}/libkviewviewer.la +%{tde_tdelibdir}/libkviewviewer.so +%{tde_libdir}/libtdeinit_kview.so +%{tde_libdir}/libkimageviewer.so.* +%{tde_tdelibdir}/libphotobook.la +%{tde_tdelibdir}/libphotobook.so +%{tde_tdeappdir}/kview.desktop +%{tde_datadir}/apps/kview/ +%{tde_datadir}/apps/kviewviewer/ +%{tde_datadir}/apps/photobook/ +%{tde_datadir}/icons/crystalsvg/*/apps/photobook.png +%{tde_datadir}/icons/hicolor/*/apps/kview.png +%{tde_datadir}/services/tdeconfiguredialog/ +%{tde_datadir}/services/kviewcanvas.desktop +%{tde_datadir}/services/kviewviewer.desktop +%{tde_datadir}/services/photobook.desktop +%{tde_datadir}/servicetypes/kimageviewer.desktop +%{tde_datadir}/servicetypes/kimageviewercanvas.desktop +%{tde_tdedocdir}/HTML/en/kview/ + +########## + +%package -n trinity-kviewshell +Summary: Generic framework for viewer applications in Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-kviewshell +KViewShell is a generic viewing framework that allows the graphical +applications, such as the kview image viewer, to be embedded in other +KDE applications, such as Konqueror. + +KViewShell comes with a djvuviewpart plugin included, for viewing +DjVu images. + +%files -n trinity-kviewshell +%defattr(-,root,root,-) +%{tde_bindir}/kviewshell +%{tde_libdir}/libdjvu.la +%{tde_libdir}/libdjvu.so +%{tde_tdelibdir}/djvuviewpart.so +%{tde_tdelibdir}/djvuviewpart.la +%{tde_tdelibdir}/emptymultipagepart.la +%{tde_tdelibdir}/emptymultipagepart.so +%{tde_tdelibdir}/kviewerpart.la +%{tde_tdelibdir}/kviewerpart.so +%{tde_libdir}/libtdemultipage.so.* +%{tde_datadir}/apps/djvumultipage.rc +%{tde_datadir}/apps/kviewerpart/ +%{tde_datadir}/apps/kviewshell/ +%{tde_datadir}/config.kcfg/djvumultipage.kcfg +%{tde_datadir}/config.kcfg/kviewshell.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/kviewshell.png +%{tde_datadir}/services/emptymultipage.desktop +%{tde_datadir}/services/djvumultipage.desktop +%{tde_datadir}/servicetypes/tdemultipage.desktop + +########## + +%package -n trinity-libkscan +Summary: Scanner library for Trinity +Group: Hardware/Scanner + +%description -n trinity-libkscan +KScan is TDE's scanner library. It's used by kooka and by koffice currently. +It provides an easy-to-use library, which allows you to access your scanner +(as long as it's sane compatible). + +%files -n trinity-libkscan +%defattr(-,root,root,-) +%{tde_libdir}/libkscan.so.* +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_color.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_gray.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_halftone.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_lineart.png +%{tde_datadir}/services/scanservice.desktop + +########## + +%package -n trinity-libkscan-devel +Summary: Development files for the Trinity scanner library +Group: Development/Libraries/Other +Requires: trinity-libkscan = %{version}-%{release} + +%description -n trinity-libkscan-devel +This package contains development files for Trinity's scanner library. + +%files -n trinity-libkscan-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkscan.la +%{tde_libdir}/libkscan.so + +########## + +%if 0%{?with_pdf} +%package -n trinity-libpoppler-tqt +Summary: TQt support for Poppler +Group: Productivity/Graphics/Viewers +Obsoletes: poppler-tqt < %{version}-%{release} +Provides: poppler-tqt = %{version}-%{release} +Obsoletes: %{name}-libpoppler-tqt < %{version}-%{release} +Provides: %{name}-libpoppler-tqt = %{version}-%{release} + +%description -n trinity-libpoppler-tqt +TQt support library for Poppler. +This library is used by the Trinity graphics file plugins for PDF support. + +%files -n trinity-libpoppler-tqt +%defattr(-,root,root,-) +%{tde_libdir}/libpoppler-tqt.so.* +%endif + +########## + +%if 0%{?with_pdf} +%package -n trinity-libpoppler-tqt-devel +Summary: Development files for TQt support for Poppler +Group: Development/Libraries/Other +Requires: trinity-libpoppler-tqt = %{version}-%{release} +Obsoletes: poppler-tqt-devel < %{version}-%{release} +Provides: poppler-tqt-devel = %{version}-%{release} +Obsoletes: %{name}-libpoppler-tqt-devel < %{version}-%{release} +Provides: %{name}-libpoppler-tqt-devel = %{version}-%{release} + +%description -n trinity-libpoppler-tqt-devel +Development files of TQt support library for Poppler. +This package contains the development files needed to compile applications against poppler-tqt. + +%files -n trinity-libpoppler-tqt-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/poppler-link-qt3.h +%{tde_tdeincludedir}/poppler-page-transition.h +%{tde_tdeincludedir}/poppler-qt.h +%{tde_libdir}/libpoppler-tqt.la +%{tde_libdir}/libpoppler-tqt.so +%{tde_libdir}/pkgconfig/poppler-tqt.pc +%endif + +########## + +%package devel +Summary: Development files for tdegraphics +Group: Development/Libraries/Other + +Obsoletes: trinity-kdegraphics-devel < %{version}-%{release} +Provides: trinity-kdegraphics-devel = %{version}-%{release} + +Requires: %{name} = %{version}-%{release} +Requires: trinity-libkscan-devel = %{version}-%{release} +%if 0%{?with_pdf} +Requires: trinity-libpoppler-tqt-devel = %{version}-%{release} +%endif + +%description devel +This package contains the development files needed to compile +applications against tdegraphics libraries. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/dom/ +%{tde_tdeincludedir}/kfaximage.h +%{tde_tdeincludedir}/tdemultipageInterface.h +%{tde_tdeincludedir}/ksvg/ +%{tde_tdeincludedir}/kviewshell/ +%{tde_tdeincludedir}/libtext2path-0.1/ +%{tde_libdir}/libtdeinit_kview.la +%if 0%{?build_kmrml} +%{tde_libdir}/libtdeinit_mrmlsearch.la +%endif +%{tde_libdir}/libkghostviewlib.la +%{tde_libdir}/libkghostviewlib.so +%{tde_libdir}/libkimageviewer.la +%{tde_libdir}/libkimageviewer.so +%{tde_libdir}/libtdemultipage.la +%{tde_libdir}/libtdemultipage.so +%{tde_libdir}/libkpovmodeler.la +%{tde_libdir}/libkpovmodeler.so +%{tde_libdir}/libksvg.la +%{tde_libdir}/libksvg.so +%{tde_libdir}/libtext2path.la +%{tde_libdir}/libtext2path.so +# kfaxview +%{tde_libdir}/libkfaximage.so +%{tde_libdir}/libkfaximage.la +# cmake +%{tde_datadir}/cmake/* + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%if 0%{?build_kamera} == 0 +%__rm -rf doc/kamera/ +%endif + +# Fix applications icons +%__sed -i "kooka/kooka.desktop" -e "s|^Icon=.*|Icon=kooka|" + +# Fix FTBFS in RHEL 5 +%if 0%{?rhel} && 0%{?rhel} <= 5 +%__sed -i "kpdf/xpdf/aconf.h" \ + -e "s|#define HAVE_MKSTEMPS 1|#define HAVE_MKSTEMPS 0|" +%__sed -i "tdefile-plugins/dependencies/poppler-tqt/CMakeLists.txt" \ + -e "/link_directories/ s|$|\n \${POPPLER_LIBRARY_DIRS}|" \ + -e "/{POPPLER_INCLUDE_DIRS/ s|$|\n \${POPPLER_INCLUDE_DIRS}/..|" +%endif + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +# 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 \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + \ + %{?with_t1lib:-DWITH_T1LIB=ON} \ + %{?with_paper:-DWITH_LIBPAPER=ON} \ + -DWITH_TIFF=ON \ + -DWITH_OPENEXR=ON \ + -DWITH_PDF=%{?with_pdf:ON}%{?!with_pdf:OFF} \ + -DBUILD_ALL=ON \ + -DBUILD_KUICKSHOW=OFF \ + %{!?build_kmrml:-DBUILD_KMRML=OFF} \ + %{!?build_kamera:-DBUILD_KAMERA=OFF} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Adds missing icons in 'hicolor' theme +%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,32x32,48x48,64x64}"/apps/" +pushd "%{?buildroot}%{tde_datadir}/icons" +for i in {16,32,48,64}; do %__cp $BUILD_ROOT%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/scanner.png %{buildroot}%{tde_datadir}/icons/hicolor/"$i"x"$i"/apps/kooka.png; done +popd + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpovmodeler.desktop Graphics 3DGraphics +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kolourpaint.desktop Graphics RasterGraphics +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/tdeiconedit.desktop Graphics RasterGraphics +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kview.desktop Graphics Viewer +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kooka.desktop Graphics Scanning +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kruler.desktop Utility DesktopUtility +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/ksnapshot.desktop Utility DesktopUtility +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kcolorchooser.desktop Utility DesktopUtility +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kcoloredit.desktop Utility DesktopUtility +%suse_update_desktop_file -u %{?buildroot}%{tde_tdeappdir}/kfax.desktop Office Viewer +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kghostview.desktop Office Viewer +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kdvi.desktop Office Viewer +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpdf.desktop Office Viewer +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kfaxview.desktop Office Viewer +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kamera.desktop +%endif + +# Links duplicate files +%fdupes "%{?buildroot}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdelibs/tdelibs-14.0.1.patch b/redhat/main/tdelibs/tdelibs-14.0.1.patch deleted file mode 100644 index ab309f841..000000000 --- a/redhat/main/tdelibs/tdelibs-14.0.1.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/tdecore/tdeglobal.h b/tdecore/tdeglobal.h -index b5fddb8..1269c36 100644 ---- a/tdecore/tdeglobal.h -+++ b/tdecore/tdeglobal.h -@@ -25,8 +25,10 @@ class KCharsets; - class TDEConfig; - class TDESharedConfig; - class TDEIconLoader; -+#ifdef __TDE_HAVE_TDEHWLIB - class TDEHardwareDevices; - class TDEGlobalNetworkManager; -+#endif - class TDELocale; - class TDEStandardDirs; - class KStaticDeleterBase; -@@ -79,6 +81,7 @@ public: - */ - static TDEIconLoader *iconLoader(); - -+#ifdef __TDE_HAVE_TDEHWLIB - /** - * Returns a TDEHardwareDevices object. - * @return the global hardware devices object -@@ -90,6 +93,7 @@ public: - * @return the global network manager object - */ - static TDEGlobalNetworkManager *networkManager(); -+#endif - - /** - * Returns the global locale object. diff --git a/redhat/main/tdelibs/tdelibs-14.1.0.patch b/redhat/main/tdelibs/tdelibs-14.1.0.patch deleted file mode 100644 index c4812b447..000000000 --- a/redhat/main/tdelibs/tdelibs-14.1.0.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/tdecore/CMakeLists.txt b/tdecore/CMakeLists.txt -index 4d9c4a4..fed951b 100644 ---- a/tdecore/CMakeLists.txt -+++ b/tdecore/CMakeLists.txt -@@ -137,7 +137,7 @@ tde_add_library( ${target} SHARED AUTOMOC - EMBED tdecorenetwork-static ${TDEHW_LIB} - LINK ltdlc-static ${KDESVGICONS} DCOP-shared tdefx-shared ${ZLIB_LIBRARIES} - ${LIBIDN_LIBRARIES} ${XCOMPOSITE_LIBRARIES} ICE SM ${GAMIN_LIBRARIES} -- ${LIBBFD_LIBRARIES} ${LIB_UTIL} -+ ${LIBBFD_LIBRARIES} ${LIB_UTIL} ${SSL_LIBRARIES} - DEPENDENCIES dcopidl dcopidl2cpp - DESTINATION ${LIB_INSTALL_DIR} - ) diff --git a/redhat/main/tdelibs/tdelibs.spec b/redhat/main/tdelibs/tdelibs.spec index 0afe618fe..f38c171de 100644 --- a/redhat/main/tdelibs/tdelibs.spec +++ b/redhat/main/tdelibs/tdelibs.spec @@ -22,7 +22,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdelibs %define tde_prefix /opt/trinity @@ -60,9 +60,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz Source1: %{name}-rpmlintrc -Patch0: tdelibs-14.0.1.patch -Patch1: tdelibs-14.1.0.patch - Obsoletes: tdelibs < %{version}-%{release} Provides: tdelibs = %{version}-%{release} Obsoletes: trinity-kdelibs < %{version}-%{release} @@ -622,8 +619,6 @@ applications for TDE. %prep %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -%patch0 -p1 -b .ftbfs -%patch1 -p1 -b .ftbfs # RHEL 5: remove tdehwlib stuff from include files, to avoid FTBFS in tdebindings %if 0%{?rhel} == 5 diff --git a/redhat/main/tdemultimedia/tdemultimedia-14.0.0-autotools.spec b/redhat/main/tdemultimedia/tdemultimedia-14.0.0-autotools.spec deleted file mode 100644 index 44fd60fab..000000000 --- a/redhat/main/tdemultimedia/tdemultimedia-14.0.0-autotools.spec +++ /dev/null @@ -1,1145 +0,0 @@ -# -# spec file for package tdemultimedia (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 tdemultimedia -%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 - - -Name: trinity-%{tde_pkg} -Summary: Multimedia applications for the Trinity Desktop Environment -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Group: Productivity/Multimedia/Sound/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -Obsoletes: trinity-kdemultimedia < %{version}-%{release} -Provides: trinity-kdemultimedia = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-libs = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} -Provides: trinity-kdemultimedia-extras = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} - -BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: fdupes -BuildRequires: desktop-file-utils - -# 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 - -# TAGLIB support -%define with_taglib 1 -BuildRequires: taglib-devel - -# AKODE support -%define with_akode 1 -BuildRequires: trinity-akode-devel - -# MAD support -%ifarch %{ix86} x86_64 -%define with_libmad 1 -%{?with_libmad:BuildRequires: libakode_mpeg_decoder} -%endif - -# ZLIB support -BuildRequires: zlib-devel - -# MUSICBRAINZ support -## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) -#define with_musicbrainz 1 -#BuildRequires: libmusicbrainz-devel libtunepimp-devel - -# Audio libraries -BuildRequires: libvorbis-devel -BuildRequires: audiofile-devel -BuildRequires: libtheora-devel -BuildRequires: alsa-lib-devel -BuildRequires: cdparanoia -#BuildRequires: libmpg123-devel - -# CDDA support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libcdda-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: cdparanoia-devel -%endif - -# FLAC support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libflac-devel -%else -BuildRequires: %{_lib}flac-devel -%endif -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: flac-devel -%endif - -# GSTREAMER support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}gstreamer1.0-devel -BuildRequires: %{_lib}gstreamer-plugins-base1.0-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-devel -%endif -%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?suse_version} -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-base-devel -%endif -%if 0%{?rhel} >= 7 || 0%{?fedora} -BuildRequires: gstreamer1-devel >= 1.0 -BuildRequires: gstreamer1-plugins-base-devel >= 1.0 -%endif - -# X11 Libraries -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xxf86dga-devel -BuildRequires: %{_lib}xxf86vm-devel -%if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}xtst-devel -%else -BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel -%endif -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXxf86dga-devel -BuildRequires: libXxf86vm-devel -%endif - -# XINE support -%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xine1.2-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: xine-lib-devel -%endif -%if 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%endif - -# LAME support -%define with_lame 1 - -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: liblame-devel -%else -%if 0%{?mgaversion} >= 6 -BuildRequires: %{_lib}mp3lame-devel -%else -BuildRequires: %{_lib}lame-devel -%endif -%endif -%endif - -%if 0%{?suse_version} -BuildRequires: libmp3lame-devel -%endif - -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: lame-devel -%endif - - -Requires: trinity-artsbuilder = %{version}-%{release} -Requires: trinity-juk = %{version}-%{release} -Requires: trinity-kaboodle = %{version}-%{release} -Requires: trinity-kaudiocreator = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-kappfinder-data = %{version}-%{release} -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: trinity-tdemid = %{version}-%{release} -Requires: trinity-kmix = %{version}-%{release} -Requires: trinity-krec = %{version}-%{release} -Requires: trinity-kscd = %{version}-%{release} -%{?with_akode:Requires: trinity-libarts-akode = %{version}-%{release}} -Requires: trinity-libarts-audiofile = %{version}-%{release} -%{?with_mpeg:Requires: trinity-libarts-mpeglib = %{version}-%{release}} -%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} -Requires: trinity-libkcddb = %{version}-%{release} -%{?with_mpeg:Requires: trinity-mpeglib = %{version}-%{release}} -Requires: trinity-noatun = %{version}-%{release} - - -%description -The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window -System. The tdemultimedia package contains multimedia applications for -TDE, including: - artsbuilder, Synthesizer designer for aRts - juk, a media player - tdemid, a midi player - kmix, an audio mixer - arts, additional functionality for the aRts sound system - krec, a recording tool - kscd, an Audio-CD player - kaudiocreator, a graphical frontend for audio file creation - kaboodle, a media player - noatun, a media player - -%files - -########## - -%package -n trinity-artsbuilder -Summary: Synthesizer designer for aRts -Group: Productivity/Multimedia/Sound/Mixers -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-artsbuilder -This is the analog Realtime synthesizer's graphical design tool. - -%files -n trinity-artsbuilder -%defattr(-,root,root,-) -%{tde_bindir}/artsbuilder -%{tde_bindir}/artscontrol -%{tde_bindir}/midisend -%{tde_libdir}/libartsbuilder.la -%{tde_libdir}/libartsbuilder.so.* -%{tde_libdir}/libartscontrolapplet.la -%{tde_libdir}/libartscontrolapplet.so.* -%{tde_libdir}/libartscontrolsupport.la -%{tde_libdir}/libartscontrolsupport.so.* -%{tde_libdir}/libartsgui_idl.la -%{tde_libdir}/libartsgui_idl.so.* -%{tde_libdir}/libartsgui_kde.la -%{tde_libdir}/libartsgui_kde.so.* -%{tde_libdir}/libartsgui.la -%{tde_libdir}/libartsgui.so.* -%{tde_libdir}/libartsmidi_idl.la -%{tde_libdir}/libartsmidi_idl.so.* -%{tde_libdir}/libartsmidi.la -%{tde_libdir}/libartsmidi.so.* -%{tde_libdir}/libartsmodulescommon.la -%{tde_libdir}/libartsmodulescommon.so.* -%{tde_libdir}/libartsmoduleseffects.la -%{tde_libdir}/libartsmoduleseffects.so.* -%{tde_libdir}/libartsmodulesmixers.la -%{tde_libdir}/libartsmodulesmixers.so.* -%{tde_libdir}/libartsmodules.la -%{tde_libdir}/libartsmodules.so.* -%{tde_libdir}/libartsmodulessynth.la -%{tde_libdir}/libartsmodulessynth.so.* -%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcoptype -%{tde_libdir}/mcop/Arts/Button.mcopclass -%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass -%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass -%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass -%{tde_libdir}/mcop/Arts/Fader.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass -%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GraphLine.mcopclass -%{tde_libdir}/mcop/artsgui.mcopclass -%{tde_libdir}/mcop/artsgui.mcoptype -%{tde_libdir}/mcop/Arts/HBox.mcopclass -%{tde_libdir}/mcop/Arts/Label.mcopclass -%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass -%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass -%{tde_libdir}/mcop/Arts/LineEdit.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass -%{tde_libdir}/mcop/Arts/MidiManager.mcopclass -%{tde_libdir}/mcop/artsmidi.mcopclass -%{tde_libdir}/mcop/artsmidi.mcoptype -%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcoptype -%{tde_libdir}/mcop/artsmoduleseffects.mcopclass -%{tde_libdir}/mcop/artsmoduleseffects.mcoptype -%{tde_libdir}/mcop/artsmodules.mcopclass -%{tde_libdir}/mcop/artsmodules.mcoptype -%{tde_libdir}/mcop/artsmodulesmixers.mcopclass -%{tde_libdir}/mcop/artsmodulesmixers.mcoptype -%{tde_libdir}/mcop/artsmodulessynth.mcopclass -%{tde_libdir}/mcop/artsmodulessynth.mcoptype -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass -%{tde_libdir}/mcop/Arts/PopupBox.mcopclass -%{tde_libdir}/mcop/Arts/Poti.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/SpinBox.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass -%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass -%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass -%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass -%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass -%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass -%{tde_libdir}/mcop/Arts/VBox.mcopclass -%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Widget.mcopclass -%{tde_tdeappdir}/artsbuilder.desktop -%{tde_tdeappdir}/artscontrol.desktop -%{tde_datadir}/apps/artsbuilder/ -%{tde_datadir}/apps/artscontrol/ -%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz -%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png -%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png -%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz -%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop -%{tde_tdedocdir}/HTML/en/artsbuilder/ - -########## - -%package -n trinity-juk -Summary: Music organizer and player for Trinity -Group: Productivity/Multimedia/Sound/Players - -%description -n trinity-juk -JuK (pronounced "jook") is a jukebox and music manager for the TDE -desktop similar to jukebox software on other platforms such as -iTunes or RealOne. - -Some of JuK's features include: -* Support for Ogg Vorbis and MP3 formats -* Tag editing support for both formats, including ID3v2 for MP3 files. - Multitagging or editing a selection of multiple files at once is also - supported -* Output to either the aRts, default KDE sound system, or GStreamer -* Management of your "collection" and multiple playlists -* Import and export to m3u playlists -* Binary caching of audio meta-data and playlist information for faster - load times (starting with the second time you run JuK) -* Integration into TDE that allows drag-and-drop and clipboard usage - with other TDE and X apps - -%files -n trinity-juk -%defattr(-,root,root,-) -%{tde_bindir}/juk -%{tde_tdeappdir}/juk.desktop -%{tde_datadir}/apps/juk/ -%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png -%{tde_datadir}/icons/hicolor/*/apps/juk.png -%{tde_tdedocdir}/HTML/en/juk/ - -########## - -%package -n trinity-kaboodle -Summary: Light, embedded media player for Trinity -Group: System/GUI/Other - -%if 0%{?with_xine} -Requires: trinity-libarts-xine = %{version}-%{release} -%endif - -%description -n trinity-kaboodle -Kaboodle is a light, embedded media player, supporting both video and audio, -for TDE. It uses the aRts framework for playing media files. - -%files -n trinity-kaboodle -%defattr(-,root,root,-) -%{tde_bindir}/kaboodle -%{tde_tdelibdir}/libkaboodlepart.la -%{tde_tdelibdir}/libkaboodlepart.so -%{tde_tdeappdir}/kaboodle.desktop -%{tde_datadir}/apps/kaboodle/ -%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png -%{tde_datadir}/services/kaboodle_component.desktop -%{tde_datadir}/services/kaboodleengine.desktop -%{tde_tdedocdir}/HTML/en/kaboodle/ - -########## - -%package -n trinity-kaudiocreator -Summary: CD ripper and audio encoder frontend for Trinity -Group: Productivity/Multimedia/CD/Grabbers - -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: vorbis-tools -Requires: flac - -%description -n trinity-kaudiocreator -KAudioCreator is a tool for audio extraction (ripping) and encoding. It can -keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also -searches CDDB to retrieve the information of the disk. - -%files -n trinity-kaudiocreator -%defattr(-,root,root,-) -%{tde_bindir}/kaudiocreator -%{tde_tdeappdir}/kaudiocreator.desktop -%{tde_datadir}/apps/kaudiocreator/ -%{tde_datadir}/apps/tdeconf_update/kaudiocreator-libkcddb.upd -%{tde_datadir}/apps/tdeconf_update/kaudiocreator-meta.upd -%{tde_datadir}/apps/tdeconf_update/upgrade-kaudiocreator-metadata.sh -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop -%{tde_datadir}/config.kcfg/kaudiocreator.kcfg -%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png -%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png -%{tde_tdedocdir}/HTML/en/kaudiocreator/ - -########## - -%package kfile-plugins -Summary: An au/avi/m3u/mp3/ogg/wav plugins for kfile -Group: Productivity/Multimedia/Sound/Utilities - -%description kfile-plugins -au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdefile_au.la -%{tde_tdelibdir}/tdefile_au.so -%{tde_tdelibdir}/tdefile_avi.la -%{tde_tdelibdir}/tdefile_avi.so -%{tde_tdelibdir}/tdefile_flac.la -%{tde_tdelibdir}/tdefile_flac.so -%{tde_tdelibdir}/tdefile_m3u.la -%{tde_tdelibdir}/tdefile_m3u.so -%{tde_tdelibdir}/tdefile_mp3.la -%{tde_tdelibdir}/tdefile_mp3.so -%{tde_tdelibdir}/tdefile_mpc.la -%{tde_tdelibdir}/tdefile_mpc.so -%{tde_tdelibdir}/tdefile_mpeg.la -%{tde_tdelibdir}/tdefile_mpeg.so -%{tde_tdelibdir}/tdefile_ogg.la -%{tde_tdelibdir}/tdefile_ogg.so -%{tde_tdelibdir}/tdefile_sid.la -%{tde_tdelibdir}/tdefile_sid.so -%{tde_tdelibdir}/tdefile_theora.la -%{tde_tdelibdir}/tdefile_theora.so -%{tde_tdelibdir}/tdefile_wav.la -%{tde_tdelibdir}/tdefile_wav.so -%{tde_datadir}/services/tdefile_au.desktop -%{tde_datadir}/services/tdefile_avi.desktop -%{tde_datadir}/services/tdefile_flac.desktop -%{tde_datadir}/services/tdefile_m3u.desktop -%{tde_datadir}/services/tdefile_mp3.desktop -%{tde_datadir}/services/tdefile_mpc.desktop -%{tde_datadir}/services/tdefile_mpeg.desktop -%{tde_datadir}/services/tdefile_ogg.desktop -%{tde_datadir}/services/tdefile_sid.desktop -%{tde_datadir}/services/tdefile_theora.desktop -%{tde_datadir}/services/tdefile_wav.desktop - -########## - -%package kappfinder-data -Summary: Multimedia data for kappfinder -Group: Productivity/Multimedia/Sound/Utilities - -Requires: trinity-kappfinder >= %{tde_version} -Requires: trinity-tdebase-runtime-data-common >= %{tde_version} - -%description kappfinder-data -This package provides data on multimedia applications for kappfinder. - -%files kappfinder-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kappfinder/ -%{tde_datadir}/desktop-directories/tde-multimedia-music.directory -%config %{_sysconfdir}/xdg/menus/applications-merged/tde-multimedia-music.menu - -########## - -%package tdeio-plugins -Summary: Enables the browsing of audio CDs under Konqueror -Group: Productivity/Multimedia/Sound/Utilities -Requires: trinity-tdebase-tdeio-plugins >= %{tde_version} - -Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release} -Provides: trinity-tdemultimedia-kio-plugins = %{version}-%{release} - -%description tdeio-plugins -This package allow audio CDs to be browsed like a file system using -Konqueror and the audiocd:/ URL. - -%files tdeio-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_audiocd.la -%{tde_tdelibdir}/kcm_audiocd.so -%{tde_tdelibdir}/tdeio_audiocd.la -%{tde_tdelibdir}/tdeio_audiocd.so -%{tde_tdelibdir}/libaudiocd_encoder_flac.la -%{tde_tdelibdir}/libaudiocd_encoder_flac.so -%{tde_tdelibdir}/libaudiocd_encoder_lame.la -%{tde_tdelibdir}/libaudiocd_encoder_lame.so -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so -%{tde_tdelibdir}/libaudiocd_encoder_wav.la -%{tde_tdelibdir}/libaudiocd_encoder_wav.so -%{tde_libdir}/libaudiocdplugins.so.* -%{tde_tdeappdir}/audiocd.desktop -%{tde_datadir}/apps/tdeconf_update/audiocd.upd -%{tde_datadir}/apps/tdeconf_update/upgrade-metadata.sh -%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg -%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg -%{tde_datadir}/services/audiocd.protocol -%{tde_tdedocdir}/HTML/en/tdeioslave/audiocd/ -%{tde_tdedocdir}/HTML/en/kcontrol/audiocd/ -%{tde_datadir}/icons/hicolor/*/apps/kcmaudiocd.png - -########## - -%package -n trinity-tdemid -Summary: MIDI/karaoke player for Trinity -Group: Productivity/Multimedia/Sound/Midi - -Obsoletes: trinity-kmid < %{version}-%{release} -Provides: trinity-kmid = %{version}-%{release} - -%description -n trinity-tdemid -This package provides a MIDI and karaoke player for TDE. - -%files -n trinity-tdemid -%defattr(-,root,root,-) -%{tde_bindir}/tdemid -%{tde_tdelibdir}/libtdemidpart.la -%{tde_tdelibdir}/libtdemidpart.so -%{tde_libdir}/libtdemidlib.so.* -%{tde_tdeappdir}/tdemid.desktop -%{tde_datadir}/apps/tdemid/ -%{tde_datadir}/icons/hicolor/*/apps/tdemid.png -%{tde_datadir}/mimelnk/audio/x-karaoke.desktop -%{tde_datadir}/servicetypes/audiomidi.desktop -%{tde_tdedocdir}/HTML/en/tdemid/ - -########## - -%package -n trinity-kmix -Summary: Sound mixer applet for Trinity -Group: Productivity/Multimedia/Sound/Mixers -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-kmix -This package includes TDE's dockable sound mixer applet. - -%files -n trinity-kmix -%defattr(-,root,root,-) -%{tde_bindir}/kmix -%{tde_bindir}/kmixctrl -%{tde_tdelibdir}/kmix.la -%{tde_tdelibdir}/kmix.so -%{tde_tdelibdir}/kmix_panelapplet.la -%{tde_tdelibdir}/kmix_panelapplet.so -%{tde_tdelibdir}/kmixctrl.la -%{tde_tdelibdir}/kmixctrl.so -%{tde_libdir}/libtdeinit_kmix.so -%{tde_libdir}/libtdeinit_kmixctrl.so -%{tde_tdeappdir}/kmix.desktop -%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop -%{tde_datadir}/apps/kmix/ -%{tde_datadir}/autostart/kmix.desktop -%{tde_datadir}/autostart/restore_kmix_volumes.desktop -%{tde_datadir}/icons/hicolor/*/apps/kmix.png -%{tde_datadir}/services/kmixctrl_restore.desktop -%{tde_tdedocdir}/HTML/en/kmix/ - -########## - -%package -n trinity-krec -Summary: Sound recorder utility for Trinity -Group: Productivity/Multimedia/CD/Record - -%description -n trinity-krec -This is a sound recording utility for Trinity. - -%files -n trinity-krec -%defattr(-,root,root,-) -%{tde_bindir}/krec -%{tde_tdelibdir}/kcm_krec.la -%{tde_tdelibdir}/kcm_krec.so -%{tde_tdelibdir}/kcm_krec_files.la -%{tde_tdelibdir}/kcm_krec_files.so -%{tde_tdelibdir}/krec.la -%{tde_tdelibdir}/krec.so -%if 0%{?with_lame} -%{tde_tdelibdir}/libkrecexport_mp3.la -%{tde_tdelibdir}/libkrecexport_mp3.so -%{tde_datadir}/services/krec_exportmp3.desktop -%endif -%{tde_tdelibdir}/libkrecexport_ogg.la -%{tde_tdelibdir}/libkrecexport_ogg.so -%{tde_tdelibdir}/libkrecexport_wave.la -%{tde_tdelibdir}/libkrecexport_wave.so -%{tde_libdir}/libtdeinit_krec.so -%{tde_tdeappdir}/krec.desktop -%{tde_datadir}/apps/krec/ -%{tde_datadir}/icons/hicolor/*/apps/krec.png -%{tde_datadir}/services/kcm_krec.desktop -%{tde_datadir}/services/kcm_krec_files.desktop -%{tde_datadir}/services/krec_exportogg.desktop -%{tde_datadir}/services/krec_exportwave.desktop -%{tde_datadir}/servicetypes/krec_exportitem.desktop -%{tde_tdedocdir}/HTML/en/krec/ - -########## - -%package -n trinity-kscd -Summary: Audio CD player for Trinity -Group: Productivity/Multimedia/CD/Players - -%description -n trinity-kscd -This is Trinity's audio CD player. - -%files -n trinity-kscd -%defattr(-,root,root,-) -%{tde_bindir}/kscd -%{tde_bindir}/workman2cddb.pl -%{tde_tdeappdir}/kscd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop -%{tde_datadir}/apps/kscd/ -%{tde_datadir}/apps/profiles/kscd.profile.xml -%{tde_datadir}/config.kcfg/kscd.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kscd.png -%{tde_datadir}/mimelnk/text/xmcd.desktop -%{tde_tdedocdir}/HTML/en/kscd/ - -########## - -%if 0%{?with_akode} -%package -n trinity-libarts-akode -Summary: Akode plugin for aRts -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-akode -This package contains akode plugins for aRts. - -%files -n trinity-libarts-akode -%defattr(-,root,root,-) -%{tde_libdir}/libarts_akode.so.* -%{tde_libdir}/libarts_akode.la -%{tde_libdir}/mcop/akodearts.mcoptype -%{tde_libdir}/mcop/akodearts.mcopclass -%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass -%{tde_libdir}/mcop/akodePlayObject.mcopclass -%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass - -# Requires MAD support -%{?with_libmad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass} - -%endif - -########## - -%package -n trinity-libarts-audiofile -Summary: Audiofile plugin for aRts -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-audiofile -This package contains audiofile plugins for aRts. - -%files -n trinity-libarts-audiofile -%defattr(-,root,root,-) -%{tde_libdir}/libarts_audiofile.so.* -%{tde_libdir}/libarts_audiofile.la -%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcoptype - -########## - -%if 0%{?with_mpeg} -%package -n trinity-libarts-mpeglib -Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-mpeglib -This package contains the mpeglib aRts plugin, supporting mp3 and mpeg -audio and video. - -This is the arts (TDE Sound daemon) plugin. - -%files -n trinity-libarts-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/mpeglibartsplay -%{tde_libdir}/libarts_mpeglib-0.3.0.so.* -%{tde_libdir}/libarts_mpeglib.la -%{tde_libdir}/libarts_splay.so.* -%{tde_libdir}/libarts_splay.la -%{tde_libdir}/mcop/CDDAPlayObject.mcopclass -%{tde_libdir}/mcop/MP3PlayObject.mcopclass -%{tde_libdir}/mcop/NULLPlayObject.mcopclass -%{tde_libdir}/mcop/OGGPlayObject.mcopclass -%{tde_libdir}/mcop/SplayPlayObject.mcopclass -%{tde_libdir}/mcop/WAVPlayObject.mcopclass - -%endif - -########## - -%if 0%{?with_xine} -%package -n trinity-libarts-xine -Summary: ARTS plugin enabling xine support -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-xine -This package contains aRts' xine plugin, allowing the use of the xine -multimedia engine though aRts. - -%files -n trinity-libarts-xine -%defattr(-,root,root,-) -%{tde_tdelibdir}/videothumbnail.la -%{tde_tdelibdir}/videothumbnail.so -%{tde_libdir}/libarts_xine.so.* -%{tde_libdir}/libarts_xine.la -%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass -%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass -%{tde_datadir}/apps/videothumbnail/sprocket-large.png -%{tde_datadir}/apps/videothumbnail/sprocket-medium.png -%{tde_datadir}/apps/videothumbnail/sprocket-small.png -%{tde_datadir}/services/videothumbnail.desktop - -%endif - -########## - -%package -n trinity-libkcddb -Summary: CDDB library for Trinity -Group: Productivity/Multimedia/Other -Requires: trinity-kcontrol >= %{tde_version} - -%description -n trinity-libkcddb -The Trinity native CDDB (CD Data Base) library, providing easy access to Audio -CD meta-information (track titles, artist information, etc.) from on-line -databases, for TDE applications. - -%files -n trinity-libkcddb -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_cddb.la -%{tde_tdelibdir}/kcm_cddb.so -%{tde_libdir}/libkcddb.so.* -%{tde_tdeappdir}/libkcddb.desktop -%{tde_datadir}/apps/tdeconf_update/kcmcddb-emailsettings.upd -%{tde_datadir}/config.kcfg/libkcddb.kcfg -%{tde_tdedocdir}/HTML/en/kcontrol/cddb/ - -########## - -%if 0%{?with_mpeg} - -%package -n trinity-mpeglib -Summary: MP3 and MPEG-1 audio and video library -Group: Productivity/Multimedia/Other -%if 0%{?with_mpeg} -Requires: trinity-libarts-mpeglib = %{version}-%{release} -%endif - -%description -n trinity-mpeglib -mpeglib is a MPEG-1 and MP3 audio and video library. It supports -MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, -and WAV playback - -%files -n trinity-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/yaf-cdda -%{tde_bindir}/yaf-mpgplay -%{tde_bindir}/yaf-splay -%{tde_bindir}/yaf-tplay -%{tde_bindir}/yaf-vorbis -%{tde_bindir}/yaf-yuv -%{tde_libdir}/libmpeg-0.3.0.so -%{tde_libdir}/libyafcore.so -%{tde_libdir}/libyafxplayer.so - -%endif - -########## - -%package -n trinity-noatun -Summary: Media player for Trinity -Group: Productivity/Multimedia/Video/Players -Requires: trinity-tdebase-bin >= %{tde_version} - -# 20120802: Hack to avoid dependency issue on MGA2 and MDV2011 -%if 0%{?mgaversion} || 0%{?mdkversion} -Provides: devel(libnoatunarts) -Provides: devel(libnoatunarts(64bit)) -%endif - -%description -n trinity-noatun -Noatun is an aRts-based audio and video player for Trinity. It supports all -formats supported by your installation of aRts (including aRts plugins). - -%files -n trinity-noatun -%defattr(-,root,root,-) -%{tde_bindir}/noatun -%{tde_libdir}/tdeconf_update_bin/noatun20update -%{tde_tdelibdir}/noatun.la -%{tde_tdelibdir}/noatun.so -%{tde_tdelibdir}/noatun_dcopiface.la -%{tde_tdelibdir}/noatun_dcopiface.so -%{tde_tdelibdir}/noatun_excellent.la -%{tde_tdelibdir}/noatun_excellent.so -%{tde_tdelibdir}/noatun_htmlexport.la -%{tde_tdelibdir}/noatun_htmlexport.so -%{tde_tdelibdir}/noatun_infrared.la -%{tde_tdelibdir}/noatun_infrared.so -%{tde_tdelibdir}/noatun_kaiman.la -%{tde_tdelibdir}/noatun_kaiman.so -%{tde_tdelibdir}/noatun_keyz.la -%{tde_tdelibdir}/noatun_keyz.so -%{tde_tdelibdir}/noatun_kjofol.la -%{tde_tdelibdir}/noatun_kjofol.so -%{tde_tdelibdir}/noatun_marquis.la -%{tde_tdelibdir}/noatun_marquis.so -%{tde_tdelibdir}/noatun_metatag.la -%{tde_tdelibdir}/noatun_metatag.so -%{tde_tdelibdir}/noatun_monoscope.la -%{tde_tdelibdir}/noatun_monoscope.so -%{tde_tdelibdir}/noatun_net.la -%{tde_tdelibdir}/noatun_net.so -%{tde_tdelibdir}/noatun_splitplaylist.la -%{tde_tdelibdir}/noatun_splitplaylist.so -%{tde_tdelibdir}/noatun_systray.la -%{tde_tdelibdir}/noatun_systray.so -%{tde_tdelibdir}/noatun_ui.la -%{tde_tdelibdir}/noatun_ui.so -%{tde_tdelibdir}/noatun_voiceprint.la -%{tde_tdelibdir}/noatun_voiceprint.so -%{tde_tdelibdir}/noatun_winskin.la -%{tde_tdelibdir}/noatun_winskin.so -%{tde_tdelibdir}/noatunsimple.la -%{tde_tdelibdir}/noatunsimple.so -%{tde_libdir}/libartseffects.la -%{tde_libdir}/libartseffects.so -%{tde_libdir}/libtdeinit_noatun.so -%{tde_libdir}/libnoatun.so.* -%{tde_libdir}/libnoatunarts.la -%{tde_libdir}/libnoatunarts.so -%{tde_libdir}/libnoatuncontrols.so.* -%{tde_libdir}/libnoatuntags.so.* -%{tde_libdir}/libwinskinvis.la -%{tde_libdir}/libwinskinvis.so -%{tde_libdir}/mcop/ExtraStereo.mcopclass -%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass -%{tde_libdir}/mcop/Noatun/ -%{tde_libdir}/mcop/RawWriter.mcopclass -%{tde_libdir}/mcop/VoiceRemoval.mcopclass -%{tde_libdir}/mcop/artseffects.mcopclass -%{tde_libdir}/mcop/artseffects.mcoptype -%{tde_libdir}/mcop/noatunarts.mcopclass -%{tde_libdir}/mcop/noatunarts.mcoptype -%{tde_libdir}/mcop/winskinvis.mcopclass -%{tde_libdir}/mcop/winskinvis.mcoptype -%{tde_tdeappdir}/noatun.desktop -%{tde_datadir}/apps/tdeconf_update/noatun.upd -%{tde_datadir}/apps/noatun/ -%{tde_datadir}/icons/hicolor/*/apps/noatun.png -%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop -%{tde_tdedocdir}/HTML/en/noatun/ - -########## - -%package devel -Summary: Development files for %{name}, aRts and noatun plugins -Group: Development/Libraries/Other -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{tde_version} - -Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} -Provides: trinity-kdemultimedia-devel = %{version}-%{release} - -%description devel -{summary}. - -Install %{name}-devel if you wish to develop or compile any -applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or -noatun plugins. - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/* -%if 0%{?with_akode} -%{tde_libdir}/libarts_akode.so -%endif -%{tde_libdir}/libarts_audiofile.so -%if 0%{?with_mpeg} -%{tde_libdir}/libarts_mpeglib.so -%{tde_libdir}/libarts_splay.so -%endif -%if 0%{?with_xine} -%{tde_libdir}/libarts_xine.so -%endif -%{tde_libdir}/libartsbuilder.so -%{tde_libdir}/libartscontrolapplet.so -%{tde_libdir}/libartscontrolsupport.so -%{tde_libdir}/libartsgui.so -%{tde_libdir}/libartsgui_idl.so -%{tde_libdir}/libartsgui_kde.so -%{tde_libdir}/libartsmidi.so -%{tde_libdir}/libartsmidi_idl.so -%{tde_libdir}/libartsmodules.so -%{tde_libdir}/libartsmodulescommon.so -%{tde_libdir}/libartsmoduleseffects.so -%{tde_libdir}/libartsmodulesmixers.so -%{tde_libdir}/libartsmodulessynth.so -%{tde_libdir}/libaudiocdplugins.la -%{tde_libdir}/libaudiocdplugins.so -%{tde_libdir}/libkcddb.la -%{tde_libdir}/libkcddb.so -%{tde_libdir}/libtdeinit_kmix.la -%{tde_libdir}/libtdeinit_kmixctrl.la -%{tde_libdir}/libtdeinit_krec.la -%{tde_libdir}/libtdeinit_noatun.la -%{tde_libdir}/libtdemidlib.la -%{tde_libdir}/libtdemidlib.so -%if 0%{?with_mpeg} -%{tde_libdir}/libmpeg.la -%{tde_libdir}/libmpeg.so -%endif -%{tde_libdir}/libnoatun.la -%{tde_libdir}/libnoatun.so -%{tde_libdir}/libnoatuncontrols.la -%{tde_libdir}/libnoatuncontrols.so -%{tde_libdir}/libnoatuntags.la -%{tde_libdir}/libnoatuntags.so -%if 0%{?with_mpeg} -%{tde_libdir}/libyafcore.la -%{tde_libdir}/libyafxplayer.la -%endif - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -# Update icons for some control center modules -%__sed -i "tdeioslave/audiocd/kcmaudiocd/audiocd.desktop" -e "s|^Icon=.*|Icon=kcmaudio|" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -# Warning: GCC visibility causes FTBFS [Bug #1285] -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --datadir=%{tde_datadir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \ - \ - --with-vorbis \ - --without-ossaudio \ - --with-alsa \ - --with-cdparanoia \ - %{?with_lame:--with-lame} %{!?with_lame:--without-lame} \ - %{?with_taglib:--with-taglib} %{!?with_taglib:--without-taglib} \ - %{?with_akode:--with-akode} %{!?with_akode:--without-akode} \ - --with-audiofile \ - %{?with_musicbrainz:--with-musicbrainz} %{!?with_musicbrainz:--without-musicbrainz} \ - --with-gstreamer \ - --with-kscd-cdda \ - --with-theora \ - --with-flac \ - %{?with_xine:--with-xine} %{!?with_xine:--without-xine} - -# Fix unexplained "undefined reference to `__stack_chk_fail'" -%if 0%{?mgaversion} >= 4 || 0%{?pclinuxos} -%__sed -i "noatun/app/Makefile" -e "/^libtdeinit_noatun_la_LDFLAGS/ s/$/ -Wl,-lc/" -%endif - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{buildroot} - -# Disable MPEG support entirely -%if 0%{?with_mpeg} == 0 -%__rm %{?buildroot}%{tde_bindir}/mpeglibartsplay -%__rm %{?buildroot}%{tde_bindir}/yaf-* -%__rm %{?buildroot}%{tde_libdir}/libarts_mpeglib* -%__rm %{?buildroot}%{tde_libdir}/libarts_splay.* -%__rm %{?buildroot}%{tde_libdir}/libmpeg* -%__rm %{?buildroot}%{tde_libdir}/libyaf* -%__rm %{?buildroot}%{tde_libdir}/mcop/MP3PlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/CDDAPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/NULLPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/OGGPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/SplayPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/WAVPlayObject.mcopclass -%endif - -# Copy missing icons from 'crystalsvg' theme (tdelibs) -%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64}"/apps/" -pushd $RPM_BUILD_ROOT%{tde_datadir}/icons/ -for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/media-optical-cdaudio.png hicolor/"$i"x"$i"/apps/kcmaudiocd.png; done -popd - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file krec AudioVideo Recorder -%suse_update_desktop_file tdemid AudioVideo Midi -%suse_update_desktop_file artsbuilder AudioVideo AudioVideoEditing -%suse_update_desktop_file artscontrol AudioVideo AudioVideoEditing -%suse_update_desktop_file kmix AudioVideo Mixer -%suse_update_desktop_file kaboodle AudioVideo Player -%suse_update_desktop_file kaudiocreator AudioVideo CD -%suse_update_desktop_file kscd AudioVideo Player CD -%suse_update_desktop_file noatun AudioVideo Player Video -%suse_update_desktop_file juk AudioVideo Player Jukebox -%suse_update_desktop_file audiocd -%endif - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec b/redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec deleted file mode 100644 index 086f7ec9f..000000000 --- a/redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec +++ /dev/null @@ -1,1158 +0,0 @@ -# -# spec file for package tdemultimedia (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 tdemultimedia -%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 - - -Name: trinity-%{tde_pkg} -Summary: Multimedia applications for the Trinity Desktop Environment -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Group: Productivity/Multimedia/Sound/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -Obsoletes: trinity-kdemultimedia < %{version}-%{release} -Provides: trinity-kdemultimedia = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-libs = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} -Provides: trinity-kdemultimedia-extras = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} - -BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: cmake -BuildRequires: gcc-c++ -BuildRequires: fdupes -BuildRequires: desktop-file-utils - -# 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 - -# TAGLIB support -%define with_taglib 1 -BuildRequires: taglib-devel - -# AKODE support -%define with_akode 1 -BuildRequires: trinity-akode-devel - -# MAD support -%ifarch %{ix86} x86_64 -%define with_libmad 1 -%{?with_libmad:BuildRequires: libakode_mpeg_decoder} -%endif - -# ZLIB support -BuildRequires: zlib-devel - -# MUSICBRAINZ support -## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) -#define with_musicbrainz 1 -#BuildRequires: libmusicbrainz-devel libtunepimp-devel - -# Audio libraries -BuildRequires: libvorbis-devel -BuildRequires: audiofile-devel -BuildRequires: libtheora-devel -BuildRequires: alsa-lib-devel -BuildRequires: cdparanoia -#BuildRequires: libmpg123-devel - -# CDDA support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libcdda-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: cdparanoia-devel -%endif - -# FLAC support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libflac-devel -%else -BuildRequires: %{_lib}flac-devel -%endif -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: flac-devel -%endif - -# GSTREAMER support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}gstreamer1.0-devel -BuildRequires: %{_lib}gstreamer-plugins-base1.0-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-devel -%endif -%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?suse_version} -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-base-devel -%endif -%if 0%{?rhel} >= 7 || 0%{?fedora} -BuildRequires: gstreamer1-devel >= 1.0 -BuildRequires: gstreamer1-plugins-base-devel >= 1.0 -%endif - -# X11 Libraries -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xxf86dga-devel -BuildRequires: %{_lib}xxf86vm-devel -%if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}xtst-devel -%else -BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel -%endif -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXxf86dga-devel -BuildRequires: libXxf86vm-devel -%endif - -# XINE support -%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xine1.2-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: xine-lib-devel -%endif -%if 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%endif - -# LAME support -%if 0%{?opensuse_bs} == 0 -%define with_lame 1 - -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: liblame-devel -%else -%if 0%{?mgaversion} >= 6 -BuildRequires: %{_lib}mp3lame-devel -%else -BuildRequires: %{_lib}lame-devel -%endif -%endif -%endif -%if 0%{?suse_version} -BuildRequires: libmp3lame-devel -%endif -%endif - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# ACL support -BuildRequires: libacl-devel - -# ATTR support -BuildRequires: libattr-devel - -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: lame-devel -%endif - - -Requires: trinity-artsbuilder = %{version}-%{release} -Requires: trinity-juk = %{version}-%{release} -Requires: trinity-kaboodle = %{version}-%{release} -Requires: trinity-kaudiocreator = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-kappfinder-data = %{version}-%{release} -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: trinity-tdemid = %{version}-%{release} -Requires: trinity-kmix = %{version}-%{release} -Requires: trinity-krec = %{version}-%{release} -Requires: trinity-kscd = %{version}-%{release} -%{?with_akode:Requires: trinity-libarts-akode = %{version}-%{release}} -Requires: trinity-libarts-audiofile = %{version}-%{release} -%{?with_mpeg:Requires: trinity-libarts-mpeglib = %{version}-%{release}} -%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} -Requires: trinity-libkcddb = %{version}-%{release} -%{?with_mpeg:Requires: trinity-mpeglib = %{version}-%{release}} -Requires: trinity-noatun = %{version}-%{release} - - -%description -The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window -System. The tdemultimedia package contains multimedia applications for -TDE, including: - artsbuilder, Synthesizer designer for aRts - juk, a media player - tdemid, a midi player - kmix, an audio mixer - arts, additional functionality for the aRts sound system - krec, a recording tool - kscd, an Audio-CD player - kaudiocreator, a graphical frontend for audio file creation - kaboodle, a media player - noatun, a media player - -%files - -########## - -%package -n trinity-artsbuilder -Summary: Synthesizer designer for aRts -Group: Productivity/Multimedia/Sound/Mixers -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-artsbuilder -This is the analog Realtime synthesizer's graphical design tool. - -%files -n trinity-artsbuilder -%defattr(-,root,root,-) -%{tde_bindir}/artsbuilder -%{tde_bindir}/artscontrol -%{tde_bindir}/midisend -%{tde_libdir}/libartsbuilder.la -%{tde_libdir}/libartsbuilder.so.* -%{tde_libdir}/libartscontrolapplet.la -%{tde_libdir}/libartscontrolapplet.so.* -%{tde_libdir}/libartscontrolsupport.la -%{tde_libdir}/libartscontrolsupport.so.* -%{tde_libdir}/libartsgui_idl.la -%{tde_libdir}/libartsgui_idl.so.* -%{tde_libdir}/libartsgui_kde.la -%{tde_libdir}/libartsgui_kde.so.* -%{tde_libdir}/libartsgui.la -%{tde_libdir}/libartsgui.so.* -%{tde_libdir}/libartsmidi_idl.la -%{tde_libdir}/libartsmidi_idl.so.* -%{tde_libdir}/libartsmidi.la -%{tde_libdir}/libartsmidi.so.* -%{tde_libdir}/libartsmodulescommon.la -%{tde_libdir}/libartsmodulescommon.so.* -%{tde_libdir}/libartsmoduleseffects.la -%{tde_libdir}/libartsmoduleseffects.so.* -%{tde_libdir}/libartsmodulesmixers.la -%{tde_libdir}/libartsmodulesmixers.so.* -%{tde_libdir}/libartsmodules.la -%{tde_libdir}/libartsmodules.so.* -%{tde_libdir}/libartsmodulessynth.la -%{tde_libdir}/libartsmodulessynth.so.* -%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcoptype -%{tde_libdir}/mcop/Arts/Button.mcopclass -%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass -%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass -%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass -%{tde_libdir}/mcop/Arts/Fader.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass -%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GraphLine.mcopclass -%{tde_libdir}/mcop/artsgui.mcopclass -%{tde_libdir}/mcop/artsgui.mcoptype -%{tde_libdir}/mcop/Arts/HBox.mcopclass -%{tde_libdir}/mcop/Arts/Label.mcopclass -%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass -%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass -%{tde_libdir}/mcop/Arts/LineEdit.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass -%{tde_libdir}/mcop/Arts/MidiManager.mcopclass -%{tde_libdir}/mcop/artsmidi.mcopclass -%{tde_libdir}/mcop/artsmidi.mcoptype -%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcoptype -%{tde_libdir}/mcop/artsmoduleseffects.mcopclass -%{tde_libdir}/mcop/artsmoduleseffects.mcoptype -%{tde_libdir}/mcop/artsmodules.mcopclass -%{tde_libdir}/mcop/artsmodules.mcoptype -%{tde_libdir}/mcop/artsmodulesmixers.mcopclass -%{tde_libdir}/mcop/artsmodulesmixers.mcoptype -%{tde_libdir}/mcop/artsmodulessynth.mcopclass -%{tde_libdir}/mcop/artsmodulessynth.mcoptype -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass -%{tde_libdir}/mcop/Arts/PopupBox.mcopclass -%{tde_libdir}/mcop/Arts/Poti.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/SpinBox.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass -%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass -%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass -%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass -%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass -%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass -%{tde_libdir}/mcop/Arts/VBox.mcopclass -%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Widget.mcopclass -%{tde_tdeappdir}/artsbuilder.desktop -%{tde_tdeappdir}/artscontrol.desktop -%{tde_datadir}/apps/artsbuilder/ -%{tde_datadir}/apps/artscontrol/ -%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz -%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png -%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png -%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz -%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop -%{tde_tdedocdir}/HTML/en/artsbuilder/ - -########## - -%package -n trinity-juk -Summary: Music organizer and player for Trinity -Group: Productivity/Multimedia/Sound/Players - -%description -n trinity-juk -JuK (pronounced "jook") is a jukebox and music manager for the TDE -desktop similar to jukebox software on other platforms such as -iTunes or RealOne. - -Some of JuK's features include: -* Support for Ogg Vorbis and MP3 formats -* Tag editing support for both formats, including ID3v2 for MP3 files. - Multitagging or editing a selection of multiple files at once is also - supported -* Output to either the aRts, default KDE sound system, or GStreamer -* Management of your "collection" and multiple playlists -* Import and export to m3u playlists -* Binary caching of audio meta-data and playlist information for faster - load times (starting with the second time you run JuK) -* Integration into TDE that allows drag-and-drop and clipboard usage - with other TDE and X apps - -%files -n trinity-juk -%defattr(-,root,root,-) -%{tde_bindir}/juk -%{tde_tdeappdir}/juk.desktop -%{tde_datadir}/apps/juk/ -%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png -%{tde_datadir}/icons/hicolor/*/apps/juk.png -%{tde_tdedocdir}/HTML/en/juk/ - -########## - -%package -n trinity-kaboodle -Summary: Light, embedded media player for Trinity -Group: System/GUI/Other - -%if 0%{?with_xine} -Requires: trinity-libarts-xine = %{version}-%{release} -%endif - -%description -n trinity-kaboodle -Kaboodle is a light, embedded media player, supporting both video and audio, -for TDE. It uses the aRts framework for playing media files. - -%files -n trinity-kaboodle -%defattr(-,root,root,-) -%{tde_bindir}/kaboodle -%{tde_tdelibdir}/libkaboodlepart.la -%{tde_tdelibdir}/libkaboodlepart.so -%{tde_tdeappdir}/kaboodle.desktop -%{tde_datadir}/apps/kaboodle/ -%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png -%{tde_datadir}/services/kaboodle_component.desktop -%{tde_datadir}/services/kaboodleengine.desktop -%{tde_tdedocdir}/HTML/en/kaboodle/ - -########## - -%package -n trinity-kaudiocreator -Summary: CD ripper and audio encoder frontend for Trinity -Group: Productivity/Multimedia/CD/Grabbers - -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: vorbis-tools -Requires: flac - -%description -n trinity-kaudiocreator -KAudioCreator is a tool for audio extraction (ripping) and encoding. It can -keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also -searches CDDB to retrieve the information of the disk. - -%files -n trinity-kaudiocreator -%defattr(-,root,root,-) -%{tde_bindir}/kaudiocreator -%{tde_tdeappdir}/kaudiocreator.desktop -%{tde_datadir}/apps/kaudiocreator/ -%{tde_datadir}/apps/tdeconf_update/kaudiocreator-libkcddb.upd -%{tde_datadir}/apps/tdeconf_update/kaudiocreator-meta.upd -%{tde_datadir}/apps/tdeconf_update/upgrade-kaudiocreator-metadata.sh -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop -%{tde_datadir}/config.kcfg/kaudiocreator.kcfg -%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png -%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png -%{tde_tdedocdir}/HTML/en/kaudiocreator/ - -########## - -%package kfile-plugins -Summary: An au/avi/m3u/mp3/ogg/wav plugins for kfile -Group: Productivity/Multimedia/Sound/Utilities - -%description kfile-plugins -au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdefile_au.la -%{tde_tdelibdir}/tdefile_au.so -%{tde_tdelibdir}/tdefile_avi.la -%{tde_tdelibdir}/tdefile_avi.so -%{tde_tdelibdir}/tdefile_flac.la -%{tde_tdelibdir}/tdefile_flac.so -%{tde_tdelibdir}/tdefile_m3u.la -%{tde_tdelibdir}/tdefile_m3u.so -%{tde_tdelibdir}/tdefile_mp3.la -%{tde_tdelibdir}/tdefile_mp3.so -%{tde_tdelibdir}/tdefile_mpc.la -%{tde_tdelibdir}/tdefile_mpc.so -%{tde_tdelibdir}/tdefile_mpeg.la -%{tde_tdelibdir}/tdefile_mpeg.so -%{tde_tdelibdir}/tdefile_ogg.la -%{tde_tdelibdir}/tdefile_ogg.so -%{tde_tdelibdir}/tdefile_sid.la -%{tde_tdelibdir}/tdefile_sid.so -%{tde_tdelibdir}/tdefile_theora.la -%{tde_tdelibdir}/tdefile_theora.so -%{tde_tdelibdir}/tdefile_wav.la -%{tde_tdelibdir}/tdefile_wav.so -%{tde_datadir}/services/tdefile_au.desktop -%{tde_datadir}/services/tdefile_avi.desktop -%{tde_datadir}/services/tdefile_flac.desktop -%{tde_datadir}/services/tdefile_m3u.desktop -%{tde_datadir}/services/tdefile_mp3.desktop -%{tde_datadir}/services/tdefile_mpc.desktop -%{tde_datadir}/services/tdefile_mpeg.desktop -%{tde_datadir}/services/tdefile_ogg.desktop -%{tde_datadir}/services/tdefile_sid.desktop -%{tde_datadir}/services/tdefile_theora.desktop -%{tde_datadir}/services/tdefile_wav.desktop - -########## - -%package kappfinder-data -Summary: Multimedia data for kappfinder -Group: Productivity/Multimedia/Sound/Utilities - -Requires: trinity-kappfinder >= %{tde_version} -Requires: trinity-tdebase-runtime-data-common >= %{tde_version} - -%description kappfinder-data -This package provides data on multimedia applications for kappfinder. - -%files kappfinder-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kappfinder/ -%{tde_datadir}/desktop-directories/tde-multimedia-music.directory -%config %{_sysconfdir}/xdg/menus/applications-merged/tde-multimedia-music.menu - -########## - -%package tdeio-plugins -Summary: Enables the browsing of audio CDs under Konqueror -Group: Productivity/Multimedia/Sound/Utilities -Requires: trinity-tdebase-tdeio-plugins >= %{tde_version} - -Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release} -Provides: trinity-tdemultimedia-kio-plugins = %{version}-%{release} - -%description tdeio-plugins -This package allow audio CDs to be browsed like a file system using -Konqueror and the audiocd:/ URL. - -%files tdeio-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_audiocd.la -%{tde_tdelibdir}/kcm_audiocd.so -%{tde_tdelibdir}/tdeio_audiocd.la -%{tde_tdelibdir}/tdeio_audiocd.so -%{tde_tdelibdir}/libaudiocd_encoder_flac.la -%{tde_tdelibdir}/libaudiocd_encoder_flac.so -%{tde_tdelibdir}/libaudiocd_encoder_lame.la -%{tde_tdelibdir}/libaudiocd_encoder_lame.so -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so -%{tde_tdelibdir}/libaudiocd_encoder_wav.la -%{tde_tdelibdir}/libaudiocd_encoder_wav.so -%{tde_libdir}/libaudiocdplugins.so.* -%{tde_tdeappdir}/audiocd.desktop -%{tde_datadir}/apps/tdeconf_update/audiocd.upd -%{tde_datadir}/apps/tdeconf_update/upgrade-metadata.sh -%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg -%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg -%{tde_datadir}/services/audiocd.protocol -%{tde_tdedocdir}/HTML/en/tdeioslave/audiocd/ -%{tde_tdedocdir}/HTML/en/kcontrol/audiocd/ -%{tde_datadir}/icons/hicolor/*/apps/kcmaudiocd.png - -########## - -%package -n trinity-tdemid -Summary: MIDI/karaoke player for Trinity -Group: Productivity/Multimedia/Sound/Midi - -Obsoletes: trinity-kmid < %{version}-%{release} -Provides: trinity-kmid = %{version}-%{release} - -%description -n trinity-tdemid -This package provides a MIDI and karaoke player for TDE. - -%files -n trinity-tdemid -%defattr(-,root,root,-) -%{tde_bindir}/tdemid -%{tde_tdelibdir}/libtdemidpart.la -%{tde_tdelibdir}/libtdemidpart.so -%{tde_libdir}/libtdemidlib.so.* -%{tde_tdeappdir}/tdemid.desktop -%{tde_datadir}/apps/tdemid/ -%{tde_datadir}/icons/hicolor/*/apps/tdemid.png -%{tde_datadir}/mimelnk/audio/x-karaoke.desktop -%{tde_datadir}/servicetypes/audiomidi.desktop -%{tde_tdedocdir}/HTML/en/tdemid/ - -########## - -%package -n trinity-kmix -Summary: Sound mixer applet for Trinity -Group: Productivity/Multimedia/Sound/Mixers -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-kmix -This package includes TDE's dockable sound mixer applet. - -%files -n trinity-kmix -%defattr(-,root,root,-) -%{tde_bindir}/kmix -%{tde_bindir}/kmixctrl -%{tde_tdelibdir}/kmix.la -%{tde_tdelibdir}/kmix.so -%{tde_tdelibdir}/kmix_panelapplet.la -%{tde_tdelibdir}/kmix_panelapplet.so -%{tde_tdelibdir}/kmixctrl.la -%{tde_tdelibdir}/kmixctrl.so -%{tde_libdir}/libtdeinit_kmix.so -%{tde_libdir}/libtdeinit_kmixctrl.so -%{tde_tdeappdir}/kmix.desktop -%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop -%{tde_datadir}/apps/kmix/ -%{tde_datadir}/autostart/kmix.desktop -%{tde_datadir}/autostart/restore_kmix_volumes.desktop -%{tde_datadir}/icons/hicolor/*/apps/kmix.png -%{tde_datadir}/services/kmixctrl_restore.desktop -%{tde_tdedocdir}/HTML/en/kmix/ - -########## - -%package -n trinity-krec -Summary: Sound recorder utility for Trinity -Group: Productivity/Multimedia/CD/Record - -%description -n trinity-krec -This is a sound recording utility for Trinity. - -%files -n trinity-krec -%defattr(-,root,root,-) -%{tde_bindir}/krec -%{tde_tdelibdir}/kcm_krec.la -%{tde_tdelibdir}/kcm_krec.so -%{tde_tdelibdir}/kcm_krec_files.la -%{tde_tdelibdir}/kcm_krec_files.so -%{tde_tdelibdir}/krec.la -%{tde_tdelibdir}/krec.so -%if 0%{?with_lame} -%{tde_tdelibdir}/libkrecexport_mp3.la -%{tde_tdelibdir}/libkrecexport_mp3.so -%{tde_datadir}/services/krec_exportmp3.desktop -%endif -%{tde_tdelibdir}/libkrecexport_ogg.la -%{tde_tdelibdir}/libkrecexport_ogg.so -%{tde_tdelibdir}/libkrecexport_wave.la -%{tde_tdelibdir}/libkrecexport_wave.so -%{tde_libdir}/libtdeinit_krec.so -%{tde_tdeappdir}/krec.desktop -%{tde_datadir}/apps/krec/ -%{tde_datadir}/icons/hicolor/*/apps/krec.png -%{tde_datadir}/services/kcm_krec.desktop -%{tde_datadir}/services/kcm_krec_files.desktop -%{tde_datadir}/services/krec_exportogg.desktop -%{tde_datadir}/services/krec_exportwave.desktop -%{tde_datadir}/servicetypes/krec_exportitem.desktop -%{tde_tdedocdir}/HTML/en/krec/ - -########## - -%package -n trinity-kscd -Summary: Audio CD player for Trinity -Group: Productivity/Multimedia/CD/Players - -%description -n trinity-kscd -This is Trinity's audio CD player. - -%files -n trinity-kscd -%defattr(-,root,root,-) -%{tde_bindir}/kscd -%{tde_bindir}/workman2cddb.pl -%{tde_tdeappdir}/kscd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop -%{tde_datadir}/apps/kscd/ -%{tde_datadir}/apps/profiles/kscd.profile.xml -%{tde_datadir}/config.kcfg/kscd.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kscd.png -%{tde_datadir}/mimelnk/text/xmcd.desktop -%{tde_tdedocdir}/HTML/en/kscd/ - -########## - -%if 0%{?with_akode} -%package -n trinity-libarts-akode -Summary: Akode plugin for aRts -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-akode -This package contains akode plugins for aRts. - -%files -n trinity-libarts-akode -%defattr(-,root,root,-) -%{tde_libdir}/libarts_akode.so.* -%{tde_libdir}/libarts_akode.la -%{tde_libdir}/mcop/akodearts.mcoptype -%{tde_libdir}/mcop/akodearts.mcopclass -%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass -%{tde_libdir}/mcop/akodePlayObject.mcopclass -%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass - -# Requires MAD support -%{?with_libmad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass} - -%endif - -########## - -%package -n trinity-libarts-audiofile -Summary: Audiofile plugin for aRts -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-audiofile -This package contains audiofile plugins for aRts. - -%files -n trinity-libarts-audiofile -%defattr(-,root,root,-) -%{tde_libdir}/libarts_audiofile.so.* -%{tde_libdir}/libarts_audiofile.la -%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcoptype - -########## - -%if 0%{?with_mpeg} -%package -n trinity-libarts-mpeglib -Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-mpeglib -This package contains the mpeglib aRts plugin, supporting mp3 and mpeg -audio and video. - -This is the arts (TDE Sound daemon) plugin. - -%files -n trinity-libarts-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/mpeglibartsplay -%{tde_libdir}/libarts_mpeglib-0.3.0.so* -%{tde_libdir}/libarts_mpeglib.la -%{tde_libdir}/libarts_splay.so.* -%{tde_libdir}/libarts_splay.la -%{tde_libdir}/mcop/CDDAPlayObject.mcopclass -%{tde_libdir}/mcop/MP3PlayObject.mcopclass -%{tde_libdir}/mcop/NULLPlayObject.mcopclass -%{tde_libdir}/mcop/OGGPlayObject.mcopclass -%{tde_libdir}/mcop/SplayPlayObject.mcopclass -%{tde_libdir}/mcop/WAVPlayObject.mcopclass - -%endif - -########## - -%if 0%{?with_xine} -%package -n trinity-libarts-xine -Summary: ARTS plugin enabling xine support -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-xine -This package contains aRts' xine plugin, allowing the use of the xine -multimedia engine though aRts. - -%files -n trinity-libarts-xine -%defattr(-,root,root,-) -%{tde_tdelibdir}/videothumbnail.la -%{tde_tdelibdir}/videothumbnail.so -%{tde_libdir}/libarts_xine.so.* -%{tde_libdir}/libarts_xine.la -%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass -%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass -%{tde_datadir}/apps/videothumbnail/sprocket-large.png -%{tde_datadir}/apps/videothumbnail/sprocket-medium.png -%{tde_datadir}/apps/videothumbnail/sprocket-small.png -%{tde_datadir}/services/videothumbnail.desktop - -%endif - -########## - -%package -n trinity-libkcddb -Summary: CDDB library for Trinity -Group: Productivity/Multimedia/Other -Requires: trinity-kcontrol >= %{tde_version} - -%description -n trinity-libkcddb -The Trinity native CDDB (CD Data Base) library, providing easy access to Audio -CD meta-information (track titles, artist information, etc.) from on-line -databases, for TDE applications. - -%files -n trinity-libkcddb -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_cddb.la -%{tde_tdelibdir}/kcm_cddb.so -%{tde_libdir}/libkcddb.so.* -%{tde_tdeappdir}/libkcddb.desktop -%{tde_datadir}/apps/tdeconf_update/kcmcddb-emailsettings.upd -%{tde_datadir}/config.kcfg/libkcddb.kcfg -%{tde_tdedocdir}/HTML/en/kcontrol/cddb/ - -########## - -%if 0%{?with_mpeg} - -%package -n trinity-mpeglib -Summary: MP3 and MPEG-1 audio and video library -Group: Productivity/Multimedia/Other -%if 0%{?with_mpeg} -Requires: trinity-libarts-mpeglib = %{version}-%{release} -%endif - -%description -n trinity-mpeglib -mpeglib is a MPEG-1 and MP3 audio and video library. It supports -MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, -and WAV playback - -%files -n trinity-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/yaf-cdda -%{tde_bindir}/yaf-mpgplay -%{tde_bindir}/yaf-splay -%{tde_bindir}/yaf-tplay -%{tde_bindir}/yaf-vorbis -%{tde_bindir}/yaf-yuv -%{tde_libdir}/libmpeg-0.3.0.so -%{tde_libdir}/libyafcore.so -%{tde_libdir}/libyafxplayer.so - -%endif - -########## - -%package -n trinity-noatun -Summary: Media player for Trinity -Group: Productivity/Multimedia/Video/Players -Requires: trinity-tdebase-bin >= %{tde_version} - -# 20120802: Hack to avoid dependency issue on MGA2 and MDV2011 -%if 0%{?mgaversion} || 0%{?mdkversion} -Provides: devel(libnoatunarts) -Provides: devel(libnoatunarts(64bit)) -%endif - -%description -n trinity-noatun -Noatun is an aRts-based audio and video player for Trinity. It supports all -formats supported by your installation of aRts (including aRts plugins). - -%files -n trinity-noatun -%defattr(-,root,root,-) -%{tde_bindir}/noatun -%{tde_libdir}/tdeconf_update_bin/noatun20update -%{tde_tdelibdir}/noatun.la -%{tde_tdelibdir}/noatun.so -%{tde_tdelibdir}/noatun_dcopiface.la -%{tde_tdelibdir}/noatun_dcopiface.so -%{tde_tdelibdir}/noatun_excellent.la -%{tde_tdelibdir}/noatun_excellent.so -%{tde_tdelibdir}/noatun_htmlexport.la -%{tde_tdelibdir}/noatun_htmlexport.so -%{tde_tdelibdir}/noatun_infrared.la -%{tde_tdelibdir}/noatun_infrared.so -%{tde_tdelibdir}/noatun_kaiman.la -%{tde_tdelibdir}/noatun_kaiman.so -%{tde_tdelibdir}/noatun_keyz.la -%{tde_tdelibdir}/noatun_keyz.so -%{tde_tdelibdir}/noatun_kjofol.la -%{tde_tdelibdir}/noatun_kjofol.so -%{tde_tdelibdir}/noatun_marquis.la -%{tde_tdelibdir}/noatun_marquis.so -%{tde_tdelibdir}/noatun_metatag.la -%{tde_tdelibdir}/noatun_metatag.so -%{tde_tdelibdir}/noatun_monoscope.la -%{tde_tdelibdir}/noatun_monoscope.so -%{tde_tdelibdir}/noatun_net.la -%{tde_tdelibdir}/noatun_net.so -%{tde_tdelibdir}/noatun_splitplaylist.la -%{tde_tdelibdir}/noatun_splitplaylist.so -%{tde_tdelibdir}/noatun_systray.la -%{tde_tdelibdir}/noatun_systray.so -%{tde_tdelibdir}/noatun_ui.la -%{tde_tdelibdir}/noatun_ui.so -%{tde_tdelibdir}/noatun_voiceprint.la -%{tde_tdelibdir}/noatun_voiceprint.so -%{tde_tdelibdir}/noatun_winskin.la -%{tde_tdelibdir}/noatun_winskin.so -%{tde_tdelibdir}/noatunsimple.la -%{tde_tdelibdir}/noatunsimple.so -%{tde_libdir}/libartseffects.la -%{tde_libdir}/libartseffects.so -%{tde_libdir}/libtdeinit_noatun.so -%{tde_libdir}/libnoatun.so.* -%{tde_libdir}/libnoatunarts.la -%{tde_libdir}/libnoatunarts.so -%{tde_libdir}/libnoatuncontrols.so.* -%{tde_libdir}/libnoatuntags.so.* -%{tde_libdir}/libwinskinvis.la -%{tde_libdir}/libwinskinvis.so -%{tde_libdir}/mcop/ExtraStereo.mcopclass -%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass -%{tde_libdir}/mcop/Noatun/ -%{tde_libdir}/mcop/RawWriter.mcopclass -%{tde_libdir}/mcop/VoiceRemoval.mcopclass -%{tde_libdir}/mcop/artseffects.mcopclass -%{tde_libdir}/mcop/artseffects.mcoptype -%{tde_libdir}/mcop/noatunarts.mcopclass -%{tde_libdir}/mcop/noatunarts.mcoptype -%{tde_libdir}/mcop/winskinvis.mcopclass -%{tde_libdir}/mcop/winskinvis.mcoptype -%{tde_tdeappdir}/noatun.desktop -%{tde_datadir}/apps/tdeconf_update/noatun.upd -%{tde_datadir}/apps/noatun/ -%{tde_datadir}/icons/hicolor/*/apps/noatun.png -%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop -%{tde_tdedocdir}/HTML/en/noatun/ - -########## - -%package devel -Summary: Development files for %{name}, aRts and noatun plugins -Group: Development/Libraries/Other -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{tde_version} - -Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} -Provides: trinity-kdemultimedia-devel = %{version}-%{release} - -%description devel -{summary}. - -Install %{name}-devel if you wish to develop or compile any -applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or -noatun plugins. - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/* -%if 0%{?with_akode} -%{tde_libdir}/libarts_akode.so -%endif -%{tde_libdir}/libarts_audiofile.so -%if 0%{?with_mpeg} -%{tde_libdir}/libarts_mpeglib.so -%{tde_libdir}/libarts_splay.so -%endif -%if 0%{?with_xine} -%{tde_libdir}/libarts_xine.so -%endif -%{tde_libdir}/libartsbuilder.so -%{tde_libdir}/libartscontrolapplet.so -%{tde_libdir}/libartscontrolsupport.so -%{tde_libdir}/libartsgui.so -%{tde_libdir}/libartsgui_idl.so -%{tde_libdir}/libartsgui_kde.so -%{tde_libdir}/libartsmidi.so -%{tde_libdir}/libartsmidi_idl.so -%{tde_libdir}/libartsmodules.so -%{tde_libdir}/libartsmodulescommon.so -%{tde_libdir}/libartsmoduleseffects.so -%{tde_libdir}/libartsmodulesmixers.so -%{tde_libdir}/libartsmodulessynth.so -%{tde_libdir}/libaudiocdplugins.la -%{tde_libdir}/libaudiocdplugins.so -%{tde_libdir}/libkcddb.la -%{tde_libdir}/libkcddb.so -%{tde_libdir}/libtdeinit_kmix.la -%{tde_libdir}/libtdeinit_kmixctrl.la -%{tde_libdir}/libtdeinit_krec.la -%{tde_libdir}/libtdeinit_noatun.la -%{tde_libdir}/libtdemidlib.la -%{tde_libdir}/libtdemidlib.so -%if 0%{?with_mpeg} -%{tde_libdir}/libmpeg.la -%{tde_libdir}/libmpeg.so -%endif -%{tde_libdir}/libnoatun.la -%{tde_libdir}/libnoatun.so -%{tde_libdir}/libnoatuncontrols.la -%{tde_libdir}/libnoatuncontrols.so -%{tde_libdir}/libnoatuntags.la -%{tde_libdir}/libnoatuntags.so -%if 0%{?with_mpeg} -%{tde_libdir}/libyafcore.la -%{tde_libdir}/libyafxplayer.la -%endif - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -# Update icons for some control center modules -%__sed -i "tdeioslave/audiocd/kcmaudiocd/audiocd.desktop" -e "s|^Icon=.*|Icon=kcmaudio|" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_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}" \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -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_ALSA=ON \ - -DWITH_ARTS_AKODE=ON \ - -DWITH_ARTS_AUDIOFILE=ON \ - -DWITH_ARTS_MPEGLIB=ON \ - -DWITH_ARTS_XINE=ON \ - -DWITH_CDPARANOIA=ON \ - -DWITH_FLAC=ON \ - -DWITH_GSTREAMER=ON \ - -DWITH_KSCD_CDDA=ON \ - -DWITH_LAME=%{?with_lame:ON}%{!?with_lame:OFF} \ - -DWITH_MUSICBRAINZ=%{?with_musicbrainz:ON}%{!?with_musicbrainz:OFF} \ - -DWITH_TAGLIB=%{?with_taglib:ON}%{!?with_taglib:OFF} \ - -DWITH_THEORA=ON \ - -DWITH_VORBIS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR="%{?buildroot}" -C build - -# Disable MPEG support entirely -%if 0%{?with_mpeg} == 0 -%__rm %{?buildroot}%{tde_bindir}/mpeglibartsplay -%__rm %{?buildroot}%{tde_bindir}/yaf-* -%__rm %{?buildroot}%{tde_libdir}/libarts_mpeglib* -%__rm %{?buildroot}%{tde_libdir}/libarts_splay.* -%__rm %{?buildroot}%{tde_libdir}/libmpeg* -%__rm %{?buildroot}%{tde_libdir}/libyaf* -%__rm %{?buildroot}%{tde_libdir}/mcop/MP3PlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/CDDAPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/NULLPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/OGGPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/SplayPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/WAVPlayObject.mcopclass -%endif - -# Copy missing icons from 'crystalsvg' theme (tdelibs) -%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64}"/apps/" -pushd $RPM_BUILD_ROOT%{tde_datadir}/icons/ -for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/media-optical-cdaudio.png hicolor/"$i"x"$i"/apps/kcmaudiocd.png; done -popd - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file krec AudioVideo Recorder -%suse_update_desktop_file tdemid AudioVideo Midi -%suse_update_desktop_file artsbuilder AudioVideo AudioVideoEditing -%suse_update_desktop_file artscontrol AudioVideo AudioVideoEditing -%suse_update_desktop_file kmix AudioVideo Mixer -%suse_update_desktop_file kaboodle AudioVideo Player -%suse_update_desktop_file kaudiocreator AudioVideo CD -%suse_update_desktop_file kscd AudioVideo Player CD -%suse_update_desktop_file noatun AudioVideo Player Video -%suse_update_desktop_file juk AudioVideo Player Jukebox -%suse_update_desktop_file audiocd -%endif - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec b/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec deleted file mode 120000 index 90fb9141a..000000000 --- a/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec +++ /dev/null @@ -1 +0,0 @@ -tdemultimedia-14.0.0-cmake.spec \ No newline at end of file diff --git a/redhat/main/tdemultimedia/tdemultimedia.spec b/redhat/main/tdemultimedia/tdemultimedia.spec new file mode 100644 index 000000000..263ada4e8 --- /dev/null +++ b/redhat/main/tdemultimedia/tdemultimedia.spec @@ -0,0 +1,1158 @@ +# +# spec file for package tdemultimedia (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.7 +%endif +%define tde_pkg tdemultimedia +%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 + + +Name: trinity-%{tde_pkg} +Summary: Multimedia applications for the Trinity Desktop Environment +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Group: Productivity/Multimedia/Sound/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +Obsoletes: trinity-kdemultimedia < %{version}-%{release} +Provides: trinity-kdemultimedia = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-libs = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} +Provides: trinity-kdemultimedia-extras = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} + +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: fdupes +BuildRequires: desktop-file-utils + +# 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 + +# TAGLIB support +%define with_taglib 1 +BuildRequires: taglib-devel + +# AKODE support +%define with_akode 1 +BuildRequires: trinity-akode-devel + +# MAD support +%ifarch %{ix86} x86_64 +%define with_libmad 1 +%{?with_libmad:BuildRequires: libakode_mpeg_decoder} +%endif + +# ZLIB support +BuildRequires: zlib-devel + +# MUSICBRAINZ support +## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) +#define with_musicbrainz 1 +#BuildRequires: libmusicbrainz-devel libtunepimp-devel + +# Audio libraries +BuildRequires: libvorbis-devel +BuildRequires: audiofile-devel +BuildRequires: libtheora-devel +BuildRequires: alsa-lib-devel +BuildRequires: cdparanoia +#BuildRequires: libmpg123-devel + +# CDDA support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libcdda-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: cdparanoia-devel +%endif + +# FLAC support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libflac-devel +%else +BuildRequires: %{_lib}flac-devel +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: flac-devel +%endif + +# GSTREAMER support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}gstreamer1.0-devel +BuildRequires: %{_lib}gstreamer-plugins-base1.0-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-plugins-devel +%endif +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?suse_version} +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-plugins-base-devel +%endif +%if 0%{?rhel} >= 7 || 0%{?fedora} +BuildRequires: gstreamer1-devel >= 1.0 +BuildRequires: gstreamer1-plugins-base-devel >= 1.0 +%endif + +# X11 Libraries +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xxf86dga-devel +BuildRequires: %{_lib}xxf86vm-devel +%if 0%{?mgaversion} >= 4 +BuildRequires: %{_lib}xtst-devel +%else +BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel +%endif +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXxf86dga-devel +BuildRequires: libXxf86vm-devel +%endif + +# XINE support +%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 +%define with_xine 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xine1.2-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: xine-lib-devel +%endif +%if 0%{?suse_version} +BuildRequires: libxine-devel +%endif +%endif + +# LAME support +%if 0%{?opensuse_bs} == 0 +%define with_lame 1 + +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: liblame-devel +%else +%if 0%{?mgaversion} >= 6 +BuildRequires: %{_lib}mp3lame-devel +%else +BuildRequires: %{_lib}lame-devel +%endif +%endif +%endif +%if 0%{?suse_version} +BuildRequires: libmp3lame-devel +%endif +%endif + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# ACL support +BuildRequires: libacl-devel + +# ATTR support +BuildRequires: libattr-devel + +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: lame-devel +%endif + + +Requires: trinity-artsbuilder = %{version}-%{release} +Requires: trinity-juk = %{version}-%{release} +Requires: trinity-kaboodle = %{version}-%{release} +Requires: trinity-kaudiocreator = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-kappfinder-data = %{version}-%{release} +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: trinity-tdemid = %{version}-%{release} +Requires: trinity-kmix = %{version}-%{release} +Requires: trinity-krec = %{version}-%{release} +Requires: trinity-kscd = %{version}-%{release} +%{?with_akode:Requires: trinity-libarts-akode = %{version}-%{release}} +Requires: trinity-libarts-audiofile = %{version}-%{release} +%{?with_mpeg:Requires: trinity-libarts-mpeglib = %{version}-%{release}} +%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} +Requires: trinity-libkcddb = %{version}-%{release} +%{?with_mpeg:Requires: trinity-mpeglib = %{version}-%{release}} +Requires: trinity-noatun = %{version}-%{release} + + +%description +The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window +System. The tdemultimedia package contains multimedia applications for +TDE, including: + artsbuilder, Synthesizer designer for aRts + juk, a media player + tdemid, a midi player + kmix, an audio mixer + arts, additional functionality for the aRts sound system + krec, a recording tool + kscd, an Audio-CD player + kaudiocreator, a graphical frontend for audio file creation + kaboodle, a media player + noatun, a media player + +%files + +########## + +%package -n trinity-artsbuilder +Summary: Synthesizer designer for aRts +Group: Productivity/Multimedia/Sound/Mixers +Requires: trinity-kicker >= %{tde_version} + +%description -n trinity-artsbuilder +This is the analog Realtime synthesizer's graphical design tool. + +%files -n trinity-artsbuilder +%defattr(-,root,root,-) +%{tde_bindir}/artsbuilder +%{tde_bindir}/artscontrol +%{tde_bindir}/midisend +%{tde_libdir}/libartsbuilder.la +%{tde_libdir}/libartsbuilder.so.* +%{tde_libdir}/libartscontrolapplet.la +%{tde_libdir}/libartscontrolapplet.so.* +%{tde_libdir}/libartscontrolsupport.la +%{tde_libdir}/libartscontrolsupport.so.* +%{tde_libdir}/libartsgui_idl.la +%{tde_libdir}/libartsgui_idl.so.* +%{tde_libdir}/libartsgui_kde.la +%{tde_libdir}/libartsgui_kde.so.* +%{tde_libdir}/libartsgui.la +%{tde_libdir}/libartsgui.so.* +%{tde_libdir}/libartsmidi_idl.la +%{tde_libdir}/libartsmidi_idl.so.* +%{tde_libdir}/libartsmidi.la +%{tde_libdir}/libartsmidi.so.* +%{tde_libdir}/libartsmodulescommon.la +%{tde_libdir}/libartsmodulescommon.so.* +%{tde_libdir}/libartsmoduleseffects.la +%{tde_libdir}/libartsmoduleseffects.so.* +%{tde_libdir}/libartsmodulesmixers.la +%{tde_libdir}/libartsmodulesmixers.so.* +%{tde_libdir}/libartsmodules.la +%{tde_libdir}/libartsmodules.so.* +%{tde_libdir}/libartsmodulessynth.la +%{tde_libdir}/libartsmodulessynth.so.* +%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcoptype +%{tde_libdir}/mcop/Arts/Button.mcopclass +%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass +%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass +%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass +%{tde_libdir}/mcop/Arts/Fader.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass +%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GraphLine.mcopclass +%{tde_libdir}/mcop/artsgui.mcopclass +%{tde_libdir}/mcop/artsgui.mcoptype +%{tde_libdir}/mcop/Arts/HBox.mcopclass +%{tde_libdir}/mcop/Arts/Label.mcopclass +%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass +%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass +%{tde_libdir}/mcop/Arts/LineEdit.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass +%{tde_libdir}/mcop/Arts/MidiManager.mcopclass +%{tde_libdir}/mcop/artsmidi.mcopclass +%{tde_libdir}/mcop/artsmidi.mcoptype +%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcoptype +%{tde_libdir}/mcop/artsmoduleseffects.mcopclass +%{tde_libdir}/mcop/artsmoduleseffects.mcoptype +%{tde_libdir}/mcop/artsmodules.mcopclass +%{tde_libdir}/mcop/artsmodules.mcoptype +%{tde_libdir}/mcop/artsmodulesmixers.mcopclass +%{tde_libdir}/mcop/artsmodulesmixers.mcoptype +%{tde_libdir}/mcop/artsmodulessynth.mcopclass +%{tde_libdir}/mcop/artsmodulessynth.mcoptype +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass +%{tde_libdir}/mcop/Arts/PopupBox.mcopclass +%{tde_libdir}/mcop/Arts/Poti.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/SpinBox.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass +%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass +%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass +%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass +%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass +%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass +%{tde_libdir}/mcop/Arts/VBox.mcopclass +%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Widget.mcopclass +%{tde_tdeappdir}/artsbuilder.desktop +%{tde_tdeappdir}/artscontrol.desktop +%{tde_datadir}/apps/artsbuilder/ +%{tde_datadir}/apps/artscontrol/ +%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz +%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png +%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png +%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz +%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop +%{tde_tdedocdir}/HTML/en/artsbuilder/ + +########## + +%package -n trinity-juk +Summary: Music organizer and player for Trinity +Group: Productivity/Multimedia/Sound/Players + +%description -n trinity-juk +JuK (pronounced "jook") is a jukebox and music manager for the TDE +desktop similar to jukebox software on other platforms such as +iTunes or RealOne. + +Some of JuK's features include: +* Support for Ogg Vorbis and MP3 formats +* Tag editing support for both formats, including ID3v2 for MP3 files. + Multitagging or editing a selection of multiple files at once is also + supported +* Output to either the aRts, default KDE sound system, or GStreamer +* Management of your "collection" and multiple playlists +* Import and export to m3u playlists +* Binary caching of audio meta-data and playlist information for faster + load times (starting with the second time you run JuK) +* Integration into TDE that allows drag-and-drop and clipboard usage + with other TDE and X apps + +%files -n trinity-juk +%defattr(-,root,root,-) +%{tde_bindir}/juk +%{tde_tdeappdir}/juk.desktop +%{tde_datadir}/apps/juk/ +%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png +%{tde_datadir}/icons/hicolor/*/apps/juk.png +%{tde_tdedocdir}/HTML/en/juk/ + +########## + +%package -n trinity-kaboodle +Summary: Light, embedded media player for Trinity +Group: System/GUI/Other + +%if 0%{?with_xine} +Requires: trinity-libarts-xine = %{version}-%{release} +%endif + +%description -n trinity-kaboodle +Kaboodle is a light, embedded media player, supporting both video and audio, +for TDE. It uses the aRts framework for playing media files. + +%files -n trinity-kaboodle +%defattr(-,root,root,-) +%{tde_bindir}/kaboodle +%{tde_tdelibdir}/libkaboodlepart.la +%{tde_tdelibdir}/libkaboodlepart.so +%{tde_tdeappdir}/kaboodle.desktop +%{tde_datadir}/apps/kaboodle/ +%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png +%{tde_datadir}/services/kaboodle_component.desktop +%{tde_datadir}/services/kaboodleengine.desktop +%{tde_tdedocdir}/HTML/en/kaboodle/ + +########## + +%package -n trinity-kaudiocreator +Summary: CD ripper and audio encoder frontend for Trinity +Group: Productivity/Multimedia/CD/Grabbers + +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: vorbis-tools +Requires: flac + +%description -n trinity-kaudiocreator +KAudioCreator is a tool for audio extraction (ripping) and encoding. It can +keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also +searches CDDB to retrieve the information of the disk. + +%files -n trinity-kaudiocreator +%defattr(-,root,root,-) +%{tde_bindir}/kaudiocreator +%{tde_tdeappdir}/kaudiocreator.desktop +%{tde_datadir}/apps/kaudiocreator/ +%{tde_datadir}/apps/tdeconf_update/kaudiocreator-libkcddb.upd +%{tde_datadir}/apps/tdeconf_update/kaudiocreator-meta.upd +%{tde_datadir}/apps/tdeconf_update/upgrade-kaudiocreator-metadata.sh +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop +%{tde_datadir}/config.kcfg/kaudiocreator.kcfg +%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png +%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png +%{tde_tdedocdir}/HTML/en/kaudiocreator/ + +########## + +%package kfile-plugins +Summary: An au/avi/m3u/mp3/ogg/wav plugins for kfile +Group: Productivity/Multimedia/Sound/Utilities + +%description kfile-plugins +au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdefile_au.la +%{tde_tdelibdir}/tdefile_au.so +%{tde_tdelibdir}/tdefile_avi.la +%{tde_tdelibdir}/tdefile_avi.so +%{tde_tdelibdir}/tdefile_flac.la +%{tde_tdelibdir}/tdefile_flac.so +%{tde_tdelibdir}/tdefile_m3u.la +%{tde_tdelibdir}/tdefile_m3u.so +%{tde_tdelibdir}/tdefile_mp3.la +%{tde_tdelibdir}/tdefile_mp3.so +%{tde_tdelibdir}/tdefile_mpc.la +%{tde_tdelibdir}/tdefile_mpc.so +%{tde_tdelibdir}/tdefile_mpeg.la +%{tde_tdelibdir}/tdefile_mpeg.so +%{tde_tdelibdir}/tdefile_ogg.la +%{tde_tdelibdir}/tdefile_ogg.so +%{tde_tdelibdir}/tdefile_sid.la +%{tde_tdelibdir}/tdefile_sid.so +%{tde_tdelibdir}/tdefile_theora.la +%{tde_tdelibdir}/tdefile_theora.so +%{tde_tdelibdir}/tdefile_wav.la +%{tde_tdelibdir}/tdefile_wav.so +%{tde_datadir}/services/tdefile_au.desktop +%{tde_datadir}/services/tdefile_avi.desktop +%{tde_datadir}/services/tdefile_flac.desktop +%{tde_datadir}/services/tdefile_m3u.desktop +%{tde_datadir}/services/tdefile_mp3.desktop +%{tde_datadir}/services/tdefile_mpc.desktop +%{tde_datadir}/services/tdefile_mpeg.desktop +%{tde_datadir}/services/tdefile_ogg.desktop +%{tde_datadir}/services/tdefile_sid.desktop +%{tde_datadir}/services/tdefile_theora.desktop +%{tde_datadir}/services/tdefile_wav.desktop + +########## + +%package kappfinder-data +Summary: Multimedia data for kappfinder +Group: Productivity/Multimedia/Sound/Utilities + +Requires: trinity-kappfinder >= %{tde_version} +Requires: trinity-tdebase-runtime-data-common >= %{tde_version} + +%description kappfinder-data +This package provides data on multimedia applications for kappfinder. + +%files kappfinder-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kappfinder/ +%{tde_datadir}/desktop-directories/tde-multimedia-music.directory +%config %{_sysconfdir}/xdg/menus/applications-merged/tde-multimedia-music.menu + +########## + +%package tdeio-plugins +Summary: Enables the browsing of audio CDs under Konqueror +Group: Productivity/Multimedia/Sound/Utilities +Requires: trinity-tdebase-tdeio-plugins >= %{tde_version} + +Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release} +Provides: trinity-tdemultimedia-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package allow audio CDs to be browsed like a file system using +Konqueror and the audiocd:/ URL. + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_audiocd.la +%{tde_tdelibdir}/kcm_audiocd.so +%{tde_tdelibdir}/tdeio_audiocd.la +%{tde_tdelibdir}/tdeio_audiocd.so +%{tde_tdelibdir}/libaudiocd_encoder_flac.la +%{tde_tdelibdir}/libaudiocd_encoder_flac.so +%{tde_tdelibdir}/libaudiocd_encoder_lame.la +%{tde_tdelibdir}/libaudiocd_encoder_lame.so +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so +%{tde_tdelibdir}/libaudiocd_encoder_wav.la +%{tde_tdelibdir}/libaudiocd_encoder_wav.so +%{tde_libdir}/libaudiocdplugins.so.* +%{tde_tdeappdir}/audiocd.desktop +%{tde_datadir}/apps/tdeconf_update/audiocd.upd +%{tde_datadir}/apps/tdeconf_update/upgrade-metadata.sh +%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg +%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg +%{tde_datadir}/services/audiocd.protocol +%{tde_tdedocdir}/HTML/en/tdeioslave/audiocd/ +%{tde_tdedocdir}/HTML/en/kcontrol/audiocd/ +%{tde_datadir}/icons/hicolor/*/apps/kcmaudiocd.png + +########## + +%package -n trinity-tdemid +Summary: MIDI/karaoke player for Trinity +Group: Productivity/Multimedia/Sound/Midi + +Obsoletes: trinity-kmid < %{version}-%{release} +Provides: trinity-kmid = %{version}-%{release} + +%description -n trinity-tdemid +This package provides a MIDI and karaoke player for TDE. + +%files -n trinity-tdemid +%defattr(-,root,root,-) +%{tde_bindir}/tdemid +%{tde_tdelibdir}/libtdemidpart.la +%{tde_tdelibdir}/libtdemidpart.so +%{tde_libdir}/libtdemidlib.so.* +%{tde_tdeappdir}/tdemid.desktop +%{tde_datadir}/apps/tdemid/ +%{tde_datadir}/icons/hicolor/*/apps/tdemid.png +%{tde_datadir}/mimelnk/audio/x-karaoke.desktop +%{tde_datadir}/servicetypes/audiomidi.desktop +%{tde_tdedocdir}/HTML/en/tdemid/ + +########## + +%package -n trinity-kmix +Summary: Sound mixer applet for Trinity +Group: Productivity/Multimedia/Sound/Mixers +Requires: trinity-kicker >= %{tde_version} + +%description -n trinity-kmix +This package includes TDE's dockable sound mixer applet. + +%files -n trinity-kmix +%defattr(-,root,root,-) +%{tde_bindir}/kmix +%{tde_bindir}/kmixctrl +%{tde_tdelibdir}/kmix.la +%{tde_tdelibdir}/kmix.so +%{tde_tdelibdir}/kmix_panelapplet.la +%{tde_tdelibdir}/kmix_panelapplet.so +%{tde_tdelibdir}/kmixctrl.la +%{tde_tdelibdir}/kmixctrl.so +%{tde_libdir}/libtdeinit_kmix.so +%{tde_libdir}/libtdeinit_kmixctrl.so +%{tde_tdeappdir}/kmix.desktop +%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop +%{tde_datadir}/apps/kmix/ +%{tde_datadir}/autostart/kmix.desktop +%{tde_datadir}/autostart/restore_kmix_volumes.desktop +%{tde_datadir}/icons/hicolor/*/apps/kmix.png +%{tde_datadir}/services/kmixctrl_restore.desktop +%{tde_tdedocdir}/HTML/en/kmix/ + +########## + +%package -n trinity-krec +Summary: Sound recorder utility for Trinity +Group: Productivity/Multimedia/CD/Record + +%description -n trinity-krec +This is a sound recording utility for Trinity. + +%files -n trinity-krec +%defattr(-,root,root,-) +%{tde_bindir}/krec +%{tde_tdelibdir}/kcm_krec.la +%{tde_tdelibdir}/kcm_krec.so +%{tde_tdelibdir}/kcm_krec_files.la +%{tde_tdelibdir}/kcm_krec_files.so +%{tde_tdelibdir}/krec.la +%{tde_tdelibdir}/krec.so +%if 0%{?with_lame} +%{tde_tdelibdir}/libkrecexport_mp3.la +%{tde_tdelibdir}/libkrecexport_mp3.so +%{tde_datadir}/services/krec_exportmp3.desktop +%endif +%{tde_tdelibdir}/libkrecexport_ogg.la +%{tde_tdelibdir}/libkrecexport_ogg.so +%{tde_tdelibdir}/libkrecexport_wave.la +%{tde_tdelibdir}/libkrecexport_wave.so +%{tde_libdir}/libtdeinit_krec.so +%{tde_tdeappdir}/krec.desktop +%{tde_datadir}/apps/krec/ +%{tde_datadir}/icons/hicolor/*/apps/krec.png +%{tde_datadir}/services/kcm_krec.desktop +%{tde_datadir}/services/kcm_krec_files.desktop +%{tde_datadir}/services/krec_exportogg.desktop +%{tde_datadir}/services/krec_exportwave.desktop +%{tde_datadir}/servicetypes/krec_exportitem.desktop +%{tde_tdedocdir}/HTML/en/krec/ + +########## + +%package -n trinity-kscd +Summary: Audio CD player for Trinity +Group: Productivity/Multimedia/CD/Players + +%description -n trinity-kscd +This is Trinity's audio CD player. + +%files -n trinity-kscd +%defattr(-,root,root,-) +%{tde_bindir}/kscd +%{tde_bindir}/workman2cddb.pl +%{tde_tdeappdir}/kscd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop +%{tde_datadir}/apps/kscd/ +%{tde_datadir}/apps/profiles/kscd.profile.xml +%{tde_datadir}/config.kcfg/kscd.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kscd.png +%{tde_datadir}/mimelnk/text/xmcd.desktop +%{tde_tdedocdir}/HTML/en/kscd/ + +########## + +%if 0%{?with_akode} +%package -n trinity-libarts-akode +Summary: Akode plugin for aRts +Group: Productivity/Multimedia/Other + +%description -n trinity-libarts-akode +This package contains akode plugins for aRts. + +%files -n trinity-libarts-akode +%defattr(-,root,root,-) +%{tde_libdir}/libarts_akode.so.* +%{tde_libdir}/libarts_akode.la +%{tde_libdir}/mcop/akodearts.mcoptype +%{tde_libdir}/mcop/akodearts.mcopclass +%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass +%{tde_libdir}/mcop/akodePlayObject.mcopclass +%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass + +# Requires MAD support +%{?with_libmad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass} + +%endif + +########## + +%package -n trinity-libarts-audiofile +Summary: Audiofile plugin for aRts +Group: Productivity/Multimedia/Other + +%description -n trinity-libarts-audiofile +This package contains audiofile plugins for aRts. + +%files -n trinity-libarts-audiofile +%defattr(-,root,root,-) +%{tde_libdir}/libarts_audiofile.so.* +%{tde_libdir}/libarts_audiofile.la +%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcoptype + +########## + +%if 0%{?with_mpeg} +%package -n trinity-libarts-mpeglib +Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video +Group: Productivity/Multimedia/Other + +%description -n trinity-libarts-mpeglib +This package contains the mpeglib aRts plugin, supporting mp3 and mpeg +audio and video. + +This is the arts (TDE Sound daemon) plugin. + +%files -n trinity-libarts-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/mpeglibartsplay +%{tde_libdir}/libarts_mpeglib-0.3.0.so* +%{tde_libdir}/libarts_mpeglib.la +%{tde_libdir}/libarts_splay.so.* +%{tde_libdir}/libarts_splay.la +%{tde_libdir}/mcop/CDDAPlayObject.mcopclass +%{tde_libdir}/mcop/MP3PlayObject.mcopclass +%{tde_libdir}/mcop/NULLPlayObject.mcopclass +%{tde_libdir}/mcop/OGGPlayObject.mcopclass +%{tde_libdir}/mcop/SplayPlayObject.mcopclass +%{tde_libdir}/mcop/WAVPlayObject.mcopclass + +%endif + +########## + +%if 0%{?with_xine} +%package -n trinity-libarts-xine +Summary: ARTS plugin enabling xine support +Group: Productivity/Multimedia/Other + +%description -n trinity-libarts-xine +This package contains aRts' xine plugin, allowing the use of the xine +multimedia engine though aRts. + +%files -n trinity-libarts-xine +%defattr(-,root,root,-) +%{tde_tdelibdir}/videothumbnail.la +%{tde_tdelibdir}/videothumbnail.so +%{tde_libdir}/libarts_xine.so.* +%{tde_libdir}/libarts_xine.la +%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass +%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass +%{tde_datadir}/apps/videothumbnail/sprocket-large.png +%{tde_datadir}/apps/videothumbnail/sprocket-medium.png +%{tde_datadir}/apps/videothumbnail/sprocket-small.png +%{tde_datadir}/services/videothumbnail.desktop + +%endif + +########## + +%package -n trinity-libkcddb +Summary: CDDB library for Trinity +Group: Productivity/Multimedia/Other +Requires: trinity-kcontrol >= %{tde_version} + +%description -n trinity-libkcddb +The Trinity native CDDB (CD Data Base) library, providing easy access to Audio +CD meta-information (track titles, artist information, etc.) from on-line +databases, for TDE applications. + +%files -n trinity-libkcddb +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_cddb.la +%{tde_tdelibdir}/kcm_cddb.so +%{tde_libdir}/libkcddb.so.* +%{tde_tdeappdir}/libkcddb.desktop +%{tde_datadir}/apps/tdeconf_update/kcmcddb-emailsettings.upd +%{tde_datadir}/config.kcfg/libkcddb.kcfg +%{tde_tdedocdir}/HTML/en/kcontrol/cddb/ + +########## + +%if 0%{?with_mpeg} + +%package -n trinity-mpeglib +Summary: MP3 and MPEG-1 audio and video library +Group: Productivity/Multimedia/Other +%if 0%{?with_mpeg} +Requires: trinity-libarts-mpeglib = %{version}-%{release} +%endif + +%description -n trinity-mpeglib +mpeglib is a MPEG-1 and MP3 audio and video library. It supports +MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, +and WAV playback + +%files -n trinity-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/yaf-cdda +%{tde_bindir}/yaf-mpgplay +%{tde_bindir}/yaf-splay +%{tde_bindir}/yaf-tplay +%{tde_bindir}/yaf-vorbis +%{tde_bindir}/yaf-yuv +%{tde_libdir}/libmpeg-0.3.0.so +%{tde_libdir}/libyafcore.so +%{tde_libdir}/libyafxplayer.so + +%endif + +########## + +%package -n trinity-noatun +Summary: Media player for Trinity +Group: Productivity/Multimedia/Video/Players +Requires: trinity-tdebase-bin >= %{tde_version} + +# 20120802: Hack to avoid dependency issue on MGA2 and MDV2011 +%if 0%{?mgaversion} || 0%{?mdkversion} +Provides: devel(libnoatunarts) +Provides: devel(libnoatunarts(64bit)) +%endif + +%description -n trinity-noatun +Noatun is an aRts-based audio and video player for Trinity. It supports all +formats supported by your installation of aRts (including aRts plugins). + +%files -n trinity-noatun +%defattr(-,root,root,-) +%{tde_bindir}/noatun +%{tde_libdir}/tdeconf_update_bin/noatun20update +%{tde_tdelibdir}/noatun.la +%{tde_tdelibdir}/noatun.so +%{tde_tdelibdir}/noatun_dcopiface.la +%{tde_tdelibdir}/noatun_dcopiface.so +%{tde_tdelibdir}/noatun_excellent.la +%{tde_tdelibdir}/noatun_excellent.so +%{tde_tdelibdir}/noatun_htmlexport.la +%{tde_tdelibdir}/noatun_htmlexport.so +%{tde_tdelibdir}/noatun_infrared.la +%{tde_tdelibdir}/noatun_infrared.so +%{tde_tdelibdir}/noatun_kaiman.la +%{tde_tdelibdir}/noatun_kaiman.so +%{tde_tdelibdir}/noatun_keyz.la +%{tde_tdelibdir}/noatun_keyz.so +%{tde_tdelibdir}/noatun_kjofol.la +%{tde_tdelibdir}/noatun_kjofol.so +%{tde_tdelibdir}/noatun_marquis.la +%{tde_tdelibdir}/noatun_marquis.so +%{tde_tdelibdir}/noatun_metatag.la +%{tde_tdelibdir}/noatun_metatag.so +%{tde_tdelibdir}/noatun_monoscope.la +%{tde_tdelibdir}/noatun_monoscope.so +%{tde_tdelibdir}/noatun_net.la +%{tde_tdelibdir}/noatun_net.so +%{tde_tdelibdir}/noatun_splitplaylist.la +%{tde_tdelibdir}/noatun_splitplaylist.so +%{tde_tdelibdir}/noatun_systray.la +%{tde_tdelibdir}/noatun_systray.so +%{tde_tdelibdir}/noatun_ui.la +%{tde_tdelibdir}/noatun_ui.so +%{tde_tdelibdir}/noatun_voiceprint.la +%{tde_tdelibdir}/noatun_voiceprint.so +%{tde_tdelibdir}/noatun_winskin.la +%{tde_tdelibdir}/noatun_winskin.so +%{tde_tdelibdir}/noatunsimple.la +%{tde_tdelibdir}/noatunsimple.so +%{tde_libdir}/libartseffects.la +%{tde_libdir}/libartseffects.so +%{tde_libdir}/libtdeinit_noatun.so +%{tde_libdir}/libnoatun.so.* +%{tde_libdir}/libnoatunarts.la +%{tde_libdir}/libnoatunarts.so +%{tde_libdir}/libnoatuncontrols.so.* +%{tde_libdir}/libnoatuntags.so.* +%{tde_libdir}/libwinskinvis.la +%{tde_libdir}/libwinskinvis.so +%{tde_libdir}/mcop/ExtraStereo.mcopclass +%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass +%{tde_libdir}/mcop/Noatun/ +%{tde_libdir}/mcop/RawWriter.mcopclass +%{tde_libdir}/mcop/VoiceRemoval.mcopclass +%{tde_libdir}/mcop/artseffects.mcopclass +%{tde_libdir}/mcop/artseffects.mcoptype +%{tde_libdir}/mcop/noatunarts.mcopclass +%{tde_libdir}/mcop/noatunarts.mcoptype +%{tde_libdir}/mcop/winskinvis.mcopclass +%{tde_libdir}/mcop/winskinvis.mcoptype +%{tde_tdeappdir}/noatun.desktop +%{tde_datadir}/apps/tdeconf_update/noatun.upd +%{tde_datadir}/apps/noatun/ +%{tde_datadir}/icons/hicolor/*/apps/noatun.png +%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop +%{tde_tdedocdir}/HTML/en/noatun/ + +########## + +%package devel +Summary: Development files for %{name}, aRts and noatun plugins +Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{tde_version} + +Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} +Provides: trinity-kdemultimedia-devel = %{version}-%{release} + +%description devel +{summary}. + +Install %{name}-devel if you wish to develop or compile any +applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or +noatun plugins. + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/* +%if 0%{?with_akode} +%{tde_libdir}/libarts_akode.so +%endif +%{tde_libdir}/libarts_audiofile.so +%if 0%{?with_mpeg} +%{tde_libdir}/libarts_mpeglib.so +%{tde_libdir}/libarts_splay.so +%endif +%if 0%{?with_xine} +%{tde_libdir}/libarts_xine.so +%endif +%{tde_libdir}/libartsbuilder.so +%{tde_libdir}/libartscontrolapplet.so +%{tde_libdir}/libartscontrolsupport.so +%{tde_libdir}/libartsgui.so +%{tde_libdir}/libartsgui_idl.so +%{tde_libdir}/libartsgui_kde.so +%{tde_libdir}/libartsmidi.so +%{tde_libdir}/libartsmidi_idl.so +%{tde_libdir}/libartsmodules.so +%{tde_libdir}/libartsmodulescommon.so +%{tde_libdir}/libartsmoduleseffects.so +%{tde_libdir}/libartsmodulesmixers.so +%{tde_libdir}/libartsmodulessynth.so +%{tde_libdir}/libaudiocdplugins.la +%{tde_libdir}/libaudiocdplugins.so +%{tde_libdir}/libkcddb.la +%{tde_libdir}/libkcddb.so +%{tde_libdir}/libtdeinit_kmix.la +%{tde_libdir}/libtdeinit_kmixctrl.la +%{tde_libdir}/libtdeinit_krec.la +%{tde_libdir}/libtdeinit_noatun.la +%{tde_libdir}/libtdemidlib.la +%{tde_libdir}/libtdemidlib.so +%if 0%{?with_mpeg} +%{tde_libdir}/libmpeg.la +%{tde_libdir}/libmpeg.so +%endif +%{tde_libdir}/libnoatun.la +%{tde_libdir}/libnoatun.so +%{tde_libdir}/libnoatuncontrols.la +%{tde_libdir}/libnoatuncontrols.so +%{tde_libdir}/libnoatuntags.la +%{tde_libdir}/libnoatuntags.so +%if 0%{?with_mpeg} +%{tde_libdir}/libyafcore.la +%{tde_libdir}/libyafxplayer.la +%endif + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +# Update icons for some control center modules +%__sed -i "tdeioslave/audiocd/kcmaudiocd/audiocd.desktop" -e "s|^Icon=.*|Icon=kcmaudio|" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_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}" \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -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_ALSA=ON \ + -DWITH_ARTS_AKODE=ON \ + -DWITH_ARTS_AUDIOFILE=ON \ + -DWITH_ARTS_MPEGLIB=ON \ + -DWITH_ARTS_XINE=ON \ + -DWITH_CDPARANOIA=ON \ + -DWITH_FLAC=ON \ + -DWITH_GSTREAMER=ON \ + -DWITH_KSCD_CDDA=ON \ + -DWITH_LAME=%{?with_lame:ON}%{!?with_lame:OFF} \ + -DWITH_MUSICBRAINZ=%{?with_musicbrainz:ON}%{!?with_musicbrainz:OFF} \ + -DWITH_TAGLIB=%{?with_taglib:ON}%{!?with_taglib:OFF} \ + -DWITH_THEORA=ON \ + -DWITH_VORBIS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR="%{?buildroot}" -C build + +# Disable MPEG support entirely +%if 0%{?with_mpeg} == 0 +%__rm %{?buildroot}%{tde_bindir}/mpeglibartsplay +%__rm %{?buildroot}%{tde_bindir}/yaf-* +%__rm %{?buildroot}%{tde_libdir}/libarts_mpeglib* +%__rm %{?buildroot}%{tde_libdir}/libarts_splay.* +%__rm %{?buildroot}%{tde_libdir}/libmpeg* +%__rm %{?buildroot}%{tde_libdir}/libyaf* +%__rm %{?buildroot}%{tde_libdir}/mcop/MP3PlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/CDDAPlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/NULLPlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/OGGPlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/SplayPlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/WAVPlayObject.mcopclass +%endif + +# Copy missing icons from 'crystalsvg' theme (tdelibs) +%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64}"/apps/" +pushd $RPM_BUILD_ROOT%{tde_datadir}/icons/ +for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/media-optical-cdaudio.png hicolor/"$i"x"$i"/apps/kcmaudiocd.png; done +popd + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file krec AudioVideo Recorder +%suse_update_desktop_file tdemid AudioVideo Midi +%suse_update_desktop_file artsbuilder AudioVideo AudioVideoEditing +%suse_update_desktop_file artscontrol AudioVideo AudioVideoEditing +%suse_update_desktop_file kmix AudioVideo Mixer +%suse_update_desktop_file kaboodle AudioVideo Player +%suse_update_desktop_file kaudiocreator AudioVideo CD +%suse_update_desktop_file kscd AudioVideo Player CD +%suse_update_desktop_file noatun AudioVideo Player Video +%suse_update_desktop_file juk AudioVideo Player Jukebox +%suse_update_desktop_file audiocd +%endif + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec b/redhat/main/tdenetwork/tdenetwork-14.0.0.spec deleted file mode 100644 index 28717c158..000000000 --- a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec +++ /dev/null @@ -1,1187 +0,0 @@ -%if 0%{?fedora} >= 23 -%define _hardened_ldflags %nil -%endif - -# -# spec file for package tdenetwork (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 tdenetwork -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_sbindir %{tde_prefix}/sbin -%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 - -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 - -%if "%{?tde_version}" == "14.0.4" -%define with_aim 1 -%else -%define with_aim 0 -%endif - -Name: trinity-%{tde_pkg} -Summary: Trinity Desktop Environment - Network Applications -Group: Applications/Internet -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: kppp.pamd -Source2: ktalk -Source3: trinity-tdenetwork-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: cmake >= 2.8 -BuildRequires: gettext -BuildRequires: coreutils -BuildRequires: gcc-c++ -BuildRequires: desktop-file-utils -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 - -# for set_permissions macro -%if 0%{?suse_version} -PreReq: permissions -%endif - -# OPENSSL support -BuildRequires: openssl-devel - -# TLS support -BuildRequires: gnutls-devel - -# SQLITE support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: sqlite3-devel -%else -BuildRequires: sqlite-devel -%endif - -# GADU support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_gadu 1 -BuildRequires: libgadu-devel -%endif - -# PCRE support -BuildRequires: pcre-devel - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# XTST support -%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1210 -BuildRequires: libXtst-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxtst-devel -%endif - -# XMU support -%if 0%{?suse_version} == 1140 -BuildRequires: xorg-x11-libXmu-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210 -BuildRequires: libXmu-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} >= 4 -BuildRequires: libxmu-devel -%endif -%if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3 -BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel -%endif - -# Other stuff -%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 -BuildRequires: libXScrnSaver-devel -BuildRequires: libXxf86vm-devel -%endif - -# Fedora review: http://bugzilla.redhat.com/195486 - -## Conditional build: -# RHEL6: xmms is outdated ! -#define _with_xmms --with-xmms -%ifnarch s390 s390x -%define _with_wifi --with-wifi -%endif - -# Wifi support -%if "%{?_with_wifi:1}" == "1" -%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 -%endif - -# OpenSLP support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_openslp 1 -BuildRequires: openslp-devel -%endif - -%ifarch %{ix86} -# BR: /usr/include/valgrind/valgrind.h -BuildRequires: valgrind -%endif - -%{?_with_xmms:BuildRequires: xmms-devel} - -# V4L support -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} -BuildRequires: libv4l-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}v4l-devel -%endif -%if 0%{?rhel} == 5 -BuildRequires: kernel-headers -%endif - -# XML support -BuildRequires: libxml2-devel -BuildRequires: libxslt-devel - -#jabber -BuildRequires: libidn-devel -#jabber/jingle -%if 0%{?suse_version} -BuildRequires: libexpat-devel -%else -BuildRequires: expat-devel -%endif -BuildRequires: glib2-devel -BuildRequires: speex-devel -# jabber/ssl -#{?fedora:Requires(hint): qca-tls} -Requires: jasper - -# ACL support -BuildRequires: libacl-devel - -# MEANWHILE support -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} -%define with_meanwhile 1 -BuildRequires: meanwhile-devel -%endif - -# SPEEX support -%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} -%define with_speex 1 -BuildRequires: speex-devel -%endif - -# CONSOLEHELPER (usermode) support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_consolehelper 1 - -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 -%endif - -Obsoletes: trinity-kdenetwork < %{version}-%{release} -Provides: trinity-kdenetwork = %{version}-%{release} -Obsoletes: trinity-kdenetwork-libs < %{version}-%{release} -Provides: trinity-kdenetwork-libs = %{version}-%{release} -Obsoletes: trinity-kdenetwork-extras < %{version}-%{release} -Provides: trinity-kdenetwork-extras = %{version}-%{release} -Obsoletes: tdenetwork < %{version}-%{release} -Provides: tdenetwork = %{version}-%{release} - -Requires: trinity-dcoprss = %{version}-%{release} -Requires: %{name}-filesharing = %{version}-%{release} -Requires: trinity-kdict = %{version}-%{release} -Requires: %{name}-tdefile-plugins = %{version}-%{release} -Requires: trinity-kget = %{version}-%{release} -Requires: trinity-knewsticker = %{version}-%{release} -Requires: trinity-kopete = %{version}-%{release} -Requires: trinity-kopete-nowlistening = %{version}-%{release} -Requires: trinity-kpf = %{version}-%{release} -Requires: trinity-kppp = %{version}-%{release} -Requires: trinity-krdc = %{version}-%{release} -Requires: trinity-krfb = %{version}-%{release} -Requires: trinity-ksirc = %{version}-%{release} -Requires: trinity-ktalkd = %{version}-%{release} -Requires: trinity-kwifimanager = %{version}-%{release} -Requires: trinity-librss = %{version}-%{release} -Requires: trinity-lisa = %{version}-%{release} - -%description -This metapackage includes a collection of network and networking related -applications provided with the official release of Trinity. - -Networking applications, including: -* dcoprss: RSS utilities for Trinity -* filesharing: Network filesharing configuration module for Trinity -* kdict: Dictionary client for Trinity -* tdefile-plugins: Torrent metainfo plugin for Trinity -* kget: downloader manager -* knewsticker: RDF newsticker applet -* kopete: chat client -* kopete-nowlistening: (xmms) plugin for Kopete. -* kpf: Public fileserver for Trinity -* kppp: dialer and front end for pppd -* krdc: a client for Desktop Sharing and other VNC servers -* krfb: Desktop Sharing server, allow others to access your desktop via VNC -* ksirc: IRC client for Trinity -* ktalkd: Talk daemon for Trinity -* kwifimanager: Wireless lan manager for Trinity -* librss: RSS library for Trinity -* lisa: lan information server - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING README - - -########## - -%package -n trinity-dcoprss -Summary: RSS utilities for Trinity -Group: Applications/Internet - -%description -n trinity-dcoprss -dcoprss is a RSS to DCOP bridge, allowing all -DCOP aware applications to access RSS news feeds. There is also -a few sample utilities provided. -RSS is a standard for publishing news headlines. -DCOP is the TDE interprocess communication protocol. - -%files -n trinity-dcoprss -%defattr(-,root,root,-) -%{tde_bindir}/feedbrowser -%{tde_bindir}/rssclient -%{tde_bindir}/rssservice -%{tde_datadir}/services/rssservice.desktop - -########## - -%package devel -Summary: Development files for the Trinity network module -Group: Development/Libraries/Other -Requires: %{name} = %{version}-%{release} -Requires: trinity-kdict = %{version}-%{release} -Requires: trinity-kopete = %{version}-%{release} -Requires: trinity-ksirc = %{version}-%{release} -Requires: trinity-librss = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{tde_version} - -Obsoletes: trinity-kdenetwork-devel < %{version}-%{release} -Provides: trinity-kdenetwork-devel = %{version}-%{release} -Obsoletes: tdenetwork-devel < %{version}-%{release} -Provides: tdenetwork-devel = %{version}-%{release} - -%description devel -This is the development package which contains the headers for the TDE RSS -library as well as the Kopete chat client, as well as miscellaneous -development-related files for the TDE network module. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kopete/ -%{tde_tdeincludedir}/rss/ -%{tde_libdir}/libkopete.la -%{tde_libdir}/libkopete.so -%{tde_libdir}/libkopete_oscar.la -%{tde_libdir}/libkopete_oscar.so -%{tde_libdir}/libkopete_videodevice.la -%{tde_libdir}/libkopete_videodevice.so -%{tde_libdir}/librss.la -%{tde_libdir}/librss.so - -########## - -%package filesharing -#Recommends: perl-suid -Summary: Network filesharing configuration module for Trinity -Group: Applications/Internet - -Obsoletes: tdenetwork-filesharing < %{version}-%{release} -Provides: tdenetwork-filesharing = %{version}-%{release} - -%description filesharing -This package provides a Trinity Control Center module to configure -NFS and Samba. - -%files filesharing -%defattr(-,root,root,-) -%{tde_tdelibdir}/fileshare_propsdlgplugin.la -%{tde_tdelibdir}/fileshare_propsdlgplugin.so -%{tde_tdelibdir}/kcm_fileshare.la -%{tde_tdelibdir}/kcm_fileshare.so -%{tde_tdelibdir}/kcm_kcmsambaconf.la -%{tde_tdelibdir}/kcm_kcmsambaconf.so -%{tde_tdeappdir}/fileshare.desktop -%{tde_tdeappdir}/kcmsambaconf.desktop -%{tde_datadir}/icons/hicolor/*/apps/kcmfileshare.png -%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png -%{tde_datadir}/services/fileshare_propsdlgplugin.desktop -%{tde_tdedocdir}/HTML/en/kcontrol/fileshare/ -%{tde_tdedocdir}/HTML/en/kcontrol/kcmsambaconf/ - -########## - -%package -n trinity-kdict -Summary: Dictionary client for Trinity -Group: Applications/Internet -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-kdict -KDict is an advanced TDE graphical client for the DICT Protocol, with full -Unicode support. It enables you to search through dictionary databases for a -word or phrase, then displays suitable definitions. KDict tries to ease -basic as well as advanced queries. - -%files -n trinity-kdict -%defattr(-,root,root,-) -%{tde_bindir}/kdict -%{tde_tdelibdir}/kdict.* -%{tde_tdelibdir}/kdict_panelapplet.* -%{tde_libdir}/libtdeinit_kdict.* -%{tde_tdeappdir}/kdict.desktop -%{tde_datadir}/apps/kdict -%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop -%{tde_datadir}/icons/hicolor/*/apps/kdict.* -%{tde_tdedocdir}/HTML/en/kdict - -########## - -%package tdefile-plugins -Summary: Torrent metainfo plugin for Trinity -Group: Applications/Internet - -Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release} -Provides: tdenetwork-kfile-plugins = %{version}-%{release} -Obsoletes: trinity-tdenetwork-kfile-plugins < %{version}-%{release} -Provides: trinity-tdenetwork-kfile-plugins = %{version}-%{release} - -%description tdefile-plugins -This package provides a metainformation plugin for bittorrent files. -TDE uses tdefile-plugins to provide metainfo tab in the files properties -dialog in konqueror and other file-handling applications. - -%files tdefile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdefile_torrent.la -%{tde_tdelibdir}/tdefile_torrent.so -%{tde_datadir}/services/tdefile_torrent.desktop - -########## - -%package -n trinity-kget -Summary: Download manager for Trinity -Group: Applications/Internet -Requires: trinity-tdebase-data >= %{tde_version} -Requires: trinity-konqueror >= %{tde_version} - -%description -n trinity-kget -KGet is a a download manager similar to GetRight or Go!zilla. It keeps -all your downloads in one dialog and you can add and remove transfers. -Transfers can be paused, resumed, queued or scheduled. -Dialogs display info about status of transfers - progress, size, speed -and remaining time. Program supports drag & drop from TDE -applications and Netscape. - -%files -n trinity-kget -%defattr(-,root,root,-) -%{tde_bindir}/kget -%{tde_tdelibdir}/tdehtml_kget.la -%{tde_tdelibdir}/tdehtml_kget.so -%{tde_tdeappdir}/kget.desktop -%{tde_datadir}/apps/kget -%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.desktop -%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.rc -%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/tdehtml_kget.png -%{tde_datadir}/icons/crystalsvg/*/apps/kget.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png -%{tde_datadir}/icons/hicolor/*/apps/kget.png -%{tde_datadir}/mimelnk/application/x-kgetlist.desktop -%{tde_datadir}/sounds/KGet_Added.ogg -%{tde_datadir}/sounds/KGet_Finished.ogg -%{tde_datadir}/sounds/KGet_Finished_All.ogg -%{tde_datadir}/sounds/KGet_Started.ogg -%{tde_tdedocdir}/HTML/en/kget - -########## - -%package -n trinity-knewsticker -Summary: News ticker applet for Trinity -Group: Applications/Internet -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-knewsticker -This is a news ticker applet for the Trinity panel. It can scroll news from -your favorite news sites, such as lwn.net, /. and freshmeat.net. -To achieve this, KNewsTicker requires the news sites to provide a -RSS feed to newsitems. KNewsTicker already comes with a selection of -good news sources which provide such files. - -%files -n trinity-knewsticker -%defattr(-,root,root,-) -%{tde_bindir}/knewstickerstub -%{tde_tdelibdir}/knewsticker_panelapplet.la -%{tde_tdelibdir}/knewsticker_panelapplet.so -%{tde_tdelibdir}/libkntsrcfilepropsdlg.la -%{tde_tdelibdir}/libkntsrcfilepropsdlg.so -%{tde_tdeappdir}/knewsticker-standalone.desktop -%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop -%{tde_datadir}/apps/tdeconf_update/knewsticker.upd -%{tde_datadir}/apps/tdeconf_update/knt-0.1-0.2.pl -%{tde_datadir}/apps/kicker/applets/knewsticker.desktop -%{tde_datadir}/apps/knewsticker/ -%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png -%{tde_datadir}/services/kntsrcfilepropsdlg.desktop -%{tde_tdedocdir}/HTML/en/knewsticker - -########## - -%package -n trinity-kopete -Summary: Instant messenger for Trinity -Group: Applications/Internet -Requires: trinity-tdebase-bin >= %{tde_version} -Requires: trinity-tdebase-data >= %{tde_version} -Requires: trinity-filesystem >= %{tde_version} - -%description -n trinity-kopete -Kopete is an instant messenger program which can communicate with a variety -of IM systems, such as Yahoo, ICQ, IRC and Jabber. - -Support for more IM protocols can be added through a plugin system. - -%files -n trinity-kopete -%defattr(-,root,root,-) -# nowlistening support -%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui* -%exclude %{tde_datadir}/apps/kopete/*nowlisteningui* -%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg -%exclude %{tde_datadir}/services/tdeconfiguredialog/*nowlistening* -%exclude %{tde_datadir}/services/*nowlistening* -%exclude %{tde_tdelibdir}/*nowlistening* -# Main kopete package -%{tde_bindir}/kopete -%{tde_bindir}/kopete_latexconvert.sh -%{tde_libdir}/tdeconf_update_bin/kopete-account-tdeconf_update -%{tde_libdir}/tdeconf_update_bin/kopete-nameTracking-tdeconf_update -%{tde_libdir}/tdeconf_update_bin/kopete-pluginloader2-tdeconf_update -%{tde_tdelibdir}/kcm_kopete_*.so -%{tde_tdelibdir}/kcm_kopete_*.la -%{tde_tdelibdir}/tdeio_jabberdisco.la -%{tde_tdelibdir}/tdeio_jabberdisco.so -%{tde_tdelibdir}/kopete_*.la -%{tde_tdelibdir}/kopete_*.so -%{tde_tdelibdir}/libkrichtexteditpart.la -%{tde_tdelibdir}/libkrichtexteditpart.so -%{tde_libdir}/libkopete_oscar.so.* -%{tde_libdir}/libkopete.so.* -%{tde_libdir}/libkopete_videodevice.so.* -%{tde_tdeappdir}/kopete.desktop -%{tde_datadir}/apps/tdeconf_update/kopete-* -%{tde_datadir}/apps/kopete/ -%{tde_datadir}/apps/kopete_*/ -%{tde_datadir}/apps/kopeterichtexteditpart/ -%{tde_datadir}/config.kcfg/historyconfig.kcfg -%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg -%{tde_datadir}/config.kcfg/kopete.kcfg -%{tde_datadir}/config.kcfg/latexconfig.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png -%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png -%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png -%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_original.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png -%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png -%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png -%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz -%{tde_datadir}/icons/hicolor/*/apps/kopete.png -%{tde_datadir}/icons/hicolor/*/actions/emoticon.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng -%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_original.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png -%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png -%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png -%{tde_datadir}/icons/hicolor/*/actions/newmsg.png -%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png -%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png -%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png -%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz -%{tde_datadir}/icons/crystalsvg/*/actions/newmessage.mng -%{tde_datadir}/icons/hicolor/*/actions/newmessage.mng -%{tde_datadir}/icons/crystalsvg/*/apps/icq_protocol.png -%{tde_datadir}/icons/crystalsvg/*/apps/irc_protocol.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_connecting.mng -%{tde_datadir}/icons/crystalsvg/*/actions/icq_dnd.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_ffc.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_invisible.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_na.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_occupied.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/irc_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/irc_channel.png -%{tde_datadir}/icons/crystalsvg/*/actions/irc_connecting.mng -%{tde_datadir}/icons/crystalsvg/*/actions/irc_normal.png -%{tde_datadir}/icons/crystalsvg/*/actions/irc_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/irc_op.png -%{tde_datadir}/icons/crystalsvg/*/actions/irc_server.png -%{tde_datadir}/icons/crystalsvg/*/actions/irc_voice.png -%{tde_datadir}/icons/hicolor/*/actions/icq_away.png -%{tde_datadir}/icons/hicolor/*/actions/icq_connecting.mng -%{tde_datadir}/icons/hicolor/*/actions/icq_dnd.png -%{tde_datadir}/icons/hicolor/*/actions/icq_ffc.png -%{tde_datadir}/icons/hicolor/*/actions/icq_invisible.png -%{tde_datadir}/icons/hicolor/*/actions/icq_na.png -%{tde_datadir}/icons/hicolor/*/actions/icq_occupied.png -%{tde_datadir}/icons/hicolor/*/actions/icq_offline.png -%{tde_datadir}/icons/hicolor/*/actions/icq_online.png -%{tde_datadir}/icons/hicolor/*/apps/icq_protocol.png -%{tde_datadir}/mimelnk/application/x-icq.desktop -%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop -%{tde_datadir}/services/chatwindow.desktop -%{tde_datadir}/services/emailwindow.desktop -%{tde_datadir}/services/jabberdisco.protocol -%{tde_datadir}/services/tdeconfiguredialog/kopete_*.desktop -%{tde_datadir}/services/kopete_*.desktop -%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png -%{tde_datadir}/servicetypes/kopete*.desktop -%{tde_datadir}/sounds/Kopete_*.ogg -%{tde_tdedocdir}/HTML/en/kopete -# jingle support for kopete -%{tde_bindir}/relayserver -%{tde_bindir}/stunserver -# winpopup support for kopete -%{tde_bindir}/winpopup-install.sh -%{tde_bindir}/winpopup-send.sh -# motionaway plugin for kopete -%{tde_datadir}/config.kcfg/motionawayconfig.kcfg -# smpp plugin for kopete -%{tde_datadir}/config.kcfg/smpppdcs.kcfg -# aim support is deprecated in TDE 14.1.0 -%if 0%{?with_aim} -%{tde_datadir}/icons/crystalsvg/*/apps/aim_protocol.png -%{tde_datadir}/icons/crystalsvg/*/actions/aim_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/aim_connecting.mng -%{tde_datadir}/icons/crystalsvg/*/actions/aim_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/aim_online.png -%{tde_datadir}/icons/hicolor/*/actions/aim_away.png -%{tde_datadir}/icons/hicolor/*/actions/aim_connecting.mng -%{tde_datadir}/icons/hicolor/*/actions/aim_offline.png -%{tde_datadir}/icons/hicolor/*/actions/aim_online.png -%{tde_datadir}/icons/hicolor/*/apps/aim_protocol.png -%{tde_datadir}/services/aim.protocol -%endif - -########## - -%package -n trinity-kopete-nowlistening -Summary: Nowlistening (xmms) plugin for Kopete -Group: Applications/Internet -Requires: trinity-kopete = %{version}-%{release} -Requires: trinity-filesystem >= %{tde_version} - -%description -n trinity-kopete-nowlistening -Kopete includes the "Now Listening" plug-in that can report what music you -are currently listening to, in a number of different players, including -noatun, kscd, juk, kaffeine and amarok. - -%files -n trinity-kopete-nowlistening -%defattr(-,root,root,-) -%{tde_datadir}/apps/kopete/*nowlisteningchatui* -%{tde_datadir}/apps/kopete/*nowlisteningui* -%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg -%{tde_datadir}/services/tdeconfiguredialog/*nowlistening* -%{tde_datadir}/services/*nowlistening* -%{tde_tdelibdir}/*nowlistening* - -########## - -%package -n trinity-kpf -Summary: Public fileserver for Trinity -Group: Applications/Internet -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-kpf -kpf provides simple file sharing using HTTP. kpf is strictly a public -fileserver, which means that there are no access restrictions to shared -files. Whatever you select for sharing is available to anyone. kpf is -designed to be used for sharing files with friends. - -%files -n trinity-kpf -%defattr(-,root,root,-) -%{tde_tdelibdir}/kpf* -%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kpf.* -%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop -%{tde_tdedocdir}/HTML/en/kpf - -########## - -%package -n trinity-kppp -Summary: Modem dialer and ppp frontend for Trinity -Group: Applications/Internet -Requires: ppp - -%if 0%{?with_consolehelper} -# package 'usermode' provides '/usr/bin/consolehelper-gtk' -%if 0%{?rhel} || 0%{?fedora} -Requires: usermode-gtk -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: usermode -%endif -%endif - -%description -n trinity-kppp -KPPP is a dialer and front end for pppd. It allows for interactive -script generation and network setup. It will automate the dialing in -process to your ISP while letting you conveniently monitor the entire -process. - -Once connected KPPP will provide a rich set of statistics and keep -track of the time spent online for you. - -%files -n trinity-kppp -%defattr(-,root,root,-) -%if 0%{?with_consolehelper} == 0 -# Some setuid binaries need special care -%if 0%{?suse_version} -%verify(not mode) %{tde_bindir}/kppp -%else -%attr(4711,root,root) %{tde_bindir}/kppp -%endif -%endif -%{tde_bindir}/kppplogview -%{tde_tdeappdir}/Kppp.desktop -%{tde_tdeappdir}/kppplogview.desktop -%{tde_datadir}/apps/kppp/ -%{tde_datadir}/icons/hicolor/*/apps/kppp.png -%{tde_tdedocdir}/HTML/en/kppp/ -%if 0%{?suse_version} >= 1500 -%dir %{_sysconfdir}/ppp -%endif -%dir %{_sysconfdir}/ppp/peers -%{_sysconfdir}/ppp/peers/kppp-options - -%if 0%{?with_consolehelper} -%config(noreplace) /etc/security/console.apps/kppp3 -%config(noreplace) /etc/pam.d/kppp3 -%{_sbindir}/kppp3 -%{tde_bindir}/kppp3 -%{tde_sbindir}/kppp3 -%endif - -%post -n trinity-kppp -%if 0%{?suse_version} -# Sets permissions on setuid files (openSUSE specific) -%set_permissions %{tde_bindir}/kppp -%endif - -########## - -%package -n trinity-krdc -Summary: Remote Desktop Connection for Trinity -Group: Applications/Internet -Requires: rdesktop - -%description -n trinity-krdc -krdc is an TDE graphical client for the rfb protocol, used by VNC, -and if rdesktop is installed, krdc can connect to Windows Terminal -Servers using RDP. - -%files -n trinity-krdc -%defattr(-,root,root,-) -%{tde_bindir}/krdc -%{tde_tdeappdir}/krdc.desktop -%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop -%{tde_datadir}/apps/krdc/ -%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png -%{tde_datadir}/icons/hicolor/*/apps/krdc.png -%{tde_datadir}/services/rdp.protocol -%{tde_datadir}/services/vnc.protocol -%{tde_tdedocdir}/HTML/en/krdc/ -%{tde_tdedocdir}/HTML/en/tdeioslave/rdp/ -%{tde_tdedocdir}/HTML/en/tdeioslave/vnc/ - -########## - -%package -n trinity-krfb -Summary: Desktop Sharing for Trinity -Group: Applications/Internet - -%description -n trinity-krfb -Desktop Sharing (krfb) is a server application that allows you to share -your current session with a user on another machine, who can use a -VNC client like krdc to view or even control the desktop. It doesn't -require you to start a new X session - it can share the current session. -This makes it very useful when you want someone to help you perform a -task. - -%files -n trinity-krfb -%defattr(-,root,root,-) -%{tde_bindir}/krfb -%{tde_bindir}/krfb_httpd -%{tde_tdelibdir}/kcm_krfb.la -%{tde_tdelibdir}/kcm_krfb.so -%{tde_tdelibdir}/kded_kinetd.la -%{tde_tdelibdir}/kded_kinetd.so -%{tde_tdeappdir}/kcmkrfb.desktop -%{tde_tdeappdir}/krfb.desktop -%{tde_datadir}/apps/kinetd/ -%{tde_datadir}/apps/krfb -%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png -%{tde_datadir}/icons/hicolor/*/apps/krfb.png -%{tde_datadir}/icons/locolor/*/apps/krfb.png -%{tde_datadir}/services/kded/kinetd.desktop -%{tde_datadir}/services/kinetd_krfb.desktop -%{tde_datadir}/services/kinetd_krfb_httpd.desktop -%{tde_datadir}/servicetypes/kinetdmodule.desktop -%{tde_tdedocdir}/HTML/en/krfb/ - -########## - -%package -n trinity-ksirc -Summary: IRC client for Trinity -Group: Applications/Internet - -%description -n trinity-ksirc -KSirc is an IRC chat client for TDE. It supports scripting with Perl and has a -lot of compatibility with mIRC for general use. - -If you want to connect to an IRC server via SSL, you will need to install the -recommended package libio-socket-ssl-perl. - -%files -n trinity-ksirc -%defattr(-,root,root,-) -%{tde_bindir}/dsirc -%{tde_bindir}/ksirc -%{tde_libdir}/libtdeinit_ksirc.* -%{tde_tdelibdir}/ksirc.* -%{tde_tdeappdir}/ksirc.desktop -%{tde_datadir}/apps/ksirc/ -%config(noreplace) %{tde_confdir}/ksircrc -%{tde_datadir}/icons/hicolor/*/apps/ksirc.* -%{tde_tdedocdir}/HTML/??/ksirc/ - -########## - -%package -n trinity-ktalkd -Summary: Talk daemon for Trinity -Group: Applications/Internet -Requires: trinity-kcontrol >= %{tde_version} -Requires: trinity-tdebase-data >= %{tde_version} -Requires: xinetd - -%description -n trinity-ktalkd -KTalkd is an enhanced talk daemon - a program to handle incoming talk -requests, announce them and allow you to respond to it using a talk -client. Note that KTalkd is designed to run on a single-user workstation, -and shouldn't be run on a multi-user machine. - -%files -n trinity-ktalkd -%defattr(-,root,root,-) -%{tde_bindir}/ktalkd* -%{tde_bindir}/mail.local -%{tde_tdelibdir}/kcm_ktalkd.* -%{tde_tdeappdir}/kcmktalkd.desktop -%config(noreplace) %{tde_confdir}/ktalkdrc -%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.png -%{tde_datadir}/icons/hicolor/*/apps/ktalkd.png -%{tde_datadir}/sounds/ktalkd.wav -%dir %{_sysconfdir}/xinetd.d -%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk -%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd -%{tde_tdedocdir}/HTML/en/ktalkd - -########## - -%if "%{?_with_wifi:1}" == "1" -%package -n trinity-kwifimanager -Summary: Wireless lan manager for Trinity -Group: Applications/Internet -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-kwifimanager -KWiFiManager suite is a set of tools which allows you to manage your -wireless LAN connection under the K Desktop Environment. It provides -information about your current connection. KWiFiManager supports every -wavelan card that uses the wireless extensions interface. - -%files -n trinity-kwifimanager -%defattr(-,root,root,-) -%{tde_bindir}/kwifimanager -%{tde_tdelibdir}/kcm_wifi.* -%{tde_libdir}/libkwireless.la -%{tde_libdir}/libkwireless.so -%{tde_tdeappdir}/kcmwifi.desktop -%{tde_tdeappdir}/kwifimanager.desktop -%{tde_datadir}/apps/kicker/applets/kwireless.desktop -%{tde_datadir}/apps/kwifimanager -%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png -%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz -%{tde_tdedocdir}/HTML/en/kwifimanager/ -%{tde_tdedocdir}/HTML/en/kcontrol/kcmwifi/ -%endif - -########## - -%package -n trinity-librss -Summary: RSS library for Trinity -Group: Environment/Libraries - -%description -n trinity-librss -This is the runtime package for programs that use the TDE RSS library. -End users should not need to install this, it should get installed -automatically when needed. - -%files -n trinity-librss -%defattr(-,root,root,-) -%{tde_libdir}/librss.so.* -%{tde_datadir}/cmake/librss.cmake - -########## - -%package -n trinity-lisa -Summary: LAN information server for Trinity -Group: Applications/Internet -Requires: trinity-konqueror >= %{tde_version} -Requires: trinity-tdebase-data >= %{tde_version} - -%description -n trinity-lisa -LISa is intended to provide TDE with a kind of "network neighborhood" -but relying only on the TCP/IP protocol. - -%files -n trinity-lisa -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_lanbrowser.la -%{tde_tdelibdir}/kcm_lanbrowser.so -%{tde_tdelibdir}/tdeio_lan.la -%{tde_tdelibdir}/tdeio_lan.so -%{tde_datadir}/applnk/.hidden/kcmtdeiolan.desktop -%{tde_datadir}/applnk/.hidden/kcmlisa.desktop -%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop -%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop -%{tde_datadir}/apps/lisa/ -%{tde_datadir}/apps/remoteview/lan.desktop -%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/ -%{tde_tdedocdir}/HTML/en/lisa/ -%{tde_datadir}/services/lan.protocol -%{tde_datadir}/services/rlan.protocol -%{tde_bindir}/lisa -%{tde_bindir}/reslisa - -########## - -%package -n trinity-kdnssd -Summary: Zeroconf support for TDE -Group: Applications/Internet - -%description -n trinity-kdnssd -A tdeioslave and tded module that provide Zeroconf support. Try -"zeroconf:/" in Konqueror. - -%files -n trinity-kdnssd -%defattr(-,root,root,-) -%{tde_datadir}/services/zeroconf.protocol -%{tde_datadir}/services/invitation.protocol -%{tde_datadir}/services/kded/dnssdwatcher.desktop -%{tde_datadir}/apps/remoteview/zeroconf.desktop -%{tde_datadir}/apps/zeroconf/_http._tcp -%{tde_datadir}/apps/zeroconf/_ftp._tcp -%{tde_datadir}/apps/zeroconf/_ldap._tcp -%{tde_datadir}/apps/zeroconf/_webdav._tcp -%{tde_datadir}/apps/zeroconf/_nfs._tcp -%{tde_datadir}/apps/zeroconf/_ssh._tcp -%{tde_datadir}/apps/zeroconf/_rfb._tcp -%{tde_tdelibdir}/tdeio_zeroconf.so -%{tde_tdelibdir}/tdeio_zeroconf.la -%{tde_tdelibdir}/kded_dnssdwatcher.so -%{tde_tdelibdir}/kded_dnssdwatcher.la - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -# Workaround libiw detection failure on opensuse -%if 0%{?suse_version} -%__sed -i "wifi/ConfigureChecks.cmake" -e "s|^check_library_exists.*|set( HAVE_IW 1 )|" -%endif - -# Update icons for some control center modules -%__sed -i "filesharing/simple/fileshare.desktop" -e "s|^Icon=.*|Icon=kcmfileshare|" - - -%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 - -%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} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DWITH_JINGLE=ON \ - %{?with_speex:-DWITH_SPEEX=ON} \ - -DWITH_WEBCAM=ON \ - -DWITH_GSM=OFF \ - -DWITH_XMMS=OFF \ - -DWITH_ARTS=ON \ - %{?with_openslp:-DWITH_SLP=ON} \ - -DBUILD_ALL=ON \ - -DBUILD_KOPETE_PLUGIN_ALL=ON \ - -DBUILD_KOPETE_PROTOCOL_ALL=ON \ - %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \ - %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=OFF} \ - .. - -# Tdenetwork is not smp safe ! -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Adds missing icons in 'hicolor' theme -# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'. -%__mkdir_p %{buildroot}%{tde_datadir}/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps/ -pushd %{buildroot}%{tde_datadir}/icons -for i in {16,22,32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kget.png hicolor/"$i"x"$i"/apps/kget.png ;done -for i in {32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/krdc.png hicolor/"$i"x"$i"/apps/krdc.png ;done -for i in {16,32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/krfb.png hicolor/"$i"x"$i"/apps/krfb.png ;done -for i in {16,22,32,48,128}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/ktalkd.png hicolor/"$i"x"$i"/apps/ktalkd.png ;done -for i in {16,22,32,48,64,128}; do %__cp $BUILD_ROOT%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/share.png hicolor/"$i"x"$i"/apps/kcmfileshare.png ;done -popd - -%if 0%{?with_consolehelper} -# Run kppp through consolehelper, and rename it to 'kppp3' -%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 -%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} -%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3 -%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3 -%if "%{tde_prefix}" != "/usr" -%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3 -%endif -%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps -cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 <>"${i}" - fi - fi -done - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file kcmkrfb -%suse_update_desktop_file fileshare -%suse_update_desktop_file kopete Network InstantMessaging -%suse_update_desktop_file ksirc Network IRCClient -%suse_update_desktop_file Kppp Network Dialup -%suse_update_desktop_file -r kppplogview System Monitor -%suse_update_desktop_file kdict Office Dictionary -%suse_update_desktop_file -r krdc System RemoteAccess -%suse_update_desktop_file -r krfb System RemoteAccess -%suse_update_desktop_file -r kget System TrayIcon -%suse_update_desktop_file -r kwifimanager System Network -%suse_update_desktop_file kcmwifi -%suse_update_desktop_file -u knewsticker-standalone Network News -%suse_update_desktop_file %{buildroot}%{tde_datadir}/apps/remoteview/zeroconf.desktop -%endif - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%if 0%{?suse_version} -# Check permissions on setuid files (openSUSE specific) -%verifyscript -%verify_permissions -e %{tde_bindir}/kppp -%endif - - -%changelog diff --git a/redhat/main/tdenetwork/tdenetwork.spec b/redhat/main/tdenetwork/tdenetwork.spec new file mode 100644 index 000000000..94345b490 --- /dev/null +++ b/redhat/main/tdenetwork/tdenetwork.spec @@ -0,0 +1,1186 @@ +%if 0%{?fedora} >= 23 +%define _hardened_ldflags %nil +%endif + +# +# spec file for package tdenetwork (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.7 +%endif +%define tde_pkg tdenetwork +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_sbindir %{tde_prefix}/sbin +%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 + +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 + +# Disable AIM support +%define with_aim 0 + +Name: trinity-%{tde_pkg} +Summary: Trinity Desktop Environment - Network Applications +Group: Applications/Internet +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: kppp.pamd +Source2: ktalk +Source3: trinity-tdenetwork-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: gettext +BuildRequires: coreutils +BuildRequires: gcc-c++ +BuildRequires: desktop-file-utils +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 + +# for set_permissions macro +%if 0%{?suse_version} +PreReq: permissions +%endif + +# OPENSSL support +BuildRequires: openssl-devel + +# TLS support +BuildRequires: gnutls-devel + +# SQLITE support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: sqlite3-devel +%else +BuildRequires: sqlite-devel +%endif + +# GADU support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_gadu 1 +BuildRequires: libgadu-devel +%endif + +# PCRE support +BuildRequires: pcre-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# XTST support +%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1210 +BuildRequires: libXtst-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxtst-devel +%endif + +# XMU support +%if 0%{?suse_version} == 1140 +BuildRequires: xorg-x11-libXmu-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210 +BuildRequires: libXmu-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} >= 4 +BuildRequires: libxmu-devel +%endif +%if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3 +BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel +%endif + +# Other stuff +%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 +BuildRequires: libXScrnSaver-devel +BuildRequires: libXxf86vm-devel +%endif + +# Fedora review: http://bugzilla.redhat.com/195486 + +## Conditional build: +# RHEL6: xmms is outdated ! +#define _with_xmms --with-xmms +%ifnarch s390 s390x +%define _with_wifi --with-wifi +%endif + +# Wifi support +%if "%{?_with_wifi:1}" == "1" +%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 +%endif + +# OpenSLP support +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_openslp 1 +BuildRequires: openslp-devel +%endif + +%ifarch %{ix86} +# BR: /usr/include/valgrind/valgrind.h +BuildRequires: valgrind +%endif + +%{?_with_xmms:BuildRequires: xmms-devel} + +# V4L support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} +BuildRequires: libv4l-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}v4l-devel +%endif +%if 0%{?rhel} == 5 +BuildRequires: kernel-headers +%endif + +# XML support +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel + +#jabber +BuildRequires: libidn-devel +#jabber/jingle +%if 0%{?suse_version} +BuildRequires: libexpat-devel +%else +BuildRequires: expat-devel +%endif +BuildRequires: glib2-devel +BuildRequires: speex-devel +# jabber/ssl +#{?fedora:Requires(hint): qca-tls} +Requires: jasper + +# ACL support +BuildRequires: libacl-devel + +# MEANWHILE support +%if 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?fedora} >= 15 || 0%{?suse_version} +%define with_meanwhile 1 +BuildRequires: meanwhile-devel +%endif + +# SPEEX support +%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} +%define with_speex 1 +BuildRequires: speex-devel +%endif + +# CONSOLEHELPER (usermode) support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_consolehelper 1 + +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 +%endif + +Obsoletes: trinity-kdenetwork < %{version}-%{release} +Provides: trinity-kdenetwork = %{version}-%{release} +Obsoletes: trinity-kdenetwork-libs < %{version}-%{release} +Provides: trinity-kdenetwork-libs = %{version}-%{release} +Obsoletes: trinity-kdenetwork-extras < %{version}-%{release} +Provides: trinity-kdenetwork-extras = %{version}-%{release} +Obsoletes: tdenetwork < %{version}-%{release} +Provides: tdenetwork = %{version}-%{release} + +Requires: trinity-dcoprss = %{version}-%{release} +Requires: %{name}-filesharing = %{version}-%{release} +Requires: trinity-kdict = %{version}-%{release} +Requires: %{name}-tdefile-plugins = %{version}-%{release} +Requires: trinity-kget = %{version}-%{release} +Requires: trinity-knewsticker = %{version}-%{release} +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-kopete-nowlistening = %{version}-%{release} +Requires: trinity-kpf = %{version}-%{release} +Requires: trinity-kppp = %{version}-%{release} +Requires: trinity-krdc = %{version}-%{release} +Requires: trinity-krfb = %{version}-%{release} +Requires: trinity-ksirc = %{version}-%{release} +Requires: trinity-ktalkd = %{version}-%{release} +Requires: trinity-kwifimanager = %{version}-%{release} +Requires: trinity-librss = %{version}-%{release} +Requires: trinity-lisa = %{version}-%{release} + +%description +This metapackage includes a collection of network and networking related +applications provided with the official release of Trinity. + +Networking applications, including: +* dcoprss: RSS utilities for Trinity +* filesharing: Network filesharing configuration module for Trinity +* kdict: Dictionary client for Trinity +* tdefile-plugins: Torrent metainfo plugin for Trinity +* kget: downloader manager +* knewsticker: RDF newsticker applet +* kopete: chat client +* kopete-nowlistening: (xmms) plugin for Kopete. +* kpf: Public fileserver for Trinity +* kppp: dialer and front end for pppd +* krdc: a client for Desktop Sharing and other VNC servers +* krfb: Desktop Sharing server, allow others to access your desktop via VNC +* ksirc: IRC client for Trinity +* ktalkd: Talk daemon for Trinity +* kwifimanager: Wireless lan manager for Trinity +* librss: RSS library for Trinity +* lisa: lan information server + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README + + +########## + +%package -n trinity-dcoprss +Summary: RSS utilities for Trinity +Group: Applications/Internet + +%description -n trinity-dcoprss +dcoprss is a RSS to DCOP bridge, allowing all +DCOP aware applications to access RSS news feeds. There is also +a few sample utilities provided. +RSS is a standard for publishing news headlines. +DCOP is the TDE interprocess communication protocol. + +%files -n trinity-dcoprss +%defattr(-,root,root,-) +%{tde_bindir}/feedbrowser +%{tde_bindir}/rssclient +%{tde_bindir}/rssservice +%{tde_datadir}/services/rssservice.desktop + +########## + +%package devel +Summary: Development files for the Trinity network module +Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} +Requires: trinity-kdict = %{version}-%{release} +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-ksirc = %{version}-%{release} +Requires: trinity-librss = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{tde_version} + +Obsoletes: trinity-kdenetwork-devel < %{version}-%{release} +Provides: trinity-kdenetwork-devel = %{version}-%{release} +Obsoletes: tdenetwork-devel < %{version}-%{release} +Provides: tdenetwork-devel = %{version}-%{release} + +%description devel +This is the development package which contains the headers for the TDE RSS +library as well as the Kopete chat client, as well as miscellaneous +development-related files for the TDE network module. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kopete/ +%{tde_tdeincludedir}/rss/ +%{tde_libdir}/libkopete.la +%{tde_libdir}/libkopete.so +%{tde_libdir}/libkopete_oscar.la +%{tde_libdir}/libkopete_oscar.so +%{tde_libdir}/libkopete_videodevice.la +%{tde_libdir}/libkopete_videodevice.so +%{tde_libdir}/librss.la +%{tde_libdir}/librss.so + +########## + +%package filesharing +#Recommends: perl-suid +Summary: Network filesharing configuration module for Trinity +Group: Applications/Internet + +Obsoletes: tdenetwork-filesharing < %{version}-%{release} +Provides: tdenetwork-filesharing = %{version}-%{release} + +%description filesharing +This package provides a Trinity Control Center module to configure +NFS and Samba. + +%files filesharing +%defattr(-,root,root,-) +%{tde_tdelibdir}/fileshare_propsdlgplugin.la +%{tde_tdelibdir}/fileshare_propsdlgplugin.so +%{tde_tdelibdir}/kcm_fileshare.la +%{tde_tdelibdir}/kcm_fileshare.so +%{tde_tdelibdir}/kcm_kcmsambaconf.la +%{tde_tdelibdir}/kcm_kcmsambaconf.so +%{tde_tdeappdir}/fileshare.desktop +%{tde_tdeappdir}/kcmsambaconf.desktop +%{tde_datadir}/icons/hicolor/*/apps/kcmfileshare.png +%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png +%{tde_datadir}/services/fileshare_propsdlgplugin.desktop +%{tde_tdedocdir}/HTML/en/kcontrol/fileshare/ +%{tde_tdedocdir}/HTML/en/kcontrol/kcmsambaconf/ + +########## + +%package -n trinity-kdict +Summary: Dictionary client for Trinity +Group: Applications/Internet +Requires: trinity-kicker >= %{tde_version} + +%description -n trinity-kdict +KDict is an advanced TDE graphical client for the DICT Protocol, with full +Unicode support. It enables you to search through dictionary databases for a +word or phrase, then displays suitable definitions. KDict tries to ease +basic as well as advanced queries. + +%files -n trinity-kdict +%defattr(-,root,root,-) +%{tde_bindir}/kdict +%{tde_tdelibdir}/kdict.* +%{tde_tdelibdir}/kdict_panelapplet.* +%{tde_libdir}/libtdeinit_kdict.* +%{tde_tdeappdir}/kdict.desktop +%{tde_datadir}/apps/kdict +%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop +%{tde_datadir}/icons/hicolor/*/apps/kdict.* +%{tde_tdedocdir}/HTML/en/kdict + +########## + +%package tdefile-plugins +Summary: Torrent metainfo plugin for Trinity +Group: Applications/Internet + +Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release} +Provides: tdenetwork-kfile-plugins = %{version}-%{release} +Obsoletes: trinity-tdenetwork-kfile-plugins < %{version}-%{release} +Provides: trinity-tdenetwork-kfile-plugins = %{version}-%{release} + +%description tdefile-plugins +This package provides a metainformation plugin for bittorrent files. +TDE uses tdefile-plugins to provide metainfo tab in the files properties +dialog in konqueror and other file-handling applications. + +%files tdefile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdefile_torrent.la +%{tde_tdelibdir}/tdefile_torrent.so +%{tde_datadir}/services/tdefile_torrent.desktop + +########## + +%package -n trinity-kget +Summary: Download manager for Trinity +Group: Applications/Internet +Requires: trinity-tdebase-data >= %{tde_version} +Requires: trinity-konqueror >= %{tde_version} + +%description -n trinity-kget +KGet is a a download manager similar to GetRight or Go!zilla. It keeps +all your downloads in one dialog and you can add and remove transfers. +Transfers can be paused, resumed, queued or scheduled. +Dialogs display info about status of transfers - progress, size, speed +and remaining time. Program supports drag & drop from TDE +applications and Netscape. + +%files -n trinity-kget +%defattr(-,root,root,-) +%{tde_bindir}/kget +%{tde_tdelibdir}/tdehtml_kget.la +%{tde_tdelibdir}/tdehtml_kget.so +%{tde_tdeappdir}/kget.desktop +%{tde_datadir}/apps/kget +%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.desktop +%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.rc +%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/tdehtml_kget.png +%{tde_datadir}/icons/crystalsvg/*/apps/kget.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png +%{tde_datadir}/icons/hicolor/*/apps/kget.png +%{tde_datadir}/mimelnk/application/x-kgetlist.desktop +%{tde_datadir}/sounds/KGet_Added.ogg +%{tde_datadir}/sounds/KGet_Finished.ogg +%{tde_datadir}/sounds/KGet_Finished_All.ogg +%{tde_datadir}/sounds/KGet_Started.ogg +%{tde_tdedocdir}/HTML/en/kget + +########## + +%package -n trinity-knewsticker +Summary: News ticker applet for Trinity +Group: Applications/Internet +Requires: trinity-kicker >= %{tde_version} + +%description -n trinity-knewsticker +This is a news ticker applet for the Trinity panel. It can scroll news from +your favorite news sites, such as lwn.net, /. and freshmeat.net. +To achieve this, KNewsTicker requires the news sites to provide a +RSS feed to newsitems. KNewsTicker already comes with a selection of +good news sources which provide such files. + +%files -n trinity-knewsticker +%defattr(-,root,root,-) +%{tde_bindir}/knewstickerstub +%{tde_tdelibdir}/knewsticker_panelapplet.la +%{tde_tdelibdir}/knewsticker_panelapplet.so +%{tde_tdelibdir}/libkntsrcfilepropsdlg.la +%{tde_tdelibdir}/libkntsrcfilepropsdlg.so +%{tde_tdeappdir}/knewsticker-standalone.desktop +%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop +%{tde_datadir}/apps/tdeconf_update/knewsticker.upd +%{tde_datadir}/apps/tdeconf_update/knt-0.1-0.2.pl +%{tde_datadir}/apps/kicker/applets/knewsticker.desktop +%{tde_datadir}/apps/knewsticker/ +%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png +%{tde_datadir}/services/kntsrcfilepropsdlg.desktop +%{tde_tdedocdir}/HTML/en/knewsticker + +########## + +%package -n trinity-kopete +Summary: Instant messenger for Trinity +Group: Applications/Internet +Requires: trinity-tdebase-bin >= %{tde_version} +Requires: trinity-tdebase-data >= %{tde_version} +Requires: trinity-filesystem >= %{tde_version} + +%description -n trinity-kopete +Kopete is an instant messenger program which can communicate with a variety +of IM systems, such as Yahoo, ICQ, IRC and Jabber. + +Support for more IM protocols can be added through a plugin system. + +%files -n trinity-kopete +%defattr(-,root,root,-) +# nowlistening support +%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui* +%exclude %{tde_datadir}/apps/kopete/*nowlisteningui* +%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg +%exclude %{tde_datadir}/services/tdeconfiguredialog/*nowlistening* +%exclude %{tde_datadir}/services/*nowlistening* +%exclude %{tde_tdelibdir}/*nowlistening* +# Main kopete package +%{tde_bindir}/kopete +%{tde_bindir}/kopete_latexconvert.sh +%{tde_libdir}/tdeconf_update_bin/kopete-account-tdeconf_update +%{tde_libdir}/tdeconf_update_bin/kopete-nameTracking-tdeconf_update +%{tde_libdir}/tdeconf_update_bin/kopete-pluginloader2-tdeconf_update +%{tde_tdelibdir}/kcm_kopete_*.so +%{tde_tdelibdir}/kcm_kopete_*.la +%{tde_tdelibdir}/tdeio_jabberdisco.la +%{tde_tdelibdir}/tdeio_jabberdisco.so +%{tde_tdelibdir}/kopete_*.la +%{tde_tdelibdir}/kopete_*.so +%{tde_tdelibdir}/libkrichtexteditpart.la +%{tde_tdelibdir}/libkrichtexteditpart.so +%{tde_libdir}/libkopete_oscar.so.* +%{tde_libdir}/libkopete.so.* +%{tde_libdir}/libkopete_videodevice.so.* +%{tde_tdeappdir}/kopete.desktop +%{tde_datadir}/apps/tdeconf_update/kopete-* +%{tde_datadir}/apps/kopete/ +%{tde_datadir}/apps/kopete_*/ +%{tde_datadir}/apps/kopeterichtexteditpart/ +%{tde_datadir}/config.kcfg/historyconfig.kcfg +%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg +%{tde_datadir}/config.kcfg/kopete.kcfg +%{tde_datadir}/config.kcfg/latexconfig.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png +%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png +%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png +%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_original.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png +%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png +%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png +%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz +%{tde_datadir}/icons/hicolor/*/apps/kopete.png +%{tde_datadir}/icons/hicolor/*/actions/emoticon.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng +%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_original.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png +%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png +%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png +%{tde_datadir}/icons/hicolor/*/actions/newmsg.png +%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png +%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png +%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png +%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/newmessage.mng +%{tde_datadir}/icons/hicolor/*/actions/newmessage.mng +%{tde_datadir}/icons/crystalsvg/*/apps/icq_protocol.png +%{tde_datadir}/icons/crystalsvg/*/apps/irc_protocol.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_connecting.mng +%{tde_datadir}/icons/crystalsvg/*/actions/icq_dnd.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_ffc.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_invisible.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_na.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_occupied.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/irc_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/irc_channel.png +%{tde_datadir}/icons/crystalsvg/*/actions/irc_connecting.mng +%{tde_datadir}/icons/crystalsvg/*/actions/irc_normal.png +%{tde_datadir}/icons/crystalsvg/*/actions/irc_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/irc_op.png +%{tde_datadir}/icons/crystalsvg/*/actions/irc_server.png +%{tde_datadir}/icons/crystalsvg/*/actions/irc_voice.png +%{tde_datadir}/icons/hicolor/*/actions/icq_away.png +%{tde_datadir}/icons/hicolor/*/actions/icq_connecting.mng +%{tde_datadir}/icons/hicolor/*/actions/icq_dnd.png +%{tde_datadir}/icons/hicolor/*/actions/icq_ffc.png +%{tde_datadir}/icons/hicolor/*/actions/icq_invisible.png +%{tde_datadir}/icons/hicolor/*/actions/icq_na.png +%{tde_datadir}/icons/hicolor/*/actions/icq_occupied.png +%{tde_datadir}/icons/hicolor/*/actions/icq_offline.png +%{tde_datadir}/icons/hicolor/*/actions/icq_online.png +%{tde_datadir}/icons/hicolor/*/apps/icq_protocol.png +%{tde_datadir}/mimelnk/application/x-icq.desktop +%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop +%{tde_datadir}/services/chatwindow.desktop +%{tde_datadir}/services/emailwindow.desktop +%{tde_datadir}/services/jabberdisco.protocol +%{tde_datadir}/services/tdeconfiguredialog/kopete_*.desktop +%{tde_datadir}/services/kopete_*.desktop +%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png +%{tde_datadir}/servicetypes/kopete*.desktop +%{tde_datadir}/sounds/Kopete_*.ogg +%{tde_tdedocdir}/HTML/en/kopete +# jingle support for kopete +%{tde_bindir}/relayserver +%{tde_bindir}/stunserver +# winpopup support for kopete +%{tde_bindir}/winpopup-install.sh +%{tde_bindir}/winpopup-send.sh +# motionaway plugin for kopete +%{tde_datadir}/config.kcfg/motionawayconfig.kcfg +# smpp plugin for kopete +%{tde_datadir}/config.kcfg/smpppdcs.kcfg +# aim support is deprecated in TDE 14.1.0 +%if 0%{?with_aim} +%{tde_datadir}/icons/crystalsvg/*/apps/aim_protocol.png +%{tde_datadir}/icons/crystalsvg/*/actions/aim_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/aim_connecting.mng +%{tde_datadir}/icons/crystalsvg/*/actions/aim_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/aim_online.png +%{tde_datadir}/icons/hicolor/*/actions/aim_away.png +%{tde_datadir}/icons/hicolor/*/actions/aim_connecting.mng +%{tde_datadir}/icons/hicolor/*/actions/aim_offline.png +%{tde_datadir}/icons/hicolor/*/actions/aim_online.png +%{tde_datadir}/icons/hicolor/*/apps/aim_protocol.png +%{tde_datadir}/services/aim.protocol +%endif + +########## + +%package -n trinity-kopete-nowlistening +Summary: Nowlistening (xmms) plugin for Kopete +Group: Applications/Internet +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-filesystem >= %{tde_version} + +%description -n trinity-kopete-nowlistening +Kopete includes the "Now Listening" plug-in that can report what music you +are currently listening to, in a number of different players, including +noatun, kscd, juk, kaffeine and amarok. + +%files -n trinity-kopete-nowlistening +%defattr(-,root,root,-) +%{tde_datadir}/apps/kopete/*nowlisteningchatui* +%{tde_datadir}/apps/kopete/*nowlisteningui* +%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg +%{tde_datadir}/services/tdeconfiguredialog/*nowlistening* +%{tde_datadir}/services/*nowlistening* +%{tde_tdelibdir}/*nowlistening* + +########## + +%package -n trinity-kpf +Summary: Public fileserver for Trinity +Group: Applications/Internet +Requires: trinity-kicker >= %{tde_version} + +%description -n trinity-kpf +kpf provides simple file sharing using HTTP. kpf is strictly a public +fileserver, which means that there are no access restrictions to shared +files. Whatever you select for sharing is available to anyone. kpf is +designed to be used for sharing files with friends. + +%files -n trinity-kpf +%defattr(-,root,root,-) +%{tde_tdelibdir}/kpf* +%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kpf.* +%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop +%{tde_tdedocdir}/HTML/en/kpf + +########## + +%package -n trinity-kppp +Summary: Modem dialer and ppp frontend for Trinity +Group: Applications/Internet +Requires: ppp + +%if 0%{?with_consolehelper} +# package 'usermode' provides '/usr/bin/consolehelper-gtk' +%if 0%{?rhel} || 0%{?fedora} +Requires: usermode-gtk +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: usermode +%endif +%endif + +%description -n trinity-kppp +KPPP is a dialer and front end for pppd. It allows for interactive +script generation and network setup. It will automate the dialing in +process to your ISP while letting you conveniently monitor the entire +process. + +Once connected KPPP will provide a rich set of statistics and keep +track of the time spent online for you. + +%files -n trinity-kppp +%defattr(-,root,root,-) +%if 0%{?with_consolehelper} == 0 +# Some setuid binaries need special care +%if 0%{?suse_version} +%verify(not mode) %{tde_bindir}/kppp +%else +%attr(4711,root,root) %{tde_bindir}/kppp +%endif +%endif +%{tde_bindir}/kppplogview +%{tde_tdeappdir}/Kppp.desktop +%{tde_tdeappdir}/kppplogview.desktop +%{tde_datadir}/apps/kppp/ +%{tde_datadir}/icons/hicolor/*/apps/kppp.png +%{tde_tdedocdir}/HTML/en/kppp/ +%if 0%{?suse_version} >= 1500 +%dir %{_sysconfdir}/ppp +%endif +%dir %{_sysconfdir}/ppp/peers +%{_sysconfdir}/ppp/peers/kppp-options + +%if 0%{?with_consolehelper} +%config(noreplace) /etc/security/console.apps/kppp3 +%config(noreplace) /etc/pam.d/kppp3 +%{_sbindir}/kppp3 +%{tde_bindir}/kppp3 +%{tde_sbindir}/kppp3 +%endif + +%post -n trinity-kppp +%if 0%{?suse_version} +# Sets permissions on setuid files (openSUSE specific) +%set_permissions %{tde_bindir}/kppp +%endif + +########## + +%package -n trinity-krdc +Summary: Remote Desktop Connection for Trinity +Group: Applications/Internet +Requires: rdesktop + +%description -n trinity-krdc +krdc is an TDE graphical client for the rfb protocol, used by VNC, +and if rdesktop is installed, krdc can connect to Windows Terminal +Servers using RDP. + +%files -n trinity-krdc +%defattr(-,root,root,-) +%{tde_bindir}/krdc +%{tde_tdeappdir}/krdc.desktop +%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop +%{tde_datadir}/apps/krdc/ +%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png +%{tde_datadir}/icons/hicolor/*/apps/krdc.png +%{tde_datadir}/services/rdp.protocol +%{tde_datadir}/services/vnc.protocol +%{tde_tdedocdir}/HTML/en/krdc/ +%{tde_tdedocdir}/HTML/en/tdeioslave/rdp/ +%{tde_tdedocdir}/HTML/en/tdeioslave/vnc/ + +########## + +%package -n trinity-krfb +Summary: Desktop Sharing for Trinity +Group: Applications/Internet + +%description -n trinity-krfb +Desktop Sharing (krfb) is a server application that allows you to share +your current session with a user on another machine, who can use a +VNC client like krdc to view or even control the desktop. It doesn't +require you to start a new X session - it can share the current session. +This makes it very useful when you want someone to help you perform a +task. + +%files -n trinity-krfb +%defattr(-,root,root,-) +%{tde_bindir}/krfb +%{tde_bindir}/krfb_httpd +%{tde_tdelibdir}/kcm_krfb.la +%{tde_tdelibdir}/kcm_krfb.so +%{tde_tdelibdir}/kded_kinetd.la +%{tde_tdelibdir}/kded_kinetd.so +%{tde_tdeappdir}/kcmkrfb.desktop +%{tde_tdeappdir}/krfb.desktop +%{tde_datadir}/apps/kinetd/ +%{tde_datadir}/apps/krfb +%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png +%{tde_datadir}/icons/hicolor/*/apps/krfb.png +%{tde_datadir}/icons/locolor/*/apps/krfb.png +%{tde_datadir}/services/kded/kinetd.desktop +%{tde_datadir}/services/kinetd_krfb.desktop +%{tde_datadir}/services/kinetd_krfb_httpd.desktop +%{tde_datadir}/servicetypes/kinetdmodule.desktop +%{tde_tdedocdir}/HTML/en/krfb/ + +########## + +%package -n trinity-ksirc +Summary: IRC client for Trinity +Group: Applications/Internet + +%description -n trinity-ksirc +KSirc is an IRC chat client for TDE. It supports scripting with Perl and has a +lot of compatibility with mIRC for general use. + +If you want to connect to an IRC server via SSL, you will need to install the +recommended package libio-socket-ssl-perl. + +%files -n trinity-ksirc +%defattr(-,root,root,-) +%{tde_bindir}/dsirc +%{tde_bindir}/ksirc +%{tde_libdir}/libtdeinit_ksirc.* +%{tde_tdelibdir}/ksirc.* +%{tde_tdeappdir}/ksirc.desktop +%{tde_datadir}/apps/ksirc/ +%config(noreplace) %{tde_confdir}/ksircrc +%{tde_datadir}/icons/hicolor/*/apps/ksirc.* +%{tde_tdedocdir}/HTML/??/ksirc/ + +########## + +%package -n trinity-ktalkd +Summary: Talk daemon for Trinity +Group: Applications/Internet +Requires: trinity-kcontrol >= %{tde_version} +Requires: trinity-tdebase-data >= %{tde_version} +Requires: xinetd + +%description -n trinity-ktalkd +KTalkd is an enhanced talk daemon - a program to handle incoming talk +requests, announce them and allow you to respond to it using a talk +client. Note that KTalkd is designed to run on a single-user workstation, +and shouldn't be run on a multi-user machine. + +%files -n trinity-ktalkd +%defattr(-,root,root,-) +%{tde_bindir}/ktalkd* +%{tde_bindir}/mail.local +%{tde_tdelibdir}/kcm_ktalkd.* +%{tde_tdeappdir}/kcmktalkd.desktop +%config(noreplace) %{tde_confdir}/ktalkdrc +%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.png +%{tde_datadir}/icons/hicolor/*/apps/ktalkd.png +%{tde_datadir}/sounds/ktalkd.wav +%if 0%{?fedora} == 0 || 0%{?fedora} <= 30 +%dir %{_sysconfdir}/xinetd.d +%endif +%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk +%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd +%{tde_tdedocdir}/HTML/en/ktalkd + +########## + +%if "%{?_with_wifi:1}" == "1" +%package -n trinity-kwifimanager +Summary: Wireless lan manager for Trinity +Group: Applications/Internet +Requires: trinity-kicker >= %{tde_version} + +%description -n trinity-kwifimanager +KWiFiManager suite is a set of tools which allows you to manage your +wireless LAN connection under the K Desktop Environment. It provides +information about your current connection. KWiFiManager supports every +wavelan card that uses the wireless extensions interface. + +%files -n trinity-kwifimanager +%defattr(-,root,root,-) +%{tde_bindir}/kwifimanager +%{tde_tdelibdir}/kcm_wifi.* +%{tde_libdir}/libkwireless.la +%{tde_libdir}/libkwireless.so +%{tde_tdeappdir}/kcmwifi.desktop +%{tde_tdeappdir}/kwifimanager.desktop +%{tde_datadir}/apps/kicker/applets/kwireless.desktop +%{tde_datadir}/apps/kwifimanager +%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png +%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz +%{tde_tdedocdir}/HTML/en/kwifimanager/ +%{tde_tdedocdir}/HTML/en/kcontrol/kcmwifi/ +%endif + +########## + +%package -n trinity-librss +Summary: RSS library for Trinity +Group: Environment/Libraries + +%description -n trinity-librss +This is the runtime package for programs that use the TDE RSS library. +End users should not need to install this, it should get installed +automatically when needed. + +%files -n trinity-librss +%defattr(-,root,root,-) +%{tde_libdir}/librss.so.* +%{tde_datadir}/cmake/librss.cmake + +########## + +%package -n trinity-lisa +Summary: LAN information server for Trinity +Group: Applications/Internet +Requires: trinity-konqueror >= %{tde_version} +Requires: trinity-tdebase-data >= %{tde_version} + +%description -n trinity-lisa +LISa is intended to provide TDE with a kind of "network neighborhood" +but relying only on the TCP/IP protocol. + +%files -n trinity-lisa +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_lanbrowser.la +%{tde_tdelibdir}/kcm_lanbrowser.so +%{tde_tdelibdir}/tdeio_lan.la +%{tde_tdelibdir}/tdeio_lan.so +%{tde_datadir}/applnk/.hidden/kcmtdeiolan.desktop +%{tde_datadir}/applnk/.hidden/kcmlisa.desktop +%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop +%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop +%{tde_datadir}/apps/lisa/ +%{tde_datadir}/apps/remoteview/lan.desktop +%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/ +%{tde_tdedocdir}/HTML/en/lisa/ +%{tde_datadir}/services/lan.protocol +%{tde_datadir}/services/rlan.protocol +%{tde_bindir}/lisa +%{tde_bindir}/reslisa + +########## + +%package -n trinity-kdnssd +Summary: Zeroconf support for TDE +Group: Applications/Internet + +%description -n trinity-kdnssd +A tdeioslave and tded module that provide Zeroconf support. Try +"zeroconf:/" in Konqueror. + +%files -n trinity-kdnssd +%defattr(-,root,root,-) +%{tde_datadir}/services/zeroconf.protocol +%{tde_datadir}/services/invitation.protocol +%{tde_datadir}/services/kded/dnssdwatcher.desktop +%{tde_datadir}/apps/remoteview/zeroconf.desktop +%{tde_datadir}/apps/zeroconf/_http._tcp +%{tde_datadir}/apps/zeroconf/_ftp._tcp +%{tde_datadir}/apps/zeroconf/_ldap._tcp +%{tde_datadir}/apps/zeroconf/_webdav._tcp +%{tde_datadir}/apps/zeroconf/_nfs._tcp +%{tde_datadir}/apps/zeroconf/_ssh._tcp +%{tde_datadir}/apps/zeroconf/_rfb._tcp +%{tde_tdelibdir}/tdeio_zeroconf.so +%{tde_tdelibdir}/tdeio_zeroconf.la +%{tde_tdelibdir}/kded_dnssdwatcher.so +%{tde_tdelibdir}/kded_dnssdwatcher.la + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +# Workaround libiw detection failure on opensuse +%if 0%{?suse_version} +%__sed -i "wifi/ConfigureChecks.cmake" -e "s|^check_library_exists.*|set( HAVE_IW 1 )|" +%endif + +# Update icons for some control center modules +%__sed -i "filesharing/simple/fileshare.desktop" -e "s|^Icon=.*|Icon=kcmfileshare|" + + +%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 + +%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} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DWITH_JINGLE=ON \ + %{?with_speex:-DWITH_SPEEX=ON} \ + -DWITH_WEBCAM=ON \ + -DWITH_GSM=OFF \ + -DWITH_XMMS=OFF \ + -DWITH_ARTS=ON \ + %{?with_openslp:-DWITH_SLP=ON} \ + -DBUILD_ALL=ON \ + -DBUILD_KOPETE_PLUGIN_ALL=ON \ + -DBUILD_KOPETE_PROTOCOL_ALL=ON \ + %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \ + %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=OFF} \ + .. + +# Tdenetwork is not smp safe ! +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Adds missing icons in 'hicolor' theme +# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'. +%__mkdir_p %{buildroot}%{tde_datadir}/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps/ +pushd %{buildroot}%{tde_datadir}/icons +for i in {16,22,32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kget.png hicolor/"$i"x"$i"/apps/kget.png ;done +for i in {32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/krdc.png hicolor/"$i"x"$i"/apps/krdc.png ;done +for i in {16,32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/krfb.png hicolor/"$i"x"$i"/apps/krfb.png ;done +for i in {16,22,32,48,128}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/ktalkd.png hicolor/"$i"x"$i"/apps/ktalkd.png ;done +for i in {16,22,32,48,64,128}; do %__cp $BUILD_ROOT%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/share.png hicolor/"$i"x"$i"/apps/kcmfileshare.png ;done +popd + +%if 0%{?with_consolehelper} +# Run kppp through consolehelper, and rename it to 'kppp3' +%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 +%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} +%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3 +%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3 +%if "%{tde_prefix}" != "/usr" +%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3 +%endif +%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps +cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 <>"${i}" + fi + fi +done + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file kcmkrfb +%suse_update_desktop_file fileshare +%suse_update_desktop_file kopete Network InstantMessaging +%suse_update_desktop_file ksirc Network IRCClient +%suse_update_desktop_file Kppp Network Dialup +%suse_update_desktop_file -r kppplogview System Monitor +%suse_update_desktop_file kdict Office Dictionary +%suse_update_desktop_file -r krdc System RemoteAccess +%suse_update_desktop_file -r krfb System RemoteAccess +%suse_update_desktop_file -r kget System TrayIcon +%suse_update_desktop_file -r kwifimanager System Network +%suse_update_desktop_file kcmwifi +%suse_update_desktop_file -u knewsticker-standalone Network News +%suse_update_desktop_file %{buildroot}%{tde_datadir}/apps/remoteview/zeroconf.desktop +%endif + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%if 0%{?suse_version} +# Check permissions on setuid files (openSUSE specific) +%verifyscript +%verify_permissions -e %{tde_bindir}/kppp +%endif + + +%changelog diff --git a/redhat/main/tdepim/tdepim-14.0.0.patch b/redhat/main/tdepim/tdepim-14.0.0.patch deleted file mode 100644 index 0770a8af9..000000000 --- a/redhat/main/tdepim/tdepim-14.0.0.patch +++ /dev/null @@ -1,90 +0,0 @@ -diff --git a/kmail/kmkernel.cpp b/kmail/kmkernel.cpp -index aa01c96..d27f041 100644 ---- a/kmail/kmkernel.cpp -+++ b/kmail/kmkernel.cpp -@@ -170,17 +170,8 @@ KMKernel::KMKernel (TQObject *parent, const char *name) : - connectDCOPSignal( 0, 0, "kmailSelectFolder(TQString)", - "selectFolder(TQString)", false ); - -- mNetworkManager = TDEGlobal::networkManager(); -- if (mNetworkManager) { -- connect( mNetworkManager, TQT_SIGNAL( networkDeviceStateChanged( TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString ) ), -- this, TQT_SLOT( slotNetworkStateChanged( TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString ) ) ); -- if (networkStateConnected()) { -- resumeNetworkJobs(); -- } -- else { -- stopNetworkJobs(); -- } -- } -+ // Assume connected -+ resumeNetworkJobs(); - } - - KMKernel::~KMKernel () -@@ -2470,34 +2461,8 @@ int KMKernel::timeOfLastMessageCountChange() const - - bool KMKernel::networkStateConnected() - { -- if (mNetworkManager) { -- TDENetworkGlobalManagerFlags::TDENetworkGlobalManagerFlags networkStatus = mNetworkManager->backendStatus(); -- if ((networkStatus & TDENetworkGlobalManagerFlags::Connected) -- || (networkStatus & TDENetworkGlobalManagerFlags::BackendUnavailable) -- || (networkStatus == TDENetworkGlobalManagerFlags::Unknown) -- ){ -- // Connected or no backend available -- return true; -- } -- else { -- // Not connected -- return false; -- } -- } -- else { -- // Assume connected -- return true; -- } --} -- --void KMKernel::slotNetworkStateChanged(TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString) --{ -- if (networkStateConnected()) { -- resumeNetworkJobs(); -- } -- else { -- stopNetworkJobs(); -- } -+ // Assume connected -+ return true; - } - - Wallet *KMKernel::wallet() { -diff --git a/kmail/kmkernel.h b/kmail/kmkernel.h -index 0dc4644..37a3eec 100644 ---- a/kmail/kmkernel.h -+++ b/kmail/kmkernel.h -@@ -14,8 +14,6 @@ - #include - #include - --#include -- - #include "kmailIface.h" - #include "kmmsgbase.h" - #include "globalsettings.h" -@@ -436,7 +434,6 @@ public slots: - protected slots: - void slotDataReq(TDEIO::Job*,TQByteArray&); - void slotResult(TDEIO::Job*); -- void slotNetworkStateChanged(TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString); - - signals: - void configChanged(); -@@ -527,7 +524,6 @@ private: - TQString mAddMessageLastFolder; - KMFolder *mAddMsgCurrentFolder; - -- TDEGlobalNetworkManager *mNetworkManager; - }; - - #endif diff --git a/redhat/main/tdepim/tdepim.spec b/redhat/main/tdepim/tdepim.spec index c5341e7c5..5a22f1ed3 100644 --- a/redhat/main/tdepim/tdepim.spec +++ b/redhat/main/tdepim/tdepim.spec @@ -22,7 +22,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdepim %define tde_prefix /opt/trinity diff --git a/redhat/main/tdesdk/tdesdk-14.0.0.spec b/redhat/main/tdesdk/tdesdk-14.0.0.spec deleted file mode 100644 index dac97e526..000000000 --- a/redhat/main/tdesdk/tdesdk-14.0.0.spec +++ /dev/null @@ -1,1117 +0,0 @@ -# -# spec file for package tdesdk (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 tdesdk -%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} -Summary: The Trinity Software Development Kit (SDK) -Group: Development/Tools/Other -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-perl-dcop >= %{tde_version} -BuildRequires: trinity-tdepim-devel >= %{tde_version} - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: libtool -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 - -# ACL support -BuildRequires: libacl-devel - -# 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 - -# PCRE support -BuildRequires: pcre-devel - -# for kbugbuster/libkcal -BuildRequires: desktop-file-utils - -# DB4 support -%if 0%{?mgaversion} || 0%{?mdkversion} -#BuildRequires: %{_lib}db4.8-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: db4-devel -%endif -%if 0%{?suse_version} -BuildRequires: libdb-4_8-devel -%endif - -# kbabel, F-7+: flex >= 2.5.33-9 -BuildRequires: flex -# umbrello -BuildRequires: libxslt-devel -BuildRequires: libxml2-devel -BuildRequires: subversion-devel -BuildRequires: neon-devel - -# PERL support -BuildRequires: perl -%if 0%{?fedora} >= 19 -BuildRequires: perl-podlators -%endif - -# OPENSSL support -BuildRequires: openssl-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -BuildRequires: %{_lib}binutils-devel -%endif -%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} -BuildRequires: binutils-devel -%endif -%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif - -# KIOSLAVE -# Does not build on RHEL4 -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define build_kioslave 1 -%endif - -Obsoletes: trinity-kdesdk < %{version}-%{release} -Provides: trinity-kdesdk = %{version}-%{release} -Obsoletes: trinity-kdesdk-libs < %{version}-%{release} -Provides: trinity-kdesdk-libs = %{version}-%{release} - -Requires: trinity-cervisia = %{version}-%{release} -Requires: trinity-kapptemplate = %{version}-%{release} -Requires: trinity-kbabel = %{version}-%{release} -Requires: trinity-kbugbuster = %{version}-%{release} -Requires: trinity-tdecachegrind = %{version}-%{release} -Requires: trinity-tdecachegrind-converters = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-misc = %{version}-%{release} -Requires: %{name}-scripts = %{version}-%{release} -Requires: trinity-kmtrace = %{version}-%{release} -Requires: trinity-kompare = %{version}-%{release} -Requires: trinity-kspy = %{version}-%{release} -Requires: trinity-kuiviewer = %{version}-%{release} -Requires: trinity-libcvsservice0 = %{version}-%{release} -Requires: trinity-poxml = %{version}-%{release} -Requires: trinity-umbrello = %{version}-%{release} -%{?build_kioslave:Requires: %{name}-tdeio-plugins = %{version}-%{release}} -Requires: trinity-tdeunittest = %{version}-%{release} - - -%description -A collection of applications and tools used by developers, including: -* cervisia: a CVS frontend -* kbabel: PO file management -* kbugbuster: a tool to manage the TDE bug report system -* tdecachegrind: a browser for data produced by profiling tools (e.g. cachegrind) -* kompare: diff tool -* kuiviewer: displays designer's UI files -* umbrello: UML modeller and UML diagram tool - -%files -%defattr(-,root,root,-) - -########## - -%package -n trinity-cervisia -Summary: A graphical CVS front end for Trinity -Group: Development/Tools/Version Control - -%description -n trinity-cervisia -Cervisia is a TDE-based graphical front end for the CVS client. - -As well as providing both common and advanced CVS operations, it offers -a variety of methods for graphically viewing information about the CVS -repository, your own sandbox and the relationships between different -versions of files. A Changelog editor is also included and is coupled -with the commit dialog. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-cervisia -%defattr(-,root,root,-) -%{tde_bindir}/cervisia -%{tde_libdir}/libtdeinit_cervisia.la -%{tde_libdir}/libtdeinit_cervisia.so -%{tde_tdelibdir}/cervisia.la -%{tde_tdelibdir}/cervisia.so -%{tde_tdelibdir}/libcervisiapart.la -%{tde_tdelibdir}/libcervisiapart.so -%{tde_tdeappdir}/cervisia.desktop -%{tde_datadir}/apps/cervisia/ -%{tde_datadir}/apps/cervisiapart/ -%{tde_datadir}/apps/tdeconf_update/cervisia.upd -%{tde_datadir}/apps/tdeconf_update/cervisia-change_repos_list.pl -%{tde_datadir}/apps/tdeconf_update/cervisia-normalize_cvsroot.pl -%{tde_datadir}/apps/tdeconf_update/move_repositories.pl -%{tde_datadir}/apps/tdeconf_update/change_colors.pl -%{tde_datadir}/config.kcfg/cervisiapart.kcfg -%{tde_datadir}/icons/hicolor/*/apps/cervisia.png -%{tde_datadir}/icons/crystalsvg/*/actions/vcs_*.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/vcs_*.svgz -%{tde_mandir}/man1/cervisia.1* -%{tde_tdedocdir}/HTML/en/cervisia/ - -########## - -%package -n trinity-kapptemplate -Summary: Creates a framework to develop a Trinity application -Group: Development/Languages/Other - -%description -n trinity-kapptemplate -KAppTemplate is a shell script that will create the necessary -framework to develop various TDE applications. It takes care of the -autoconf/automake code as well as providing a skeleton and example of -what the code typically looks like. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kapptemplate -%defattr(-,root,root,-) -%{tde_bindir}/kapptemplate -%{tde_datadir}/apps/kapptemplate/ - -%pre -n trinity-kapptemplate -if [ -d "%{tde_bindir}/kapptemplate" ]; then - rm -rf "%{tde_bindir}/kapptemplate" -fi - -########## - -%package -n trinity-kbabel -Summary: PO-file editing suite for Trinity -Group: Development/Languages/Other - -%description -n trinity-kbabel -This is a suite of programs for editing gettext message files (PO-files). -It is designed to help you translate fast and consistently. - -This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an -advanced and easy to use PO-file editor with full navigational and editing -capabilities, syntax checking and statistics. CatalogManager is a multi -functional catalog manager which allows you to keep track of many -PO-files at once. KBabelDict is a dictionary to assist with searching -for common translations. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kbabel -%defattr(-,root,root,-) -%{tde_bindir}/catalogmanager -%{tde_bindir}/kbabel -%{tde_bindir}/kbabeldict -%{tde_libdir}/libkbabelcommon.so.* -%{tde_libdir}/libkbabeldictplugin.so.* -%{tde_tdelibdir}/tdefile_po.la -%{tde_tdelibdir}/tdefile_po.so -%{tde_tdelibdir}/pothumbnail.la -%{tde_tdelibdir}/pothumbnail.so -%{tde_tdelibdir}/kbabel_accelstool.la -%{tde_tdelibdir}/kbabel_accelstool.so -%{tde_tdelibdir}/kbabel_argstool.la -%{tde_tdelibdir}/kbabel_argstool.so -%{tde_tdelibdir}/kbabel_contexttool.la -%{tde_tdelibdir}/kbabel_contexttool.so -%{tde_tdelibdir}/kbabel_equationstool.la -%{tde_tdelibdir}/kbabel_equationstool.so -%{tde_tdelibdir}/kbabel_gettextexport.la -%{tde_tdelibdir}/kbabel_gettextexport.so -%{tde_tdelibdir}/kbabel_gettextimport.la -%{tde_tdelibdir}/kbabel_gettextimport.so -%{tde_tdelibdir}/kbabel_lengthtool.la -%{tde_tdelibdir}/kbabel_lengthtool.so -%{tde_tdelibdir}/kbabel_linguistexport.la -%{tde_tdelibdir}/kbabel_linguistexport.so -%{tde_tdelibdir}/kbabel_linguistimport.la -%{tde_tdelibdir}/kbabel_linguistimport.so -%{tde_tdelibdir}/kbabel_nottranslatedtool.la -%{tde_tdelibdir}/kbabel_nottranslatedtool.so -%{tde_tdelibdir}/kbabel_pluraltool.la -%{tde_tdelibdir}/kbabel_pluraltool.so -%{tde_tdelibdir}/kbabel_punctuationtool.la -%{tde_tdelibdir}/kbabel_punctuationtool.so -%{tde_tdelibdir}/kbabel_regexptool.la -%{tde_tdelibdir}/kbabel_regexptool.so -%{tde_tdelibdir}/kbabel_setfuzzytool.la -%{tde_tdelibdir}/kbabel_setfuzzytool.so -%{tde_tdelibdir}/kbabel_whitespacetool.la -%{tde_tdelibdir}/kbabel_whitespacetool.so -%{tde_tdelibdir}/kbabel_xliffexport.la -%{tde_tdelibdir}/kbabel_xliffexport.so -%{tde_tdelibdir}/kbabel_xliffimport.la -%{tde_tdelibdir}/kbabel_xliffimport.so -%{tde_tdelibdir}/kbabel_xmltool.la -%{tde_tdelibdir}/kbabel_xmltool.so -%{tde_tdelibdir}/kbabeldict_dbsearchengine.la -%{tde_tdelibdir}/kbabeldict_dbsearchengine.so -%{tde_tdelibdir}/kbabeldict_poauxiliary.la -%{tde_tdelibdir}/kbabeldict_poauxiliary.so -%{tde_tdelibdir}/kbabeldict_pocompendium.la -%{tde_tdelibdir}/kbabeldict_pocompendium.so -%{tde_tdelibdir}/kbabeldict_tmxcompendium.la -%{tde_tdelibdir}/kbabeldict_tmxcompendium.so -%{tde_tdeappdir}/catalogmanager.desktop -%{tde_tdeappdir}/kbabel.desktop -%{tde_tdeappdir}/kbabeldict.desktop -%{tde_datadir}/apps/catalogmanager/ -%{tde_datadir}/apps/kbabel/ -%{tde_datadir}/apps/tdeconf_update/kbabel-difftoproject.upd -%{tde_datadir}/apps/tdeconf_update/kbabel-project.upd -%{tde_datadir}/apps/tdeconf_update/kbabel-projectrename.upd -%{tde_datadir}/config.kcfg/kbabel.kcfg -%{tde_datadir}/config.kcfg/kbprojectsettings.kcfg -%{tde_tdedocdir}/HTML/en/kbabel/ -%{tde_datadir}/icons/hicolor/*/apps/catalogmanager.png -%{tde_datadir}/icons/hicolor/*/apps/kbabel.png -%{tde_datadir}/icons/hicolor/*/apps/kbabeldict.png -%{tde_datadir}/icons/locolor/*/apps/catalogmanager.png -%{tde_datadir}/icons/locolor/*/apps/kbabel.png -%{tde_datadir}/icons/locolor/*/apps/kbabeldict.png -%{tde_datadir}/services/dbsearchengine.desktop -%{tde_datadir}/services/tdefile_po.desktop -%{tde_datadir}/services/pothumbnail.desktop -%{tde_datadir}/services/kbabel_accelstool.desktop -%{tde_datadir}/services/kbabel_argstool.desktop -%{tde_datadir}/services/kbabel_contexttool.desktop -%{tde_datadir}/services/kbabel_equationstool.desktop -%{tde_datadir}/services/kbabel_gettext_export.desktop -%{tde_datadir}/services/kbabel_gettext_import.desktop -%{tde_datadir}/services/kbabel_lengthtool.desktop -%{tde_datadir}/services/kbabel_linguist_export.desktop -%{tde_datadir}/services/kbabel_linguist_import.desktop -%{tde_datadir}/services/kbabel_nottranslatedtool.desktop -%{tde_datadir}/services/kbabel_pluralformstool.desktop -%{tde_datadir}/services/kbabel_punctuationtool.desktop -%{tde_datadir}/services/kbabel_regexptool.desktop -%{tde_datadir}/services/kbabel_setfuzzytool.desktop -%{tde_datadir}/services/kbabel_whitespacetool.desktop -%{tde_datadir}/services/kbabel_xliff_export.desktop -%{tde_datadir}/services/kbabel_xliff_import.desktop -%{tde_datadir}/services/kbabel_xmltool.desktop -%{tde_datadir}/services/pocompendium.desktop -%{tde_datadir}/services/poauxiliary.desktop -%{tde_datadir}/services/tmxcompendium.desktop -%{tde_datadir}/servicetypes/kbabel_tool.desktop -%{tde_datadir}/servicetypes/kbabel_validator.desktop -%{tde_datadir}/servicetypes/kbabeldict_module.desktop -%{tde_datadir}/servicetypes/kbabelfilter.desktop - -########## - -%package -n trinity-kbabel-devel -Summary: PO-file editing suite for Trinity (development files) -Group: Development/Libraries/Other -Requires: trinity-kbabel = %{version}-%{release} - -%description -n trinity-kbabel-devel -This is a suite of programs for editing gettext message files (PO-files). -It is designed to help you translate fast and consistently. - -This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an -advanced and easy to use PO-file editor with full navigational and editing -capabilities, syntax checking and statistics. CatalogManager is a multi -functional catalog manager which allows you to keep track of many -PO-files at once. KBabelDict is a dictionary to assist with searching -for common translations. - -This package contains the KBabel development files. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kbabel-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kbabel/ -%{tde_libdir}/libkbabelcommon.la -%{tde_libdir}/libkbabelcommon.so -%{tde_libdir}/libkbabeldictplugin.la -%{tde_libdir}/libkbabeldictplugin.so - -########## - -%package -n trinity-kbugbuster -Summary: A front end for the Trinity bug tracking system -Group: Development/Languages/Other -Requires: trinity-libkcal >= %{tde_version} - -%description -n trinity-kbugbuster -KBugBuster is a GUI front end for the TDE bug tracking system. -It allows the user to view and manipulate bug reports and provides a -variety of options for searching through reports. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kbugbuster -%defattr(-,root,root,-) -%{tde_bindir}/kbugbuster -%{tde_tdelibdir}/kcal_bugzilla.la -%{tde_tdelibdir}/kcal_bugzilla.so -%{tde_tdeappdir}/kbugbuster.desktop -%{tde_datadir}/apps/kbugbuster/ -%{tde_datadir}/icons/hicolor/*/apps/kbugbuster.png -%{tde_datadir}/icons/locolor/*/apps/kbugbuster.png -%{tde_datadir}/services/tderesources/kcal/bugzilla.desktop -%{tde_tdedocdir}/HTML/en/kbugbuster/ - -########## - -%package -n trinity-tdecachegrind -Summary: Visualisation tool for valgrind profiling output -Group: Development/Languages/Other - -%description -n trinity-tdecachegrind -tdecachegrind is a visualisation tool for the profiling data generated -by calltree, a profiling skin for valgrind. Applications can be -profiled using calltree without being recompiled, and shared libraries -and plugin architectures are supported. - -For visualising the output from other profiling tools, several converters -can be found in the tdecachegrind-converters package. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-tdecachegrind -%defattr(-,root,root,-) -%{tde_bindir}/tdecachegrind -%{tde_tdeappdir}/tdecachegrind.desktop -%{tde_datadir}/apps/tdecachegrind/ -%{tde_datadir}/icons/locolor/*/apps/tdecachegrind.png -%{tde_datadir}/icons/hicolor/*/apps/tdecachegrind.png -%{tde_datadir}/mimelnk/application/x-tdecachegrind.desktop -%{tde_tdedocdir}/HTML/en/tdecachegrind/ - -########## - -%package -n trinity-tdecachegrind-converters -Summary: Format converters for tdecachegrind profiling visualisation tool -Group: Development/Languages/Other -Requires: python -%if 0%{?suse_version} || 0%{?rhel} == 4 -Requires: php -%else -Requires: php-cli -%endif - -%description -n trinity-tdecachegrind-converters -This is a collection of scripts for converting the output from -different profiling tools into a format that tdecachegrind can use. - -tdecachegrind is a visualisation tool for the profiling data generated -by calltree, a profiling skin for valgrind. Applications can be -profiled using calltree without being recompiled, and shared libraries -and plugin architectures are supported. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-tdecachegrind-converters -%defattr(-,root,root,-) -%{tde_bindir}/dprof2calltree -%{tde_bindir}/hotshot2calltree -%{tde_bindir}/memprof2calltree -%{tde_bindir}/op2calltree -%{tde_bindir}/pprof2calltree - -########## - -%package kfile-plugins -Summary: Trinity file dialog plugins for software development files -Group: Development/Languages/Other - -%description kfile-plugins -This is a collection of plugins for the TDE file dialog. These plugins -extend the file dialog to offer advanced meta-information for source files, -patch files and Qt Linguist data. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdefile_cpp.so -%{tde_tdelibdir}/tdefile_cpp.la -%{tde_tdelibdir}/tdefile_diff.so -%{tde_tdelibdir}/tdefile_diff.la -%{tde_tdelibdir}/tdefile_ts.so -%{tde_tdelibdir}/tdefile_ts.la -%{tde_datadir}/services/tdefile_cpp.desktop -%{tde_datadir}/services/tdefile_diff.desktop -%{tde_datadir}/services/tdefile_h.desktop -%{tde_datadir}/services/tdefile_ts.desktop - -########## - -%package misc -Summary: Various goodies from the Trinity Software Development Kit -Group: Development/Languages/Other - -%description misc -This package contains miscellaneous goodies provided with the official -TDE release to assist with TDE software development. - -Included are: -- headers to assist with profiling TDE code; -- a widget style for checking conformity with the TDE/Qt style guide; -- palettes that match the KDE standard colour palette; -- a TDE address book plugin that reads the list of TDE CVS accounts. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files misc -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdeabcformat_kdeaccounts.la -%{tde_tdelibdir}/tdeabcformat_kdeaccounts.so -%{tde_tdelibdir}/plugins/styles/scheck.so -%{tde_tdelibdir}/plugins/styles/scheck.la -%{tde_datadir}/apps/tdeabc/formats/kdeaccountsplugin.desktop -%{tde_datadir}/apps/tdestyle/themes/scheck.themerc -%{tde_datadir}/kdepalettes/ - -%{tde_libdir}/libkstartperf.so.* -%{tde_libdir}/libkstartperf.la -%{tde_bindir}/kstartperf - -########## - -%package scripts -Summary: a set of useful development scripts for Trinity -Group: Development/Languages/Other -Requires: python - -%description scripts -This package contains a number of scripts which can be used to help in -developing TDE-based applications. Many of these scripts however are -not specific to TDE, and in particular there are several general-use -scripts to help users in working with SVN and CVS repositories. - -In addition to these scripts, this package provides: -- gdb macros for Qt/TDE programming; -- vim and emacs helper files for Qt/TDE programming; -- bash and zsh completion controls for TDE apps; -- valgrind error suppressions for TDE apps. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files scripts -%defattr(-,root,root,-) -%{tde_bindir}/adddebug -%{tde_bindir}/build-progress.sh -%{tde_bindir}/cheatmake -%{tde_bindir}/create_cvsignore -%{tde_bindir}/create_makefile -%{tde_bindir}/create_makefiles -%{tde_bindir}/cvs-clean -%{tde_bindir}/cvs2dist -%{tde_bindir}/cvsbackport -%{tde_bindir}/cvsblame -%{tde_bindir}/cvscheck -%{tde_bindir}/cvsforwardport -%{tde_bindir}/cvslastchange -%{tde_bindir}/cvslastlog -%{tde_bindir}/cvsrevertlast -%{tde_bindir}/cvsversion -%{tde_bindir}/cxxmetric -%{tde_bindir}/extend_dmalloc -%{tde_bindir}/extractattr -%{tde_bindir}/extractrc -%{tde_bindir}/findmissingcrystal -%{tde_bindir}/fixkdeincludes -%{tde_bindir}/fixuifiles -%{tde_bindir}/includemocs -%{tde_bindir}/kde-build -%{tde_bindir}/kdedoc -%{tde_bindir}/tdekillall -%{tde_bindir}/kdelnk2desktop.py* -%{tde_bindir}/kdemangen.pl -%{tde_bindir}/makeobj -%{tde_bindir}/noncvslist -%{tde_bindir}/package_crystalsvg -%{tde_bindir}/png2mng.pl -%{tde_bindir}/pruneemptydirs -%{tde_bindir}/qtdoc -%{tde_bindir}/zonetab2pot.py* -%{tde_bindir}/svn2dist -%{tde_bindir}/svnrevertlast -%{tde_bindir}/svnforwardport -%{tde_bindir}/nonsvnlist -%{tde_bindir}/tdesvn-build -%{tde_bindir}/svnlastlog -%{tde_bindir}/svnversions -%{tde_bindir}/create_svnignore -%{tde_bindir}/svnlastchange -%{tde_bindir}/colorsvn -%{tde_bindir}/svnaddcurrentdir -%{tde_bindir}/svnbackport -%{tde_bindir}/svngettags -%{tde_bindir}/svnchangesince -%{tde_bindir}/svn-clean -%{tde_datadir}/apps/katepart/syntax/tdesvn-buildrc.xml -%{tde_mandir}/man1/cvsblame.1 -%{tde_mandir}/man1/cvscheck.1 -%{tde_mandir}/man1/cvsversion.1 -%{tde_mandir}/man1/kde-build.1 -%{tde_mandir}/man1/includemocs.1 -%{tde_mandir}/man1/noncvslist.1 -%{tde_mandir}/man1/tdesvn-build.1 -%{tde_tdedocdir}/HTML/en/tdesvn-build/ -#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts -#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts -#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts -#scripts/kde.supp /opt/trinity/lib/valgrind -#scripts/completions /opt/trinity/share/tdesdk-scripts - -#debian/desktop-i18n/createdesktop.pl /opt/trinity/lib/kubuntu-desktop-i18n/ -#debian/desktop-i18n/findfiles /opt/trinity/lib/kubuntu-desktop-i18n/ -#debian/desktop-i18n/msgsplit /opt/trinity/lib/kubuntu-desktop-i18n/ - -%if "%{?tde_prefix}" != "/usr" -%{tde_bindir}/licensecheck -%else -%exclude %{tde_bindir}/licensecheck -%endif - -########## - -%package -n trinity-kmtrace -Summary: A Trinity memory leak tracer -Group: Development/Languages/Other -Requires: less - -%description -n trinity-kmtrace -KMtrace is a TDE tool to assist with malloc debugging using glibc's -"mtrace" functionality. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kmtrace -%defattr(-,root,root,-) -%{tde_bindir}/demangle -%{tde_bindir}/kminspector -%{tde_bindir}/kmmatch -%{tde_bindir}/kmtrace -%dir %{tde_libdir}/kmtrace -%{tde_libdir}/kmtrace/libktrace.la -%{tde_libdir}/kmtrace/libktrace.so -%{tde_datadir}/apps/kmtrace/ - -########## - -%package -n trinity-kompare -Summary: A Trinity GUI for viewing differences between files -Group: Development/Languages/Other - -%description -n trinity-kompare -Kompare is a graphical user interface for viewing the differences between -files. It can compare two documents, create a diff file, display a diff -file and/or blend a diff file back into the original documents. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kompare -%defattr(-,root,root,-) -%{tde_bindir}/kompare -%{tde_libdir}/libkompareinterface.la -%{tde_libdir}/libkompareinterface.so.* -%{tde_tdelibdir}/libkomparenavtreepart.la -%{tde_tdelibdir}/libkomparenavtreepart.so -%{tde_tdelibdir}/libkomparepart.la -%{tde_tdelibdir}/libkomparepart.so -%{tde_tdeappdir}/kompare.desktop -%{tde_datadir}/apps/kompare/ -%{tde_datadir}/services/komparenavtreepart.desktop -%{tde_datadir}/services/komparepart.desktop -%{tde_datadir}/servicetypes/komparenavigationpart.desktop -%{tde_datadir}/servicetypes/kompareviewpart.desktop -%{tde_datadir}/icons/hicolor/*/apps/kompare.png -%{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz -%{tde_tdedocdir}/HTML/en/kompare/ - -########## - -%package -n trinity-kspy -Summary: Examines the internal state of a Qt/TDE app -Group: Development/Languages/Other -Requires: trinity-tdelibs-devel - -%description -n trinity-kspy -KSpy is a tiny library which can be used to graphically display -the QObjects in use by a Qt/TDE app. In addition to the object tree, -you can also view the properties, signals and slots of any QObject. - -Basically it provides much the same info as QObject::dumpObjectTree() and -QObject::dumpObjectInfo(), but in a much more convenient form. KSpy has -minimal overhead for the application, because the kspy library is -loaded dynamically using KLibLoader. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kspy -%defattr(-,root,root,-) -%{tde_libdir}/libkspy.la -%{tde_libdir}/libkspy.so.* - -########## - -%package -n trinity-kuiviewer -Summary: Viewer for Qt Designer user interface files -Group: Development/Languages/Other - -%description -n trinity-kuiviewer -KUIViewer is a utility to display and test the user interface (.ui) files -generated by Qt Designer. The interfaces can be displayed in a variety of -different widget styles. - -The Qt Designer itself is in the package qt3-designer. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kuiviewer -%defattr(-,root,root,-) -%{tde_bindir}/kuiviewer -%{tde_tdelibdir}/libkuiviewerpart.so -%{tde_tdelibdir}/libkuiviewerpart.la -%{tde_tdelibdir}/quithumbnail.so -%{tde_tdelibdir}/quithumbnail.la -%{tde_tdeappdir}/kuiviewer.desktop -%{tde_datadir}/apps/kuiviewer/ -%{tde_datadir}/apps/kuiviewerpart/ -%{tde_datadir}/icons/hicolor/*/apps/kuiviewer.png -%{tde_datadir}/icons/locolor/*/apps/kuiviewer.png -%{tde_datadir}/services/designerthumbnail.desktop -%{tde_datadir}/services/kuiviewer_part.desktop -%{tde_tdedocdir}/HTML/en/kuiviewer/ - -########## - -%package -n trinity-libcvsservice0 -Summary: DCOP service for accessing CVS repositories -Group: Development/Languages/Other -Requires: cvs - -%description -n trinity-libcvsservice0 -This library provides a DCOP service for accessing and working with -remote CVS repositories. Applications may link with this library to -access the DCOP service directly from C++. Alternatively, scripts may -access the service using the standard "dcop" command-line tool. - -DCOP is the Desktop Communication Protocol used throughout TDE. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-libcvsservice0 -%defattr(-,root,root,-) -%{tde_bindir}/cvsaskpass -%{tde_bindir}/cvsservice -%{tde_libdir}/libcvsservice.so.* -%{tde_libdir}/libtdeinit_cvsaskpass.so -%{tde_libdir}/libtdeinit_cvsservice.so -%{tde_tdelibdir}/cvsaskpass.la -%{tde_tdelibdir}/cvsaskpass.so -%{tde_tdelibdir}/cvsservice.la -%{tde_tdelibdir}/cvsservice.so -%{tde_datadir}/services/cvsservice.desktop - -########## - -%package -n trinity-libcvsservice-devel -Summary: Development files for CVS DCOP service -Group: Development/Libraries/Other -Requires: trinity-libcvsservice0 = %{version}-%{release} - -%description -n trinity-libcvsservice-devel -The library libcvsservice provides a DCOP service for accessing and -working with remote CVS repositories. Applications may link with this -library to access the DCOP service directly from C++. Alternatively, -scripts may access the service using the standard "dcop" command-line -tool. - -Development files for libcvsservice are included in this package. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-libcvsservice-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/cvsjob_stub.h -%{tde_tdeincludedir}/cvsservice_stub.h -%{tde_tdeincludedir}/repository_stub.h -%{tde_libdir}/libcvsservice.la -%{tde_libdir}/libcvsservice.so -%{tde_libdir}/libtdeinit_cvsaskpass.la -%{tde_libdir}/libtdeinit_cvsservice.la -%{tde_datadir}/cmake/cervisia.cmake - -########## - -%package -n trinity-poxml -Summary: Tools for using PO-files to translate DocBook XML files -Group: Development/Languages/Other - -%description -n trinity-poxml -This is a collection of tools that facilitate translating DocBook XML -files using gettext message files (PO-files). - -Also included are some miscellaneous command-line utilities for -manipulating DocBook XML files, PO-files and PO-template files. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-poxml -%defattr(-,root,root,-) -%{tde_bindir}/po2xml -%{tde_bindir}/split2po -%{tde_bindir}/swappo -%{tde_bindir}/transxx -%{tde_bindir}/xml2pot - -########## - -%package -n trinity-umbrello -Summary: UML modelling tool and code generator -Group: Development/Languages/Other - -%description -n trinity-umbrello -Umbrello UML Modeller is a Unified Modelling Language editor for TDE. -With UML you can create diagrams of software and other systems in an -industry standard format. Umbrello can also generate code from your -UML diagrams in a number of programming languages. - -The program supports class diagrams, sequence diagrams, collaboration -diagrams, use case diagrams, state diagrams, activity diagrams, component -diagrams and deployment diagrams. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-umbrello -%defattr(-,root,root,-) -%{tde_bindir}/umbodoc -%{tde_bindir}/umbrello -%{tde_tdeappdir}/umbrello.desktop -%{tde_datadir}/apps/umbrello/ -%{tde_datadir}/icons/crystalsvg/*/actions/umbrello_*.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/umbrellofile.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz -%{tde_datadir}/icons/hicolor/*/apps/umbrello.png -%{tde_datadir}/icons/hicolor/scalable/apps/umbrello.svgz -%{tde_datadir}/icons/hicolor/*/mimetypes/umbrellofile.png -%{tde_datadir}/mimelnk/application/x-umbrello.desktop -%{tde_tdedocdir}/HTML/en/umbrello/ - -########## - -%if 0%{?build_kioslave} - -%package tdeio-plugins -Summary: Subversion ioslave for Trinity -Group: Development/Languages/Other -Requires: subversion - -Obsoletes: trinity-tdesdk-kio-plugins < %{version}-%{release} -Provides: trinity-tdesdk-kio-plugins = %{version}-%{release} - -%description tdeio-plugins -This package provides easy access to remote SVN repositories from within -Konqueror, and TDE generally, by browsing them as if they were a -filesystem, using URLs like svn://hostname/path, or svn+ssh://, etc. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files tdeio-plugins -%defattr(-,root,root,-) -%{tde_bindir}/tdeio_svn_helper -%{tde_tdelibdir}/kded_ksvnd.la -%{tde_tdelibdir}/kded_ksvnd.so -%{tde_tdelibdir}/tdeio_svn.la -%{tde_tdelibdir}/tdeio_svn.so -%{tde_datadir}/apps/konqueror/servicemenus/subversion_toplevel.desktop -%{tde_datadir}/apps/konqueror/servicemenus/subversion.desktop -%{tde_datadir}/services/kded/ksvnd.desktop -%{tde_datadir}/services/svn+file.protocol_tdesdk -%{tde_datadir}/services/svn+http.protocol_tdesdk -%{tde_datadir}/services/svn+https.protocol_tdesdk -%{tde_datadir}/services/svn+ssh.protocol_tdesdk -%{tde_datadir}/services/svn.protocol_tdesdk -%{tde_datadir}/icons/crystalsvg/*/actions/svn_switch.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_merge.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_branch.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_remove.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_add.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_status.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_add.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_status.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_remove.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_switch.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_branch.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz - -%post tdeio-plugins -for proto in svn+file svn+http svn+https svn+ssh svn; do - update-alternatives --install \ - %{tde_datadir}/services/${proto}.protocol \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesdk \ - 10 -done - -%preun tdeio-plugins -if [ $1 -eq 0 ]; then - for proto in svn+file svn+http svn+https svn+ssh svn; do - update-alternatives --remove \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesdk || : - done -fi - -%endif - -########## - -%package -n trinity-tdeunittest -Summary: Unit testing library for Trinity -Group: Development/Languages/Other - -Obsoletes: trinity-kunittest < %{version}-%{release} -Provides: trinity-kunittest = %{version}-%{release} - -%description -n trinity-tdeunittest -tdeunittest is a small library that facilitates the writing of tests for -TDE developers. There are two ways to use the tdeunittest library. One is -to create dynamically loadable modules and use the tdeunittestmodrunner or -tdeunittestguimodrunner programs to run the tests. The other is to use the -libraries to create your own testing application. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-tdeunittest -%defattr(-,root,root,-) -%{tde_bindir}/tdeunittest -%{tde_bindir}/tdeunittest_debughelper -%{tde_bindir}/tdeunittestmod -%{tde_bindir}/tdeunittestguimodrunner -%{tde_libdir}/libtdeunittestgui.la -%{tde_libdir}/libtdeunittestgui.so.* - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries/Other - -Requires: %{name} = %{version}-%{release} -Requires: trinity-kbabel-devel = %{version}-%{release} -Requires: %{name}-misc = %{version}-%{release} -Requires: trinity-kspy = %{version}-%{release} -Requires: trinity-kmtrace = %{version}-%{release} -Requires: trinity-tdeunittest = %{version}-%{release} -Requires: trinity-libcvsservice-devel = %{version}-%{release} -Requires: trinity-kompare = %{version}-%{release} - -Obsoletes: trinity-kdesdk-devel < %{version}-%{release} -Provides: trinity-kdesdk-devel = %{version}-%{release} - -%description devel -This package contains the development files for tdesdk. - -%files devel -%defattr(-,root,root,-) -# misc -%{tde_tdeincludedir}/kprofilemethod.h -%{tde_libdir}/libkstartperf.so -# kspy -%{tde_tdeincludedir}/kspy.h -%{tde_libdir}/libkspy.so -# kmtrace -%{tde_libdir}/kmtrace/libktrace_s.a -%{tde_tdeincludedir}/ktrace.h -# tdeunittest -%{tde_libdir}/libtdeunittestgui.so -%{tde_tdeincludedir}/tdeunittest/runnergui.h -# kompare -%{tde_libdir}/libkompareinterface.so - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%if 0%{?fedora} >= 30 -# Fix shebangs -sed -i "scripts/kdelnk2desktop.py" \ - "scripts/zonetab2pot.py" \ - "tdecachegrind/converters/hotshot2calltree" \ - "umbrello/umbrello/headings/heading.py" \ - -e "s|env python|env python3|" -%endif - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -# FIXME PCLinuxOS: '/usr/bin/ld: cannot find -ltdeabc' -%if 0%{?pclinuxos} -export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -L%{tde_libdir}" -%endif - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -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} \ - -DMAN_INSTALL_DIR=%{tde_mandir} \ - -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DWITH_DBSEARCHENGINE=ON \ - -DWITH_KCAL=ON \ - -DBUILD_ALL=ON \ - %{!?build_kioslave:-DBUILD_KIOSLAVE=OFF} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -%__make install DESTDIR=%{?buildroot} -C build - - -# Installs kdepalettes -%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes/kde_xpaintrc -%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes/KDE_Gimp -%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes/README - -# Installs SVN protocols as alternatives -%if 0%{?build_kioslave} -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesdk -%endif - -# Removes useless stuff -%__rm -f %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/debianrules - -# Fix permissions -chmod 644 %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/Doxyfile.global - -# Make kapptemplate archive -pushd %{?buildroot}%{tde_datadir}/apps/kapptemplate -mkdir kapptemplate -mv admin appframework bin existing include kapp kpartapp kpartplugin kapptemplate/ -tar cfz kapptemplate.tar.gz kapptemplate -rm -rf kapptemplate -popd - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file kuiviewer Development GUIDesigner -%suse_update_desktop_file umbrello Development Design -%suse_update_desktop_file kbugbuster Development Debugger -%suse_update_desktop_file -u catalogmanager Development Translation -%suse_update_desktop_file kbabel Development Translation -%suse_update_desktop_file -u kbabeldict Development Translation -%suse_update_desktop_file cervisia Development RevisionControl -%suse_update_desktop_file kompare Development RevisionControl -%suse_update_desktop_file tdecachegrind Development Profiling -%endif - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdesdk/tdesdk.spec b/redhat/main/tdesdk/tdesdk.spec new file mode 100644 index 000000000..91ba8f601 --- /dev/null +++ b/redhat/main/tdesdk/tdesdk.spec @@ -0,0 +1,1130 @@ +# +# spec file for package tdesdk (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.7 +%endif +%define tde_pkg tdesdk +%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} +Summary: The Trinity Software Development Kit (SDK) +Group: Development/Tools/Other +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-perl-dcop >= %{tde_version} +BuildRequires: trinity-tdepim-devel >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: libtool +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 + +# ACL support +BuildRequires: libacl-devel + +# 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 + +# PCRE support +BuildRequires: pcre-devel + +# for kbugbuster/libkcal +BuildRequires: desktop-file-utils + +# DB5 support +%if 0%{?rhel} >= 8 +BuildRequires: libdb-devel + +# DB4 support +%else +%if 0%{?mgaversion} || 0%{?mdkversion} +#BuildRequires: %{_lib}db4.8-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: db4-devel +%endif +%if 0%{?suse_version} +BuildRequires: libdb-4_8-devel +%endif +%endif + +# kbabel, F-7+: flex >= 2.5.33-9 +BuildRequires: flex +# umbrello +BuildRequires: libxslt-devel +BuildRequires: libxml2-devel +BuildRequires: subversion-devel +BuildRequires: neon-devel + +# PERL support +BuildRequires: perl +%if 0%{?fedora} >= 19 +BuildRequires: perl-podlators +%endif + +# OPENSSL support +BuildRequires: openssl-devel + +# PYTHON support +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 +%define python python3 +%else +%define python python +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +BuildRequires: %{_lib}binutils-devel +%endif +%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} +BuildRequires: binutils-devel +%endif +%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +# KIOSLAVE +# Does not build on RHEL4 +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define build_kioslave 1 +%endif + +Obsoletes: trinity-kdesdk < %{version}-%{release} +Provides: trinity-kdesdk = %{version}-%{release} +Obsoletes: trinity-kdesdk-libs < %{version}-%{release} +Provides: trinity-kdesdk-libs = %{version}-%{release} + +Requires: trinity-cervisia = %{version}-%{release} +Requires: trinity-kapptemplate = %{version}-%{release} +Requires: trinity-kbabel = %{version}-%{release} +Requires: trinity-kbugbuster = %{version}-%{release} +Requires: trinity-tdecachegrind = %{version}-%{release} +Requires: trinity-tdecachegrind-converters = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-misc = %{version}-%{release} +Requires: %{name}-scripts = %{version}-%{release} +Requires: trinity-kmtrace = %{version}-%{release} +Requires: trinity-kompare = %{version}-%{release} +Requires: trinity-kspy = %{version}-%{release} +Requires: trinity-kuiviewer = %{version}-%{release} +Requires: trinity-libcvsservice0 = %{version}-%{release} +Requires: trinity-poxml = %{version}-%{release} +Requires: trinity-umbrello = %{version}-%{release} +%{?build_kioslave:Requires: %{name}-tdeio-plugins = %{version}-%{release}} +Requires: trinity-tdeunittest = %{version}-%{release} + + +%description +A collection of applications and tools used by developers, including: +* cervisia: a CVS frontend +* kbabel: PO file management +* kbugbuster: a tool to manage the TDE bug report system +* tdecachegrind: a browser for data produced by profiling tools (e.g. cachegrind) +* kompare: diff tool +* kuiviewer: displays designer's UI files +* umbrello: UML modeller and UML diagram tool + +%files +%defattr(-,root,root,-) + +########## + +%package -n trinity-cervisia +Summary: A graphical CVS front end for Trinity +Group: Development/Tools/Version Control + +%description -n trinity-cervisia +Cervisia is a TDE-based graphical front end for the CVS client. + +As well as providing both common and advanced CVS operations, it offers +a variety of methods for graphically viewing information about the CVS +repository, your own sandbox and the relationships between different +versions of files. A Changelog editor is also included and is coupled +with the commit dialog. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-cervisia +%defattr(-,root,root,-) +%{tde_bindir}/cervisia +%{tde_libdir}/libtdeinit_cervisia.la +%{tde_libdir}/libtdeinit_cervisia.so +%{tde_tdelibdir}/cervisia.la +%{tde_tdelibdir}/cervisia.so +%{tde_tdelibdir}/libcervisiapart.la +%{tde_tdelibdir}/libcervisiapart.so +%{tde_tdeappdir}/cervisia.desktop +%{tde_datadir}/apps/cervisia/ +%{tde_datadir}/apps/cervisiapart/ +%{tde_datadir}/apps/tdeconf_update/cervisia.upd +%{tde_datadir}/apps/tdeconf_update/cervisia-change_repos_list.pl +%{tde_datadir}/apps/tdeconf_update/cervisia-normalize_cvsroot.pl +%{tde_datadir}/apps/tdeconf_update/move_repositories.pl +%{tde_datadir}/apps/tdeconf_update/change_colors.pl +%{tde_datadir}/config.kcfg/cervisiapart.kcfg +%{tde_datadir}/icons/hicolor/*/apps/cervisia.png +%{tde_datadir}/icons/crystalsvg/*/actions/vcs_*.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/vcs_*.svgz +%{tde_mandir}/man1/cervisia.1* +%{tde_tdedocdir}/HTML/en/cervisia/ + +########## + +%package -n trinity-kapptemplate +Summary: Creates a framework to develop a Trinity application +Group: Development/Languages/Other + +%description -n trinity-kapptemplate +KAppTemplate is a shell script that will create the necessary +framework to develop various TDE applications. It takes care of the +autoconf/automake code as well as providing a skeleton and example of +what the code typically looks like. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kapptemplate +%defattr(-,root,root,-) +%{tde_bindir}/kapptemplate +%{tde_datadir}/apps/kapptemplate/ + +%pre -n trinity-kapptemplate +if [ -d "%{tde_bindir}/kapptemplate" ]; then + rm -rf "%{tde_bindir}/kapptemplate" +fi + +########## + +%package -n trinity-kbabel +Summary: PO-file editing suite for Trinity +Group: Development/Languages/Other + +%description -n trinity-kbabel +This is a suite of programs for editing gettext message files (PO-files). +It is designed to help you translate fast and consistently. + +This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an +advanced and easy to use PO-file editor with full navigational and editing +capabilities, syntax checking and statistics. CatalogManager is a multi +functional catalog manager which allows you to keep track of many +PO-files at once. KBabelDict is a dictionary to assist with searching +for common translations. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kbabel +%defattr(-,root,root,-) +%{tde_bindir}/catalogmanager +%{tde_bindir}/kbabel +%{tde_bindir}/kbabeldict +%{tde_libdir}/libkbabelcommon.so.* +%{tde_libdir}/libkbabeldictplugin.so.* +%{tde_tdelibdir}/tdefile_po.la +%{tde_tdelibdir}/tdefile_po.so +%{tde_tdelibdir}/pothumbnail.la +%{tde_tdelibdir}/pothumbnail.so +%{tde_tdelibdir}/kbabel_accelstool.la +%{tde_tdelibdir}/kbabel_accelstool.so +%{tde_tdelibdir}/kbabel_argstool.la +%{tde_tdelibdir}/kbabel_argstool.so +%{tde_tdelibdir}/kbabel_contexttool.la +%{tde_tdelibdir}/kbabel_contexttool.so +%{tde_tdelibdir}/kbabel_equationstool.la +%{tde_tdelibdir}/kbabel_equationstool.so +%{tde_tdelibdir}/kbabel_gettextexport.la +%{tde_tdelibdir}/kbabel_gettextexport.so +%{tde_tdelibdir}/kbabel_gettextimport.la +%{tde_tdelibdir}/kbabel_gettextimport.so +%{tde_tdelibdir}/kbabel_lengthtool.la +%{tde_tdelibdir}/kbabel_lengthtool.so +%{tde_tdelibdir}/kbabel_linguistexport.la +%{tde_tdelibdir}/kbabel_linguistexport.so +%{tde_tdelibdir}/kbabel_linguistimport.la +%{tde_tdelibdir}/kbabel_linguistimport.so +%{tde_tdelibdir}/kbabel_nottranslatedtool.la +%{tde_tdelibdir}/kbabel_nottranslatedtool.so +%{tde_tdelibdir}/kbabel_pluraltool.la +%{tde_tdelibdir}/kbabel_pluraltool.so +%{tde_tdelibdir}/kbabel_punctuationtool.la +%{tde_tdelibdir}/kbabel_punctuationtool.so +%{tde_tdelibdir}/kbabel_regexptool.la +%{tde_tdelibdir}/kbabel_regexptool.so +%{tde_tdelibdir}/kbabel_setfuzzytool.la +%{tde_tdelibdir}/kbabel_setfuzzytool.so +%{tde_tdelibdir}/kbabel_whitespacetool.la +%{tde_tdelibdir}/kbabel_whitespacetool.so +%{tde_tdelibdir}/kbabel_xliffexport.la +%{tde_tdelibdir}/kbabel_xliffexport.so +%{tde_tdelibdir}/kbabel_xliffimport.la +%{tde_tdelibdir}/kbabel_xliffimport.so +%{tde_tdelibdir}/kbabel_xmltool.la +%{tde_tdelibdir}/kbabel_xmltool.so +%{tde_tdelibdir}/kbabeldict_dbsearchengine.la +%{tde_tdelibdir}/kbabeldict_dbsearchengine.so +%{tde_tdelibdir}/kbabeldict_poauxiliary.la +%{tde_tdelibdir}/kbabeldict_poauxiliary.so +%{tde_tdelibdir}/kbabeldict_pocompendium.la +%{tde_tdelibdir}/kbabeldict_pocompendium.so +%{tde_tdelibdir}/kbabeldict_tmxcompendium.la +%{tde_tdelibdir}/kbabeldict_tmxcompendium.so +%{tde_tdeappdir}/catalogmanager.desktop +%{tde_tdeappdir}/kbabel.desktop +%{tde_tdeappdir}/kbabeldict.desktop +%{tde_datadir}/apps/catalogmanager/ +%{tde_datadir}/apps/kbabel/ +%{tde_datadir}/apps/tdeconf_update/kbabel-difftoproject.upd +%{tde_datadir}/apps/tdeconf_update/kbabel-project.upd +%{tde_datadir}/apps/tdeconf_update/kbabel-projectrename.upd +%{tde_datadir}/config.kcfg/kbabel.kcfg +%{tde_datadir}/config.kcfg/kbprojectsettings.kcfg +%{tde_tdedocdir}/HTML/en/kbabel/ +%{tde_datadir}/icons/hicolor/*/apps/catalogmanager.png +%{tde_datadir}/icons/hicolor/*/apps/kbabel.png +%{tde_datadir}/icons/hicolor/*/apps/kbabeldict.png +%{tde_datadir}/icons/locolor/*/apps/catalogmanager.png +%{tde_datadir}/icons/locolor/*/apps/kbabel.png +%{tde_datadir}/icons/locolor/*/apps/kbabeldict.png +%{tde_datadir}/services/dbsearchengine.desktop +%{tde_datadir}/services/tdefile_po.desktop +%{tde_datadir}/services/pothumbnail.desktop +%{tde_datadir}/services/kbabel_accelstool.desktop +%{tde_datadir}/services/kbabel_argstool.desktop +%{tde_datadir}/services/kbabel_contexttool.desktop +%{tde_datadir}/services/kbabel_equationstool.desktop +%{tde_datadir}/services/kbabel_gettext_export.desktop +%{tde_datadir}/services/kbabel_gettext_import.desktop +%{tde_datadir}/services/kbabel_lengthtool.desktop +%{tde_datadir}/services/kbabel_linguist_export.desktop +%{tde_datadir}/services/kbabel_linguist_import.desktop +%{tde_datadir}/services/kbabel_nottranslatedtool.desktop +%{tde_datadir}/services/kbabel_pluralformstool.desktop +%{tde_datadir}/services/kbabel_punctuationtool.desktop +%{tde_datadir}/services/kbabel_regexptool.desktop +%{tde_datadir}/services/kbabel_setfuzzytool.desktop +%{tde_datadir}/services/kbabel_whitespacetool.desktop +%{tde_datadir}/services/kbabel_xliff_export.desktop +%{tde_datadir}/services/kbabel_xliff_import.desktop +%{tde_datadir}/services/kbabel_xmltool.desktop +%{tde_datadir}/services/pocompendium.desktop +%{tde_datadir}/services/poauxiliary.desktop +%{tde_datadir}/services/tmxcompendium.desktop +%{tde_datadir}/servicetypes/kbabel_tool.desktop +%{tde_datadir}/servicetypes/kbabel_validator.desktop +%{tde_datadir}/servicetypes/kbabeldict_module.desktop +%{tde_datadir}/servicetypes/kbabelfilter.desktop + +########## + +%package -n trinity-kbabel-devel +Summary: PO-file editing suite for Trinity (development files) +Group: Development/Libraries/Other +Requires: trinity-kbabel = %{version}-%{release} + +%description -n trinity-kbabel-devel +This is a suite of programs for editing gettext message files (PO-files). +It is designed to help you translate fast and consistently. + +This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an +advanced and easy to use PO-file editor with full navigational and editing +capabilities, syntax checking and statistics. CatalogManager is a multi +functional catalog manager which allows you to keep track of many +PO-files at once. KBabelDict is a dictionary to assist with searching +for common translations. + +This package contains the KBabel development files. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kbabel-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kbabel/ +%{tde_libdir}/libkbabelcommon.la +%{tde_libdir}/libkbabelcommon.so +%{tde_libdir}/libkbabeldictplugin.la +%{tde_libdir}/libkbabeldictplugin.so + +########## + +%package -n trinity-kbugbuster +Summary: A front end for the Trinity bug tracking system +Group: Development/Languages/Other +Requires: trinity-libkcal >= %{tde_version} + +%description -n trinity-kbugbuster +KBugBuster is a GUI front end for the TDE bug tracking system. +It allows the user to view and manipulate bug reports and provides a +variety of options for searching through reports. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kbugbuster +%defattr(-,root,root,-) +%{tde_bindir}/kbugbuster +%{tde_tdelibdir}/kcal_bugzilla.la +%{tde_tdelibdir}/kcal_bugzilla.so +%{tde_tdeappdir}/kbugbuster.desktop +%{tde_datadir}/apps/kbugbuster/ +%{tde_datadir}/icons/hicolor/*/apps/kbugbuster.png +%{tde_datadir}/icons/locolor/*/apps/kbugbuster.png +%{tde_datadir}/services/tderesources/kcal/bugzilla.desktop +%{tde_tdedocdir}/HTML/en/kbugbuster/ + +########## + +%package -n trinity-tdecachegrind +Summary: Visualisation tool for valgrind profiling output +Group: Development/Languages/Other + +%description -n trinity-tdecachegrind +tdecachegrind is a visualisation tool for the profiling data generated +by calltree, a profiling skin for valgrind. Applications can be +profiled using calltree without being recompiled, and shared libraries +and plugin architectures are supported. + +For visualising the output from other profiling tools, several converters +can be found in the tdecachegrind-converters package. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-tdecachegrind +%defattr(-,root,root,-) +%{tde_bindir}/tdecachegrind +%{tde_tdeappdir}/tdecachegrind.desktop +%{tde_datadir}/apps/tdecachegrind/ +%{tde_datadir}/icons/locolor/*/apps/tdecachegrind.png +%{tde_datadir}/icons/hicolor/*/apps/tdecachegrind.png +%{tde_datadir}/mimelnk/application/x-tdecachegrind.desktop +%{tde_tdedocdir}/HTML/en/tdecachegrind/ + +########## + +%package -n trinity-tdecachegrind-converters +Summary: Format converters for tdecachegrind profiling visualisation tool +Group: Development/Languages/Other +Requires: %{python} +%if 0%{?suse_version} || 0%{?rhel} == 4 +Requires: php +%else +Requires: php-cli +%endif + +%description -n trinity-tdecachegrind-converters +This is a collection of scripts for converting the output from +different profiling tools into a format that tdecachegrind can use. + +tdecachegrind is a visualisation tool for the profiling data generated +by calltree, a profiling skin for valgrind. Applications can be +profiled using calltree without being recompiled, and shared libraries +and plugin architectures are supported. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-tdecachegrind-converters +%defattr(-,root,root,-) +%{tde_bindir}/dprof2calltree +%{tde_bindir}/hotshot2calltree +%{tde_bindir}/memprof2calltree +%{tde_bindir}/op2calltree +%{tde_bindir}/pprof2calltree + +########## + +%package kfile-plugins +Summary: Trinity file dialog plugins for software development files +Group: Development/Languages/Other + +%description kfile-plugins +This is a collection of plugins for the TDE file dialog. These plugins +extend the file dialog to offer advanced meta-information for source files, +patch files and Qt Linguist data. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdefile_cpp.so +%{tde_tdelibdir}/tdefile_cpp.la +%{tde_tdelibdir}/tdefile_diff.so +%{tde_tdelibdir}/tdefile_diff.la +%{tde_tdelibdir}/tdefile_ts.so +%{tde_tdelibdir}/tdefile_ts.la +%{tde_datadir}/services/tdefile_cpp.desktop +%{tde_datadir}/services/tdefile_diff.desktop +%{tde_datadir}/services/tdefile_h.desktop +%{tde_datadir}/services/tdefile_ts.desktop + +########## + +%package misc +Summary: Various goodies from the Trinity Software Development Kit +Group: Development/Languages/Other + +%description misc +This package contains miscellaneous goodies provided with the official +TDE release to assist with TDE software development. + +Included are: +- headers to assist with profiling TDE code; +- a widget style for checking conformity with the TDE/Qt style guide; +- palettes that match the KDE standard colour palette; +- a TDE address book plugin that reads the list of TDE CVS accounts. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files misc +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdeabcformat_kdeaccounts.la +%{tde_tdelibdir}/tdeabcformat_kdeaccounts.so +%{tde_tdelibdir}/plugins/styles/scheck.so +%{tde_tdelibdir}/plugins/styles/scheck.la +%{tde_datadir}/apps/tdeabc/formats/kdeaccountsplugin.desktop +%{tde_datadir}/apps/tdestyle/themes/scheck.themerc +%{tde_datadir}/kdepalettes/ + +%{tde_libdir}/libkstartperf.so.* +%{tde_libdir}/libkstartperf.la +%{tde_bindir}/kstartperf + +########## + +%package scripts +Summary: a set of useful development scripts for Trinity +Group: Development/Languages/Other +Requires: %{python} + +%description scripts +This package contains a number of scripts which can be used to help in +developing TDE-based applications. Many of these scripts however are +not specific to TDE, and in particular there are several general-use +scripts to help users in working with SVN and CVS repositories. + +In addition to these scripts, this package provides: +- gdb macros for Qt/TDE programming; +- vim and emacs helper files for Qt/TDE programming; +- bash and zsh completion controls for TDE apps; +- valgrind error suppressions for TDE apps. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files scripts +%defattr(-,root,root,-) +%{tde_bindir}/adddebug +%{tde_bindir}/build-progress.sh +%{tde_bindir}/cheatmake +%{tde_bindir}/create_cvsignore +%{tde_bindir}/create_makefile +%{tde_bindir}/create_makefiles +%{tde_bindir}/cvs-clean +%{tde_bindir}/cvs2dist +%{tde_bindir}/cvsbackport +%{tde_bindir}/cvsblame +%{tde_bindir}/cvscheck +%{tde_bindir}/cvsforwardport +%{tde_bindir}/cvslastchange +%{tde_bindir}/cvslastlog +%{tde_bindir}/cvsrevertlast +%{tde_bindir}/cvsversion +%{tde_bindir}/cxxmetric +%{tde_bindir}/extend_dmalloc +%{tde_bindir}/extractattr +%{tde_bindir}/extractrc +%{tde_bindir}/findmissingcrystal +%{tde_bindir}/fixkdeincludes +%{tde_bindir}/fixuifiles +%{tde_bindir}/includemocs +%{tde_bindir}/kde-build +%{tde_bindir}/kdedoc +%{tde_bindir}/tdekillall +%{tde_bindir}/kdelnk2desktop.py* +%{tde_bindir}/kdemangen.pl +%{tde_bindir}/makeobj +%{tde_bindir}/noncvslist +%{tde_bindir}/package_crystalsvg +%{tde_bindir}/png2mng.pl +%{tde_bindir}/pruneemptydirs +%{tde_bindir}/qtdoc +%{tde_bindir}/zonetab2pot.py* +%{tde_bindir}/svn2dist +%{tde_bindir}/svnrevertlast +%{tde_bindir}/svnforwardport +%{tde_bindir}/nonsvnlist +%{tde_bindir}/tdesvn-build +%{tde_bindir}/svnlastlog +%{tde_bindir}/svnversions +%{tde_bindir}/create_svnignore +%{tde_bindir}/svnlastchange +%{tde_bindir}/colorsvn +%{tde_bindir}/svnaddcurrentdir +%{tde_bindir}/svnbackport +%{tde_bindir}/svngettags +%{tde_bindir}/svnchangesince +%{tde_bindir}/svn-clean +%{tde_datadir}/apps/katepart/syntax/tdesvn-buildrc.xml +%{tde_mandir}/man1/cvsblame.1 +%{tde_mandir}/man1/cvscheck.1 +%{tde_mandir}/man1/cvsversion.1 +%{tde_mandir}/man1/kde-build.1 +%{tde_mandir}/man1/includemocs.1 +%{tde_mandir}/man1/noncvslist.1 +%{tde_mandir}/man1/tdesvn-build.1 +%{tde_tdedocdir}/HTML/en/tdesvn-build/ +#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts +#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts +#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts +#scripts/kde.supp /opt/trinity/lib/valgrind +#scripts/completions /opt/trinity/share/tdesdk-scripts + +#debian/desktop-i18n/createdesktop.pl /opt/trinity/lib/kubuntu-desktop-i18n/ +#debian/desktop-i18n/findfiles /opt/trinity/lib/kubuntu-desktop-i18n/ +#debian/desktop-i18n/msgsplit /opt/trinity/lib/kubuntu-desktop-i18n/ + +%if "%{?tde_prefix}" != "/usr" +%{tde_bindir}/licensecheck +%else +%exclude %{tde_bindir}/licensecheck +%endif + +########## + +%package -n trinity-kmtrace +Summary: A Trinity memory leak tracer +Group: Development/Languages/Other +Requires: less + +%description -n trinity-kmtrace +KMtrace is a TDE tool to assist with malloc debugging using glibc's +"mtrace" functionality. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kmtrace +%defattr(-,root,root,-) +%{tde_bindir}/demangle +%{tde_bindir}/kminspector +%{tde_bindir}/kmmatch +%{tde_bindir}/kmtrace +%dir %{tde_libdir}/kmtrace +%{tde_libdir}/kmtrace/libktrace.la +%{tde_libdir}/kmtrace/libktrace.so +%{tde_datadir}/apps/kmtrace/ + +########## + +%package -n trinity-kompare +Summary: A Trinity GUI for viewing differences between files +Group: Development/Languages/Other + +%description -n trinity-kompare +Kompare is a graphical user interface for viewing the differences between +files. It can compare two documents, create a diff file, display a diff +file and/or blend a diff file back into the original documents. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kompare +%defattr(-,root,root,-) +%{tde_bindir}/kompare +%{tde_libdir}/libkompareinterface.la +%{tde_libdir}/libkompareinterface.so.* +%{tde_tdelibdir}/libkomparenavtreepart.la +%{tde_tdelibdir}/libkomparenavtreepart.so +%{tde_tdelibdir}/libkomparepart.la +%{tde_tdelibdir}/libkomparepart.so +%{tde_tdeappdir}/kompare.desktop +%{tde_datadir}/apps/kompare/ +%{tde_datadir}/services/komparenavtreepart.desktop +%{tde_datadir}/services/komparepart.desktop +%{tde_datadir}/servicetypes/komparenavigationpart.desktop +%{tde_datadir}/servicetypes/kompareviewpart.desktop +%{tde_datadir}/icons/hicolor/*/apps/kompare.png +%{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz +%{tde_tdedocdir}/HTML/en/kompare/ + +########## + +%package -n trinity-kspy +Summary: Examines the internal state of a Qt/TDE app +Group: Development/Languages/Other +Requires: trinity-tdelibs-devel + +%description -n trinity-kspy +KSpy is a tiny library which can be used to graphically display +the QObjects in use by a Qt/TDE app. In addition to the object tree, +you can also view the properties, signals and slots of any QObject. + +Basically it provides much the same info as QObject::dumpObjectTree() and +QObject::dumpObjectInfo(), but in a much more convenient form. KSpy has +minimal overhead for the application, because the kspy library is +loaded dynamically using KLibLoader. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kspy +%defattr(-,root,root,-) +%{tde_libdir}/libkspy.la +%{tde_libdir}/libkspy.so.* + +########## + +%package -n trinity-kuiviewer +Summary: Viewer for Qt Designer user interface files +Group: Development/Languages/Other + +%description -n trinity-kuiviewer +KUIViewer is a utility to display and test the user interface (.ui) files +generated by Qt Designer. The interfaces can be displayed in a variety of +different widget styles. + +The Qt Designer itself is in the package qt3-designer. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kuiviewer +%defattr(-,root,root,-) +%{tde_bindir}/kuiviewer +%{tde_tdelibdir}/libkuiviewerpart.so +%{tde_tdelibdir}/libkuiviewerpart.la +%{tde_tdelibdir}/quithumbnail.so +%{tde_tdelibdir}/quithumbnail.la +%{tde_tdeappdir}/kuiviewer.desktop +%{tde_datadir}/apps/kuiviewer/ +%{tde_datadir}/apps/kuiviewerpart/ +%{tde_datadir}/icons/hicolor/*/apps/kuiviewer.png +%{tde_datadir}/icons/locolor/*/apps/kuiviewer.png +%{tde_datadir}/services/designerthumbnail.desktop +%{tde_datadir}/services/kuiviewer_part.desktop +%{tde_tdedocdir}/HTML/en/kuiviewer/ + +########## + +%package -n trinity-libcvsservice0 +Summary: DCOP service for accessing CVS repositories +Group: Development/Languages/Other +Requires: cvs + +%description -n trinity-libcvsservice0 +This library provides a DCOP service for accessing and working with +remote CVS repositories. Applications may link with this library to +access the DCOP service directly from C++. Alternatively, scripts may +access the service using the standard "dcop" command-line tool. + +DCOP is the Desktop Communication Protocol used throughout TDE. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-libcvsservice0 +%defattr(-,root,root,-) +%{tde_bindir}/cvsaskpass +%{tde_bindir}/cvsservice +%{tde_libdir}/libcvsservice.so.* +%{tde_libdir}/libtdeinit_cvsaskpass.so +%{tde_libdir}/libtdeinit_cvsservice.so +%{tde_tdelibdir}/cvsaskpass.la +%{tde_tdelibdir}/cvsaskpass.so +%{tde_tdelibdir}/cvsservice.la +%{tde_tdelibdir}/cvsservice.so +%{tde_datadir}/services/cvsservice.desktop + +########## + +%package -n trinity-libcvsservice-devel +Summary: Development files for CVS DCOP service +Group: Development/Libraries/Other +Requires: trinity-libcvsservice0 = %{version}-%{release} + +%description -n trinity-libcvsservice-devel +The library libcvsservice provides a DCOP service for accessing and +working with remote CVS repositories. Applications may link with this +library to access the DCOP service directly from C++. Alternatively, +scripts may access the service using the standard "dcop" command-line +tool. + +Development files for libcvsservice are included in this package. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-libcvsservice-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/cvsjob_stub.h +%{tde_tdeincludedir}/cvsservice_stub.h +%{tde_tdeincludedir}/repository_stub.h +%{tde_libdir}/libcvsservice.la +%{tde_libdir}/libcvsservice.so +%{tde_libdir}/libtdeinit_cvsaskpass.la +%{tde_libdir}/libtdeinit_cvsservice.la +%{tde_datadir}/cmake/cervisia.cmake + +########## + +%package -n trinity-poxml +Summary: Tools for using PO-files to translate DocBook XML files +Group: Development/Languages/Other + +%description -n trinity-poxml +This is a collection of tools that facilitate translating DocBook XML +files using gettext message files (PO-files). + +Also included are some miscellaneous command-line utilities for +manipulating DocBook XML files, PO-files and PO-template files. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-poxml +%defattr(-,root,root,-) +%{tde_bindir}/po2xml +%{tde_bindir}/split2po +%{tde_bindir}/swappo +%{tde_bindir}/transxx +%{tde_bindir}/xml2pot + +########## + +%package -n trinity-umbrello +Summary: UML modelling tool and code generator +Group: Development/Languages/Other + +%description -n trinity-umbrello +Umbrello UML Modeller is a Unified Modelling Language editor for TDE. +With UML you can create diagrams of software and other systems in an +industry standard format. Umbrello can also generate code from your +UML diagrams in a number of programming languages. + +The program supports class diagrams, sequence diagrams, collaboration +diagrams, use case diagrams, state diagrams, activity diagrams, component +diagrams and deployment diagrams. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-umbrello +%defattr(-,root,root,-) +%{tde_bindir}/umbodoc +%{tde_bindir}/umbrello +%{tde_tdeappdir}/umbrello.desktop +%{tde_datadir}/apps/umbrello/ +%{tde_datadir}/icons/crystalsvg/*/actions/umbrello_*.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/umbrellofile.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz +%{tde_datadir}/icons/hicolor/*/apps/umbrello.png +%{tde_datadir}/icons/hicolor/scalable/apps/umbrello.svgz +%{tde_datadir}/icons/hicolor/*/mimetypes/umbrellofile.png +%{tde_datadir}/mimelnk/application/x-umbrello.desktop +%{tde_tdedocdir}/HTML/en/umbrello/ + +########## + +%if 0%{?build_kioslave} + +%package tdeio-plugins +Summary: Subversion ioslave for Trinity +Group: Development/Languages/Other +Requires: subversion + +Obsoletes: trinity-tdesdk-kio-plugins < %{version}-%{release} +Provides: trinity-tdesdk-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package provides easy access to remote SVN repositories from within +Konqueror, and TDE generally, by browsing them as if they were a +filesystem, using URLs like svn://hostname/path, or svn+ssh://, etc. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_bindir}/tdeio_svn_helper +%{tde_tdelibdir}/kded_ksvnd.la +%{tde_tdelibdir}/kded_ksvnd.so +%{tde_tdelibdir}/tdeio_svn.la +%{tde_tdelibdir}/tdeio_svn.so +%{tde_datadir}/apps/konqueror/servicemenus/subversion_toplevel.desktop +%{tde_datadir}/apps/konqueror/servicemenus/subversion.desktop +%{tde_datadir}/services/kded/ksvnd.desktop +%{tde_datadir}/services/svn+file.protocol_tdesdk +%{tde_datadir}/services/svn+http.protocol_tdesdk +%{tde_datadir}/services/svn+https.protocol_tdesdk +%{tde_datadir}/services/svn+ssh.protocol_tdesdk +%{tde_datadir}/services/svn.protocol_tdesdk +%{tde_datadir}/icons/crystalsvg/*/actions/svn_switch.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_merge.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_branch.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_remove.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_add.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_status.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_add.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_status.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_remove.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_switch.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_branch.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz + +%post tdeio-plugins +for proto in svn+file svn+http svn+https svn+ssh svn; do + update-alternatives --install \ + %{tde_datadir}/services/${proto}.protocol \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesdk \ + 10 +done + +%preun tdeio-plugins +if [ $1 -eq 0 ]; then + for proto in svn+file svn+http svn+https svn+ssh svn; do + update-alternatives --remove \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesdk || : + done +fi + +%endif + +########## + +%package -n trinity-tdeunittest +Summary: Unit testing library for Trinity +Group: Development/Languages/Other + +Obsoletes: trinity-kunittest < %{version}-%{release} +Provides: trinity-kunittest = %{version}-%{release} + +%description -n trinity-tdeunittest +tdeunittest is a small library that facilitates the writing of tests for +TDE developers. There are two ways to use the tdeunittest library. One is +to create dynamically loadable modules and use the tdeunittestmodrunner or +tdeunittestguimodrunner programs to run the tests. The other is to use the +libraries to create your own testing application. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-tdeunittest +%defattr(-,root,root,-) +%{tde_bindir}/tdeunittest +%{tde_bindir}/tdeunittest_debughelper +%{tde_bindir}/tdeunittestmod +%{tde_bindir}/tdeunittestguimodrunner +%{tde_libdir}/libtdeunittestgui.la +%{tde_libdir}/libtdeunittestgui.so.* + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries/Other + +Requires: %{name} = %{version}-%{release} +Requires: trinity-kbabel-devel = %{version}-%{release} +Requires: %{name}-misc = %{version}-%{release} +Requires: trinity-kspy = %{version}-%{release} +Requires: trinity-kmtrace = %{version}-%{release} +Requires: trinity-tdeunittest = %{version}-%{release} +Requires: trinity-libcvsservice-devel = %{version}-%{release} +Requires: trinity-kompare = %{version}-%{release} + +Obsoletes: trinity-kdesdk-devel < %{version}-%{release} +Provides: trinity-kdesdk-devel = %{version}-%{release} + +%description devel +This package contains the development files for tdesdk. + +%files devel +%defattr(-,root,root,-) +# misc +%{tde_tdeincludedir}/kprofilemethod.h +%{tde_libdir}/libkstartperf.so +# kspy +%{tde_tdeincludedir}/kspy.h +%{tde_libdir}/libkspy.so +# kmtrace +%{tde_libdir}/kmtrace/libktrace_s.a +%{tde_tdeincludedir}/ktrace.h +# tdeunittest +%{tde_libdir}/libtdeunittestgui.so +%{tde_tdeincludedir}/tdeunittest/runnergui.h +# kompare +%{tde_libdir}/libkompareinterface.so + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +# Fix shebangs +sed -i "scripts/kdelnk2desktop.py" \ + "scripts/zonetab2pot.py" \ + "tdecachegrind/converters/hotshot2calltree" \ + "umbrello/umbrello/headings/heading.py" \ + -e "s|env python|env %{python}|" +%endif + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +# FIXME PCLinuxOS: '/usr/bin/ld: cannot find -ltdeabc' +%if 0%{?pclinuxos} +export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -L%{tde_libdir}" +%endif + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -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} \ + -DMAN_INSTALL_DIR=%{tde_mandir} \ + -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DWITH_DBSEARCHENGINE=ON \ + -DWITH_KCAL=ON \ + -DBUILD_ALL=ON \ + %{!?build_kioslave:-DBUILD_KIOSLAVE=OFF} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} + +%__make install DESTDIR=%{?buildroot} -C build + + +# Installs kdepalettes +%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes/kde_xpaintrc +%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes/KDE_Gimp +%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes/README + +# Installs SVN protocols as alternatives +%if 0%{?build_kioslave} +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesdk +%endif + +# Removes useless stuff +%__rm -f %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/debianrules + +# Fix permissions +chmod 644 %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/Doxyfile.global + +# Make kapptemplate archive +pushd %{?buildroot}%{tde_datadir}/apps/kapptemplate +mkdir kapptemplate +mv admin appframework bin existing include kapp kpartapp kpartplugin kapptemplate/ +tar cfz kapptemplate.tar.gz kapptemplate +rm -rf kapptemplate +popd + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file kuiviewer Development GUIDesigner +%suse_update_desktop_file umbrello Development Design +%suse_update_desktop_file kbugbuster Development Debugger +%suse_update_desktop_file -u catalogmanager Development Translation +%suse_update_desktop_file kbabel Development Translation +%suse_update_desktop_file -u kbabeldict Development Translation +%suse_update_desktop_file cervisia Development RevisionControl +%suse_update_desktop_file kompare Development RevisionControl +%suse_update_desktop_file tdecachegrind Development Profiling +%endif + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdetoys/tdetoys.spec b/redhat/main/tdetoys/tdetoys.spec index dcc317623..8f58aac06 100644 --- a/redhat/main/tdetoys/tdetoys.spec +++ b/redhat/main/tdetoys/tdetoys.spec @@ -21,7 +21,7 @@ # TDE variables %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdetoys %define tde_prefix /opt/trinity diff --git a/redhat/main/tdeutils/tdeutils.spec b/redhat/main/tdeutils/tdeutils.spec index 2eafa51b3..693adb10d 100644 --- a/redhat/main/tdeutils/tdeutils.spec +++ b/redhat/main/tdeutils/tdeutils.spec @@ -21,7 +21,7 @@ # TDE variables %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdeutils %define tde_prefix /opt/trinity diff --git a/redhat/main/tdevelop/tdevelop-14.0.0.spec b/redhat/main/tdevelop/tdevelop-14.0.0.spec deleted file mode 100644 index e958532c8..000000000 --- a/redhat/main/tdevelop/tdevelop-14.0.0.spec +++ /dev/null @@ -1,654 +0,0 @@ -# -# 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.0 -%endif -%define tde_pkg tdevelop -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_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} -Summary: Integrated Development Environment for C++/C -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -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 - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -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 - -# OPENLDAP support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: openldap-devel -%endif -%if 0%{?suse_version} -BuildRequires: openldap2-devel -%endif -%if 0%{?rhel} == 5 -BuildRequires: openldap24-libs-devel -%endif - -# LIBACL support -%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libacl-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - - -%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_confdir}/kdevassistantrc -%{tde_confdir}/tdeveloprc -%{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/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}/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/ - -########## - -%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}/* - -########## - -%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 - -########## - -%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 - -# openldap 2.4 includes (CentOS 5) -if [ -d "/usr/include/openldap24" ]; then - RPM_OPT_FLAGS="-I%{_includedir}/openldap24 -L%{_libdir}/openldap24 ${RPM_OPT_FLAGS}" -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} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -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 diff --git a/redhat/main/tdevelop/tdevelop.spec b/redhat/main/tdevelop/tdevelop.spec new file mode 100644 index 000000000..cf2ad252e --- /dev/null +++ b/redhat/main/tdevelop/tdevelop.spec @@ -0,0 +1,660 @@ +# +# 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.7 +%endif +%define tde_pkg tdevelop +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_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} +Summary: Integrated Development Environment for C++/C +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +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 + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +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 + +# DB5 support +%if 0%{?rhel} >= 8 +BuildRequires: libdb-devel + +%else +# DB4 support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: db4-devel +%endif +%endif + +# FLEX support +BuildRequires: flex +Requires: flex >= 2.5.4 + +# SVN support +BuildRequires: subversion-devel + +# NEON support +BuildRequires: neon-devel + +# OPENLDAP support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: openldap-devel +%endif +%if 0%{?suse_version} +BuildRequires: openldap2-devel +%endif +%if 0%{?rhel} == 5 +BuildRequires: openldap24-libs-devel +%endif + +# LIBACL support +%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libacl-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + + +%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_confdir}/kdevassistantrc +%{tde_confdir}/tdeveloprc +%{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/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}/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/ + +########## + +%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}/* + +########## + +%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 + +########## + +%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 + +# openldap 2.4 includes (CentOS 5) +if [ -d "/usr/include/openldap24" ]; then + RPM_OPT_FLAGS="-I%{_includedir}/openldap24 -L%{_libdir}/openldap24 ${RPM_OPT_FLAGS}" +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} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -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 diff --git a/redhat/main/tdewebdev/tdewebdev-14.0.0.spec b/redhat/main/tdewebdev/tdewebdev-14.0.0.spec deleted file mode 100644 index 4ddcde0b9..000000000 --- a/redhat/main/tdewebdev/tdewebdev-14.0.0.spec +++ /dev/null @@ -1,529 +0,0 @@ -# -# spec file for package tdewebdev (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 tdewebdev -%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 - - -Name: trinity-%{tde_pkg} -Summary: Web development applications -Group: Applications/Editors -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: http://download.sourceforge.net/quanta/css.tar.bz2 -Source2: http://download.sourceforge.net/quanta/html.tar.bz2 -Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2 -Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2 - -Source10: %{name}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdesdk-devel >= %{tde_version} - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils -BuildRequires: gcc-c++ - -# 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: libxslt-devel -%if 0%{?rhel} == 4 -# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241) -BuildRequires: libgcrypt-devel -%endif - -# PERL support -BuildRequires: perl - -# KXSLDBG requires libxml2 -#if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || ( 0%{?fedora} > 0 && %{?fedora} <= 17 ) || 0%{?suse_version} -%define build_kxsldbg 1 -BuildRequires: libxml2-devel -#endif - -%if "%{?tde_version}" != "14.1.0" -%define build_tdefilereplace 1 -%endif - -Obsoletes: trinity-kdewebdev-libs < %{version}-%{release} -Provides: trinity-kdewebdev-libs = %{version}-%{release} -Obsoletes: trinity-kdewebdev < %{version}-%{release} -Provides: trinity-kdewebdev = %{version}-%{release} - -Requires: trinity-quanta = %{version}-%{release} -Requires: trinity-quanta-data = %{version}-%{release} -Requires: trinity-kimagemapeditor = %{version}-%{release} -Requires: trinity-klinkstatus = %{version}-%{release} -Requires: trinity-kommander = %{version}-%{release} -%{?build_kxsldbg:Requires: trinity-kxsldbg = %{version}-%{release}} - -%description -Web development applications, including: -* kimagemapeditor: HTML image map editor -* klinkstatus: link checker -* kommander: visual dialog building tool -* quanta+: web development -%{?build_kxsldbg:* kxsldbg: xslt Debugger} - -%files -%defattr(-,root,root,-) - -########## - -%package -n trinity-quanta -Summary: web development environment for TDE [Trinity] -Group: Applications/Development -Requires: trinity-tdefilereplace -Requires: trinity-klinkstatus = %{version}-%{release} -Requires: trinity-kommander = %{version}-%{release} -Requires: trinity-quanta-data = %{version}-%{release} -#Requires: trinity-kimagemapeditor = %{version}-%{release} -#Requires: trinity-kxsldbg = %{version}-%{release} -Requires: tidy - -%description -n trinity-quanta -Quanta Plus is a web development environment for working with HTML -and associated languages. It strives to be neutral and transparent -to all markup languages, while supporting popular web-based scripting -languages, CSS and other emerging W3C recommendations. - -Quanta Plus supports many external components, debuggers and other tools -for web development, several of which are shipped with the TDE web -development module. - -Quanta Plus is not in any way affiliated with any commercial versions -of Quanta. The primary coders from the original team left the GPL'd -version to produce a commercial product. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-quanta -%defattr(-,root,root,-) -%{tde_bindir}/quanta -%{tde_tdelibdir}/quantadebuggerdbgp.la -%{tde_tdelibdir}/quantadebuggerdbgp.so -%{tde_tdelibdir}/quantadebuggergubed.la -%{tde_tdelibdir}/quantadebuggergubed.so -%{tde_tdeappdir}/quanta.desktop -%{tde_datadir}/apps/kafkapart -%{tde_datadir}/icons/hicolor/*/apps/quanta.png -%{tde_datadir}/mimelnk/application/x-webprj.desktop -%{tde_datadir}/services/quantadebuggerdbgp.desktop -%{tde_datadir}/services/quantadebuggergubed.desktop -%{tde_datadir}/services/quanta_preview_config.desktop -%{tde_datadir}/servicetypes/quantadebugger.desktop -%{tde_tdedocdir}/HTML/en/quanta/ - -########## - -%package -n trinity-quanta-data -Summary: data files for Quanta Plus web development environment [Trinity] -Group: Applications/Development - -%description -n trinity-quanta-data -This package contains architecture-independent data files for Quanta -Plus, a web development environment for working with HTML and associated -languages. - -See the quanta package for further information. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-quanta-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/quanta/ - -########## - -%package -n trinity-kimagemapeditor -Summary: HTML image map editor for TDE -Group: Applications/Development - -%description -n trinity-kimagemapeditor -KImageMapEditor is a tool that allows you to edit image maps in HTML -files. As well as providing a standalone application, KImageMapEditor -makes itself available as a KPart for embedding into larger applications. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kimagemapeditor -%defattr(-,root,root,-) -%{tde_bindir}/kimagemapeditor -%{tde_tdelibdir}/libkimagemapeditor.la -%{tde_tdelibdir}/libkimagemapeditor.so -%{tde_tdeappdir}/kimagemapeditor.desktop -%{tde_datadir}/apps/kimagemapeditor/ -%{tde_datadir}/icons/hicolor/*/apps/kimagemapeditor.png -%{tde_datadir}/icons/locolor/*/apps/kimagemapeditor.png -%{tde_datadir}/services/kimagemapeditorpart.desktop -%{tde_tdedocdir}/HTML/en/kimagemapeditor/ - -########## - -%package -n trinity-klinkstatus -Summary: web link validity checker for TDE -Group: Applications/Development - -%description -n trinity-klinkstatus -KLinkStatus is TDE's web link validity checker. It allows you to -search internal and external links throughout your web site. Simply -point it to a single page and choose the depth to search. - -You can also check local files, or files over ftp:, fish: or any other -KIO protocols. For performance, links can be checked simultaneously. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-klinkstatus -%defattr(-,root,root,-) -%{tde_bindir}/klinkstatus -%{tde_tdelibdir}/libklinkstatuspart.la -%{tde_tdelibdir}/libklinkstatuspart.so -%{tde_tdeappdir}/klinkstatus.desktop -%{tde_datadir}/apps/klinkstatus/ -%{tde_datadir}/apps/klinkstatuspart/ -%{tde_datadir}/config.kcfg/klinkstatus.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/bug.png -%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png -%{tde_datadir}/services/klinkstatus_part.desktop -%{tde_tdedocdir}/HTML/en/klinkstatus/ - -########## - -%package -n trinity-kommander -Summary: visual dialog builder and executor tool [Trinity] -Group: Applications/Development -Requires: gettext - -%description -n trinity-kommander -Kommander is a visual dialog building tool whose primary objective is -to create as much functionality as possible without using any scripting -language. - -More specifically, Kommander is a set of tools that allow you to create -dynamic GUI dialogs that generate, based on their state, a piece of -text. The piece of text can be a command line to a program, any piece -of code, business documents that contain a lot of repetitious or -templated text and so on. - -The resulting generated text can then be executed as a command line -program (hence the name "Kommander"), written to a file, passed to a -script for extended processing, and literally anything else you can -think of. And you aren't required to write a single line of code! - -As well as building dialogs, Kommander may be expanded to create full -mainwindow applications. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kommander -%defattr(-,root,root,-) -%{tde_bindir}/kmdr-editor -%{tde_bindir}/kmdr-executor -%{tde_bindir}/kmdr-plugins -%{tde_libdir}/libkommanderplugin.so.* -%{tde_libdir}/libkommanderwidgets.la -%{tde_libdir}/libkommanderwidget.so.* -%{tde_libdir}/libkommanderwidgets.so.* -%{tde_tdeappdir}/kmdr-editor.desktop -%{tde_datadir}/applnk/.hidden/kmdr-executor.desktop -%{tde_datadir}/apps/katepart/syntax/kommander.xml -%{tde_tdedocdir}/HTML/en/kommander/ -%{tde_datadir}/icons/crystalsvg/*/apps/kommander.png -%{tde_datadir}/icons/hicolor/*/apps/kommander.png -%{tde_datadir}/mimelnk/application/x-kommander.desktop -%{tde_tdelibdir}/libkommander_part.so -%{tde_tdelibdir}/libkommander_part.la -%{tde_datadir}/apps/kommander/ -%{tde_datadir}/apps/kmdr-editor/ -%{tde_datadir}/apps/katepart/syntax/kommander-new.xml -%{tde_datadir}/apps/tdevappwizard/ -%{tde_datadir}/services/kommander_part.desktop - -########## - -%package -n trinity-kommander-devel -Summary: development files for Kommander [Trinity] -Group: Development/Libraries -Requires: trinity-kommander = %{version}-%{release} - -%description -n trinity-kommander-devel -This package contains the headers and other development files for -building plugins or otherwise extending Kommander. - -Kommander is a visual dialog building tool whose primary objective is -to create as much functionality as possible without using any scripting -language. - -See the kommander package for further information. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kommander-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkommanderplugin.la -%{tde_libdir}/libkommanderplugin.so -%{tde_libdir}/libkommanderwidget.la -%{tde_libdir}/libkommanderwidget.so -%{tde_libdir}/libkommanderwidgets.so -%{tde_tdeincludedir}/kommander* -%{tde_tdeincludedir}/specials.h - -########## - -%if 0%{?build_kxsldbg} - -%package -n trinity-kxsldbg -Summary: graphical XSLT debugger for TDE [Trinity] -Group: Applications/Development - -%description -n trinity-kxsldbg -KXSLDbg is a debugger for XSLT scripts. It includes a graphical user -interface as well as a text-based debugger. KXSLDbg can be run as a -standalone application or as an embedded TDE part. - -XSLT is an XML language for defining transformations of XML files from -XML to some other arbitrary format, such as XML, HTML, plain text, etc., -using standard XSLT stylesheets. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kxsldbg -%defattr(-,root,root,-) -%{tde_bindir}/kxsldbg -%{tde_bindir}/xsldbg -%{tde_tdelibdir}/libkxsldbgpart.la -%{tde_tdelibdir}/libkxsldbgpart.so -%{tde_tdeappdir}/kxsldbg.desktop -%{tde_datadir}/applnk/.hidden/xsldbg.desktop -%{tde_datadir}/apps/kxsldbg/ -%{tde_datadir}/apps/kxsldbgpart/ -%{tde_tdedocdir}/HTML/en/kxsldbg/ -%{tde_tdedocdir}/HTML/en/xsldbg/ -%{tde_datadir}/icons/hicolor/*/actions/1downarrow.png -%{tde_datadir}/icons/hicolor/*/actions/configure.png -%{tde_datadir}/icons/hicolor/*/actions/system-log-out.png -%{tde_datadir}/icons/hicolor/*/actions/system-run.png -%{tde_datadir}/icons/hicolor/*/actions/hash.png -%{tde_datadir}/icons/hicolor/*/actions/mark.png -%{tde_datadir}/icons/hicolor/*/actions/next.png -%{tde_datadir}/icons/hicolor/*/actions/step.png -%{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png -%{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png -%{tde_datadir}/icons/locolor/*/apps/kxsldbg.png -%{tde_datadir}/services/kxsldbg_part.desktop - -%endif - -########## - -%if 0%{?build_tdefilereplace} - -%package -n trinity-tdefilereplace -Summary: Batch search-and-replace component for TDE -Group: Applications/Utilities - -Obsoletes: trinity-kfilereplace < %{version}-%{release} -Provides: trinity-kfilereplace = %{version}-%{release} - -%description -n trinity-tdefilereplace -TDEFileReplace is an embedded component for TDE that acts as a batch -search-and-replace tool. It allows you to replace one expression with -another in many files at once. - -Note that at the moment TDEFileReplace does not come as a standalone -application. - -This package is part of Trinity, as a component of the TDE utilities module. - -%files -n trinity-tdefilereplace -%defattr(-,root,root,-) -%{tde_bindir}/tdefilereplace -%{tde_tdelibdir}/libtdefilereplacepart.la -%{tde_tdelibdir}/libtdefilereplacepart.so -%{tde_tdeappdir}/tdefilereplace.desktop -%{tde_datadir}/apps/tdefilereplace/ -%{tde_datadir}/apps/tdefilereplacepart/ -%{tde_tdedocdir}/HTML/en/tdefilereplace/ -%{tde_datadir}/icons/hicolor/*/apps/tdefilereplace.png -%{tde_datadir}/services/tdefilereplacepart.desktop - -%endif - -########## - -%package devel -Group: Development/Libraries -Summary: Header files and documentation for %{name} - -Obsoletes: trinity-kdewebdev-devel < %{version}-%{release} -Provides: trinity-kdewebdev-devel = %{version}-%{release} - -Requires: trinity-tdelibs-devel >= %{tde_version} -Requires: %{name} = %{version}-%{release} -Requires: trinity-kommander-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -a 1 -a 2 -a 3 -a 4 - -%if 0%{?build_kxsldbg} == 0 -%__rm -rf kxsldbg/ doc/kxsldbg/ doc/xsldbg/ -%endif - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -# 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 - -# Warning: GCC visibility causes FTBFS [Bug #1285] -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --enable-editors \ - --with-extra-includes=%{_includedir}/tqt - - -# WTF hack for RHEL4 -%if 0%{?rhel} == 4 -mkdir kommander/plugin/.libs/ -ln -s . kommander/plugin/.libs/.libs -%endif - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - - -## package separately? Why doesn't upstream include this? -- Rex -# install docs -for i in css html javascript ; do - pushd $i - ./install.sh < + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: http://download.sourceforge.net/quanta/css.tar.bz2 +Source2: http://download.sourceforge.net/quanta/html.tar.bz2 +Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2 +Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2 + +Source10: %{name}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdesdk-devel >= %{tde_version} + +BuildRequires: autoconf automake libtool m4 +BuildRequires: desktop-file-utils +BuildRequires: gcc-c++ + +# 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: libxslt-devel +%if 0%{?rhel} == 4 +# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241) +BuildRequires: libgcrypt-devel +%endif + +# PERL support +BuildRequires: perl + +# KXSLDBG requires libxml2 +#if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || ( 0%{?fedora} > 0 && %{?fedora} <= 17 ) || 0%{?suse_version} +%define build_kxsldbg 1 +BuildRequires: libxml2-devel +#endif + +%if "%{?tde_version}" != "14.1.0" +%define build_tdefilereplace 1 +%endif + +Obsoletes: trinity-kdewebdev-libs < %{version}-%{release} +Provides: trinity-kdewebdev-libs = %{version}-%{release} +Obsoletes: trinity-kdewebdev < %{version}-%{release} +Provides: trinity-kdewebdev = %{version}-%{release} + +Requires: trinity-quanta = %{version}-%{release} +Requires: trinity-quanta-data = %{version}-%{release} +Requires: trinity-kimagemapeditor = %{version}-%{release} +Requires: trinity-klinkstatus = %{version}-%{release} +Requires: trinity-kommander = %{version}-%{release} +%{?build_kxsldbg:Requires: trinity-kxsldbg = %{version}-%{release}} + +%description +Web development applications, including: +* kimagemapeditor: HTML image map editor +* klinkstatus: link checker +* kommander: visual dialog building tool +* quanta+: web development +%{?build_kxsldbg:* kxsldbg: xslt Debugger} + +%files +%defattr(-,root,root,-) + +########## + +%package -n trinity-quanta +Summary: web development environment for TDE [Trinity] +Group: Applications/Development +Requires: trinity-tdefilereplace +Requires: trinity-klinkstatus = %{version}-%{release} +Requires: trinity-kommander = %{version}-%{release} +Requires: trinity-quanta-data = %{version}-%{release} +#Requires: trinity-kimagemapeditor = %{version}-%{release} +#Requires: trinity-kxsldbg = %{version}-%{release} +Requires: tidy + +%description -n trinity-quanta +Quanta Plus is a web development environment for working with HTML +and associated languages. It strives to be neutral and transparent +to all markup languages, while supporting popular web-based scripting +languages, CSS and other emerging W3C recommendations. + +Quanta Plus supports many external components, debuggers and other tools +for web development, several of which are shipped with the TDE web +development module. + +Quanta Plus is not in any way affiliated with any commercial versions +of Quanta. The primary coders from the original team left the GPL'd +version to produce a commercial product. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-quanta +%defattr(-,root,root,-) +%{tde_bindir}/quanta +%{tde_tdelibdir}/quantadebuggerdbgp.la +%{tde_tdelibdir}/quantadebuggerdbgp.so +%{tde_tdelibdir}/quantadebuggergubed.la +%{tde_tdelibdir}/quantadebuggergubed.so +%{tde_tdeappdir}/quanta.desktop +%{tde_datadir}/apps/kafkapart +%{tde_datadir}/icons/hicolor/*/apps/quanta.png +%{tde_datadir}/mimelnk/application/x-webprj.desktop +%{tde_datadir}/services/quantadebuggerdbgp.desktop +%{tde_datadir}/services/quantadebuggergubed.desktop +%{tde_datadir}/services/quanta_preview_config.desktop +%{tde_datadir}/servicetypes/quantadebugger.desktop +%{tde_tdedocdir}/HTML/en/quanta/ + +########## + +%package -n trinity-quanta-data +Summary: data files for Quanta Plus web development environment [Trinity] +Group: Applications/Development + +%description -n trinity-quanta-data +This package contains architecture-independent data files for Quanta +Plus, a web development environment for working with HTML and associated +languages. + +See the quanta package for further information. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-quanta-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/quanta/ + +########## + +%package -n trinity-kimagemapeditor +Summary: HTML image map editor for TDE +Group: Applications/Development + +%description -n trinity-kimagemapeditor +KImageMapEditor is a tool that allows you to edit image maps in HTML +files. As well as providing a standalone application, KImageMapEditor +makes itself available as a KPart for embedding into larger applications. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kimagemapeditor +%defattr(-,root,root,-) +%{tde_bindir}/kimagemapeditor +%{tde_tdelibdir}/libkimagemapeditor.la +%{tde_tdelibdir}/libkimagemapeditor.so +%{tde_tdeappdir}/kimagemapeditor.desktop +%{tde_datadir}/apps/kimagemapeditor/ +%{tde_datadir}/icons/hicolor/*/apps/kimagemapeditor.png +%{tde_datadir}/icons/locolor/*/apps/kimagemapeditor.png +%{tde_datadir}/services/kimagemapeditorpart.desktop +%{tde_tdedocdir}/HTML/en/kimagemapeditor/ + +########## + +%package -n trinity-klinkstatus +Summary: web link validity checker for TDE +Group: Applications/Development + +%description -n trinity-klinkstatus +KLinkStatus is TDE's web link validity checker. It allows you to +search internal and external links throughout your web site. Simply +point it to a single page and choose the depth to search. + +You can also check local files, or files over ftp:, fish: or any other +KIO protocols. For performance, links can be checked simultaneously. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-klinkstatus +%defattr(-,root,root,-) +%{tde_bindir}/klinkstatus +%{tde_tdelibdir}/libklinkstatuspart.la +%{tde_tdelibdir}/libklinkstatuspart.so +%{tde_tdeappdir}/klinkstatus.desktop +%{tde_datadir}/apps/klinkstatus/ +%{tde_datadir}/apps/klinkstatuspart/ +%{tde_datadir}/config.kcfg/klinkstatus.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/bug.png +%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png +%{tde_datadir}/services/klinkstatus_part.desktop +%{tde_tdedocdir}/HTML/en/klinkstatus/ + +########## + +%package -n trinity-kommander +Summary: visual dialog builder and executor tool [Trinity] +Group: Applications/Development +Requires: gettext + +%description -n trinity-kommander +Kommander is a visual dialog building tool whose primary objective is +to create as much functionality as possible without using any scripting +language. + +More specifically, Kommander is a set of tools that allow you to create +dynamic GUI dialogs that generate, based on their state, a piece of +text. The piece of text can be a command line to a program, any piece +of code, business documents that contain a lot of repetitious or +templated text and so on. + +The resulting generated text can then be executed as a command line +program (hence the name "Kommander"), written to a file, passed to a +script for extended processing, and literally anything else you can +think of. And you aren't required to write a single line of code! + +As well as building dialogs, Kommander may be expanded to create full +mainwindow applications. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kommander +%defattr(-,root,root,-) +%{tde_bindir}/kmdr-editor +%{tde_bindir}/kmdr-executor +%{tde_bindir}/kmdr-plugins +%{tde_libdir}/libkommanderplugin.so.* +%{tde_libdir}/libkommanderwidgets.la +%{tde_libdir}/libkommanderwidget.so.* +%{tde_libdir}/libkommanderwidgets.so.* +%{tde_tdeappdir}/kmdr-editor.desktop +%{tde_datadir}/applnk/.hidden/kmdr-executor.desktop +%{tde_datadir}/apps/katepart/syntax/kommander.xml +%{tde_tdedocdir}/HTML/en/kommander/ +%{tde_datadir}/icons/crystalsvg/*/apps/kommander.png +%{tde_datadir}/icons/hicolor/*/apps/kommander.png +%{tde_datadir}/mimelnk/application/x-kommander.desktop +%{tde_tdelibdir}/libkommander_part.so +%{tde_tdelibdir}/libkommander_part.la +%{tde_datadir}/apps/kommander/ +%{tde_datadir}/apps/kmdr-editor/ +%{tde_datadir}/apps/katepart/syntax/kommander-new.xml +%{tde_datadir}/apps/tdevappwizard/ +%{tde_datadir}/services/kommander_part.desktop + +########## + +%package -n trinity-kommander-devel +Summary: development files for Kommander [Trinity] +Group: Development/Libraries +Requires: trinity-kommander = %{version}-%{release} + +%description -n trinity-kommander-devel +This package contains the headers and other development files for +building plugins or otherwise extending Kommander. + +Kommander is a visual dialog building tool whose primary objective is +to create as much functionality as possible without using any scripting +language. + +See the kommander package for further information. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kommander-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkommanderplugin.la +%{tde_libdir}/libkommanderplugin.so +%{tde_libdir}/libkommanderwidget.la +%{tde_libdir}/libkommanderwidget.so +%{tde_libdir}/libkommanderwidgets.so +%{tde_tdeincludedir}/kommander* +%{tde_tdeincludedir}/specials.h + +########## + +%if 0%{?build_kxsldbg} + +%package -n trinity-kxsldbg +Summary: graphical XSLT debugger for TDE [Trinity] +Group: Applications/Development + +%description -n trinity-kxsldbg +KXSLDbg is a debugger for XSLT scripts. It includes a graphical user +interface as well as a text-based debugger. KXSLDbg can be run as a +standalone application or as an embedded TDE part. + +XSLT is an XML language for defining transformations of XML files from +XML to some other arbitrary format, such as XML, HTML, plain text, etc., +using standard XSLT stylesheets. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kxsldbg +%defattr(-,root,root,-) +%{tde_bindir}/kxsldbg +%{tde_bindir}/xsldbg +%{tde_tdelibdir}/libkxsldbgpart.la +%{tde_tdelibdir}/libkxsldbgpart.so +%{tde_tdeappdir}/kxsldbg.desktop +%{tde_datadir}/applnk/.hidden/xsldbg.desktop +%{tde_datadir}/apps/kxsldbg/ +%{tde_datadir}/apps/kxsldbgpart/ +%{tde_tdedocdir}/HTML/en/kxsldbg/ +%{tde_tdedocdir}/HTML/en/xsldbg/ +%{tde_datadir}/icons/hicolor/*/actions/1downarrow.png +%{tde_datadir}/icons/hicolor/*/actions/configure.png +%{tde_datadir}/icons/hicolor/*/actions/system-log-out.png +%{tde_datadir}/icons/hicolor/*/actions/system-run.png +%{tde_datadir}/icons/hicolor/*/actions/hash.png +%{tde_datadir}/icons/hicolor/*/actions/mark.png +%{tde_datadir}/icons/hicolor/*/actions/next.png +%{tde_datadir}/icons/hicolor/*/actions/step.png +%{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png +%{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png +%{tde_datadir}/icons/locolor/*/apps/kxsldbg.png +%{tde_datadir}/services/kxsldbg_part.desktop + +%endif + +########## + +%if 0%{?build_tdefilereplace} + +%package -n trinity-tdefilereplace +Summary: Batch search-and-replace component for TDE +Group: Applications/Utilities + +Obsoletes: trinity-kfilereplace < %{version}-%{release} +Provides: trinity-kfilereplace = %{version}-%{release} + +%description -n trinity-tdefilereplace +TDEFileReplace is an embedded component for TDE that acts as a batch +search-and-replace tool. It allows you to replace one expression with +another in many files at once. + +Note that at the moment TDEFileReplace does not come as a standalone +application. + +This package is part of Trinity, as a component of the TDE utilities module. + +%files -n trinity-tdefilereplace +%defattr(-,root,root,-) +%{tde_bindir}/tdefilereplace +%{tde_tdelibdir}/libtdefilereplacepart.la +%{tde_tdelibdir}/libtdefilereplacepart.so +%{tde_tdeappdir}/tdefilereplace.desktop +%{tde_datadir}/apps/tdefilereplace/ +%{tde_datadir}/apps/tdefilereplacepart/ +%{tde_tdedocdir}/HTML/en/tdefilereplace/ +%{tde_datadir}/icons/hicolor/*/apps/tdefilereplace.png +%{tde_datadir}/services/tdefilereplacepart.desktop + +%endif + +########## + +%package devel +Group: Development/Libraries +Summary: Header files and documentation for %{name} + +Obsoletes: trinity-kdewebdev-devel < %{version}-%{release} +Provides: trinity-kdewebdev-devel = %{version}-%{release} + +Requires: trinity-tdelibs-devel >= %{tde_version} +Requires: %{name} = %{version}-%{release} +Requires: trinity-kommander-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -a 1 -a 2 -a 3 -a 4 + +%if 0%{?build_kxsldbg} == 0 +%__rm -rf kxsldbg/ doc/kxsldbg/ doc/xsldbg/ +%endif + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +# 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 + +# Warning: GCC visibility causes FTBFS [Bug #1285] +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + --enable-editors \ + --with-extra-includes=%{_includedir}/tqt + + +# WTF hack for RHEL4 +%if 0%{?rhel} == 4 +mkdir kommander/plugin/.libs/ +ln -s . kommander/plugin/.libs/.libs +%endif + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} + + +## package separately? Why doesn't upstream include this? -- Rex +# install docs +for i in css html javascript ; do + pushd $i + ./install.sh <