diff options
-rw-r--r-- | redhat/applications/basket/basket-14.0.0.spec | 4 | ||||
-rw-r--r-- | redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0.spec | 1 | ||||
-rw-r--r-- | redhat/applications/kerberostray/kerberostray-14.0.0.spec | 84 | ||||
-rw-r--r-- | redhat/applications/kftpgrabber/kftpgrabber-14.0.0.patch | 39 | ||||
-rw-r--r-- | redhat/applications/kftpgrabber/kftpgrabber-14.0.0.spec | 93 | ||||
-rw-r--r-- | redhat/applications/kgtk-qt3/kgtk-qt3-14.0.0.spec | 106 | ||||
-rw-r--r-- | redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13-fix_libsuffix.patch | 22 | ||||
-rw-r--r-- | redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.1.spec | 145 | ||||
-rw-r--r-- | redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.spec | 138 | ||||
-rw-r--r-- | redhat/applications/kile/kile-14.0.0.spec | 88 | ||||
-rw-r--r-- | redhat/applications/kile/kile-3.5.13.1.spec | 210 | ||||
-rw-r--r-- | redhat/applications/kile/kile-3.5.13.spec | 648 |
12 files changed, 302 insertions, 1276 deletions
diff --git a/redhat/applications/basket/basket-14.0.0.spec b/redhat/applications/basket/basket-14.0.0.spec index 9277b4bff..8f48bca2a 100644 --- a/redhat/applications/basket/basket-14.0.0.spec +++ b/redhat/applications/basket/basket-14.0.0.spec @@ -140,9 +140,7 @@ export PATH="%{tde_bindir}:${PATH}" # Apps that should stay in TDE -for i in basket; do - echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/${i}.desktop" -done +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" %clean diff --git a/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0.spec b/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0.spec index e23edda40..b50eef0ba 100644 --- a/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0.spec +++ b/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0.spec @@ -69,6 +69,7 @@ BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: libtool +# GTK2 support %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} BuildRequires: gtk2-devel %else diff --git a/redhat/applications/kerberostray/kerberostray-14.0.0.spec b/redhat/applications/kerberostray/kerberostray-14.0.0.spec index f23de31f9..79fc635c3 100644 --- a/redhat/applications/kerberostray/kerberostray-14.0.0.spec +++ b/redhat/applications/kerberostray/kerberostray-14.0.0.spec @@ -1,47 +1,59 @@ -# Default version for this component -%define tde_pkg kerberostray +# +# spec file for package kerberostray (version R14.0.0) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http:/www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 %define tde_version 14.0.0 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE specific building variables +%define tde_pkg kerberostray +%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 -%define _docdir %{tde_docdir} - Name: trinity-%{tde_pkg} -Summary: Kerberos ticket manager +Epoch: %{tde_epoch} Version: 0.5 Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2+ +Summary: Kerberos ticket manager Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> URL: http://www.trinitydesktop.org/ +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot <francois.andriot@free.fr> + Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: desktop-file-utils @@ -49,15 +61,39 @@ BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: trinity-libtdeldap-devel >= 0.5 +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# OPENLDAP support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: openldap-devel +%endif +%if 0%{?suse_version} +BuildRequires: openldap2-devel +%endif + + %description Kerberos ticket manager which sits in the system tray and allows viewing/control of Kerberos tickets ########## -%if 0%{?suse_version} || 0%{?pclinuxos} +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 %debug_package %endif +########## %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} @@ -70,7 +106,6 @@ Kerberos ticket manager which sits in the system tray and allows viewing/control %build unset QTDIR QTINC QTLIB export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -97,6 +132,9 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} +# Apps that should stay in TDE +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" + %clean %__rm -rf %{buildroot} @@ -123,5 +161,5 @@ update-desktop-database %{tde_tdeappdir} > /dev/null %changelog -* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.5-1 +* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:0.5-1 - Initial release for TDE 14.0.0 diff --git a/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.patch b/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.patch new file mode 100644 index 000000000..f8e019e63 --- /dev/null +++ b/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.patch @@ -0,0 +1,39 @@ +diff --git a/kftpgrabber/src/engine/ftpdirectoryparser.cpp b/kftpgrabber/src/engine/ftpdirectoryparser.cpp +index 981d0b6..71e2cd2 100644 +--- a/kftpgrabber/src/engine/ftpdirectoryparser.cpp ++++ b/kftpgrabber/src/engine/ftpdirectoryparser.cpp +@@ -421,6 +421,8 @@ bool FtpDirectoryParser::parseUnixPermissions(const TQString &permissions, Direc + if (permissions[9] == 't' || permissions[9] == 'T') p |= S_ISVTX; + + entry.setPermissions(p); ++ ++ return(p); + } + + bool FtpDirectoryParser::parseLine(const TQString &line, DirectoryEntry &entry) +diff --git a/kftpgrabber/src/misc/desencryptor.cpp b/kftpgrabber/src/misc/desencryptor.cpp +index 126fad7..fac681f 100644 +--- a/kftpgrabber/src/misc/desencryptor.cpp ++++ b/kftpgrabber/src/misc/desencryptor.cpp +@@ -65,8 +65,8 @@ void DESEncryptor::DESExec(const TQString &str, int mode) + char *o_message = (char*) malloc(8); + char *o_output = (char*) malloc(8); + +- memset(o_message, 0, 9); +- memset(o_output, 0, 9); ++ memset(o_message, 0, sizeof o_message); ++ memset(o_output, 0, sizeof o_output); + //out.resize(in.size() * 2); + + while (i < in.size()) { +@@ -79,8 +79,8 @@ void DESEncryptor::DESExec(const TQString &str, int mode) + i += 8; + + // Clear everything +- memset(o_message, 0, 9); +- memset(o_output, 0, 9); ++ memset(o_message, 0, sizeof o_message); ++ memset(o_output, 0, sizeof o_output); + } + + free(o_message); diff --git a/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.spec b/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.spec index 67d590624..eb4e964ac 100644 --- a/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.spec +++ b/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.spec @@ -1,47 +1,82 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# Default version for this component -%define tde_pkg kftpgrabber +# +# spec file for package kftprgrabber (version R14.0.0) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http:/www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 %define tde_version 14.0.0 - - -# TDE specific building variables +%define tde_pkg kftpgrabber +%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 -%define _docdir %{tde_docdir} -Name: trinity-%{tde_pkg} +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} Version: 0.8.1 -Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Summary: A FTP client for TDE. - Group: Applications/Internet -License: GPLv2+ URL: http://www.kftp.org/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot <francois.andriot@free.fr> + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Patch0: %{tde_pkg}-%{tde_version}.patch -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: desktop-file-utils +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# OPENSSL support +BuildRequires: openssl-devel + %description KFTPgrabber is a graphical FTP client for the Trinity Desktop Environment. It @@ -77,12 +112,17 @@ Requires: %{name} = %{version}-%{release} %{summary} -%if 0%{?suse_version} || 0%{?pclinuxos} +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 %debug_package %endif +########## + %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} +%patch0 -p1 -b .orig %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" @@ -92,7 +132,6 @@ Requires: %{name} = %{version}-%{release} %build unset QTDIR QTINC QTDIR export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" # Warning: --enable-final causes FTBFS %configure \ @@ -154,10 +193,7 @@ done %{tde_tdelibdir}/kftpimportplugin_ncftp.la %{tde_tdelibdir}/kftpimportplugin_ncftp.so %{tde_tdeappdir}/kftpgrabber.desktop -%{tde_datadir}/apps/kftpgrabber/commands.xml -%{tde_datadir}/apps/kftpgrabber/kftpgrabber-bi-wizard.png -%{tde_datadir}/apps/kftpgrabber/kftpgrabber-logo.png -%{tde_datadir}/apps/kftpgrabber/kftpgrabberui.rc +%{tde_datadir}/apps/kftpgrabber/ %{tde_datadir}/config.kcfg/kftpgrabber.kcfg %{tde_datadir}/icons/hicolor/*/apps/kftpgrabber.png %{tde_datadir}/services/kftpimportplugin_filezilla3.desktop @@ -170,14 +206,11 @@ done %files devel %defattr(-,root,root,-) -%{tde_tdeincludedir}/kftpgrabber/kftpbookmarkimportplugin.h +%{tde_tdeincludedir}/kftpgrabber/ %{tde_libdir}/libkftpinterfaces.la %{tde_libdir}/libkftpinterfaces.so %changelog -* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.1-2 +* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:0.8.1-1 - Initial release for TDE 14.0.0 - -* Mon Apr 08 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.1-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kgtk-qt3/kgtk-qt3-14.0.0.spec b/redhat/applications/kgtk-qt3/kgtk-qt3-14.0.0.spec index a0f0eec9f..159372d2c 100644 --- a/redhat/applications/kgtk-qt3/kgtk-qt3-14.0.0.spec +++ b/redhat/applications/kgtk-qt3/kgtk-qt3-14.0.0.spec @@ -1,54 +1,96 @@ -# Default version for this component -%define tde_pkg kgtk-qt3 +# +# spec file for package kgtk-qt3 (version R14.0.0) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http:/www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 %define tde_version 14.0.0 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE specific building variables +%define tde_pkg kgtk-qt3 +%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/tde +%define tde_tdeappdir %{tde_datadir}/applications/tde %define tde_tdedocdir %{tde_docdir}/tde %define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdelibdir %{tde_libdir}/trinity -%define _docdir %{tde_docdir} - Name: trinity-%{tde_pkg} -Summary: Use TDE dialogs in Gtk apps +Epoch: %{tde_epoch} Version: 0.10.2 -Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2+ +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +Summary: Use TDE dialogs in Gtk apps Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> URL: http://www.trinitydesktop.org -Prefix: %{tde_prefix} +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot <francois.andriot@free.fr> + +Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: desktop-file-utils BuildRequires: gettext +BuildRequires: cmake libtool +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# IDN support +BuildRequires: libidn-devel + +# GTK2 support +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +BuildRequires: gtk2-devel +%else +BuildRequires: gtk+2.0-devel +%endif + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + %description This is an LD_PRELOAD hack that allows most GTK @@ -60,10 +102,14 @@ with this TDE module/application. This package includes the kqt3-wrapper -%if 0%{?suse_version} || 0%{?pclinuxos} +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 %debug_package %endif +########## + %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} @@ -73,10 +119,10 @@ unset QTDIR QTINC QTLIB export PATH="%{tde_bindir}:${PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi %cmake \ @@ -131,5 +177,5 @@ echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload" %{tde_datadir}/kgtk/preload %changelog -* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.10.2-7 +* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:0.10.2-1 - Initial release for TDE 14.0.0 diff --git a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13-fix_libsuffix.patch b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13-fix_libsuffix.patch deleted file mode 100644 index a8deaa551..000000000 --- a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13-fix_libsuffix.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- kgtk-qt3/qt3/kqt3-wrapper.cmake.ORI 2012-08-08 22:30:14.598900960 +0200 -+++ kgtk-qt3/qt3/kqt3-wrapper.cmake 2012-08-08 22:30:39.661367613 +0200 -@@ -15,7 +15,7 @@ - app=`basename $0` - - if [ "$app" = "kqt3-wrapper" ] ; then -- LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib/kgtk/libkqt3.so:$LD_PRELOAD "$@" -+ LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@/kgtk/libkqt3.so:$LD_PRELOAD "$@" - else - dir=`dirname $0` - oldPath=$PATH ---- kgtk-qt3/gtk2/kgtk2-wrapper.cmake.ORI 2012-08-08 22:31:30.684286835 +0200 -+++ kgtk-qt3/gtk2/kgtk2-wrapper.cmake 2012-08-08 22:32:10.294452119 +0200 -@@ -19,7 +19,7 @@ - app=`basename $0` - - if [ "$app" = "kgtk2-wrapper" ] ; then -- LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib/kgtk/libkgtk2.so:libnspr4.so:$LD_PRELOAD "$@" -+ LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@/kgtk/libkgtk2.so:libnspr4.so:$LD_PRELOAD "$@" - else - dir=`dirname $0` - oldPath=$PATH diff --git a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.1.spec b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.1.spec deleted file mode 100644 index a0b4ae4bd..000000000 --- a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.1.spec +++ /dev/null @@ -1,145 +0,0 @@ -# Default version for this component -%define kdecomp kgtk-qt3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Use KDE dialogs in Gtk apps -Version: 0.10.2 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -This is an LD_PRELOAD hack that allows most GTK -applications to use Trinity's file dialogs when run under Trinity. - -The Gtk file chooser functions have been overridden to communicate -with this KDE module/application. - -This package includes the kqt3-wrapper - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -find . -name CMakeLists.txt -exec sed -i {} \ - -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ - -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ - -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ - \; - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir} -L${QTLIB} -lX11" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DBUILD_ALL=ON \ - .. - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# The "preload" file is used by "startkde" script -%__install -d -m 755 "%{buildroot}%{tde_datadir}/kgtk" -echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload" - -%find_lang kgtk - - - -%clean -%__rm -rf %{buildroot} - - -%files -f kgtk.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kdialogd-wrapper -%{tde_bindir}/kdialogd3 -%{tde_bindir}/kgtk-wrapper -%{tde_bindir}/kgtk2-wrapper -%{tde_bindir}/kqt3-wrapper -%{tde_libdir}/kgtk/libkgtk2.so -%{tde_libdir}/kgtk/libkqt3.so -%{tde_datadir}/kgtk/preload - -%changelog -* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.2-4 -- Initial release for TDE 3.5.13.1 - -* Sun Aug 26 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.2-3 -- Add 'preload' file for startkde script - -* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun - -* Thu Dec 01 2011 Francois Andriot <francois.andriot@free.fr> - 0.10.2-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.spec b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.spec deleted file mode 100644 index c15f8b933..000000000 --- a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.spec +++ /dev/null @@ -1,138 +0,0 @@ -# Default version for this component -%define kdecomp kgtk-qt3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Use KDE dialogs in Gtk apps -Version: 0.10.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kgtk-qt-engine] Fix libsuffix for 64 bits machines -Patch1: kgtk-qt3-3.5.13-fix_libsuffix.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -This is an LD_PRELOAD hack that allows most GTK -applications to use Trinity's file dialogs when run under Trinity. - -The Gtk file chooser functions have been overridden to communicate -with this KDE module/application. - -This package includes the kqt3-wrapper - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -find . -name CMakeLists.txt -exec sed -i {} \ - -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ - -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ - -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ - \; - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir} -L${QTLIB} -lX11" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - .. - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# The "preload" file is used by "startkde" script -%__install -d -m 755 "%{buildroot}%{tde_datadir}/kgtk" -echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload" - -%find_lang kdialogd3 - - - -%clean -%__rm -rf %{buildroot} - - -%files -f kdialogd3.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kdialogd-wrapper -%{tde_bindir}/kdialogd3 -%{tde_bindir}/kgtk-wrapper -%{tde_bindir}/kgtk2-wrapper -%{tde_bindir}/kqt3-wrapper -%{tde_libdir}/kgtk/libkgtk2.so -%{tde_libdir}/kgtk/libkqt3.so -%{tde_datadir}/kgtk/preload - -%Changelog -* Sun Aug 26 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.2-3 -- Add 'preload' file for startkde script - -* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun - -* Thu Dec 01 2011 Francois Andriot <francois.andriot@free.fr> - 0.10.2-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kile/kile-14.0.0.spec b/redhat/applications/kile/kile-14.0.0.spec index f590da88a..de88e254d 100644 --- a/redhat/applications/kile/kile-14.0.0.spec +++ b/redhat/applications/kile/kile-14.0.0.spec @@ -1,54 +1,79 @@ -# Default version for this component -%define tde_pkg kile +# +# spec file for package kile (version R14.0.0) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http:/www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 %define tde_version 14.0.0 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE specific building variables +%define tde_pkg kile +%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/tde +%define tde_tdeappdir %{tde_datadir}/applications/tde %define tde_tdedocdir %{tde_docdir}/tde %define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdelibdir %{tde_libdir}/trinity -%define _docdir %{tde_docdir} - Name: trinity-%{tde_pkg} -Summary: TDE Integrated LaTeX Environment [Trinity] +Epoch: %{tde_epoch} Version: 2.0.3 Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2+ +Summary: TDE Integrated LaTeX Environment [Trinity] Group: Applications/Publishing - -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot <francois.andriot@free.fr> + +Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: desktop-file-utils BuildRequires: gettext +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + Obsoletes: %{name}-i18n-ar Obsoletes: %{name}-i18n-bg Obsoletes: %{name}-i18n-br @@ -110,10 +135,14 @@ generation of bibliographies and indices and other common tasks. Kile can support large projects consisting of several smaller files. -%if 0%{?suse_version} || 0%{?pclinuxos} +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 %debug_package %endif +########## + %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} @@ -160,18 +189,23 @@ export PATH="%{tde_bindir}:${PATH}" %find_lang %{tde_pkg} +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file kile Office WordProcessor +%endif + %clean %__rm -rf %{buildroot} %post -update-desktop-database %{tde_appdir} > /dev/null +update-desktop-database %{tde_tdeappdir} > /dev/null touch --no-create %{tde_datadir}/icons/hicolor || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %postun -update-desktop-database %{tde_appdir} > /dev/null +update-desktop-database %{tde_tdeappdir} > /dev/null touch --no-create %{tde_datadir}/icons/hicolor || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : @@ -199,5 +233,5 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %changelog -* Mon Jul 29 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-8 +* Mon Jul 29 2013 Francois Andriot <francois.andriot@free.fr> - 2:2.0.2-1 - Initial release for TDE 14.0.0 diff --git a/redhat/applications/kile/kile-3.5.13.1.spec b/redhat/applications/kile/kile-3.5.13.1.spec deleted file mode 100644 index 039e3afd2..000000000 --- a/redhat/applications/kile/kile-3.5.13.1.spec +++ /dev/null @@ -1,210 +0,0 @@ -# Default version for this component -%define kdecomp kile - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: KDE Integrated LaTeX Environment [Trinity] -Version: 2.0.2 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Publishing - -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Obsoletes: %{name}-i18n-ar -Obsoletes: %{name}-i18n-bg -Obsoletes: %{name}-i18n-br -Obsoletes: %{name}-i18n-ca -Obsoletes: %{name}-i18n-cs -Obsoletes: %{name}-i18n-cy -Obsoletes: %{name}-i18n-da -Obsoletes: %{name}-i18n-de -Obsoletes: %{name}-i18n-el -Obsoletes: %{name}-i18n-engb -Obsoletes: %{name}-i18n-es -Obsoletes: %{name}-i18n-et -Obsoletes: %{name}-i18n-eu -Obsoletes: %{name}-i18n-fi -Obsoletes: %{name}-i18n-fr -Obsoletes: %{name}-i18n-ga -Obsoletes: %{name}-i18n-gl -Obsoletes: %{name}-i18n-hi -Obsoletes: %{name}-i18n-hu -Obsoletes: %{name}-i18n-is -Obsoletes: %{name}-i18n-it -Obsoletes: %{name}-i18n-ja -Obsoletes: %{name}-i18n-lt -Obsoletes: %{name}-i18n-ms -Obsoletes: %{name}-i18n-mt -Obsoletes: %{name}-i18n-nb -Obsoletes: %{name}-i18n-nds -Obsoletes: %{name}-i18n-nl -Obsoletes: %{name}-i18n-nn -Obsoletes: %{name}-i18n-pa -Obsoletes: %{name}-i18n-pl -Obsoletes: %{name}-i18n-pt -Obsoletes: %{name}-i18n-ptbr -Obsoletes: %{name}-i18n-ro -Obsoletes: %{name}-i18n-ru -Obsoletes: %{name}-i18n-rw -Obsoletes: %{name}-i18n-sk -Obsoletes: %{name}-i18n-sr -Obsoletes: %{name}-i18n-srlatin -Obsoletes: %{name}-i18n-sv -Obsoletes: %{name}-i18n-ta -Obsoletes: %{name}-i18n-th -Obsoletes: %{name}-i18n-tr -Obsoletes: %{name}-i18n-uk -Obsoletes: %{name}-i18n-zhcn - - -%description -Kile is a user-friendly LaTeX source editor and TeX shell for TDE. - -The source editor is a multi-document editor designed for .tex and .bib -files. Menus, wizards and auto-completion are provided to assist with -tag insertion and code generation. A structural view of the document -assists with navigation within source files. - -The TeX shell integrates the various tools required for TeX processing. -It assists with LaTeX compilation, DVI and postscript document viewing, -generation of bibliographies and indices and other common tasks. - -Kile can support large projects consisting of several smaller files. - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__chmod +x %{buildroot}%{tde_datadir}/apps/kile/test/runTests.sh - -# Unwanted files ... -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kile -%{tde_tdeappdir}/kile.desktop -%{tde_datadir}/apps/kconf_update -%{tde_datadir}/apps/kile -%{tde_datadir}/config.kcfg/kile.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kile.png -%{tde_datadir}/icons/hicolor/scalable/apps/kile.svgz -%{tde_tdedocdir}/HTML/en/kile -%{tde_datadir}/mimelnk/text/x-kilepr.desktop - -%lang(da) %{tde_tdedocdir}/HTML/da/kile/ -%lang(es) %{tde_tdedocdir}/HTML/es/kile/ -%lang(et) %{tde_tdedocdir}/HTML/et/kile/ -%lang(it) %{tde_tdedocdir}/HTML/it/kile/ -%lang(nl) %{tde_tdedocdir}/HTML/nl/kile/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/kile/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/kile/ - - - -%changelog -* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.2-4 -- Initial release for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.2-3 -- Rebuilt for Fedora 17 -- Removes the XPM icon - -* Fri Apr 20 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.2-2 -- Fix file conflict with trinity-kdelibs - -* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 2.0.2-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kile/kile-3.5.13.spec b/redhat/applications/kile/kile-3.5.13.spec deleted file mode 100644 index c67f253fd..000000000 --- a/redhat/applications/kile/kile-3.5.13.spec +++ /dev/null @@ -1,648 +0,0 @@ -# Default version for this component -%define kdecomp kile - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: KDE Integrated LaTeX Environment [Trinity] -Version: 2.0.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Publishing - -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -%package i18n-ar -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Arabic (ar) translations for Kile [Trinity] -%description i18n-ar -This package contains the Arabic translations for Kile. - -%package i18n-bg -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Bulgarian (bg) translations for Kile [Trinity] -%description i18n-bg -This package contains the Bulgarian translations for Kile. - -%package i18n-br -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Brazilian (br) translations for Kile [Trinity] -%description i18n-br -This package contains the Brazilian translations for Kile. - -%package i18n-ca -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Catalan (ca) translations for Kile [Trinity] -%description i18n-ca -This package contains the Catalan translations for Kile. - -%package i18n-cs -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Czech (cs) translations for Kile [Trinity] -%description i18n-cs -This package contains the Czech translations for Kile. - -%package i18n-cy -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Welsh (cy) translations for Kile [Trinity] -%description i18n-cy -This package contains the Welsh translations for Kile. - -%package i18n-da -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Danish (da) translations for Kile [Trinity] -%description i18n-da -This package contains the Danish translations for Kile. - -%package i18n-de -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: German (de) translations for Kile [Trinity] -%description i18n-de -This package contains the German translations for Kile. - -%package i18n-el -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Greek (el) translations for Kile [Trinity] -%description i18n-el -This package contains the greek translations for Kile. - -%package i18n-engb -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: British English (en_GB) translations for Kile [Trinity] -%description i18n-engb -This package contains the British English (en_GB) translations for Kile [Trinity]. - -%package i18n-es -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Spanish (es) translations for Kile [Trinity] -%description i18n-es -This package contains the Spanish translations for Kile. - -%package i18n-et -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Estonian (et) translations for Kile [Trinity] -%description i18n-et -This package contains the Estonian translations for Kile. - -%package i18n-eu -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Basque (eu) translations for Kile [Trinity] -%description i18n-eu -This package contains the Basque translations for Kile. - -%package i18n-fi -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Finnish (fi) translations for Kile [Trinity] -%description i18n-fi -This package contains the Finnish translations for Kile. - -%package i18n-fr -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: French (fr) translations for Kile [Trinity] -%description i18n-fr -This package contains the French translations for Kile. - -%package i18n-ga -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Irish Gaelic (ga) translations for Kile [Trinity] -%description i18n-ga -This package contains the Irish Gaelic translations for Kile. - -%package i18n-gl -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Galician (gl) translations for Kile [Trinity] -%description i18n-gl -This package contains the Galician translations for Kile. - -%package i18n-hi -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Hindi (hi) translations for Kile [Trinity] -%description i18n-hi -This package contains the Hindi translations for Kile. - -%package i18n-hu -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Hungarian (hu) translations for Kile [Trinity] -%description i18n-hu -This package contains the Hungarian translations for Kile. - -%package i18n-is -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Icelandic (is) translations for Kile [Trinity] -%description i18n-is -This package contains the Icelandic translations for Kile. - -%package i18n-it -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Italian (it) translations for Kile [Trinity] -%description i18n-it -This package contains the Italian translations for Kile. - -%package i18n-ja -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Japanese (ja) translations for Kile [Trinity] -%description i18n-ja -This package contains the Japanese translations for Kile. - -%package i18n-lt -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Lithuanian (lt) translations for Kile [Trinity] -%description i18n-lt -This package contains the Lithuanian translations for Kile. - -%package i18n-ms -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Malay (ms) translations for Kile [Trinity] -%description i18n-ms -This package contains the Malay translations for Kile. - -%package i18n-mt -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Maltese (mt) translations for Kile [Trinity] -%description i18n-mt -This package contains the Maltese translations for Kile. - -%package i18n-nb -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Norwegian Bookmal (nb) translations for Kile [Trinity] -%description i18n-nb -This package contains the Norwegian Bookmal translations for Kile. - -%package i18n-nds -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Low Saxon (nds) translations for Kile [Trinity] -%description i18n-nds -This package contains the Low Saxon translations for Kile. - -%package i18n-nl -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Dutch (nl) translations for Kile [Trinity] -%description i18n-nl -This package contains the Dutch translations for Kile. - -%package i18n-nn -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Norwegian Nynorsk (nn) translations for Kile [Trinity] -%description i18n-nn -This package contains the Norwegian Nynorsk translations for Kile. - -%package i18n-pa -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Punjabi (pa) translations for Kile [Trinity] -%description i18n-pa -This package contains the Punjabi translations for Kile. - -%package i18n-pl -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Polish (pl) translations for Kile [Trinity] -%description i18n-pl -This package contains the Polish translations for Kile. - -%package i18n-pt -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Portuguese (pt) translations for Kile [Trinity] -%description i18n-pt -This package contains the Portuguese translations for Kile. - -%package i18n-ptbr -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Brazilian Portuguese (pt_BR) translations for Kile [Trinity] -%description i18n-ptbr -This package contains the Brazilian Portuguese translations for Kile. - -%package i18n-ro -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Romanian (ro) translations for Kile [Trinity] -%description i18n-ro -This package contains the Romanian translations for Kile. - -%package i18n-ru -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Russian (ru) translations for Kile [Trinity] -%description i18n-ru -This package contains the Russian translations for Kile. - -%package i18n-rw -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Kinyarwanda (rw) translations for Kile [Trinity] -%description i18n-rw -This package contains the Kinyarwanda translations for Kile. - -%package i18n-sk -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Slovak (sk) translations for Kile [Trinity] -%description i18n-sk -This package contains the Slovak translations for Kile. - -%package i18n-sr -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Serbian (sr) translations for Kile [Trinity] -%description i18n-sr -This package contains the Serbian translations for Kile. - -%package i18n-srlatin -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Latin Serbian (sr@Latn) translations for Kile [Trinity] -%description i18n-srlatin -This package contains the Latin Serbian translations for Kile. - -%package i18n-sv -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Swedish (sv) translations for Kile [Trinity] -%description i18n-sv -This package contains the Swedish translations for Kile. - -%package i18n-ta -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Tamil (ta) translations for Kile [Trinity] -%description i18n-ta -This package contains the Tamil translations for Kile. - -%package i18n-th -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Thai (th) translations for Kile [Trinity] -%description i18n-th -This package contains the Thai translations for Kile. - -%package i18n-tr -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Turkish (tr) translations for Kile [Trinity] -%description i18n-tr -This package contains the Turkish translations for Kile. - -%package i18n-uk -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Ukrainian (uk) translations for Kile [Trinity] -%description i18n-uk -This package contains the Ukrainian translations for Kile. - -%package i18n-zhcn -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Chinese Simplified (zh_CN) translations for Kile [Trinity] -%description i18n-zhcn -This package contains the Chinese Simplified translations for Kile. - - -%description -Kile is a user-friendly LaTeX source editor and TeX shell for TDE. - -The source editor is a multi-document editor designed for .tex and .bib -files. Menus, wizards and auto-completion are provided to assist with -tag insertion and code generation. A structural view of the document -assists with navigation within source files. - -The TeX shell integrates the various tools required for TeX processing. -It assists with LaTeX compilation, DVI and postscript document viewing, -generation of bibliographies and indices and other common tasks. - -Kile can support large projects consisting of several smaller files. - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__chmod +x %{buildroot}%{tde_datadir}/apps/kile/test/runTests.sh - -# Unwanted files ... -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kile -%{tde_tdeappdir}/kile.desktop -%{tde_datadir}/apps/kconf_update -%{tde_datadir}/apps/kile -%{tde_datadir}/config.kcfg/kile.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kile.png -%{tde_datadir}/icons/hicolor/scalable/apps/kile.svgz -%{tde_tdedocdir}/HTML/en/kile -%{tde_datadir}/mimelnk/text/x-kilepr.desktop - -%files i18n-da -%lang(da) %{tde_tdedocdir}/HTML/da/kile -%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/kile.mo - -%files i18n-es -%lang(es) %{tde_tdedocdir}/HTML/es/kile -%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/kile.mo - -%files i18n-et -%lang(et) %{tde_tdedocdir}/HTML/et/kile -%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/kile.mo - -%files i18n-it -%lang(it) %{tde_tdedocdir}/HTML/it/kile -%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/kile.mo - -%files i18n-nl -%lang(nl) %{tde_tdedocdir}/HTML/nl/kile -%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/kile.mo - -%files i18n-pt -%lang(pt) %{tde_tdedocdir}/HTML/pt/kile -%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/kile.mo - -%files i18n-sv -%lang(sv) %{tde_tdedocdir}/HTML/sv/kile -%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/kile.mo - -%files i18n-ar -%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/kile.mo - -%files i18n-bg -%lang(bg) %{tde_datadir}/locale/bg/LC_MESSAGES/kile.mo - -%files i18n-br -%lang(br) %{tde_datadir}/locale/br/LC_MESSAGES/kile.mo - -%files i18n-ca -%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/kile.mo - -%files i18n-cs -%lang(cs) %{tde_datadir}/locale/cs/LC_MESSAGES/kile.mo - -%files i18n-cy -%lang(cy) %{tde_datadir}/locale/cy/LC_MESSAGES/kile.mo - -%files i18n-de -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/kile.mo - -%files i18n-el -%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/kile.mo - -%files i18n-engb -%lang(en_GB) %{tde_datadir}/locale/en_GB/LC_MESSAGES/kile.mo - -%files i18n-eu -%lang(eu) %{tde_datadir}/locale/eu/LC_MESSAGES/kile.mo - -%files i18n-fi -%lang(fi) %{tde_datadir}/locale/fi/LC_MESSAGES/kile.mo - -%files i18n-fr -%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/kile.mo - -%files i18n-ga -%lang(ga) %{tde_datadir}/locale/ga/LC_MESSAGES/kile.mo - -%files i18n-gl -%lang(gl) %{tde_datadir}/locale/gl/LC_MESSAGES/kile.mo - -%files i18n-hi -%lang(hi) %{tde_datadir}/locale/hi/LC_MESSAGES/kile.mo - -%files i18n-hu -%lang(hu) %{tde_datadir}/locale/hu/LC_MESSAGES/kile.mo - -%files i18n-is -%lang(is) %{tde_datadir}/locale/is/LC_MESSAGES/kile.mo - -%files i18n-ja -%lang(ja) %{tde_datadir}/locale/ja/LC_MESSAGES/kile.mo - -%files i18n-lt -%lang(lt) %{tde_datadir}/locale/lt/LC_MESSAGES/kile.mo - -%files i18n-ms -%lang(ms) %{tde_datadir}/locale/ms/LC_MESSAGES/kile.mo - -%files i18n-mt -%lang(mt) %{tde_datadir}/locale/mt/LC_MESSAGES/kile.mo - -%files i18n-nb -%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/kile.mo - -%files i18n-nds -%lang(nds) %{tde_datadir}/locale/nds/LC_MESSAGES/kile.mo - -%files i18n-nn -%lang(nn) %{tde_datadir}/locale/nn/LC_MESSAGES/kile.mo - -%files i18n-pa -%lang(pa) %{tde_datadir}/locale/pa/LC_MESSAGES/kile.mo - -%files i18n-pl -%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/kile.mo - -%files i18n-ptbr -%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/kile.mo - -%files i18n-ro -%lang(ro) %{tde_datadir}/locale/ro/LC_MESSAGES/kile.mo - -%files i18n-ru -%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/kile.mo - -%files i18n-rw -%lang(rw) %{tde_datadir}/locale/rw/LC_MESSAGES/kile.mo - -%files i18n-sk -%lang(sk) %{tde_datadir}/locale/sk/LC_MESSAGES/kile.mo - -%files i18n-sr -%lang(sr) %{tde_datadir}/locale/sr/LC_MESSAGES/kile.mo - -%files i18n-srlatin -%lang(sr@Latn) %{tde_datadir}/locale/sr@Latn/LC_MESSAGES/kile.mo - -%files i18n-ta -%lang(ta) %{tde_datadir}/locale/ta/LC_MESSAGES/kile.mo - -%files i18n-th -%lang(th) %{tde_datadir}/locale/th/LC_MESSAGES/kile.mo - -%files i18n-tr -%lang(tr) %{tde_datadir}/locale/tr/LC_MESSAGES/kile.mo - -%files i18n-uk -%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/kile.mo - -%files i18n-zhcn -%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/kile.mo - - - - -%Changelog -* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.2-3 -- Rebuilt for Fedora 17 -- Removes the XPM icon - -* Fri Apr 20 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.2-2 -- Fix file conflict with trinity-kdelibs - -* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 2.0.2-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 |