parent
871701198b
commit
4f39408ad2
@ -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);
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
Loading…
Reference in new issue