diff --git a/redhat/tdepim/kdepim-3.5.12.spec b/redhat/tdepim/kdepim-3.5.12.spec deleted file mode 100644 index a8134cd94..000000000 --- a/redhat/tdepim/kdepim-3.5.12.spec +++ /dev/null @@ -1,153 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%define release 6 -%endif - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-kdepim -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} -License: GPL -Group: Applications/Productivity - -Vendor: Trinity Project -Packager: Francois Andriot -Summary: PIM (Personal Information Manager) applications - -Prefix: %{_prefix} - -Source0: kdepim-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# TDE official patches from SVN, unmodified -# Attempt to fix a kdepim FTBFS based on a missing stdc header #include -Patch0: http://www.trinitydesktop.org/patches/r1228885.diff - -BuildRequires: tqtinterface -BuildRequires: trinity-arts -BuildRequires: trinity-kdelibs -BuildRequires: gpgme-devel -BuildRequires: libgpg-error-devel -BuildRequires: flex -BuildRequires: libical-devel -BuildRequires: gnokii-devel - -%if 0%{?fedora} >= 15 -BuildRequires: flex-static -%endif - -Requires: trinity-kdelibs - -%description -PIM (Personal Information Manager) applications. - - -%package devel -Requires: %{name} -Summary: %{name} - Development files -Group: Development/Libraries -%description devel -Development files for %{name}. - - -%prep -%setup -q -n kdepim -%patch0 -p1 - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-debug --disable-warnings --enable-final \ - --with-extra-includes=%{_includedir}/tqt - -# Do NOT use %{?_smp_mflags} for this package, or it will fail to build ! -%__make - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - -%clean -%__rm -rf %{?buildroot} - -%files -%defattr(-,root,root,-) -%{_bindir}/* -%{_datadir}/applications/kde/*.desktop -%{_datadir}/applnk/.hidden/* -%{_datadir}/applnk/*/* -%{_datadir}/apps/* -%{_datadir}/autostart/*.desktop -%{_datadir}/config/* -%{_datadir}/icons/* -%{_datadir}/services/* -%{_datadir}/mimelnk/application/* -%{_datadir}/config.kcfg/* -%{_libdir}/lib*.so.* -%{tde_libdir}/*.so -%{tde_libdir}/*.so.* -%{tde_libdir}/plugins/designer/*.so -%{_datadir}/servicetypes/* -%{_libdir}/kconf_update_bin/* -%{_libdir}/libakregatorprivate.so -%{_libdir}/libkmailprivate.so -%{tde_docdir}/HTML/en/* - -%files devel -%defattr(-,root,root,-) -%{_libdir}/*.la -%{_libdir}/*.so -%{_includedir}/* -%{tde_libdir}/*.la -%{tde_libdir}/plugins/designer/*.la -%exclude %{_libdir}/libakregatorprivate.so -%exclude %{_libdir}/libkmailprivate.so - -%changelog -* Sun Sep 18 2011 Francois Andriot - 3.5.12-6 -- Add RHEL5 support - -* Mon Sep 05 2011 Francois Andriot - 3.5.12-5 -- Import to GIT - -* Tue Aug 23 2011 Francois Andriot - 3.5.12-4 -- Correct (again) macro to install under "/opt", if desired -- Add missing BuildRequires -- Add 'patch0' to allow compilation with GCC >= 4.5 - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-3 -- Correct macro to install under "/opt", if desired - -* Sun Dec 19 2010 Francois Andriot - 3.5.12-2 -- Rebuilt - -* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 -- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/kde3) -- Add '--with-extra-includes=%{_includedir}/tqt' - -* Wed Dec 15 2010 Francois Andriot - 3.5.12-0 -- Initial version - diff --git a/redhat/tdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch b/redhat/tdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch deleted file mode 100644 index c382ec723..000000000 --- a/redhat/tdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 82d4a938ce57d8611e1ef2e26924bb4367483b0c -Author: Timothy Pearson -Date: 1341027705 -0500 - - Disable unneccesary fsync() in cached IMAP handler - -diff --git a/kmail/kmfoldercachedimap.cpp b/kmail/kmfoldercachedimap.cpp -index 72f1113..e7009a2 100644 ---- a/kmail/kmfoldercachedimap.cpp -+++ b/kmail/kmfoldercachedimap.cpp -@@ -478,7 +478,7 @@ int KMFolderCachedImap::writeUidCache() - str << lastUid() << endl; - uidcache.flush(); - if ( uidcache.status() == IO_Ok ) { -- fsync( uidcache.handle() ); /* this is probably overkill */ -+ // fsync( uidcache.handle() ); /* this is probably overkill */ - uidcache.close(); - if ( uidcache.status() == IO_Ok ) - return 0; diff --git a/redhat/tdepim/kdepim-3.5.13-fix_check_mail.patch b/redhat/tdepim/kdepim-3.5.13-fix_check_mail.patch deleted file mode 100644 index b5558cd19..000000000 --- a/redhat/tdepim/kdepim-3.5.13-fix_check_mail.patch +++ /dev/null @@ -1,21 +0,0 @@ -commit 2d5f15c865de75f3147bd849ef81d3ed034f8104 -Author: Darrell Anderson -Date: 1335654338 -0500 - - Reverse patch from GIT hash 33e649c9. - This resolves bug report 406. - Thanks to Slavek Banko. - -diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp -index 227f48c..cb9db70 100644 ---- a/kmail/kmcomposewin.cpp -+++ b/kmail/kmcomposewin.cpp -@@ -4351,8 +4351,6 @@ void KMComposeWin::slotContinueDoSend( bool sentOk ) - } - (*it)->cleanupHeader(); - sentOk = kmkernel->msgSender()->send((*it), mSendMethod); -- if (sentOk) -- kmkernel->acctMgr()->checkMail(true); - } - - if (!sentOk) diff --git a/redhat/tdepim/kdepim-3.5.13-fix_composer_crash.patch b/redhat/tdepim/kdepim-3.5.13-fix_composer_crash.patch deleted file mode 100644 index 4ee139a44..000000000 --- a/redhat/tdepim/kdepim-3.5.13-fix_composer_crash.patch +++ /dev/null @@ -1,20 +0,0 @@ -commit 84f29704e3fadcf1afb22da208e1dbb87feb7718 -Author: Serghei Amelian -Date: 1333065429 +0300 - - [kmail] fixed composer crash - -diff --git a/kmail/mailcomposerIface.h b/kmail/mailcomposerIface.h -index 2858657..4cba7f3 100644 ---- a/kmail/mailcomposerIface.h -+++ b/kmail/mailcomposerIface.h -@@ -13,6 +13,9 @@ - class MailComposerIface : virtual public DCOPObject - { - K_DCOP -+ -+ public: MailComposerIface() : DCOPObject("MailComposerIface") {} -+ - k_dcop: - /** - Send message. diff --git a/redhat/tdepim/kdepim-3.5.13-fix_gcc47_compilation.patch b/redhat/tdepim/kdepim-3.5.13-fix_gcc47_compilation.patch deleted file mode 100644 index 0dc2aae1a..000000000 --- a/redhat/tdepim/kdepim-3.5.13-fix_gcc47_compilation.patch +++ /dev/null @@ -1,64 +0,0 @@ -diff -uNrb tdepim.orig/kmail/kmsystemtray.cpp tdepim/kmail/kmsystemtray.cpp ---- tdepim.orig/kmail/kmsystemtray.cpp 2012-02-08 20:40:02.000000000 -0600 -+++ tdepim/kmail/kmsystemtray.cpp 2012-04-18 17:27:51.347213673 -0500 -@@ -482,9 +482,9 @@ - /** The number of unread messages in that folder */ - int unread = fldr->countUnread(); - -- TQMap, int>::Iterator it = -+ TQMap, int>::Iterator unread_it = - mFoldersWithUnread.find(fldr); -- bool unmapped = (it == mFoldersWithUnread.end()); -+ bool unmapped = (unread_it == mFoldersWithUnread.end()); - - /** If the folder is not mapped yet, increment count by numUnread - in folder */ -diff -uNrb tdepim.orig/korganizer/korgac/alarmdialog.cpp tdepim/korganizer/korgac/alarmdialog.cpp ---- tdepim.orig/korganizer/korgac/alarmdialog.cpp 2012-02-08 20:40:02.000000000 -0600 -+++ tdepim/korganizer/korgac/alarmdialog.cpp 2012-04-18 17:32:28.668760481 -0500 -@@ -498,9 +498,9 @@ - found = true; - item->mNotified = true; - Alarm::List alarms = incidence->alarms(); -- Alarm::List::ConstIterator it; -- for ( it = alarms.begin(); it != alarms.end(); ++it ) { -- Alarm *alarm = *it; -+ Alarm::List::ConstIterator c_it; -+ for ( c_it = alarms.begin(); c_it != alarms.end(); ++c_it ) { -+ Alarm *alarm = *c_it; - // FIXME: Check whether this should be done for all multiple alarms - if (alarm->type() == Alarm::Procedure) { - // FIXME: Add a message box asking whether the procedure should really be executed -diff -uNrb tdepim.orig/kresources/caldav/resource.cpp tdepim/kresources/caldav/resource.cpp ---- tdepim.orig/kresources/caldav/resource.cpp 2012-03-11 12:15:18.000000000 -0500 -+++ tdepim/kresources/caldav/resource.cpp 2012-04-18 17:55:16.219084894 -0500 -@@ -15,6 +15,7 @@ - ========================================================================*/ - - #include -+#include - - #include - #include -diff -uNrb tdepim.orig/kresources/carddav/resource.cpp tdepim/kresources/carddav/resource.cpp ---- tdepim.orig/kresources/carddav/resource.cpp 2012-03-11 12:15:18.000000000 -0500 -+++ tdepim/kresources/carddav/resource.cpp 2012-04-18 17:55:54.555564703 -0500 -@@ -14,6 +14,7 @@ - ========================================================================*/ - - #include -+#include - - #include - #include ---- kdepim/libkcal/listbase.h.gcc47 2012-04-25 23:32:57.483879335 +0200 -+++ kdepim/libkcal/listbase.h 2012-04-25 23:33:27.608192801 +0200 -@@ -67,7 +67,7 @@ - - bool removeRef( T *t ) - { -- TQValueListIterator it = find( t ); -+ TQValueListIterator it = this->find( t ); - if ( it == TQValueList::end() ) { - return false; - } else { diff --git a/redhat/tdepim/kdepim-3.5.13-fix_include_directory.patch b/redhat/tdepim/kdepim-3.5.13-fix_include_directory.patch deleted file mode 100644 index 2d12817b2..000000000 --- a/redhat/tdepim/kdepim-3.5.13-fix_include_directory.patch +++ /dev/null @@ -1,219 +0,0 @@ ---- kdepim/akregator/src/CMakeLists.txt.ORI 2012-08-02 23:49:19.725396251 +0200 -+++ kdepim/akregator/src/CMakeLists.txt 2012-08-02 23:49:26.428291587 +0200 -@@ -39,7 +39,7 @@ - install( FILES - plugin.h articleinterceptor.h akregator_export.h storage.h - feedstorage.h storagefactory.h storagefactoryregistry.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/akregator ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/akregator ) - - - ##### other data ################################ ---- kdepim/libksieve/ksieve/CMakeLists.txt.ORI 2012-08-02 22:02:44.380776017 +0000 -+++ kdepim/libksieve/ksieve/CMakeLists.txt 2012-08-02 22:03:27.102148170 +0000 -@@ -11,4 +11,4 @@ - - install( FILES - error.h lexer.h parser.h scriptbuilder.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/ksieve ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/ksieve ) ---- kdepim/libemailfunctions/CMakeLists.txt.ORI 2012-08-02 22:02:44.381775953 +0000 -+++ kdepim/libemailfunctions/CMakeLists.txt 2012-08-02 22:03:27.103148111 +0000 -@@ -25,7 +25,7 @@ - ##### header files ################################ - - if( BUILD_LIBKDEPIM ) -- install( FILES idmapper.h DESTINATION ${INCLUDE_INSTALL_DIR}/kde/libemailfunctions ) -+ install( FILES idmapper.h DESTINATION ${INCLUDE_INSTALL_DIR}/libemailfunctions ) - endif() - - ---- kdepim/libkdenetwork/qgpgme/CMakeLists.txt.ORI 2012-08-02 22:02:44.381775953 +0000 -+++ kdepim/libkdenetwork/qgpgme/CMakeLists.txt 2012-08-02 22:03:27.104148051 +0000 -@@ -27,7 +27,7 @@ - - install( FILES - eventloopinteractor.h dataprovider.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/qgpgme ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/qgpgme ) - - - ##### qgpgme (shared) ########################### ---- kdepim/libkdenetwork/gpgmepp/CMakeLists.txt.ORI 2012-08-02 22:02:44.382775890 +0000 -+++ kdepim/libkdenetwork/gpgmepp/CMakeLists.txt 2012-08-02 22:03:27.105147991 +0000 -@@ -35,7 +35,7 @@ - keygenerationresult.h importresult.h decryptionresult.h - verificationresult.h signingresult.h encryptionresult.h - engineinfo.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/gpgme++ ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/gpgme++ ) - - - ##### gpgme++ (shared) ########################## ---- kdepim/kontact/interfaces/CMakeLists.txt.ORI 2012-08-02 22:02:44.383775827 +0000 -+++ kdepim/kontact/interfaces/CMakeLists.txt 2012-08-02 22:03:27.106147931 +0000 -@@ -26,7 +26,7 @@ - - install( FILES - core.h plugin.h summary.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/kontact ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/kontact ) - - - ##### other data ################################ ---- kdepim/libkcal/CMakeLists.txt.ORI 2012-08-02 22:02:44.384775764 +0000 -+++ kdepim/libkcal/CMakeLists.txt 2012-08-02 22:03:27.107147871 +0000 -@@ -49,7 +49,7 @@ - resourcelocaldirconfig.h resourcelocaldir.h resourcelocal.h - scheduler.h libkcal_export.h todo.h vcaldrag.h vcalformat.h - attachmenthandler.h ${CMAKE_CURRENT_BINARY_DIR}/htmlexportsettings.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/libkcal ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/libkcal ) - - - ##### other data ################################ ---- kdepim/kresources/egroupware/CMakeLists.txt.ORI 2012-08-02 22:02:44.385775701 +0000 -+++ kdepim/kresources/egroupware/CMakeLists.txt 2012-08-02 22:03:27.108147811 +0000 -@@ -28,7 +28,7 @@ - - install( FILES - kabc_resourcexmlrpc.h kcal_resourcexmlrpc.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/kabc ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/kabc ) - - - ##### other data ################################ ---- kdepim/indexlib/CMakeLists.txt.ORI 2012-08-02 22:02:44.386775637 +0000 -+++ kdepim/indexlib/CMakeLists.txt 2012-08-02 22:03:27.109147752 +0000 -@@ -26,7 +26,7 @@ - - install( FILES - create.h index.h lockfile.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/index ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/index ) - - - ##### other data ################################ ---- kdepim/kaddressbook/interfaces/CMakeLists.txt.ORI 2012-08-02 22:02:44.386775637 +0000 -+++ kdepim/kaddressbook/interfaces/CMakeLists.txt 2012-08-02 22:03:27.110147693 +0000 -@@ -28,7 +28,7 @@ - install( FILES - configurewidget.h contacteditorwidget.h core.h - extensionwidget.h xxport.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/kaddressbook ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/kaddressbook ) - - - ##### other data ################################ ---- kdepim/mimelib/mimelib/CMakeLists.txt.ORI 2012-08-02 22:02:44.387775573 +0000 -+++ kdepim/mimelib/mimelib/CMakeLists.txt 2012-08-02 22:03:27.111147634 +0000 -@@ -16,4 +16,4 @@ - mboxlist.h mechansm.h mediatyp.h message.h mimepp.h - msgcmp.h msgid.h nntp.h param.h pop.h protocol.h - string.h text.h token.h utility.h uuencode.h binhex.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/mimelib ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/mimelib ) ---- kdepim/certmanager/lib/kleo/CMakeLists.txt.ORI 2012-08-02 22:02:44.388775510 +0000 -+++ kdepim/certmanager/lib/kleo/CMakeLists.txt 2012-08-02 22:03:27.112147575 +0000 -@@ -34,7 +34,7 @@ - verifyopaquejob.h decryptverifyjob.h signencryptjob.h - refreshkeysjob.h multideletejob.h hierarchicalkeylistjob.h - keyfilter.h keyfiltermanager.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/kleo ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/kleo ) - - - ##### kleopatra_core (static) ################### ---- kdepim/korganizer/interfaces/calendar/CMakeLists.txt.ORI 2012-08-02 22:02:44.390775383 +0000 -+++ kdepim/korganizer/interfaces/calendar/CMakeLists.txt 2012-08-02 22:03:27.114147455 +0000 -@@ -11,7 +11,7 @@ - - install( FILES - plugin.h calendardecoration.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/calendar ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/calendar ) - - install( FILES - calendarplugin.desktop calendardecoration.desktop ---- kdepim/korganizer/interfaces/korganizer/CMakeLists.txt.ORI 2012-08-02 22:02:44.391775319 +0000 -+++ kdepim/korganizer/interfaces/korganizer/CMakeLists.txt 2012-08-02 22:03:27.114147455 +0000 -@@ -11,7 +11,7 @@ - - install( FILES - part.h baseview.h calendarviewbase.h mainwindow.h corehelper.h printplugin.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/korganizer ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/korganizer ) - - install( FILES - korganizerpart.desktop korgprintplugin.desktop ---- kdepim/kmail/interfaces/CMakeLists.txt.ORI 2012-08-02 22:02:44.392775255 +0000 -+++ kdepim/kmail/interfaces/CMakeLists.txt 2012-08-02 22:03:27.116147335 +0000 -@@ -12,4 +12,4 @@ - install( FILES - observer.h observable.h htmlwriter.h bodypart.h - bodypartformatter.h bodyparturlhandler.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/kmail/interfaces ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/kmail/interfaces ) ---- kdepim/kgantt/kgantt/CMakeLists.txt.ORI 2012-08-02 22:02:44.393775192 +0000 -+++ kdepim/kgantt/kgantt/CMakeLists.txt 2012-08-02 22:03:27.117147275 +0000 -@@ -26,7 +26,7 @@ - install( FILES - KGantt.h KGanttItem.h KGanttRelation.h xQGanttBarView.h xQGanttBarViewPort.h - xQGanttListView.h xQGanttListViewPort.h KGanttBarConfig.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/kgantt ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/kgantt ) - - - ##### kgantt (shared) ########################### ---- kdepim/libkpimexchange/core/CMakeLists.txt.ORI 2012-08-02 22:02:44.394775129 +0000 -+++ kdepim/libkpimexchange/core/CMakeLists.txt 2012-08-02 22:03:27.118147215 +0000 -@@ -30,7 +30,7 @@ - - install( FILES - exchangeclient.h exchangeaccount.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/kdepim ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/kdepim ) - - - ##### kpimexchange (shared) ##################### ---- kdepim/ktnef/ktnef/CMakeLists.txt.ORI 2012-08-02 22:02:44.395775066 +0000 -+++ kdepim/ktnef/ktnef/CMakeLists.txt 2012-08-02 22:03:27.119147156 +0000 -@@ -13,4 +13,4 @@ - ktnefparser.h ktnefattach.h ktnefproperty.h - ktnefpropertyset.h ktnefmessage.h ktnefwriter.h - ktnefdefs.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde/ktnef ) -+ DESTINATION ${INCLUDE_INSTALL_DIR}/ktnef ) ---- ./knotes/CMakeLists.txt.ORI 2012-08-02 22:07:47.777059775 +0000 -+++ ./knotes/CMakeLists.txt 2012-08-02 22:08:42.414825054 +0000 -@@ -34,7 +34,7 @@ - - ##### headers ################################### - --install( FILES KNotesIface.h KNotesAppIface.h DESTINATION ${INCLUDE_INSTALL_DIR}/kde ) -+install( FILES KNotesIface.h KNotesAppIface.h DESTINATION ${INCLUDE_INSTALL_DIR} ) - - - ##### other data ################################ ---- ./kmail/CMakeLists.txt.ORI 2012-08-02 22:07:47.777059775 +0000 -+++ ./kmail/CMakeLists.txt 2012-08-02 22:08:42.415825014 +0000 -@@ -65,7 +65,7 @@ - - install( FILES - kmailIface.h kmailpartIface.h kmailicalIface.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde ) -+ DESTINATION ${INCLUDE_INSTALL_DIR} ) - - - ##### other data ################################ ---- ./libkdepim/CMakeLists.txt.ORI 2012-08-02 22:07:47.778059734 +0000 -+++ ./libkdepim/CMakeLists.txt 2012-08-02 22:08:42.416824973 +0000 -@@ -40,7 +40,7 @@ - - install( FILES - kdepimmacros.h kpimprefs.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/kde ) -+ DESTINATION ${INCLUDE_INSTALL_DIR} ) - - - ##### other data ################################ diff --git a/redhat/tdepim/kdepim-3.5.13-fix_kalarm_icon_reference.patch b/redhat/tdepim/kdepim-3.5.13-fix_kalarm_icon_reference.patch deleted file mode 100644 index e6fbadd8e..000000000 --- a/redhat/tdepim/kdepim-3.5.13-fix_kalarm_icon_reference.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 228ad1c6df4be49fde421520e25fb9645ee922e7 -Author: Darrell Anderson -Date: 1339265402 -0500 - - Update kalarmd icon reference, which does not exist, to kalarm. - -diff --git a/kalarm/kalarmd/kalarmd.autostart.desktop b/kalarm/kalarmd/kalarmd.autostart.desktop -index 7342be1..c9a72db 100644 ---- a/kalarm/kalarmd/kalarmd.autostart.desktop -+++ b/kalarm/kalarmd/kalarmd.autostart.desktop -@@ -46,7 +46,7 @@ Name[uk]=Демон KAlarm - Name[zh_CN]=KAlarm 进程 - Name[zh_TW]=KAlarm 守護程式 - Exec=kalarmd --autostart --Icon=kalarmd -+Icon=kalarm - Type=Application - Comment=KAlarm alarm daemon autostart at login - Comment[af]=Begin KAlarm bediener outomaties tydens aanteken diff --git a/redhat/tdepim/kdepim-3.5.13-fix_kio_imap4_addquotes.patch b/redhat/tdepim/kdepim-3.5.13-fix_kio_imap4_addquotes.patch deleted file mode 100644 index debb6ebd5..000000000 --- a/redhat/tdepim/kdepim-3.5.13-fix_kio_imap4_addquotes.patch +++ /dev/null @@ -1,61 +0,0 @@ ---- kdepim/libkmime/kmime_util.cpp.addquotes 2012-05-28 22:58:31.257167175 +0200 -+++ kdepim/libkmime/kmime_util.cpp 2012-05-29 20:02:19.679233274 +0200 -@@ -436,49 +436,26 @@ - - void removeQuots(TQCString &str) - { -- bool inQuote=false; -- -- for (int i=0; i < (int)str.length(); i++) { -- if (str[i] == '"') { -- str.remove(i,1); -- i--; -- inQuote = !inQuote; -- } else { -- if (inQuote && (str[i] == '\\')) -- str.remove(i,1); -- } -- } -+ str.replace(TQRegExp("\\\""), "\""); -+ str.replace(TQRegExp("\\\\"), "\\"); - } - - - void removeQuots(TQString &str) - { -- bool inQuote=false; -- -- for (int i=0; i < (int)str.length(); i++) { -- if (str[i] == '"') { -- str.remove(i,1); -- i--; -- inQuote = !inQuote; -- } else { -- if (inQuote && (str[i] == '\\')) -- str.remove(i,1); -- } -- } -+ str.replace(TQRegExp("\\\""), "\""); -+ str.replace(TQRegExp("\\\\"), "\\"); - } - - - void addQuotes(TQCString &str, bool forceQuotes) - { - bool needsQuotes=false; -- for (unsigned int i=0; i < str.length(); i++) { -- if (strchr("()<>@,.;:[]=\\\"",str[i])!=0) -- needsQuotes = true; -- if (str[i]=='\\' || str[i]=='\"') { -- str.insert(i, '\\'); -- i++; -- } -- } -+ if ( TQString( str ) .contains( TQRegExp( TQString( "\"|\\\\|=|\\]|\\[|:|;|,|\\.|,|@|<|>|\\)|\\(" ) ) ) ) -+ needsQuotes = true; -+ -+ str.replace(TQRegExp("\\"), "\\\\"); -+ str.replace(TQRegExp("\""), "\\\""); - - if (needsQuotes || forceQuotes) { - str.insert(0,'\"'); diff --git a/redhat/tdepim/kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch b/redhat/tdepim/kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch deleted file mode 100644 index 90e0a1269..000000000 --- a/redhat/tdepim/kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- kdepim/kioslaves/imap4/imapparser.cc.ORI 2012-05-27 23:40:50.101207608 +0200 -+++ kdepim/kioslaves/imap4/imapparser.cc 2012-05-27 23:43:23.264547024 +0200 -@@ -277,11 +277,11 @@ - } - cmd = sendCommand (new imapCommand ("AUTHENTICATE", firstCommand.latin1())); - -- while ( true ) -+ int pl = 0; -+ while ( pl != -1 && !cmd->isComplete () ) - { - //read the next line -- while (parseLoop() == 0) ; -- if ( cmd->isComplete() ) break; -+ while ((pl = parseLoop()) == 0) ; - - if (!continuation.isEmpty()) - { diff --git a/redhat/tdepim/kdepim-3.5.13-fix_knotes_after_restored.patch b/redhat/tdepim/kdepim-3.5.13-fix_knotes_after_restored.patch deleted file mode 100644 index 25d6ef993..000000000 --- a/redhat/tdepim/kdepim-3.5.13-fix_knotes_after_restored.patch +++ /dev/null @@ -1,21 +0,0 @@ -commit 533f494f46d65be366aee3e9973b674320e46bc8 -Author: Darrell Anderson -Date: 1336698215 -0500 - - Fix knotes not appearing on the desktop when a session is restored. - Thanks to Slavek Banko. - This resolves bug report 987. - -diff --git a/knotes/knote.cpp b/knotes/knote.cpp -index 182aee8..08c24b8 100644 ---- a/knotes/knote.cpp -+++ b/knotes/knote.cpp -@@ -765,7 +765,7 @@ void KNote::slotClose() - m_editor->clearFocus(); - m_config->setHideNote( true ); - m_config->setPosition( pos() ); -- m_config->writeConfig(); -+ - // just hide the note so it's still available from the dock window - hide(); - } diff --git a/redhat/tdepim/kdepim-3.5.13-fix_knotes_on_suspend.patch b/redhat/tdepim/kdepim-3.5.13-fix_knotes_on_suspend.patch deleted file mode 100644 index 7de27843b..000000000 --- a/redhat/tdepim/kdepim-3.5.13-fix_knotes_on_suspend.patch +++ /dev/null @@ -1,20 +0,0 @@ -commit c48253af15badc7a81db7ea2f22465405a897110 -Author: Slávek Banko -Date: 1337752740 +0200 - - Fix knotes to not close notes during saving session. - This closes Bug 987 - -diff --git a/knotes/knote.cpp b/knotes/knote.cpp -index 08c24b8..e68c8ca 100644 ---- a/knotes/knote.cpp -+++ b/knotes/knote.cpp -@@ -1267,6 +1267,8 @@ void KNote::resizeEvent( TQResizeEvent *qre ) - - void KNote::closeEvent( TQCloseEvent *event ) - { -+ if(kapp->sessionSaving()) -+ return; - event->ignore(); //We don't want to close (and delete the widget). Just hide it - slotClose(); - } diff --git a/redhat/tdepim/kdepim-3.5.13-fix_linear_alphabet.patch b/redhat/tdepim/kdepim-3.5.13-fix_linear_alphabet.patch deleted file mode 100644 index 610e62306..000000000 --- a/redhat/tdepim/kdepim-3.5.13-fix_linear_alphabet.patch +++ /dev/null @@ -1,71 +0,0 @@ -commit 80bc593eb31b3162fd870ee64eceb0ec90fac15c -Author: Timothy Pearson -Date: 1327531088 -0600 - - Fix linear alphabet string errors - -diff --git a/NewsLog.txt b/NewsLog.txt -index bc32c09..cc5cdc4 100644 ---- a/NewsLog.txt -+++ b/NewsLog.txt -@@ -1960,7 +1960,7 @@ Bugfixes - deleted without ever having been initialised. Also init some other vars ASAP. (700035) - - kolab/issue1712 Update revision when adding new attendees.(663228) - - kolab/issue1672 Make sure to open the folder when saving a single message as well.(664661) -- - Fix lack of double-quotes around folder name, making GEQUOTAROOT fail on folders with a space in the -+ - Fix lack of double-quotes around folder name, making GETQUOTAROOT fail on folders with a space in the - name.(665276) - - Port the ability to add and remove subfolders from korganizer's resource view from proko2. (665274) - - kolab/issue1721 Don't exit when the popup menu is canceled.(665679) -diff --git a/kioslaves/imap4/rfcdecoder.cc b/kioslaves/imap4/rfcdecoder.cc -index f91e9f8..08b641b 100644 ---- a/kioslaves/imap4/rfcdecoder.cc -+++ b/kioslaves/imap4/rfcdecoder.cc -@@ -37,7 +37,7 @@ - // adapted to QT-Toolkit by Sven Carstens 2000 - - static unsigned char base64chars[] = -- "ABCDEFGHIJKLMNOPTQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+,"; -+ "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+,"; - #define UNDEFINED 64 - #define MAXLINE 76 - -diff --git a/libkmime/kmime_util.cpp b/libkmime/kmime_util.cpp -index d4c8943..03a14e9 100644 ---- a/libkmime/kmime_util.cpp -+++ b/libkmime/kmime_util.cpp -@@ -337,7 +337,7 @@ TQCString encodeRFC2047String(const TQString &src, const char *charset, - - TQCString uniqueString() - { -- static char chars[] = "0123456789abcdefghijklmnopqrstuvxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ"; -+ static char chars[] = "0123456789abcdefghijklmnopqrstuvxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; - time_t now; - TQCString ret; - char p[11]; -diff --git a/mimelib/dw_cte.cpp b/mimelib/dw_cte.cpp -index 127a29a..4498597 100644 ---- a/mimelib/dw_cte.cpp -+++ b/mimelib/dw_cte.cpp -@@ -353,7 +353,7 @@ static int to_cr(const char* srcBuf, size_t srcLen, char* destBuf, - } - - --static char base64tab[] = "ABCDEFGHIJKLMNOPTQRSTUVWXYZ" -+static char base64tab[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - "abcdefghijklmnopqrstuvwxyz0123456789+/"; - - static char base64idx[128] = { -diff --git a/mimelib/mediatyp.cpp b/mimelib/mediatyp.cpp -index 87ee345..7c766fe 100644 ---- a/mimelib/mediatyp.cpp -+++ b/mimelib/mediatyp.cpp -@@ -231,7 +231,7 @@ void DwMediaType::SetBoundary(const DwString& aStr) - void DwMediaType::CreateBoundary(unsigned aLevel) - { - // Create a random printable string and set it as the boundary parameter -- static const char c[] = "ABCDEFGHIJKLMNOPTQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; -+ static const char c[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - const int cLen = 64; - char buf[80]; - strcpy(buf, "Boundary-"); diff --git a/redhat/tdepim/kdepim-3.5.13-fix_segv.patch b/redhat/tdepim/kdepim-3.5.13-fix_segv.patch deleted file mode 100644 index 10b071c46..000000000 --- a/redhat/tdepim/kdepim-3.5.13-fix_segv.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- kdepim/kioslaves/imap4/imapparser.cc.segv 2012-05-29 20:22:52.187840588 +0200 -+++ kdepim/kioslaves/imap4/imapparser.cc 2012-05-29 20:29:30.723545443 +0200 -@@ -1354,10 +1354,10 @@ - label = parseOneWordC (inWords); - } - -- if (inWords[0] == ')') -+ if (!inWords.isEmpty () && inWords[0] == ')') - inWords.pos++; - } -- if (inWords[0] == ']') -+ if (!inWords.isEmpty () && inWords[0] == ']') - inWords.pos++; - skipWS (inWords); - -@@ -1479,6 +1479,7 @@ - { - TQCString word = parseLiteralC(inWords, false, true); - -+ if(!word.isEmpty()) { - switch (word[0]) - { - case 'E': -@@ -1602,6 +1603,9 @@ - parseLiteralC(inWords); - break; - } -+ } else { -+ parseLiteralC(inWords); -+ } - } - } - diff --git a/redhat/tdepim/kdepim-3.5.13-fix_systray_count.patch b/redhat/tdepim/kdepim-3.5.13-fix_systray_count.patch deleted file mode 100644 index 6e5d983fe..000000000 --- a/redhat/tdepim/kdepim-3.5.13-fix_systray_count.patch +++ /dev/null @@ -1,20 +0,0 @@ -commit 40c435e566bcfddd3fd69b55efec786b1162a8be -Author: Slávek Banko -Date: 1337997785 +0200 - - Fix KMail counting of unread messages in the system tray icon - Thanks to Francois Andriot - -diff --git a/kmail/kmsystemtray.cpp b/kmail/kmsystemtray.cpp -index 001453a..d36bd3e 100644 ---- a/kmail/kmsystemtray.cpp -+++ b/kmail/kmsystemtray.cpp -@@ -493,7 +493,7 @@ void KMSystemTray::updateNewMessages() - * our last known version, and adjust mCount with that difference */ - else - { -- int diff = unread - it.data(); -+ int diff = unread - unread_it.data(); - mCount += diff; - } - diff --git a/redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch b/redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch deleted file mode 100644 index 4be0cd25f..000000000 --- a/redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- kdepim-3.5.13.1/kioslaves/imap4/imapparser.cc.segv 2012-09-08 12:06:42.000000000 +0200 -+++ kdepim-3.5.13.1/kioslaves/imap4/imapparser.cc 2012-09-26 12:05:13.897737893 +0200 -@@ -345,6 +345,7 @@ - parseOneWordC(result); // * - TQByteArray what = parseLiteral (result); // see whats coming next - -+ if(!what.isEmpty ()) { - switch (what[0]) - { - //the status responses -@@ -482,6 +483,7 @@ - if (valid) - { - what = parseLiteral (result); -+ if(!what.isEmpty ()) { - switch (what[0]) - { - case 'E': -@@ -520,10 +522,12 @@ - default: - break; - } -+ } - } - } - break; - } //switch -+ } - } //func - - -@@ -1915,9 +1919,10 @@ - if (!inWords.isEmpty() && inWords[0] == '{') - { - TQCString retVal; -- ulong runLen = inWords.find ('}', 1); -- if (runLen > 0) -+ long srunLen = inWords.find ('}', 1); // Can return -1, so use a signed long -+ if (srunLen > 0) - { -+ ulong runLen = (ulong)srunLen; - bool proper; - ulong runLenSave = runLen + 1; - TQCString tmpstr(runLen); diff --git a/redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch b/redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch deleted file mode 100644 index d8260c166..000000000 --- a/redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- kdepim-3.5.13.1/kioslaves/imap4/imapparser.h~ 2012-09-26 14:43:52.932265697 +0200 -+++ kdepim-3.5.13.1/kioslaves/imap4/imapparser.h 2012-09-26 14:45:33.190317168 +0200 -@@ -94,7 +94,11 @@ - } - uint length() - { -- return data.size() - pos; -+ if( pos < data.size() ) { -+ return data.size() - pos; -+ } else { -+ return 0; -+ } - } - void fromString(const TQString &s) - { diff --git a/redhat/tdepim/kdepim-3.5.13.1-kmime_utils_quotes.patch b/redhat/tdepim/kdepim-3.5.13.1-kmime_utils_quotes.patch deleted file mode 100644 index 25d99c683..000000000 --- a/redhat/tdepim/kdepim-3.5.13.1-kmime_utils_quotes.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- kdepim-3.5.13.1/libkmime/kmime_util.cpp.quotes 2012-09-08 12:06:45.000000000 +0200 -+++ kdepim-3.5.13.1/libkmime/kmime_util.cpp 2012-09-25 18:49:54.806551812 +0200 -@@ -436,29 +436,25 @@ - - void removeQuots(TQCString &str) - { -- str.replace(TQRegExp("\\\""), "\""); -- str.replace(TQRegExp("\\\\"), "\\"); -+ // Removes any quote or backslash caracter -+ str.replace(TQRegExp("[\\\"]"), ""); - } - - - void removeQuots(TQString &str) - { -- str.replace(TQRegExp("\\\""), "\""); -- str.replace(TQRegExp("\\\\"), "\\"); -+ // Removes any quote or backslash caracter -+ str.replace(TQRegExp("[\\\"]"), ""); - } - - - void addQuotes(TQCString &str, bool forceQuotes) - { -- bool needsQuotes=false; -- if ( TQString( str ) .contains( TQRegExp( TQString( "\"|\\\\|=|\\]|\\[|:|;|,|\\.|,|@|<|>|\\)|\\(" ) ) ) ) -- needsQuotes = true; -- -- str.replace(TQRegExp("\\"), "\\\\"); -- str.replace(TQRegExp("\""), "\\\""); -- -- if (needsQuotes || forceQuotes) { -- str.insert(0,'\"'); -+ if ( forceQuotes || TQString(str).contains( TQRegExp( TQString( "\"|\\\\|=|\\]|\\[|:|;|,|\\.|,|@|<|>|\\)|\\(" ) ) ) ) { -+ // Adds a backslash in front of any existing quote or backslash caracter -+ str.replace(TQRegExp("([\\\"])"), "\\\\1"); -+ // Adds quote at beginning and end of thestring -+ str.insert(0,'"'); - str.append("\""); - } - } diff --git a/redhat/tdepim/kdepim-3.5.13.1.spec b/redhat/tdepim/kdepim-3.5.13.1.spec deleted file mode 100644 index eeaec366e..000000000 --- a/redhat/tdepim/kdepim-3.5.13.1.spec +++ /dev/null @@ -1,2166 +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 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# KDEPIM specific features -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_gnokii 1 -BuildRequires: gnokii-devel -%endif - -# TDEPIM optional features -#define with_kitchensync 0 - - -Name: trinity-tdepim -Version: 3.5.13.1 -Release: 2%{?dist}%{?_variant} -License: GPL -Group: Applications/Productivity - -Vendor: Trinity Project -Packager: Francois Andriot -Summary: Personal Information Management apps from the official Trinity release - -Prefix: %{tde_prefix} - -Source0: kdepim-3.5.13.1.tar.gz - -# [tdepim] Fix include directory location for installer .h files -Patch13: kdepim-3.5.13-fix_include_directory.patch -# [tdepim] Missing LDFLAGS cause FTBFS on MGA2/MDV2011 -Patch14: kdepim-3.5.13-missing_ldflags.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-kdelibs-devel >= %{version} -BuildRequires: trinity-libcaldav-devel -BuildRequires: trinity-libcarddav-devel - -BuildRequires: gpgme-devel -BuildRequires: libgpg-error-devel -BuildRequires: flex -BuildRequires: libical-devel -BuildRequires: boost-devel -BuildRequires: pcre-devel -BuildRequires: glib2-devel -BuildRequires: gcc-c++ make -BuildRequires: libidn-devel - -%if 0%{?fedora} >= 15 -BuildRequires: flex-static -%endif -%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 -BuildRequires: trinity-libcurl-devel -%else -BuildRequires: curl-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel -BuildRequires: %{_lib}sasl2-devel -%else -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: libXcomposite-devel -%endif -BuildRequires: cyrus-sasl-devel -%endif - -Requires: trinity-libtdepim = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: %{name}-kresources = %{version}-%{release} -Requires: %{name}-wizards = %{version}-%{release} -Requires: trinity-akregator = %{version}-%{release} -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-kalarm = %{version}-%{release} -Requires: trinity-kandy = %{version}-%{release} -Requires: trinity-karm = %{version}-%{release} -Requires: trinity-kleopatra = %{version}-%{release} -Requires: trinity-kmail = %{version}-%{release} -Requires: trinity-kmailcvt = %{version}-%{release} -Requires: trinity-kmobile = %{version}-%{release} -Requires: trinity-knode = %{version}-%{release} -Requires: trinity-knotes = %{version}-%{release} -Requires: trinity-kode = %{version}-%{release} -Requires: trinity-konsolekalendar = %{version}-%{release} -Requires: trinity-kontact = %{version}-%{release} -Requires: trinity-korganizer = %{version}-%{release} -Requires: trinity-korn = %{version}-%{release} -Requires: trinity-ktnef = %{version}-%{release} -Requires: trinity-libindex = %{version}-%{release} -Requires: trinity-libkcal = %{version}-%{release} -Requires: trinity-libkgantt = %{version}-%{release} -Requires: trinity-libkleopatra = %{version}-%{release} -Requires: trinity-libkmime = %{version}-%{release} -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: trinity-libkpimidentities = %{version}-%{release} -Requires: trinity-libksieve = %{version}-%{release} -Requires: trinity-libktnef = %{version}-%{release} -Requires: trinity-libmimelib = %{version}-%{release} - -Obsoletes: trinity-kdepim < %{version}-%{release} -Provides: trinity-kdepim = %{version}-%{release} -Obsoletes: tdepim < %{version}-%{release} -Provides: tdepim = %{version}-%{release} - -%description -This metapackage includes a collection of Personal Information Management -(PIM) applications provided with the official release of Trinity. - -%files - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries - -Obsoletes: tdepim-cmake < %{version}-%{release} - -Obsoletes: trinity-kdepim-devel < %{version}-%{release} -Provides: trinity-kdepim-devel = %{version}-%{release} -Obsoletes: tdepim-devel < %{version}-%{release} -Provides: tdepim-devel = %{version}-%{release} - -Requires: %{name} = %{version}-%{release} -Requires: trinity-akregator-devel = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} -Requires: trinity-kaddressbook-devel = %{version}-%{release} -Requires: trinity-karm-devel = %{version}-%{release} -Requires: trinity-kmail-devel = %{version}-%{release} -Requires: trinity-knode-devel = %{version}-%{release} -Requires: trinity-knotes-devel = %{version}-%{release} -Requires: trinity-kode-devel = %{version}-%{release} -Requires: trinity-kontact-devel = %{version}-%{release} -Requires: trinity-korganizer-devel = %{version}-%{release} -Requires: trinity-libindex-devel = %{version}-%{release} -Requires: trinity-libkcal-devel = %{version}-%{release} -Requires: trinity-libkgantt-devel = %{version}-%{release} -Requires: trinity-libkleopatra-devel = %{version}-%{release} -Requires: trinity-libkmime-devel = %{version}-%{release} -Requires: trinity-libkpimexchange-devel = %{version}-%{release} -Requires: trinity-libkpimidentities-devel = %{version}-%{release} -Requires: trinity-libksieve-devel = %{version}-%{release} -Requires: trinity-libktnef-devel = %{version}-%{release} -Requires: trinity-libmimelib-devel = %{version}-%{release} -Requires: %{name}-kresources-devel = %{version}-%{release} - -%description devel -This metapackage includes all development files for TDE PIM. -It also contains the CMAKE macros. - -%files devel -%{tde_datadir}/cmake/* - -########## - -%package -n trinity-akregator -Summary: RSS feed aggregator for TDE -Group: Applications/Internet -Requires: trinity-libtdepim = %{version}-%{release} -Requires: trinity-libkcal = %{version}-%{release} - -%description -n trinity-akregator -aKregator is a fast, lightweight, and intuitive feed reader program -for TDE. It allows you to quickly browse through hundreds of -thousands of internet feeds in a quick, efficient, and familiar way. - -%files -n trinity-akregator -%{tde_bindir}/akregator -%{tde_tdelibdir}/libakregatorpart.la -%{tde_tdelibdir}/libakregatorpart.so -%{tde_tdelibdir}/libakregator_mk4storage_plugin.la -%{tde_tdelibdir}/libakregator_mk4storage_plugin.so -%{tde_libdir}/libakregatorprivate.so.* -%{tde_tdeappdir}/akregator.desktop -%{tde_datadir}/apps/akregator -%{tde_datadir}/config.kcfg/akregator.kcfg -%{tde_datadir}/config.kcfg/mk4config.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/rss_tag.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/akregator_empty.png -%{tde_datadir}/icons/hicolor/*/apps/akregator.png -%{tde_datadir}/icons/hicolor/scalable/apps/akregator.svgz -%{tde_datadir}/services/akregator_mk4storage_plugin.desktop -%{tde_datadir}/services/akregator_part.desktop -%{tde_datadir}/services/feed.protocol -%{tde_datadir}/services/kontact/akregatorplugin*.desktop -%{tde_datadir}/servicetypes/akregator_plugin.desktop -%{tde_tdedocdir}/HTML/en/akregator/ - -%post -n trinity-akregator -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-akregator -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-akregator-devel -Summary: Development files for trinity-akregator -Group: Development/Libraries -Requires: trinity-akregator = %{version}-%{release} - -%description -n trinity-akregator-devel -%{summary} - -%files -n trinity-akregator-devel -%{tde_tdeincludedir}/akregator/ -%{tde_libdir}/libakregatorprivate.la -%{tde_libdir}/libakregatorprivate.so - -%post -n trinity-akregator-devel -/sbin/ldconfig || : - -%postun -n trinity-akregator-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kaddressbook -Summary: TDE addressbook application -Group: Applications/Communications -Requires: trinity-kdebase-pim-ioslaves -Requires: %{name}-kresources = %{version}-%{release} - -%description -n trinity-kaddressbook -KAddressBook is the main address book application for TDE; it enables you -to manage your contacts efficiently and comfortably. It can load and save -your contacts to many different locations, including the local file system, -LDAP servers, and SQL databases. - -%files -n trinity-kaddressbook -%{tde_bindir}/kabc2mutt -%{tde_bindir}/kaddressbook -%{tde_bindir}/kabcdistlistupdater -%{tde_tdelibdir}/kcm_kabconfig.la -%{tde_tdelibdir}/kcm_kabconfig.so -%{tde_tdelibdir}/kcm_kabcustomfields.la -%{tde_tdelibdir}/kcm_kabcustomfields.so -%{tde_tdelibdir}/kcm_kabldapconfig.la -%{tde_tdelibdir}/kcm_kabldapconfig.so -%{tde_tdelibdir}/ldifvcardthumbnail.la -%{tde_tdelibdir}/ldifvcardthumbnail.so -%{tde_tdelibdir}/libkaddrbk_*.la -%{tde_tdelibdir}/libkaddrbk_*.so -%{tde_tdelibdir}/libkaddressbookpart.la -%{tde_tdelibdir}/libkaddressbookpart.so -%{tde_libdir}/libkabinterfaces.so.* -%{tde_libdir}/libkaddressbook.so.* -%{tde_tdeappdir}/kaddressbook.desktop -%{tde_datadir}/apps/kaddressbook -%{tde_datadir}/icons/hicolor/*/apps/kaddressbook.png -%{tde_datadir}/services/kabconfig.desktop -%{tde_datadir}/services/kabcustomfields.desktop -%{tde_datadir}/services/kabldapconfig.desktop -%{tde_datadir}/services/kaddressbook -%{tde_datadir}/services/kontact/kaddressbookplugin.desktop -%{tde_datadir}/services/kresources/kabc/imap.desktop -%{tde_datadir}/services/ldifvcardthumbnail.desktop -%{tde_datadir}/servicetypes/dcopaddressbook.desktop -%{tde_datadir}/servicetypes/kaddressbook_contacteditorwidget.desktop -%{tde_datadir}/servicetypes/kaddressbookimprotocol.desktop -%{tde_datadir}/servicetypes/kaddressbook_extension.desktop -%{tde_datadir}/servicetypes/kaddressbook_view.desktop -%{tde_datadir}/servicetypes/kaddressbook_xxport.desktop -%{tde_tdedocdir}/HTML/en/kaddressbook/ -%{tde_datadir}/autostart/kabcdistlistupdater.desktop -%{tde_tdeincludedir}/kaddressbook -%{tde_tdeincludedir}/kabc - -%post -n trinity-kaddressbook -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaddressbook -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaddressbook-devel -Summary: Development files for trinity-kaddressbook -Group: Development/Libraries -Requires: trinity-kaddressbook = %{version}-%{release} - -%description -n trinity-kaddressbook-devel -%{summary} - -%files -n trinity-kaddressbook-devel -%{tde_libdir}/libkabinterfaces.la -%{tde_libdir}/libkabinterfaces.so -%{tde_libdir}/libkaddressbook.la -%{tde_libdir}/libkaddressbook.so - -%post -n trinity-kaddressbook-devel -/sbin/ldconfig || : - -%postun -n trinity-kaddressbook-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kalarm -Summary: Trinity alarm message, command and email scheduler -Group: Applications/Communications -Requires: trinity-libkpimidentities = %{version}-%{release} - -%description -n trinity-kalarm -KAlarm provides a graphical interface to schedule personal timed events - -pop-up alarm messages, command execution and sending emails. There is a -range of options for configuring recurring events. - -A pop-up alarm can show either a simple text message, or the contents of a -text or image file, It can optionally be spoken, or play a sound file. You -can choose its appearance, and set reminders. Among KAlarm's other -facilities, you can set up templates to allow KAlarm to be used as a 'tea -timer'. - -As an alternative to using the graphical interface, alarms can be scheduled -from the command line or via DCOP calls from other programs. KAlarm is -TDE-based, but will also run on other desktops. - -%files -n trinity-kalarm -%{tde_bindir}/kalarm -%{tde_bindir}/kalarmd -%{tde_tdeappdir}/kalarm.desktop -%{tde_datadir}/applnk/.hidden/kalarmd.desktop -%{tde_datadir}/applnk/Applications/kalarm.desktop -%{tde_datadir}/apps/kalarm -%{tde_datadir}/autostart/kalarm.tray.desktop -%{tde_datadir}/autostart/kalarmd.autostart.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/kalarm.png -%{tde_datadir}/icons/hicolor/*/apps/kalarm.png -%{tde_tdedocdir}/HTML/en/kalarm/ - -%post -n trinity-kalarm -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kalarm -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kandy -Summary: Trinity mobile phone utility -Group: Applications/Communications - -%description -n trinity-kandy -At the moment Kandy is more or less a terminal program with some special -features to store commands and their parameters, but is also has a simple GUI -to access the phone book of a mobile phone and it is able to save this phone -book to the TDE address book. - -Kandy is aimed at mobile phones with integrated (GSM) modems. - -%files -n trinity-kandy -%{tde_bindir}/kandy -%{tde_bindir}/kandy_client -%{tde_tdeappdir}/kandy.desktop -%{tde_datadir}/applnk/Utilities/kandy.desktop -%{tde_datadir}/apps/kandy -%{tde_datadir}/icons/crystalsvg/*/apps/kandy.png -%{tde_datadir}/config.kcfg/kandy.kcfg -%{tde_tdedocdir}/HTML/en/kandy/ - -%post -n trinity-kandy -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kandy -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-karm -Summary: Trinity time tracker tool -Group: Applications/Productivity - -%description -n trinity-karm -KArm is a time tracker for busy people who need to keep track of the amount of -time they spend on various tasks. - -%files -n trinity-karm -%{tde_bindir}/karm -%{tde_libdir}/libkarm.so.* -%{tde_tdelibdir}/libkarmpart.la -%{tde_tdelibdir}/libkarmpart.so -%{tde_tdeappdir}/karm.desktop -%{tde_datadir}/applnk/Utilities/karm.desktop -%{tde_datadir}/apps/karm -%{tde_datadir}/apps/karmpart -%{tde_datadir}/icons/hicolor/*/apps/karm.png -%{tde_datadir}/services/karm_part.desktop -%{tde_datadir}/services/kontact/karmplugin.desktop -%{tde_tdedocdir}/HTML/en/karm/ - -%post -n trinity-karm -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-karm -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-karm-devel -Summary: Development files for karm -Group: Development/Libraries - -%description -n trinity-karm-devel -%{summary} - -%files -n trinity-karm-devel -%{tde_libdir}/libkarm.so -%{tde_libdir}/libkarm.la - -%post -n trinity-karm-devel -/sbin/ldconfig || : - -%postun -n trinity-karm-devel -/sbin/ldconfig || : - -########## - -%package kfile-plugins -Summary: TDE File dialog plugins for palm and vcf files -Group: Environment/Libraries - -Obsoletes: tdepim-kfile-plugins < %{version}-%{release} - -%description kfile-plugins -File dialog plugins for palm and vcf files. - -%files kfile-plugins -%{tde_tdelibdir}/kfile_ics.la -%{tde_tdelibdir}/kfile_ics.so -%{tde_tdelibdir}/kfile_vcf.la -%{tde_tdelibdir}/kfile_vcf.so -%{tde_datadir}/services/kfile_ics.desktop -%{tde_datadir}/services/kfile_vcf.desktop - -########## - -%package kio-plugins -Summary: Trinity pim I/O Slaves -Group: Environment/Libraries - -Obsoletes: tdepim-kio-plugins < %{version}-%{release} - -%description kio-plugins -This package includes the pim kioslaves. This includes imap4, sieve, -and mbox. - -%files kio-plugins -%{tde_tdelibdir}/kio_groupwise.la -%{tde_tdelibdir}/kio_groupwise.so -%{tde_tdelibdir}/kio_imap4.la -%{tde_tdelibdir}/kio_imap4.so -%{tde_tdelibdir}/kio_mbox.la -%{tde_tdelibdir}/kio_mbox.so -%{tde_tdelibdir}/kio_scalix.la -%{tde_tdelibdir}/kio_scalix.so -%{tde_tdelibdir}/kio_sieve.la -%{tde_tdelibdir}/kio_sieve.so -%{tde_datadir}/services/groupwise.protocol -%{tde_datadir}/services/groupwises.protocol -%{tde_datadir}/services/imap4.protocol -%{tde_datadir}/services/imaps.protocol -%{tde_datadir}/services/mbox.protocol -%{tde_datadir}/services/scalix.protocol -%{tde_datadir}/services/scalixs.protocol -%{tde_datadir}/services/sieve.protocol - -########## - -%package kresources -Summary: Trinity pim resource plugins -Group: Environment/Libraries -#Requires: trinity-kaddressbook = %{version}-%{release} -#Requires: trinity-korganizer = %{version}-%{release} -#Requires: trinity-knotes = %{version}-%{release} -Requires: libcaldav -Requires: libcarddav - -Obsoletes: tdepim-kresources < %{version}-%{release} - -%description kresources -This package includes several plugins needed to interface with groupware -servers. It also includes plugins for features such as blogging and -tracking feature plans. - -%files kresources -%{tde_tdelibdir}/kcal_caldav.la -%{tde_tdelibdir}/kcal_caldav.so -%{tde_tdelibdir}/kcal_groupdav.la -%{tde_tdelibdir}/kcal_groupdav.so -%{tde_tdelibdir}/kcal_groupwise.la -%{tde_tdelibdir}/kcal_groupwise.so -%{tde_tdelibdir}/kcal_kolab.la -%{tde_tdelibdir}/kcal_kolab.so -%{tde_tdelibdir}/kcal_scalix.la -%{tde_tdelibdir}/kcal_scalix.so -%{tde_tdelibdir}/kcal_newexchange.la -%{tde_tdelibdir}/kcal_newexchange.so -%{tde_tdelibdir}/kcal_resourcefeatureplan.la -%{tde_tdelibdir}/kcal_resourcefeatureplan.so -%{tde_tdelibdir}/kcal_slox.la -%{tde_tdelibdir}/kcal_slox.so -%{tde_tdelibdir}/kcal_xmlrpc.la -%{tde_tdelibdir}/kcal_xmlrpc.so -%{tde_tdelibdir}/knotes_kolab.la -%{tde_tdelibdir}/knotes_kolab.so -%{tde_tdelibdir}/knotes_scalix.la -%{tde_tdelibdir}/knotes_scalix.so -%{tde_tdelibdir}/knotes_xmlrpc.la -%{tde_tdelibdir}/knotes_xmlrpc.so -%{tde_libdir}/libkabckolab.so.* -%{tde_libdir}/libkabcscalix.so.* -%{tde_libdir}/libkabc_groupdav.so.* -%{tde_libdir}/libkabc_groupwise.so.* -%{tde_libdir}/libkabc_newexchange.so.* -%{tde_libdir}/libkabc_slox.so.* -%{tde_libdir}/libkabc_xmlrpc.so.* -%{tde_libdir}/libkcalkolab.so.* -%{tde_libdir}/libkcalscalix.so.* -%{tde_libdir}/libkcal_caldav.so.* -%{tde_libdir}/libkabc_carddav.so.* -%{tde_libdir}/libkcal_groupdav.so.* -%{tde_libdir}/libkcal_groupwise.so.* -%{tde_libdir}/libkcal_newexchange.so.* -%{tde_libdir}/libkcal_resourcefeatureplan.so.* -%{tde_libdir}/libkcal_slox.so.* -%{tde_libdir}/libkcal_xmlrpc.so.* -%{tde_libdir}/libkgroupwarebase.so.* -%{tde_libdir}/libkgroupwaredav.so.* -%{tde_libdir}/libknoteskolab.so.* -%{tde_libdir}/libknotesscalix.so.* -%{tde_libdir}/libknotes_xmlrpc.so.* -%{tde_libdir}/libkslox.so.* -%{tde_libdir}/libgwsoap.so.* -%{tde_datadir}/services/kresources/kabc/kabc_groupdav.desktop -%{tde_datadir}/services/kresources/kabc/kabc_groupwise.desktop -%{tde_datadir}/services/kresources/kabc/kabc_newexchange.desktop -%{tde_datadir}/services/kresources/kabc/kabc_opengroupware.desktop -%{tde_datadir}/services/kresources/kabc/kabc_ox.desktop -%{tde_datadir}/services/kresources/kabc/kabc_slox.desktop -%{tde_datadir}/services/kresources/kabc/kabc_xmlrpc.desktop -%{tde_datadir}/services/kresources/kabc/kolab.desktop -%{tde_datadir}/services/kresources/kabc/scalix.desktop -%{tde_datadir}/services/kresources/kcal/exchange.desktop -%{tde_datadir}/services/kresources/kcal/kcal_caldav.desktop -%{tde_datadir}/services/kresources/kabc/kabc_carddav.desktop -%{tde_datadir}/services/kresources/kcal/kcal_groupdav.desktop -%{tde_datadir}/services/kresources/kcal/kcal_groupwise.desktop -%{tde_datadir}/services/kresources/kcal/kcal_newexchange.desktop -%{tde_datadir}/services/kresources/kcal/kcal_opengroupware.desktop -%{tde_datadir}/services/kresources/kcal/kcal_ox.desktop -%{tde_datadir}/services/kresources/kcal/kcal_resourcefeatureplan.desktop -%{tde_datadir}/services/kresources/kcal/kcal_slox.desktop -%{tde_datadir}/services/kresources/kcal/kcal_xmlrpc.desktop -%{tde_datadir}/services/kresources/kcal/kolab.desktop -%{tde_datadir}/services/kresources/kcal/scalix.desktop -%{tde_datadir}/services/kresources/knotes/knotes_xmlrpc.desktop -%{tde_datadir}/services/kresources/knotes/kolabresource.desktop -%{tde_datadir}/services/kresources/knotes/scalix.desktop - -%{tde_datadir}/apps/kconf_update/upgrade-resourcetype.pl -%{tde_datadir}/apps/kconf_update/kolab-resource.upd - -%{tde_tdelibdir}/kabc_carddav.la -%{tde_tdelibdir}/kabc_carddav.so -%{tde_tdelibdir}/kabc_groupdav.la -%{tde_tdelibdir}/kabc_groupdav.so -%{tde_tdelibdir}/kabc_groupwise.la -%{tde_tdelibdir}/kabc_groupwise.so -%{tde_tdelibdir}/kabc_kolab.la -%{tde_tdelibdir}/kabc_kolab.so -%{tde_tdelibdir}/kabc_newexchange.la -%{tde_tdelibdir}/kabc_newexchange.so -%{tde_tdelibdir}/kabc_scalix.la -%{tde_tdelibdir}/kabc_scalix.so -%{tde_tdelibdir}/kabc_slox.la -%{tde_tdelibdir}/kabc_slox.so -%{tde_tdelibdir}/kabc_xmlrpc.la -%{tde_tdelibdir}/kabc_xmlrpc.so - -%post kresources -/sbin/ldconfig || : - -%postun kresources -/sbin/ldconfig || : - -########## - -%package kresources-devel -Summary: Development files for kresources -Group: Development/Libraries -Requires: %{name}-kresources = %{version}-%{release} -Requires: libcaldav -Requires: libcarddav - -Obsoletes: tdepim-kresources-devel < %{version}-%{release} - -%description kresources-devel -%{summary} - -%files kresources-devel -%{tde_libdir}/libkslox.la -%{tde_libdir}/libkslox.so -%{tde_libdir}/libkabc_groupdav.la -%{tde_libdir}/libkabc_groupdav.so -%{tde_libdir}/libkabc_groupwise.la -%{tde_libdir}/libkabc_groupwise.so -%{tde_libdir}/libgwsoap.la -%{tde_libdir}/libgwsoap.so -%{tde_libdir}/libkabc_carddav.la -%{tde_libdir}/libkabc_carddav.so -%{tde_libdir}/libkabc_newexchange.la -%{tde_libdir}/libkabc_newexchange.so -%{tde_libdir}/libkabc_slox.la -%{tde_libdir}/libkabc_slox.so -%{tde_libdir}/libkabc_xmlrpc.la -%{tde_libdir}/libkabc_xmlrpc.so -%{tde_libdir}/libkabckolab.la -%{tde_libdir}/libkabckolab.so -%{tde_libdir}/libkabcscalix.la -%{tde_libdir}/libkabcscalix.so -%{tde_libdir}/libkcal_caldav.la -%{tde_libdir}/libkcal_caldav.so -%{tde_libdir}/libkcal_groupdav.la -%{tde_libdir}/libkcal_groupdav.so -%{tde_libdir}/libkcal_groupwise.la -%{tde_libdir}/libkcal_groupwise.so -%{tde_libdir}/libkcal_newexchange.la -%{tde_libdir}/libkcal_newexchange.so -%{tde_libdir}/libkcal_resourcefeatureplan.la -%{tde_libdir}/libkcal_resourcefeatureplan.so -%{tde_libdir}/libkcal_slox.la -%{tde_libdir}/libkcal_slox.so -%{tde_libdir}/libkcal_xmlrpc.la -%{tde_libdir}/libkcal_xmlrpc.so -%{tde_libdir}/libkcalkolab.la -%{tde_libdir}/libkcalkolab.so -%{tde_libdir}/libkcalscalix.la -%{tde_libdir}/libkcalscalix.so -%{tde_libdir}/libkgroupwarebase.la -%{tde_libdir}/libkgroupwarebase.so -%{tde_libdir}/libkgroupwaredav.la -%{tde_libdir}/libkgroupwaredav.so -%{tde_libdir}/libknotes_xmlrpc.la -%{tde_libdir}/libknotes_xmlrpc.so -%{tde_libdir}/libknoteskolab.la -%{tde_libdir}/libknoteskolab.so -%{tde_libdir}/libknotesscalix.la -%{tde_libdir}/libknotesscalix.so -%{tde_tdeincludedir}/kpimprefs.h - -%post kresources-devel -/sbin/ldconfig || : - -%postun kresources-devel -/sbin/ldconfig || : - -########## - -%package wizards -Summary: Trinity server configuration wizards -Group: Applications/Communications - -Obsoletes: tdepim-wizards < %{version}-%{release} - -%description wizards -This package contains KDE-based wizards for configuring eGroupware, -Kolab, and SUSE Linux Openexchange servers. - -%files wizards -%{tde_bindir}/egroupwarewizard -%{tde_bindir}/exchangewizard -%{tde_bindir}/groupwarewizard -%{tde_bindir}/groupwisewizard -%{tde_bindir}/kolabwizard -%{tde_bindir}/scalixadmin -%{tde_bindir}/scalixwizard -%{tde_bindir}/sloxwizard -%{tde_tdelibdir}/libegroupwarewizard.la -%{tde_tdelibdir}/libegroupwarewizard.so -%{tde_tdelibdir}/libexchangewizard.la -%{tde_tdelibdir}/libexchangewizard.so -%{tde_tdelibdir}/libgroupwisewizard.la -%{tde_tdelibdir}/libgroupwisewizard.so -%{tde_tdelibdir}/libkolabwizard.la -%{tde_tdelibdir}/libkolabwizard.so -%{tde_tdelibdir}/libscalixwizard.la -%{tde_tdelibdir}/libscalixwizard.so -%{tde_tdelibdir}/libsloxwizard.la -%{tde_tdelibdir}/libsloxwizard.so -%{tde_tdeappdir}/groupwarewizard.desktop -%{tde_datadir}/config.kcfg/egroupware.kcfg -%{tde_datadir}/config.kcfg/groupwise.kcfg -%{tde_datadir}/config.kcfg/kolab.kcfg -%{tde_datadir}/config.kcfg/scalix.kcfg -%{tde_datadir}/config.kcfg/slox.kcfg - -%post wizards -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun wizards -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?with_kitchensync} -%package -n trinity-kitchensync -Summary: Synchronization framework -Group: Applications/Communications -BuildRequires: opensync-devel -#Suggests: konqueror-trinity -#Conflicts: kdebluetooth-irmcsync-trinity (<< 0.99+1.0beta2-4.1), ksync-trinity - -%description -n trinity-kitchensync -This package contains a synchronization framework, still under heavy -development (?). Kitchensync uses opensync. - -%files -n trinity-kitchensync -%{tde_bindir}/kitchensync -%{tde_tdelibdir}/libkitchensyncpart.la -%{tde_tdelibdir}/libkitchensyncpart.so -%{tde_datadir}/apps/kitchensync -%{tde_libdir}/libkitchensync.so.* -%{tde_libdir}/libqopensync.so.* -%{tde_tdeappdir}/kitchensync.desktop -%{tde_datadir}/icons/hicolor/*/apps/kitchensync.png - -%post -n trinity-kitchensync -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kitchensync -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -%endif - -########## - -%package -n trinity-kleopatra -Summary: Trinity Certificate Manager -Group: Applications/Communications -%if 0%{?suse_version} -Requires: gpg2 -Requires: pinentry -Requires: dirmngr -%endif -%if 0%{?rhel} == 4 -Requires: gnupg -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -Requires: gnupg2 -Requires: pinentry -Requires: dirmngr -%endif - -%description -n trinity-kleopatra -Kleopatra is the TDE tool for managing X.509 certificates in the gpgsm -keybox and for retrieving certificates from LDAP servers. - -%files -n trinity-kleopatra -%{tde_bindir}/kleopatra -%{tde_bindir}/kwatchgnupg -%{tde_tdelibdir}/kcm_kleopatra.la -%{tde_tdelibdir}/kcm_kleopatra.so -%{tde_tdeappdir}/kleopatra_import.desktop -%{tde_datadir}/apps/kleopatra -%{tde_datadir}/apps/kwatchgnupg -%{tde_datadir}/services/kleopatra_config_*.desktop -%{tde_tdedocdir}/HTML/en/kleopatra/ -%{tde_tdedocdir}/HTML/en/kwatchgnupg/ - -%post -n trinity-kleopatra -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kleopatra -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmail -Summary: Trinity Email client -Group: Applications/Communications -Requires: %{name}-kio-plugins = %{version}-%{release} -%if 0%{?suse_version} -Requires: gpg2 -Requires: pinentry -%endif -%if 0%{?rhel} == 4 -Requires: gnupg -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -Requires: gnupg2 -Requires: pinentry -%endif -Requires: procmail -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-kleopatra = %{version}-%{release} -Requires: trinity-kdebase-pim-ioslaves - -Provides: imap-client, mail-reader - -%description -n trinity-kmail -KMail is a fully-featured email client that fits nicely into the TDE -desktop. It has features such as support for IMAP, POP3, multiple accounts, -mail filtering and sorting, PGP/GnuPG privacy, and inline attachments. - -You need to install %{name}-kio-plugins if you want to use IMAP or -mbox files, and/or trinity-tdebase-kio-plugins if you want to use POP3. - -%files -n trinity-kmail -%{tde_datadir}/config/kmail.antispamrc -%{tde_datadir}/config/kmail.antivirusrc -%{tde_bindir}/kmail -%{tde_bindir}/kmail_*.sh -%{tde_tdelibdir}/kcm_kmail.la -%{tde_tdelibdir}/kcm_kmail.so -%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.la -%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.so -%{tde_tdelibdir}/libkmailpart.la -%{tde_tdelibdir}/libkmailpart.so -%{tde_tdeappdir}/KMail.desktop -%{tde_tdeappdir}/kmail_view.desktop -%{tde_datadir}/apps/kconf_update/kmail-3.1-update-new-mail-notification-settings.pl -%{tde_datadir}/apps/kconf_update/kmail-3.1-use-UOID-for-identities.pl -%{tde_datadir}/apps/kconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl -%{tde_datadir}/apps/kconf_update/kmail-3.2-misc.sh -%{tde_datadir}/apps/kconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh -%{tde_datadir}/apps/kconf_update/kmail-3.3-aegypten.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-move-identities.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-split-sign-encr-keys.sh -%{tde_datadir}/apps/kconf_update/kmail-3.3-use-ID-for-accounts.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3b1-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.4-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.4.1-update-status-filters.pl -%{tde_datadir}/apps/kconf_update/kmail-3.5-trigger-flag-migration.pl -%{tde_datadir}/apps/kconf_update/kmail-3.5-filter-icons.pl -%{tde_datadir}/apps/kconf_update/kmail-pgpidentity.pl -%{tde_datadir}/apps/kconf_update/kmail-upd-identities.pl -%{tde_datadir}/apps/kconf_update/kmail.upd -%{tde_datadir}/apps/kconf_update/upgrade-signature.pl -%{tde_datadir}/apps/kconf_update/upgrade-transport.pl -%{tde_datadir}/apps/kmail -%{tde_datadir}/config.kcfg/custommimeheader.kcfg -%{tde_datadir}/config.kcfg/kmail.kcfg -%{tde_datadir}/config.kcfg/customtemplates_kfg.kcfg -%{tde_datadir}/config.kcfg/replyphrases.kcfg -%{tde_datadir}/config.kcfg/templatesconfiguration_kfg.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kmaillight.png -%{tde_datadir}/icons/hicolor/*/apps/kmail.png -%{tde_datadir}/icons/hicolor/scalable/apps/kmail.svgz -%{tde_datadir}/services/kmail_config_*.desktop -%{tde_datadir}/services/kontact/kmailplugin.desktop -%{tde_datadir}/servicetypes/dcopimap.desktop -%{tde_datadir}/servicetypes/dcopmail.desktop -# 'libkmailprivate.so' is required at runtime, not devel ! -%{tde_libdir}/libkmailprivate.so -%{tde_libdir}/libkmailprivate.la -%{tde_tdedocdir}/HTML/en/kmail/ - -%post -n trinity-kmail -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmail -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmail-devel -Summary: Development files for kmail -Group: Development/Libraries - -%description -n trinity-kmail-devel -%{summary} - -%files -n trinity-kmail-devel -%{tde_tdeincludedir}/kmail/ -%{tde_tdeincludedir}/kmail*.h - -%post -n trinity-kmail-devel -/sbin/ldconfig || : - -%postun -n trinity-kmail-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kmailcvt -Summary: Trinity KMail mail folder converter -Group: Applications/Communications -Requires: trinity-kmail = %{version}-%{release} - -%description -n trinity-kmailcvt -Converts mail folders to KMail format. Formats supported for import -include Outlook Express, Evolution, and plain mbox. - -%files -n trinity-kmailcvt -%{tde_bindir}/kmailcvt -%{tde_datadir}/applnk/Utilities/kmailcvt.desktop -%{tde_datadir}/apps/kmailcvt -%{tde_datadir}/icons/crystalsvg/*/apps/kmailcvt.png - -%post -n trinity-kmailcvt -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-kmailcvt -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - -%package -n trinity-knode -Summary: Trinity news reader -Group: Applications/Internet - -%description -n trinity-knode -KNode is an easy-to-use, convenient newsreader. It is intended to be usable -by inexperienced users, but also includes support for such features as -MIME attachments, article scoring, and creating and verifying GnuPG -signatures. - -%files -n trinity-knode -%{tde_bindir}/knode -%{tde_tdelibdir}/kcm_knode.la -%{tde_tdelibdir}/kcm_knode.so -%{tde_tdelibdir}/libknodepart.la -%{tde_tdelibdir}/libknodepart.so -%{tde_libdir}/libknodecommon.so.* -%{tde_tdeappdir}/KNode.desktop -%{tde_datadir}/apps/knode/ -%{tde_datadir}/icons/hicolor/*/apps/knode.png -%{tde_datadir}/icons/hicolor/*/apps/knode2.png -%{tde_datadir}/services/knewsservice.protocol -%{tde_datadir}/services/knode_config_*.desktop -%{tde_datadir}/services/kontact/knodeplugin.desktop -%{tde_tdedocdir}/HTML/en/knode/ - -%post -n trinity-knode -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knode -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knode-devel -Summary: Development files for trinity-knode -Group: Development/Libraries -Requires: trinity-knode = %{version}-%{release} - -%description -n trinity-knode-devel -%{summary} - -%files -n trinity-knode-devel -%{tde_libdir}/libknodecommon.la -%{tde_libdir}/libknodecommon.so - -%post -n trinity-knode-devel -/sbin/ldconfig || : - -%postun -n trinity-knode-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-knotes -Summary: Trinity sticky notes -Group: Applications/Utilities -Requires: trinity-tdepim-kresources = %{version}-%{release} - -%description -n trinity-knotes -KNotes is a program that lets you write sticky notes. The notes are saved -automatically when you exit the program, and they display when you open the -program. The program supports printing and mailing your notes. - -%files -n trinity-knotes -%{tde_bindir}/knotes -%{tde_tdelibdir}/knotes_local.la -%{tde_tdelibdir}/knotes_local.so -%{tde_libdir}/libknotes.so.* -%{tde_tdeappdir}/knotes.desktop -%{tde_datadir}/apps/knotes -%{tde_datadir}/config.kcfg/knoteconfig.kcfg -%{tde_datadir}/config.kcfg/knotesglobalconfig.kcfg -%{tde_datadir}/icons/hicolor/*/apps/knotes.png -%{tde_datadir}/services/kresources/knotes/imap.desktop -%{tde_datadir}/services/kresources/knotes/local.desktop -%{tde_datadir}/services/kresources/knotes_manager.desktop -%{tde_datadir}/services/kontact/knotesplugin.desktop -%{tde_tdedocdir}/HTML/en/knotes/ - -%post -n trinity-knotes -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knotes -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knotes-devel -Summary: Development files for knots -Group: Development/Libraries -Requires: trinity-knotes = %{version}-%{release} -Requires: %{name}-kresources-devel = %{version}-%{release} - -%description -n trinity-knotes-devel -%{summary} - -%files -n trinity-knotes-devel -%{tde_libdir}/libknotes.so -%{tde_libdir}/libknotes.la -%{tde_tdeincludedir}/KNotesAppIface.h -%{tde_tdeincludedir}/KNotesIface.h - -%post -n trinity-knotes-devel -/sbin/ldconfig || : - -%postun -n trinity-knotes-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kode -Summary: Helper library for programmatic generation of C++ code -Group: Development/Libraries - -%description -n trinity-kode -This package includes a program kode for generation of C++ template files -and kxml_compiler for generation of C++ classes representing XML data -described by RelaxNG schemes. - -%files -n trinity-kode -%{tde_bindir}/kode -%{tde_bindir}/kxml_compiler -%{tde_libdir}/libkode.so.* - -%post -n trinity-kode -/sbin/ldconfig || : - -%postun -n trinity-kode -/sbin/ldconfig || : - -########## - -%package -n trinity-kode-devel -Summary: Development files for trinity-kode -Group: Development/Libraries -Requires: trinity-kode = %{version}-%{release} - -%description -n trinity-kode-devel -%{summary} - -%files -n trinity-kode-devel -%{tde_libdir}/libkode.la -%{tde_libdir}/libkode.so - -%post -n trinity-kode-devel -/sbin/ldconfig || : - -%postun -n trinity-kode-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-konsolekalendar -Summary: Trinity konsole personal organizer -Group: Applications/Productivity - -%description -n trinity-konsolekalendar -KonsoleKalendar is a command-line interface to TDE calendars. -Konsolekalendar complements the TDE KOrganizer by providing a console -frontend to manage your calendars. - -%files -n trinity-konsolekalendar -%{tde_bindir}/konsolekalendar -%{tde_tdeappdir}/konsolekalendar.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/konsolekalendar.png -%{tde_tdedocdir}/HTML/en/konsolekalendar/ - -%post -n trinity-konsolekalendar -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-konsolekalendar -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kontact -Summary: Trinity pim application -Group: Applications/Communications -Requires: trinity-kmail = %{version}-%{release} -Requires: trinity-korganizer = %{version}-%{release} -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-knode = %{version}-%{release} -Requires: trinity-knotes = %{version}-%{release} -Requires: trinity-akregator = %{version}-%{release} - -%description -n trinity-kontact -Kontact is the integrated solution to your personal information management -needs. It combines TDE applications like KMail, KOrganizer, and -KAddressBook into a single interface to provide easy access to mail, -scheduling, address book and other PIM functionality. - -%files -n trinity-kontact -%{tde_bindir}/kontact -%{tde_tdelibdir}/kcm_kmailsummary.la -%{tde_tdelibdir}/kcm_kmailsummary.so -%{tde_tdelibdir}/kcm_kontact.la -%{tde_tdelibdir}/kcm_kontact.so -%{tde_tdelibdir}/kcm_kontactknt.la -%{tde_tdelibdir}/kcm_kontactknt.so -%{tde_tdelibdir}/kcm_kontactsummary.la -%{tde_tdelibdir}/kcm_kontactsummary.so -%{tde_tdelibdir}/kcm_korgsummary.la -%{tde_tdelibdir}/kcm_korgsummary.so -%{tde_tdelibdir}/kcm_sdsummary.la -%{tde_tdelibdir}/kcm_sdsummary.so -%{tde_tdelibdir}/libkontact_*.la -%{tde_tdelibdir}/libkontact_*.so -%{tde_libdir}/libkontact.so.* -%{tde_libdir}/libkpinterfaces.so.* -%{tde_tdeappdir}/Kontact.desktop -%{tde_tdeappdir}/kontactdcop.desktop -%{tde_datadir}/apps/kontact -%{tde_datadir}/apps/kontactsummary/kontactsummary_part.rc -%{tde_datadir}/config.kcfg/kontact.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kontact.png -%{tde_datadir}/icons/crystalsvg/*/actions/kontact_*.png -%{tde_datadir}/services/kcmkmailsummary.desktop -%{tde_datadir}/services/kcmkontactknt.desktop -%{tde_datadir}/services/kcmkontactsummary.desktop -%{tde_datadir}/services/kcmkorgsummary.desktop -%{tde_datadir}/services/kcmsdsummary.desktop -%{tde_datadir}/services/kontact/newstickerplugin.desktop -%{tde_datadir}/services/kontact/specialdatesplugin.desktop -%{tde_datadir}/services/kontact/summaryplugin.desktop -%{tde_datadir}/services/kontact/weatherplugin.desktop -%{tde_datadir}/services/kontactconfig.desktop -%{tde_datadir}/servicetypes/kontactplugin.desktop -%{tde_tdedocdir}/HTML/en/kontact/ -%{tde_tdedocdir}/HTML/en/kpilot/ - -%post -n trinity-kontact -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kontact -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kontact-devel -Summary: Development files for kontact -Group: Development/Libraries -Requires: trinity-kontact = %{version}-%{release} - -%description -n trinity-kontact-devel -%{summary} - -%files -n trinity-kontact-devel -%{tde_libdir}/libkontact.la -%{tde_libdir}/libkontact.so -%{tde_libdir}/libkpinterfaces.la -%{tde_libdir}/libkpinterfaces.so -%{tde_tdeincludedir}/kontact/ - -%post -n trinity-kontact-devel -/sbin/ldconfig || : - -%postun -n trinity-kontact-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-korganizer -Summary: Trinity personal organizer -Group: Applications/Productivity -Requires: trinity-libkpimidentities = %{version}-%{release} -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: %{name}-kresources = %{version}-%{release} -Requires: perl - -%description -n trinity-korganizer -This package contains KOrganizer, a calendar and scheduling program. - -KOrganizer aims to be a complete program for organizing appointments, -contacts, projects, etc. KOrganizer natively supports information interchange -with other calendar applications, through the industry standard vCalendar -personal data interchange file format. This eases the move from other -modern PIMs to KOrganizer. - -KOrganizer offers full synchronization with Palm Pilots, if kpilot is -installed. - -%files -n trinity-korganizer -%{tde_bindir}/ical2vcal -%{tde_bindir}/korgac -%{tde_bindir}/korganizer -%{tde_tdelibdir}/kcm_korganizer.la -%{tde_tdelibdir}/kcm_korganizer.so -%{tde_tdelibdir}/libkorg_*.la -%{tde_tdelibdir}/libkorg_*.so -%{tde_tdelibdir}/libkorganizerpart.la -%{tde_tdelibdir}/libkorganizerpart.so -%{tde_libdir}/libkocorehelper.so.* -%{tde_libdir}/libkorg_stdprinting.so.* -%{tde_libdir}/libkorganizer.so.* -%{tde_libdir}/libkorganizer_calendar.so.* -%{tde_libdir}/libkorganizer_eventviewer.so.* -%{tde_tdeappdir}/korganizer.desktop -%{tde_datadir}/apps/kconf_update/korganizer.upd -%{tde_datadir}/apps/korgac -%{tde_datadir}/apps/korganizer -%{tde_datadir}/autostart/korgac.desktop -%{tde_datadir}/config.kcfg/korganizer.kcfg -%{tde_datadir}/icons/hicolor/*/apps/korganizer.png -%{tde_datadir}/services/kontact/korganizerplugin.desktop -%{tde_datadir}/services/kontact/journalplugin.desktop -%{tde_datadir}/services/kontact/todoplugin.desktop -%{tde_datadir}/services/korganizer_*.desktop -%{tde_datadir}/services/korganizer -%{tde_datadir}/services/webcal.protocol -%{tde_datadir}/servicetypes/calendardecoration.desktop -%{tde_datadir}/servicetypes/calendarplugin.desktop -%{tde_datadir}/servicetypes/dcopcalendar.desktop -%{tde_datadir}/servicetypes/korganizerpart.desktop -%{tde_datadir}/servicetypes/korgprintplugin.desktop -%{tde_tdedocdir}/HTML/en/korganizer/ - -%post -n trinity-korganizer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-korganizer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-korganizer-devel -Summary: Development files for korganizer -Group: Development/Libraries -Requires: trinity-korganizer = %{version}-%{release} - -%description -n trinity-korganizer-devel -%{summary} - -%files -n trinity-korganizer-devel -%{tde_tdeincludedir}/korganizer/ -%{tde_tdeincludedir}/calendar/ -%{tde_libdir}/libkocorehelper.la -%{tde_libdir}/libkocorehelper.so -%{tde_libdir}/libkorg_stdprinting.la -%{tde_libdir}/libkorg_stdprinting.so -%{tde_libdir}/libkorganizer.la -%{tde_libdir}/libkorganizer.so -%{tde_libdir}/libkorganizer_calendar.la -%{tde_libdir}/libkorganizer_calendar.so -%{tde_libdir}/libkorganizer_eventviewer.la -%{tde_libdir}/libkorganizer_eventviewer.so - -%post -n trinity-korganizer-devel -/sbin/ldconfig || : - -%postun -n trinity-korganizer-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-korn -Summary: Trinity mail checker -Group: Applications/Communications -Requires: %{name}-kio-plugins = %{version}-%{release} -#Requires: tdebase-kio-plugins-trinity - -%description -n trinity-korn -Korn is a TDE mail checker that can display a small summary in the Kicker -tray. It supports checking mbox, pop3, imap4, and nntp sources. - -Once mail is received you can have Korn run a third party program or change -the color/icon of the Kicker display. In addition to this you can have -Korn run a program once you click on the docked icon in Kicker. - -%files -n trinity-korn -%{tde_bindir}/korn -%{tde_libdir}/kconf_update_bin/korn-3-4-config_change -%{tde_tdeappdir}/KOrn.desktop -%{tde_datadir}/apps/kconf_update/korn-3-4-config_change.upd -%{tde_datadir}/apps/kconf_update/korn-3-5-metadata-update.pl -%{tde_datadir}/apps/kconf_update/korn-3-5-ssl-update.pl -%{tde_datadir}/apps/kconf_update/korn-3-5-update.upd -%{tde_datadir}/icons/hicolor/*/apps/korn.png -%{tde_tdedocdir}/HTML/en/korn/ - -%post -n trinity-korn -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-korn -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktnef -Summary: Trinity TNEF viewer -Group: Applications/Communications - -%description -n trinity-ktnef -The TNEF File Viewer allows you to handle mail attachments using the TNEF -format. These attachments are usually found in mails coming from Microsoft -mail servers and embed the mail properties as well as the actual attachments. - -%files -n trinity-ktnef -%{tde_bindir}/ktnef -%{tde_tdeappdir}/ktnef.desktop -%{tde_datadir}/apps/ktnef -%{tde_datadir}/icons/hicolor/*/apps/ktnef.png -%{tde_datadir}/icons/locolor/*/apps/ktnef.png -%{tde_datadir}/mimelnk/application/ms-tnef.desktop -%{tde_tdedocdir}/HTML/en/ktnef/ - -%post -n trinity-ktnef -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktnef -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-libindex -Summary: Trinity indexing library -Group: Environment/Libraries - -%description -n trinity-libindex -This library provides text indexing and is currently used by KMail -to implement fast searches in mail bodies. - -This is the runtime package for programs that use the libindex library. - -%files -n trinity-libindex -%{tde_libdir}/libindex.so.* - -%post -n trinity-libindex -/sbin/ldconfig || : - -%postun -n trinity-libindex -/sbin/ldconfig || : - -########## - -%package -n trinity-libindex-devel -Summary: Trinity indexing library [development] -Group: Development/Libraries -Requires: trinity-libindex = %{version}-%{release} - -%description -n trinity-libindex-devel -This library provides text indexing and is currently used by KMail -to implement searching through mail text. - -This is the development package which contains the headers for the libindex-trinity -library. - -%files -n trinity-libindex-devel -%{tde_bindir}/indexlib-config -%{tde_tdeincludedir}/index -%{tde_libdir}/libindex.la -%{tde_libdir}/libindex.so - -%post -n trinity-libindex-devel -/sbin/ldconfig || : - -%postun -n trinity-libindex-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkcal -Summary: Trinity calendaring library -Group: Environment/Libraries -#Requires: %{name}-kresources = %{version}-%{release} - -%description -n trinity-libkcal -This library provides a C++ API for handling the vCalendar and iCalendar -formats. - -This is the runtime package for programs that use the libkcal-trinity library. - -%files -n trinity-libkcal -%{tde_tdelibdir}/kcal_kabc.la -%{tde_tdelibdir}/kcal_kabc.so -%{tde_tdelibdir}/kcal_localdir.la -%{tde_tdelibdir}/kcal_localdir.so -%{tde_tdelibdir}/kcal_local.la -%{tde_tdelibdir}/kcal_local.so -%{tde_tdelibdir}/kcal_remote.la -%{tde_tdelibdir}/kcal_remote.so -%{tde_libdir}/libkcal.so.* -%{tde_libdir}/libkcal_resourceremote.so.* -%{tde_libdir}/libkholidays.so.* -%{tde_datadir}/apps/libkholidays -%{tde_datadir}/services/kresources/kcal/imap.desktop -%{tde_datadir}/services/kresources/kcal/kabc.desktop -%{tde_datadir}/services/kresources/kcal/local.desktop -%{tde_datadir}/services/kresources/kcal/localdir.desktop -%{tde_datadir}/services/kresources/kcal/remote.desktop -%{tde_datadir}/services/kresources/kcal_manager.desktop - -%post -n trinity-libkcal -/sbin/ldconfig || : - -%postun -n trinity-libkcal -/sbin/ldconfig || : - -########## - -%package -n trinity-libkcal-devel -Summary: Trinity calendaring library [development] -Group: Development/Libraries -Requires: trinity-libkcal = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} -Requires: trinity-libktnef-devel = %{version}-%{release} - -%description -n trinity-libkcal-devel -This library provides a C++ API for handling the vCalendar and iCalendar -formats. - -This is the development package which contains the headers for the libkcal-trinity -library. - -%files -n trinity-libkcal-devel -%{tde_tdeincludedir}/libemailfunctions/idmapper.h -%{tde_tdeincludedir}/libkcal -%{tde_libdir}/libkcal.la -%{tde_libdir}/libkcal.so -%{tde_libdir}/libkcal_resourceremote.la -%{tde_libdir}/libkcal_resourceremote.so -%{tde_libdir}/libkholidays.la -%{tde_libdir}/libkholidays.so - -%post -n trinity-libkcal-devel -/sbin/ldconfig || : - -%postun -n trinity-libkcal-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdepim -Summary: Trinity PIM library -Group: Environment/Libraries -Requires: trinity-libkcal = %{version}-%{release} - -Obsoletes: libtdepim < %{version}-%{release} -Provides: libtdepim = %{version}-%{release} - -%description -n trinity-libtdepim -This is the runtime package for programs that use the libtdepim-trinity library. - -%files -n trinity-libtdepim -%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.la -%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.so -%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.la -%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.so -%{tde_libdir}/lib[kt]depim.so.* -%{tde_datadir}/apps/[kt]depimwidgets -%{tde_datadir}/apps/lib[kt]depim -%{tde_datadir}/apps/[kt]depim -%{tde_datadir}/config.kcfg/pimemoticons.kcfg -%{tde_datadir}/icons/crystalsvg/22x22/actions/button_fewer.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/button_more.png - -%post -n trinity-libtdepim -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libtdepim -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdepim-devel -Summary: Trinity PIM library [development] -Group: Development/Libraries -Requires: trinity-libtdepim = %{version}-%{release} -Requires: trinity-kdelibs-devel - -Obsoletes: libtdepim-devel < %{version}-%{release} -Provides: libtdepim-devel = %{version}-%{release} - -%description -n trinity-libtdepim-devel -This is the development package which contains the headers for the libtdepim-trinity -library. - -%files -n trinity-libtdepim-devel -%{tde_tdeincludedir}/[kt]depimmacros.h -%{tde_libdir}/lib[kt]depim.la -%{tde_libdir}/lib[kt]depim.so - -%post -n trinity-libtdepim-devel -/sbin/ldconfig || : - -%postun -n trinity-libtdepim-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkgantt -Summary: Trinity gantt charting library -Group: Environment/Libraries - -%description -n trinity-libkgantt -This is the runtime package for programs that use the libkgantt-trinity library. - -%files -n trinity-libkgantt -%{tde_libdir}/libkgantt.so.* -%{tde_datadir}/apps/kgantt - -%post -n trinity-libkgantt -/sbin/ldconfig || : - -%postun -n trinity-libkgantt -/sbin/ldconfig || : - -########## - -%package -n trinity-libkgantt-devel -Summary: Trinity gantt charting library [development] -Group: Development/Libraries -Requires: trinity-libkgantt = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkgantt-devel -This is the development package which contains the headers for the libkgantt-trinity -library. - -%files -n trinity-libkgantt-devel -%{tde_tdeincludedir}/kgantt -%{tde_libdir}/libkgantt.la -%{tde_libdir}/libkgantt.so - -%post -n trinity-libkgantt-devel -/sbin/ldconfig || : - -%postun -n trinity-libkgantt-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkleopatra -Summary: TDE GnuPG interface libraries -Group: Environment/Libraries -Requires: gnupg - -%description -n trinity-libkleopatra -This library is used by several TDE applications to interface to the -GnuPG program. - -This is the runtime package for programs that use the libkleopatra-trinity library. - -%files -n trinity-libkleopatra -%{tde_datadir}/config/libkleopatrarc -%{tde_libdir}/libgpgme++.so.* -%{tde_libdir}/libkleopatra.so.* -%{tde_libdir}/libkpgp.so.* -%{tde_libdir}/libqgpgme.so.* -%{tde_datadir}/apps/kconf_update/kpgp-3.1-upgrade-address-data.pl -%{tde_datadir}/apps/kconf_update/kpgp.upd -%{tde_datadir}/apps/libkleopatra/ -%{tde_datadir}/icons/crystalsvg/*/apps/gpg.png -%{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png - -%post -n trinity-libkleopatra -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libkleopatra -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libkleopatra-devel -Summary: Trinity GnuPG interface libraries [development] -Group: Development/Libraries -Requires: trinity-libkleopatra = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkleopatra-devel -This library is used by several KDE applications to interface to the -GnuPG program. - -This is the development package which contains the headers for the -libkleopatra-trinity library. - -%files -n trinity-libkleopatra-devel -%{tde_tdeincludedir}/gpgme++/ -%{tde_tdeincludedir}/kleo/ -%{tde_tdeincludedir}/qgpgme/ -%{tde_libdir}/libgpgme++.la -%{tde_libdir}/libgpgme++.so -%{tde_libdir}/libkleopatra.la -%{tde_libdir}/libkleopatra.so -%{tde_libdir}/libkpgp.la -%{tde_libdir}/libkpgp.so -%{tde_libdir}/libqgpgme.la -%{tde_libdir}/libqgpgme.so - -%post -n trinity-libkleopatra-devel -/sbin/ldconfig || : - -%postun -n trinity-libkleopatra-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkmime -Summary: Trinity MIME interface library -Group: Environment/Libraries -#Conflicts: trinity-libmimelib - -%description -n trinity-libkmime -This library provides a C++ interface to MIME messages, parsing them into -an object tree. - -%files -n trinity-libkmime -%{tde_libdir}/libkmime.so.* - -%post -n trinity-libkmime -/sbin/ldconfig || : - -%postun -n trinity-libkmime -/sbin/ldconfig || : - -########## - -%package -n trinity-libkmime-devel -Summary: Development files for libkmime -Group: Development/Libraries -Requires: trinity-libkmime = %{version}-%{release} - -%description -n trinity-libkmime-devel -%{summary} - -%files -n trinity-libkmime-devel -%{tde_libdir}/libkmime.la -%{tde_libdir}/libkmime.so - -%post -n trinity-libkmime-devel -/sbin/ldconfig || : - -%postun -n trinity-libkmime-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimexchange -Summary: Trinity PIM Exchange library -Group: Environment/Libraries - -%description -n trinity-libkpimexchange -This is the runtime package for programs that use the libkpimexchange-trinity -library. - -%files -n trinity-libkpimexchange -%{tde_tdelibdir}/resourcecalendarexchange.la -%{tde_tdelibdir}/resourcecalendarexchange.so -%{tde_libdir}/libkpimexchange.so.* - -%post -n trinity-libkpimexchange -/sbin/ldconfig || : - -%postun -n trinity-libkpimexchange -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimexchange-devel -Summary: Trinity PIM Exchange library [development] -Group: Development/Libraries -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: trinity-libkcal-devel = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkpimexchange-devel -This is the development package which contains the headers for the -libkpimexchange-trinity library. - -%files -n trinity-libkpimexchange-devel -%{tde_tdeincludedir}/[kt]depim/exchangeaccount.h -%{tde_tdeincludedir}/[kt]depim/exchangeclient.h -%{tde_libdir}/libkpimexchange.la -%{tde_libdir}/libkpimexchange.so - -%post -n trinity-libkpimexchange-devel -/sbin/ldconfig || : - -%postun -n trinity-libkpimexchange-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimidentities -Summary: Trinity PIM user identity information library -Group: Environment/Libraries - -%description -n trinity-libkpimidentities -This library provides information to TDE programs about user identity, -such as email address, organization, etc. - -This is the runtime package for programs that use the libkpimidentities-trinity -library. - -%files -n trinity-libkpimidentities -%{tde_libdir}/libkpimidentities.so.* - -%post -n trinity-libkpimidentities -/sbin/ldconfig || : - -%postun -n trinity-libkpimidentities -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimidentities-devel -Summary: Development files for libkpimidentities -Group: Development/Libraries -Requires: trinity-libkpimidentities = %{version}-%{release} - -%description -n trinity-libkpimidentities-devel -%{summary} - -%files -n trinity-libkpimidentities-devel -%{tde_libdir}/libkpimidentities.la -%{tde_libdir}/libkpimidentities.so - -%post -n trinity-libkpimidentities-devel -/sbin/ldconfig || : - -%postun -n trinity-libkpimidentities-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libksieve -Summary: Trinity mail/news message filtering library -Group: Environment/Libraries - -%description -n trinity-libksieve -This is the runtime package for programs that use the libksieve-trinity library. - -%files -n trinity-libksieve -%{tde_libdir}/libksieve.so.* - -%post -n trinity-libksieve -/sbin/ldconfig || : - -%postun -n trinity-libksieve -/sbin/ldconfig || : - -########## - -%package -n trinity-libksieve-devel -Summary: Trinity mail/news message filtering library [development] -Group: Development/Libraries -Requires: trinity-libksieve = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libksieve-devel -This is the development package which contains the headers for the libksieve-trinity -library. - -%files -n trinity-libksieve-devel -%{tde_tdeincludedir}/ksieve -%{tde_libdir}/libksieve.la -%{tde_libdir}/libksieve.so - -%post -n trinity-libksieve-devel -/sbin/ldconfig || : - -%postun -n trinity-libksieve-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libktnef -Summary: Library for handling KTNEF email attachments -Group: Environment/Libraries - -%description -n trinity-libktnef -This library handles mail attachments using the TNEF format. These -attachments are usually found in mails coming from Microsoft mail -servers and embed the mail properties as well as the actual -attachments. -. -This is the runtime library for packages using the ktnef-trinity library. - -%files -n trinity-libktnef -%{tde_libdir}/libktnef.so.* - -%post -n trinity-libktnef -/sbin/ldconfig || : - -%postun -n trinity-libktnef -/sbin/ldconfig || : - -########## - -%package -n trinity-libktnef-devel -Summary: KTNEF handler library [development] -Group: Development/Libraries -Requires: trinity-libktnef = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libktnef-devel -This library handles mail attachments using the TNEF format. These -attachments are usually found in mails coming from Microsoft mail -servers and embed the mail properties as well as the actual -attachments. - -This is the development package which contains the headers for the -ktnef-trinity library. - -%files -n trinity-libktnef-devel -%{tde_tdeincludedir}/ktnef -%{tde_libdir}/libktnef.la -%{tde_libdir}/libktnef.so - -%post -n trinity-libktnef-devel -/sbin/ldconfig || : - -%postun -n trinity-libktnef-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libmimelib -Summary: Trinity mime library -Group: Environment/Libraries - -%description -n trinity-libmimelib -This library is used by several Trinity applications to handle mime types. - -This is the runtime package for programs that use the libmimelib-trinity library. - -%files -n trinity-libmimelib -%{tde_libdir}/libmimelib.so.* - -%post -n trinity-libmimelib -/sbin/ldconfig || : - -%postun -n trinity-libmimelib -/sbin/ldconfig || : - -########## - -%package -n trinity-libmimelib-devel -Summary: Trinity mime library [development] -Group: Development/Libraries -Requires: trinity-libmimelib = %{version}-%{release} - -%description -n trinity-libmimelib-devel -This library is used by several KDE applications to handle mime types. - -This is the development package which contains the headers for the -libmimelib library. - -%files -n trinity-libmimelib-devel -%{tde_tdeincludedir}/mimelib -%{tde_libdir}/libmimelib.la -%{tde_libdir}/libmimelib.so - -%post -n trinity-libmimelib-devel -/sbin/ldconfig || : - -%postun -n trinity-libmimelib-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kmobile -Summary: Synchronize and manage mobile phone with your PC. -Group: Applications/Communications - -%description -n trinity-kmobile -KMobileTools is a nice TDE-based application that allows to synchronize -and manage mobile phones with your PC. It handles full SMS control, -dialing calls, phonebook, and phone status monitoring. - -%files -n trinity-kmobile -%{tde_bindir}/kmobile -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_camera.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_musicplayer.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_organizer.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_phone.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_unknown.png -%{tde_datadir}/icons/hicolor/*/apps/kmobile.png -%{tde_datadir}/services/libkmobile_digicam.desktop -%{tde_datadir}/services/libkmobile_gammu.desktop -%{tde_datadir}/services/libkmobile_skeleton.desktop -%{tde_datadir}/servicetypes/libkmobile.desktop -%{tde_datadir}/apps/kmobile/kmobileui.rc -%{tde_tdeappdir}/kmobile.desktop -%{tde_tdelibdir}/libkmobile_skeleton.la -%{tde_tdelibdir}/libkmobile_skeleton.so -%{tde_libdir}/libkmobileclient.la -%{tde_libdir}/libkmobileclient.so -%{tde_libdir}/libkmobiledevice.la -%{tde_libdir}/libkmobiledevice.so - -%post -n trinity-kmobile -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmobile -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdepim-3.5.13.1 -%patch13 -p1 -b .incdir -%patch14 -p1 -b .ldflags - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%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" \ - -DWITH_ARTS=ON \ - -DWITH_SASL=ON \ - -DWITH_NEWDISTRLISTS=ON \ - %{?with_gnokii:-DWITH_GNOKII=ON} \ - -DWITH_EXCHANGE=ON \ - -DWITH_EGROUPWARE=ON \ - -DWITH_KOLAB=ON \ - -DWITH_SLOX=ON \ - -DWITH_GROUPWISE=ON \ - -DWITH_FEATUREPLAN=ON \ - -DWITH_GROUPDAV=ON \ - -DWITH_BIRTHDAYS=ON \ - -DWITH_NEWEXCHANGE=ON \ - -DWITH_SCALIX=ON \ - -DWITH_CALDAV=ON \ - -DWITH_CARDDAV=ON \ - -DWITH_INDEXLIB=ON \ - %{?with_kitchensync:-DBUILD_KITCHENSYNC=ON} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -# Fix for Perl path in trinity-korganizer -# Perl is '/usr/bin/perl' not '/bin/perl' -%if 0%{?fedora} >= 17 -%__sed -i %{?buildroot}%{?tde_bindir}/ical2vcal -e "s|/bin/perl|/usr/bin/perl|" -%endif - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Sun Nov 11 2012 Francois Andriot - 3.5.13.1-2 -- Fix korganizer packaging - -* Tue Sep 25 2012 Francois Andriot - 3.5.13.1-1 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/tdepim/kdepim-3.5.13.spec b/redhat/tdepim/kdepim-3.5.13.spec deleted file mode 100644 index 8a9c6d6a6..000000000 --- a/redhat/tdepim/kdepim-3.5.13.spec +++ /dev/null @@ -1,2198 +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 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# KDEPIM specific features -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gnokii 1 -%else -%define with_gnokii 0 -%endif - -# TDEPIM optional features -#BuildRequires: opensync-devel -%define with_kitchensync 0 - - -Name: trinity-tdepim -Version: 3.5.13 -Release: 8%{?dist}%{?_variant} -License: GPL -Group: Applications/Productivity - -Vendor: Trinity Project -Packager: Francois Andriot -Summary: Personal Information Management apps from the official Trinity release - -Prefix: %{tde_prefix} - -Source0: kdepim-%{version}.tar.gz - -# [kdepim] Fix compilation with GCC 4.7 [Bug #958] -Patch1: kdepim-3.5.13-fix_gcc47_compilation.patch -# [tdepim] Reverse patch from GIT hash 33e649c9. [Bug #406] [Commit #2d5f15c8] -Patch2: kdepim-3.5.13-fix_check_mail.patch -# [tdepim] Fix kmail composer crash [Bug #953] -Patch3: kdepim-3.5.13-fix_composer_crash.patch -# [tdepim] Fix KMail counting of unread messages in the system tray icon [Commit #40c435e5] -Patch4: kdepim-3.5.13-fix_systray_count.patch -# [tdepim] Fix knotes not appearing on the desktop when a session is restored. [Bug #987] [Commit #533f494f] -Patch5: kdepim-3.5.13-fix_knotes_after_restored.patch -# [tdepim] Fix knotes to not close notes during saving session. [Bug #987] [Commit #c48253af] -Patch6: kdepim-3.5.13-fix_knotes_on_suspend.patch -# [tdepim] Fix linear alphabet string errors [Bug 635] [Commit #80bc593e] -Patch7: kdepim-3.5.13-fix_linear_alphabet.patch -# [tdepim] Fix infinite loop on IMAP4 authentication failure [Bug #1007] -Patch8: kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch -# [tdepim] Fix infinite loop on kmime_utils addquotes [Bug #1009] [Commit #9b43d6e1] [Commit #b0c92b30] -Patch9: kdepim-3.5.13-fix_kio_imap4_addquotes.patch -Patch10: kdepim-3.5.13-fix_segv.patch -# [tdepim] Update kalarmd icon reference, which does not exist, to kalarm. [Commit #228ad1c6] -Patch11: kdepim-3.5.13-fix_kalarm_icon_reference.patch -# [tdepim] Disable unneccesary fsync() in cached IMAP handler [Bug #467] [Commit #82d4a938] -Patch12: kdepim-3.5.13-disable_fsync_in_cached_imap.patch -# [tdepim] Fix include directory location -Patch13: kdepim-3.5.13-fix_include_directory.patch -# [tdepim] Missing LDFLAGS cause FTBFS on MGA2/MDV2011 -Patch14: kdepim-3.5.13-missing_ldflags.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: gpgme-devel -BuildRequires: libgpg-error-devel -BuildRequires: flex -BuildRequires: libical-devel -BuildRequires: boost-devel -BuildRequires: pcre-devel -BuildRequires: glib2-devel -BuildRequires: gcc-c++ make -BuildRequires: libidn-devel - -BuildRequires: libcaldav-devel -BuildRequires: libcarddav-devel - -%if 0%{?with_gnokii} -BuildRequires: gnokii-devel -%endif - -%if 0%{?fedora} >= 15 -BuildRequires: flex-static -%endif -%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 -BuildRequires: trinity-libcurl-devel -%else -BuildRequires: curl-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel -BuildRequires: %{_lib}sasl2-devel -%else -BuildRequires: libXcomposite-devel -BuildRequires: cyrus-sasl-devel -%endif - -Requires: trinity-libtdepim = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: %{name}-kresources = %{version}-%{release} -Requires: %{name}-wizards = %{version}-%{release} -Requires: trinity-akregator = %{version}-%{release} -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-kalarm = %{version}-%{release} -Requires: trinity-kandy = %{version}-%{release} -Requires: trinity-karm = %{version}-%{release} -Requires: trinity-kleopatra = %{version}-%{release} -Requires: trinity-kmail = %{version}-%{release} -Requires: trinity-kmailcvt = %{version}-%{release} -Requires: trinity-kmobile = %{version}-%{release} -Requires: trinity-knode = %{version}-%{release} -Requires: trinity-knotes = %{version}-%{release} -Requires: trinity-kode = %{version}-%{release} -Requires: trinity-konsolekalendar = %{version}-%{release} -Requires: trinity-kontact = %{version}-%{release} -Requires: trinity-korganizer = %{version}-%{release} -Requires: trinity-korn = %{version}-%{release} -Requires: trinity-ktnef = %{version}-%{release} -Requires: trinity-libindex = %{version}-%{release} -Requires: trinity-libkcal = %{version}-%{release} -Requires: trinity-libkgantt = %{version}-%{release} -Requires: trinity-libkleopatra = %{version}-%{release} -Requires: trinity-libkmime = %{version}-%{release} -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: trinity-libkpimidentities = %{version}-%{release} -Requires: trinity-libksieve = %{version}-%{release} -Requires: trinity-libktnef = %{version}-%{release} -Requires: trinity-libmimelib = %{version}-%{release} - -Obsoletes: trinity-kdepim < %{version}-%{release} -Provides: trinity-kdepim = %{version}-%{release} -Obsoletes: tdepim < %{version}-%{release} -Provides: tdepim = %{version}-%{release} - -%description -This metapackage includes a collection of Personal Information Management -(PIM) applications provided with the official release of Trinity. - -%files - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries - -Obsoletes: tdepim-cmake < %{version}-%{release} - -Obsoletes: trinity-kdepim-devel < %{version}-%{release} -Provides: trinity-kdepim-devel = %{version}-%{release} -Obsoletes: tdepim-devel < %{version}-%{release} -Provides: tdepim-devel = %{version}-%{release} - -Requires: %{name} = %{version}-%{release} -Requires: trinity-akregator-devel = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} -Requires: trinity-kaddressbook-devel = %{version}-%{release} -Requires: trinity-karm-devel = %{version}-%{release} -Requires: trinity-kmail-devel = %{version}-%{release} -Requires: trinity-knode-devel = %{version}-%{release} -Requires: trinity-knotes-devel = %{version}-%{release} -Requires: trinity-kode-devel = %{version}-%{release} -Requires: trinity-kontact-devel = %{version}-%{release} -Requires: trinity-korganizer-devel = %{version}-%{release} -Requires: trinity-libindex-devel = %{version}-%{release} -Requires: trinity-libkcal-devel = %{version}-%{release} -Requires: trinity-libkgantt-devel = %{version}-%{release} -Requires: trinity-libkleopatra-devel = %{version}-%{release} -Requires: trinity-libkmime-devel = %{version}-%{release} -Requires: trinity-libkpimexchange-devel = %{version}-%{release} -Requires: trinity-libkpimidentities-devel = %{version}-%{release} -Requires: trinity-libksieve-devel = %{version}-%{release} -Requires: trinity-libktnef-devel = %{version}-%{release} -Requires: trinity-libmimelib-devel = %{version}-%{release} -Requires: %{name}-kresources-devel = %{version}-%{release} - -%description devel -This metapackage includes all development files for TDE PIM. -It also contains the CMAKE macros. - -%files devel -%{tde_datadir}/cmake/* - -########## - -%package -n trinity-akregator -Summary: RSS feed aggregator for TDE -Group: Applications/Internet -Requires: trinity-libtdepim = %{version}-%{release} -Requires: trinity-libkcal = %{version}-%{release} - -%description -n trinity-akregator -aKregator is a fast, lightweight, and intuitive feed reader program -for TDE. It allows you to quickly browse through hundreds of -thousands of internet feeds in a quick, efficient, and familiar way. - -%files -n trinity-akregator -%{tde_bindir}/akregator -%{tde_tdelibdir}/libakregatorpart.la -%{tde_tdelibdir}/libakregatorpart.so -%{tde_tdelibdir}/libakregator_mk4storage_plugin.la -%{tde_tdelibdir}/libakregator_mk4storage_plugin.so -%{tde_libdir}/libakregatorprivate.so.* -%{tde_tdeappdir}/akregator.desktop -%{tde_datadir}/apps/akregator -%{tde_datadir}/config.kcfg/akregator.kcfg -%{tde_datadir}/config.kcfg/mk4config.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/rss_tag.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/akregator_empty.png -%{tde_datadir}/icons/hicolor/*/apps/akregator.png -%{tde_datadir}/icons/hicolor/scalable/apps/akregator.svgz -%{tde_datadir}/services/akregator_mk4storage_plugin.desktop -%{tde_datadir}/services/akregator_part.desktop -%{tde_datadir}/services/feed.protocol -%{tde_datadir}/services/kontact/akregatorplugin*.desktop -%{tde_datadir}/servicetypes/akregator_plugin.desktop -%{tde_tdedocdir}/HTML/en/akregator/ - -%post -n trinity-akregator -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-akregator -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-akregator-devel -Summary: Development files for trinity-akregator -Group: Development/Libraries -Requires: trinity-akregator = %{version}-%{release} - -%description -n trinity-akregator-devel -%{summary} - -%files -n trinity-akregator-devel -%{tde_tdeincludedir}/akregator/ -%{tde_libdir}/libakregatorprivate.la -%{tde_libdir}/libakregatorprivate.so - -%post -n trinity-akregator-devel -/sbin/ldconfig || : - -%postun -n trinity-akregator-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kaddressbook -Summary: TDE addressbook application -Group: Applications/Communications -Requires: trinity-kdebase-pim-ioslaves -Requires: %{name}-kresources = %{version}-%{release} - -%description -n trinity-kaddressbook -KAddressBook is the main address book application for TDE; it enables you -to manage your contacts efficiently and comfortably. It can load and save -your contacts to many different locations, including the local file system, -LDAP servers, and SQL databases. - -%files -n trinity-kaddressbook -%{tde_bindir}/kabc2mutt -%{tde_bindir}/kaddressbook -%{tde_bindir}/kabcdistlistupdater -%{tde_tdelibdir}/kcm_kabconfig.la -%{tde_tdelibdir}/kcm_kabconfig.so -%{tde_tdelibdir}/kcm_kabcustomfields.la -%{tde_tdelibdir}/kcm_kabcustomfields.so -%{tde_tdelibdir}/kcm_kabldapconfig.la -%{tde_tdelibdir}/kcm_kabldapconfig.so -%{tde_tdelibdir}/ldifvcardthumbnail.la -%{tde_tdelibdir}/ldifvcardthumbnail.so -%{tde_tdelibdir}/libkaddrbk_*.la -%{tde_tdelibdir}/libkaddrbk_*.so -%{tde_tdelibdir}/libkaddressbookpart.la -%{tde_tdelibdir}/libkaddressbookpart.so -%{tde_libdir}/libkabinterfaces.so.* -%{tde_libdir}/libkaddressbook.so.* -%{tde_tdeappdir}/kaddressbook.desktop -%{tde_datadir}/apps/kaddressbook -%{tde_datadir}/icons/hicolor/*/apps/kaddressbook.png -%{tde_datadir}/services/kabconfig.desktop -%{tde_datadir}/services/kabcustomfields.desktop -%{tde_datadir}/services/kabldapconfig.desktop -%{tde_datadir}/services/kaddressbook -%{tde_datadir}/services/kontact/kaddressbookplugin.desktop -%{tde_datadir}/services/kresources/kabc/imap.desktop -%{tde_datadir}/services/ldifvcardthumbnail.desktop -%{tde_datadir}/servicetypes/dcopaddressbook.desktop -%{tde_datadir}/servicetypes/kaddressbook_contacteditorwidget.desktop -%{tde_datadir}/servicetypes/kaddressbookimprotocol.desktop -%{tde_datadir}/servicetypes/kaddressbook_extension.desktop -%{tde_datadir}/servicetypes/kaddressbook_view.desktop -%{tde_datadir}/servicetypes/kaddressbook_xxport.desktop -%{tde_tdedocdir}/HTML/en/kaddressbook/ -%{tde_datadir}/autostart/kabcdistlistupdater.desktop -%{tde_tdeincludedir}/kaddressbook -%{tde_tdeincludedir}/kabc - -%post -n trinity-kaddressbook -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaddressbook -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaddressbook-devel -Summary: Development files for trinity-kaddressbook -Group: Development/Libraries -Requires: trinity-kaddressbook = %{version}-%{release} - -%description -n trinity-kaddressbook-devel -%{summary} - -%files -n trinity-kaddressbook-devel -%{tde_libdir}/libkabinterfaces.la -%{tde_libdir}/libkabinterfaces.so -%{tde_libdir}/libkaddressbook.la -%{tde_libdir}/libkaddressbook.so - -%post -n trinity-kaddressbook-devel -/sbin/ldconfig || : - -%postun -n trinity-kaddressbook-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kalarm -Summary: Trinity alarm message, command and email scheduler -Group: Applications/Communications -Requires: trinity-libkpimidentities = %{version}-%{release} - -%description -n trinity-kalarm -KAlarm provides a graphical interface to schedule personal timed events - -pop-up alarm messages, command execution and sending emails. There is a -range of options for configuring recurring events. - -A pop-up alarm can show either a simple text message, or the contents of a -text or image file, It can optionally be spoken, or play a sound file. You -can choose its appearance, and set reminders. Among KAlarm's other -facilities, you can set up templates to allow KAlarm to be used as a 'tea -timer'. - -As an alternative to using the graphical interface, alarms can be scheduled -from the command line or via DCOP calls from other programs. KAlarm is -TDE-based, but will also run on other desktops. - -%files -n trinity-kalarm -%{tde_bindir}/kalarm -%{tde_bindir}/kalarmd -%{tde_tdeappdir}/kalarm.desktop -%{tde_datadir}/applnk/.hidden/kalarmd.desktop -%{tde_datadir}/applnk/Applications/kalarm.desktop -%{tde_datadir}/apps/kalarm -%{tde_datadir}/autostart/kalarm.tray.desktop -%{tde_datadir}/autostart/kalarmd.autostart.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/kalarm.png -%{tde_datadir}/icons/hicolor/*/apps/kalarm.png -%{tde_tdedocdir}/HTML/en/kalarm/ - -%post -n trinity-kalarm -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kalarm -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kandy -Summary: Trinity mobile phone utility -Group: Applications/Communications - -%description -n trinity-kandy -At the moment Kandy is more or less a terminal program with some special -features to store commands and their parameters, but is also has a simple GUI -to access the phone book of a mobile phone and it is able to save this phone -book to the TDE address book. - -Kandy is aimed at mobile phones with integrated (GSM) modems. - -%files -n trinity-kandy -%{tde_bindir}/kandy -%{tde_bindir}/kandy_client -%{tde_tdeappdir}/kandy.desktop -%{tde_datadir}/applnk/Utilities/kandy.desktop -%{tde_datadir}/apps/kandy -%{tde_datadir}/config.kcfg/kandy.kcfg -%{tde_tdedocdir}/HTML/en/kandy/ - -%post -n trinity-kandy -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kandy -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-karm -Summary: Trinity time tracker tool -Group: Applications/Productivity - -%description -n trinity-karm -KArm is a time tracker for busy people who need to keep track of the amount of -time they spend on various tasks. - -%files -n trinity-karm -%{tde_bindir}/karm -%{tde_libdir}/libkarm.so.* -%{tde_tdelibdir}/libkarmpart.la -%{tde_tdelibdir}/libkarmpart.so -%{tde_tdeappdir}/karm.desktop -%{tde_datadir}/applnk/Utilities/karm.desktop -%{tde_datadir}/apps/karm -%{tde_datadir}/apps/karmpart -%{tde_datadir}/icons/hicolor/*/apps/karm.png -%{tde_datadir}/services/karm_part.desktop -%{tde_datadir}/services/kontact/karmplugin.desktop -%{tde_tdedocdir}/HTML/en/karm/ - -%post -n trinity-karm -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-karm -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-karm-devel -Summary: Development files for karm -Group: Development/Libraries - -%description -n trinity-karm-devel -%{summary} - -%files -n trinity-karm-devel -%{tde_libdir}/libkarm.so -%{tde_libdir}/libkarm.la - -%post -n trinity-karm-devel -/sbin/ldconfig || : - -%postun -n trinity-karm-devel -/sbin/ldconfig || : - -########## - -%package kfile-plugins -Summary: TDE File dialog plugins for palm and vcf files -Group: Environment/Libraries - -Obsoletes: tdepim-kfile-plugins < %{version}-%{release} - -%description kfile-plugins -File dialog plugins for palm and vcf files. - -%files kfile-plugins -%{tde_tdelibdir}/kfile_ics.la -%{tde_tdelibdir}/kfile_ics.so -%{tde_tdelibdir}/kfile_vcf.la -%{tde_tdelibdir}/kfile_vcf.so -%{tde_datadir}/services/kfile_ics.desktop -%{tde_datadir}/services/kfile_vcf.desktop - -########## - -%package kio-plugins -Summary: Trinity pim I/O Slaves -Group: Environment/Libraries - -Obsoletes: tdepim-kio-plugins < %{version}-%{release} - -%description kio-plugins -This package includes the pim kioslaves. This includes imap4, sieve, -and mbox. - -%files kio-plugins -%{tde_tdelibdir}/kio_groupwise.la -%{tde_tdelibdir}/kio_groupwise.so -%{tde_tdelibdir}/kio_imap4.la -%{tde_tdelibdir}/kio_imap4.so -%{tde_tdelibdir}/kio_mbox.la -%{tde_tdelibdir}/kio_mbox.so -%{tde_tdelibdir}/kio_scalix.la -%{tde_tdelibdir}/kio_scalix.so -%{tde_tdelibdir}/kio_sieve.la -%{tde_tdelibdir}/kio_sieve.so -%{tde_datadir}/services/groupwise.protocol -%{tde_datadir}/services/groupwises.protocol -%{tde_datadir}/services/imap4.protocol -%{tde_datadir}/services/imaps.protocol -%{tde_datadir}/services/mbox.protocol -%{tde_datadir}/services/scalix.protocol -%{tde_datadir}/services/scalixs.protocol -%{tde_datadir}/services/sieve.protocol - -########## - -%package kresources -Summary: Trinity pim resource plugins -Group: Environment/Libraries -#Requires: trinity-kaddressbook = %{version}-%{release} -#Requires: trinity-korganizer = %{version}-%{release} -#Requires: trinity-knotes = %{version}-%{release} -Requires: libcaldav -Requires: libcarddav - -Obsoletes: tdepim-kresources < %{version}-%{release} - -%description kresources -This package includes several plugins needed to interface with groupware -servers. It also includes plugins for features such as blogging and -tracking feature plans. - -%files kresources -%{tde_tdelibdir}/kcal_caldav.la -%{tde_tdelibdir}/kcal_caldav.so -%{tde_tdelibdir}/kcal_groupdav.la -%{tde_tdelibdir}/kcal_groupdav.so -%{tde_tdelibdir}/kcal_groupwise.la -%{tde_tdelibdir}/kcal_groupwise.so -%{tde_tdelibdir}/kcal_kolab.la -%{tde_tdelibdir}/kcal_kolab.so -%{tde_tdelibdir}/kcal_scalix.la -%{tde_tdelibdir}/kcal_scalix.so -%{tde_tdelibdir}/kcal_newexchange.la -%{tde_tdelibdir}/kcal_newexchange.so -%{tde_tdelibdir}/kcal_resourcefeatureplan.la -%{tde_tdelibdir}/kcal_resourcefeatureplan.so -%{tde_tdelibdir}/kcal_slox.la -%{tde_tdelibdir}/kcal_slox.so -%{tde_tdelibdir}/kcal_xmlrpc.la -%{tde_tdelibdir}/kcal_xmlrpc.so -%{tde_tdelibdir}/knotes_kolab.la -%{tde_tdelibdir}/knotes_kolab.so -%{tde_tdelibdir}/knotes_scalix.la -%{tde_tdelibdir}/knotes_scalix.so -%{tde_tdelibdir}/knotes_xmlrpc.la -%{tde_tdelibdir}/knotes_xmlrpc.so -%{tde_libdir}/libkabckolab.so.* -%{tde_libdir}/libkabcscalix.so.* -%{tde_libdir}/libkabc_groupdav.so.* -%{tde_libdir}/libkabc_groupwise.so.* -%{tde_libdir}/libkabc_newexchange.so.* -%{tde_libdir}/libkabc_slox.so.* -%{tde_libdir}/libkabc_xmlrpc.so.* -%{tde_libdir}/libkcalkolab.so.* -%{tde_libdir}/libkcalscalix.so.* -%{tde_libdir}/libkcal_caldav.so.* -%{tde_libdir}/libkabc_carddav.so.* -%{tde_libdir}/libkcal_groupdav.so.* -%{tde_libdir}/libkcal_groupwise.so.* -%{tde_libdir}/libkcal_newexchange.so.* -%{tde_libdir}/libkcal_resourcefeatureplan.so.* -%{tde_libdir}/libkcal_slox.so.* -%{tde_libdir}/libkcal_xmlrpc.so.* -%{tde_libdir}/libkgroupwarebase.so.* -%{tde_libdir}/libkgroupwaredav.so.* -%{tde_libdir}/libknoteskolab.so.* -%{tde_libdir}/libknotesscalix.so.* -%{tde_libdir}/libknotes_xmlrpc.so.* -%{tde_libdir}/libkslox.so.* -%{tde_libdir}/libgwsoap.so.* -%{tde_datadir}/services/kresources/kabc/kabc_groupdav.desktop -%{tde_datadir}/services/kresources/kabc/kabc_groupwise.desktop -%{tde_datadir}/services/kresources/kabc/kabc_newexchange.desktop -%{tde_datadir}/services/kresources/kabc/kabc_opengroupware.desktop -%{tde_datadir}/services/kresources/kabc/kabc_ox.desktop -%{tde_datadir}/services/kresources/kabc/kabc_slox.desktop -%{tde_datadir}/services/kresources/kabc/kabc_xmlrpc.desktop -%{tde_datadir}/services/kresources/kabc/kolab.desktop -%{tde_datadir}/services/kresources/kabc/scalix.desktop -%{tde_datadir}/services/kresources/kcal/exchange.desktop -%{tde_datadir}/services/kresources/kcal/kcal_caldav.desktop -%{tde_datadir}/services/kresources/kabc/kabc_carddav.desktop -%{tde_datadir}/services/kresources/kcal/kcal_groupdav.desktop -%{tde_datadir}/services/kresources/kcal/kcal_groupwise.desktop -%{tde_datadir}/services/kresources/kcal/kcal_newexchange.desktop -%{tde_datadir}/services/kresources/kcal/kcal_opengroupware.desktop -%{tde_datadir}/services/kresources/kcal/kcal_ox.desktop -%{tde_datadir}/services/kresources/kcal/kcal_resourcefeatureplan.desktop -%{tde_datadir}/services/kresources/kcal/kcal_slox.desktop -%{tde_datadir}/services/kresources/kcal/kcal_xmlrpc.desktop -%{tde_datadir}/services/kresources/kcal/kolab.desktop -%{tde_datadir}/services/kresources/kcal/scalix.desktop -%{tde_datadir}/services/kresources/knotes/knotes_xmlrpc.desktop -%{tde_datadir}/services/kresources/knotes/kolabresource.desktop -%{tde_datadir}/services/kresources/knotes/scalix.desktop - -%{tde_datadir}/apps/kconf_update/upgrade-resourcetype.pl -%{tde_datadir}/apps/kconf_update/kolab-resource.upd - -%{tde_tdelibdir}/kabc_carddav.la -%{tde_tdelibdir}/kabc_carddav.so -%{tde_tdelibdir}/kabc_groupdav.la -%{tde_tdelibdir}/kabc_groupdav.so -%{tde_tdelibdir}/kabc_groupwise.la -%{tde_tdelibdir}/kabc_groupwise.so -%{tde_tdelibdir}/kabc_kolab.la -%{tde_tdelibdir}/kabc_kolab.so -%{tde_tdelibdir}/kabc_newexchange.la -%{tde_tdelibdir}/kabc_newexchange.so -%{tde_tdelibdir}/kabc_scalix.la -%{tde_tdelibdir}/kabc_scalix.so -%{tde_tdelibdir}/kabc_slox.la -%{tde_tdelibdir}/kabc_slox.so -%{tde_tdelibdir}/kabc_xmlrpc.la -%{tde_tdelibdir}/kabc_xmlrpc.so - -%post kresources -/sbin/ldconfig || : - -%postun kresources -/sbin/ldconfig || : - -########## - -%package kresources-devel -Summary: Development files for kresources -Group: Development/Libraries -Requires: %{name}-kresources = %{version}-%{release} -Requires: libcaldav -Requires: libcarddav - -Obsoletes: tdepim-kresources-devel < %{version}-%{release} - -%description kresources-devel -%{summary} - -%files kresources-devel -%{tde_libdir}/libkslox.la -%{tde_libdir}/libkslox.so -%{tde_libdir}/libkabc_groupdav.la -%{tde_libdir}/libkabc_groupdav.so -%{tde_libdir}/libkabc_groupwise.la -%{tde_libdir}/libkabc_groupwise.so -%{tde_libdir}/libgwsoap.la -%{tde_libdir}/libgwsoap.so -%{tde_libdir}/libkabc_carddav.la -%{tde_libdir}/libkabc_carddav.so -%{tde_libdir}/libkabc_newexchange.la -%{tde_libdir}/libkabc_newexchange.so -%{tde_libdir}/libkabc_slox.la -%{tde_libdir}/libkabc_slox.so -%{tde_libdir}/libkabc_xmlrpc.la -%{tde_libdir}/libkabc_xmlrpc.so -%{tde_libdir}/libkabckolab.la -%{tde_libdir}/libkabckolab.so -%{tde_libdir}/libkabcscalix.la -%{tde_libdir}/libkabcscalix.so -%{tde_libdir}/libkcal_caldav.la -%{tde_libdir}/libkcal_caldav.so -%{tde_libdir}/libkcal_groupdav.la -%{tde_libdir}/libkcal_groupdav.so -%{tde_libdir}/libkcal_groupwise.la -%{tde_libdir}/libkcal_groupwise.so -%{tde_libdir}/libkcal_newexchange.la -%{tde_libdir}/libkcal_newexchange.so -%{tde_libdir}/libkcal_resourcefeatureplan.la -%{tde_libdir}/libkcal_resourcefeatureplan.so -%{tde_libdir}/libkcal_slox.la -%{tde_libdir}/libkcal_slox.so -%{tde_libdir}/libkcal_xmlrpc.la -%{tde_libdir}/libkcal_xmlrpc.so -%{tde_libdir}/libkcalkolab.la -%{tde_libdir}/libkcalkolab.so -%{tde_libdir}/libkcalscalix.la -%{tde_libdir}/libkcalscalix.so -%{tde_libdir}/libkgroupwarebase.la -%{tde_libdir}/libkgroupwarebase.so -%{tde_libdir}/libkgroupwaredav.la -%{tde_libdir}/libkgroupwaredav.so -%{tde_libdir}/libknotes_xmlrpc.la -%{tde_libdir}/libknotes_xmlrpc.so -%{tde_libdir}/libknoteskolab.la -%{tde_libdir}/libknoteskolab.so -%{tde_libdir}/libknotesscalix.la -%{tde_libdir}/libknotesscalix.so -%{tde_tdeincludedir}/kpimprefs.h - -%post kresources-devel -/sbin/ldconfig || : - -%postun kresources-devel -/sbin/ldconfig || : - -########## - -%package wizards -Summary: Trinity server configuration wizards -Group: Applications/Communications - -Obsoletes: tdepim-wizards < %{version}-%{release} - -%description wizards -This package contains KDE-based wizards for configuring eGroupware, -Kolab, and SUSE Linux Openexchange servers. - -%files wizards -%{tde_bindir}/egroupwarewizard -%{tde_bindir}/exchangewizard -%{tde_bindir}/groupwarewizard -%{tde_bindir}/groupwisewizard -%{tde_bindir}/kolabwizard -%{tde_bindir}/scalixadmin -%{tde_bindir}/scalixwizard -%{tde_bindir}/sloxwizard -%{tde_tdelibdir}/libegroupwarewizard.la -%{tde_tdelibdir}/libegroupwarewizard.so -%{tde_tdelibdir}/libexchangewizard.la -%{tde_tdelibdir}/libexchangewizard.so -%{tde_tdelibdir}/libgroupwisewizard.la -%{tde_tdelibdir}/libgroupwisewizard.so -%{tde_tdelibdir}/libkolabwizard.la -%{tde_tdelibdir}/libkolabwizard.so -%{tde_tdelibdir}/libscalixwizard.la -%{tde_tdelibdir}/libscalixwizard.so -%{tde_tdelibdir}/libsloxwizard.la -%{tde_tdelibdir}/libsloxwizard.so -%{tde_tdeappdir}/groupwarewizard.desktop -%{tde_datadir}/config.kcfg/egroupware.kcfg -%{tde_datadir}/config.kcfg/groupwise.kcfg -%{tde_datadir}/config.kcfg/kolab.kcfg -%{tde_datadir}/config.kcfg/scalix.kcfg -%{tde_datadir}/config.kcfg/slox.kcfg - -%post wizards -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun wizards -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if %{?with_kitchensync} -%package -n trinity-kitchensync -Summary: Synchronization framework -Group: Applications/Communications -#Suggests: konqueror-trinity -#Conflicts: kdebluetooth-irmcsync-trinity (<< 0.99+1.0beta2-4.1), ksync-trinity - -%description -n trinity-kitchensync -This package contains a synchronization framework, still under heavy -development (?). Kitchensync uses opensync. - -%files -n trinity-kitchensync -%{tde_bindir}/kitchensync -%{tde_tdelibdir}/libkitchensyncpart.la -%{tde_tdelibdir}/libkitchensyncpart.so -%{tde_datadir}/apps/kitchensync -%{tde_libdir}/libkitchensync.so.* -%{tde_libdir}/libqopensync.so.* -%{tde_tdeappdir}/kitchensync.desktop -%{tde_datadir}/icons/hicolor/*/apps/kitchensync.png - -%post -n trinity-kitchensync -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kitchensync -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -%endif - -########## - -%package -n trinity-kleopatra -Summary: Trinity Certificate Manager -Group: Applications/Communications -Requires: gnupg2 -Requires: dirmngr -Requires: pinentry - -%description -n trinity-kleopatra -Kleopatra is the TDE tool for managing X.509 certificates in the gpgsm -keybox and for retrieving certificates from LDAP servers. - -%files -n trinity-kleopatra -%{tde_bindir}/kleopatra -%{tde_bindir}/kwatchgnupg -%{tde_tdelibdir}/kcm_kleopatra.la -%{tde_tdelibdir}/kcm_kleopatra.so -%{tde_tdeappdir}/kleopatra_import.desktop -%{tde_datadir}/apps/kleopatra -%{tde_datadir}/apps/kwatchgnupg -%{tde_datadir}/services/kleopatra_config_*.desktop -%{tde_tdedocdir}/HTML/en/kleopatra/ -%{tde_tdedocdir}/HTML/en/kwatchgnupg/ - -%post -n trinity-kleopatra -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kleopatra -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmail -Summary: Trinity Email client -Group: Applications/Communications -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: gnupg2 -Requires: pinentry -Requires: procmail -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-kleopatra = %{version}-%{release} -Requires: trinity-kdebase-pim-ioslaves - -Provides: imap-client, mail-reader - -%description -n trinity-kmail -KMail is a fully-featured email client that fits nicely into the TDE -desktop. It has features such as support for IMAP, POP3, multiple accounts, -mail filtering and sorting, PGP/GnuPG privacy, and inline attachments. - -You need to install %{name}-kio-plugins if you want to use IMAP or -mbox files, and/or trinity-tdebase-kio-plugins if you want to use POP3. - -%files -n trinity-kmail -%{tde_datadir}/config/kmail.antispamrc -%{tde_datadir}/config/kmail.antivirusrc -%{tde_bindir}/kmail -%{tde_bindir}/kmail_*.sh -%{tde_tdelibdir}/kcm_kmail.la -%{tde_tdelibdir}/kcm_kmail.so -%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.la -%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.so -%{tde_tdelibdir}/libkmailpart.la -%{tde_tdelibdir}/libkmailpart.so -%{tde_tdeappdir}/KMail.desktop -%{tde_tdeappdir}/kmail_view.desktop -%{tde_datadir}/apps/kconf_update/kmail-3.1-update-new-mail-notification-settings.pl -%{tde_datadir}/apps/kconf_update/kmail-3.1-use-UOID-for-identities.pl -%{tde_datadir}/apps/kconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl -%{tde_datadir}/apps/kconf_update/kmail-3.2-misc.sh -%{tde_datadir}/apps/kconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh -%{tde_datadir}/apps/kconf_update/kmail-3.3-aegypten.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-move-identities.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-split-sign-encr-keys.sh -%{tde_datadir}/apps/kconf_update/kmail-3.3-use-ID-for-accounts.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3b1-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.4-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.4.1-update-status-filters.pl -%{tde_datadir}/apps/kconf_update/kmail-3.5-trigger-flag-migration.pl -%{tde_datadir}/apps/kconf_update/kmail-3.5-filter-icons.pl -%{tde_datadir}/apps/kconf_update/kmail-pgpidentity.pl -%{tde_datadir}/apps/kconf_update/kmail-upd-identities.pl -%{tde_datadir}/apps/kconf_update/kmail.upd -%{tde_datadir}/apps/kconf_update/upgrade-signature.pl -%{tde_datadir}/apps/kconf_update/upgrade-transport.pl -%{tde_datadir}/apps/kmail -%{tde_datadir}/config.kcfg/custommimeheader.kcfg -%{tde_datadir}/config.kcfg/kmail.kcfg -%{tde_datadir}/config.kcfg/customtemplates_kfg.kcfg -%{tde_datadir}/config.kcfg/replyphrases.kcfg -%{tde_datadir}/config.kcfg/templatesconfiguration_kfg.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kmaillight.png -%{tde_datadir}/icons/hicolor/*/apps/kmail.png -%{tde_datadir}/icons/hicolor/scalable/apps/kmail.svgz -%{tde_datadir}/services/kmail_config_*.desktop -%{tde_datadir}/services/kontact/kmailplugin.desktop -%{tde_datadir}/servicetypes/dcopimap.desktop -%{tde_datadir}/servicetypes/dcopmail.desktop -# 'libkmailprivate.so' is required at runtime, not devel ! -%{tde_libdir}/libkmailprivate.so -%{tde_libdir}/libkmailprivate.la -%{tde_tdedocdir}/HTML/en/kmail/ - -%post -n trinity-kmail -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmail -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmail-devel -Summary: Development files for kmail -Group: Development/Libraries - -%description -n trinity-kmail-devel -%{summary} - -%files -n trinity-kmail-devel -%{tde_tdeincludedir}/kmail/ -%{tde_tdeincludedir}/kmail*.h - -%post -n trinity-kmail-devel -/sbin/ldconfig || : - -%postun -n trinity-kmail-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kmailcvt -Summary: Trinity KMail mail folder converter -Group: Applications/Communications -Requires: trinity-kmail = %{version}-%{release} - -%description -n trinity-kmailcvt -Converts mail folders to KMail format. Formats supported for import -include Outlook Express, Evolution, and plain mbox. - -%files -n trinity-kmailcvt -%{tde_bindir}/kmailcvt -%{tde_datadir}/applnk/Utilities/kmailcvt.desktop -%{tde_datadir}/apps/kmailcvt -%{tde_datadir}/icons/crystalsvg/*/apps/kmailcvt.png - -%post -n trinity-kmailcvt -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-kmailcvt -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - -%package -n trinity-knode -Summary: Trinity news reader -Group: Applications/Internet - -%description -n trinity-knode -KNode is an easy-to-use, convenient newsreader. It is intended to be usable -by inexperienced users, but also includes support for such features as -MIME attachments, article scoring, and creating and verifying GnuPG -signatures. - -%files -n trinity-knode -%{tde_bindir}/knode -%{tde_tdelibdir}/kcm_knode.la -%{tde_tdelibdir}/kcm_knode.so -%{tde_tdelibdir}/libknodepart.la -%{tde_tdelibdir}/libknodepart.so -%{tde_libdir}/libknodecommon.so.* -%{tde_tdeappdir}/KNode.desktop -%{tde_datadir}/apps/knode/ -%{tde_datadir}/icons/hicolor/*/apps/knode.png -%{tde_datadir}/icons/hicolor/*/apps/knode2.png -%{tde_datadir}/services/knewsservice.protocol -%{tde_datadir}/services/knode_config_*.desktop -%{tde_datadir}/services/kontact/knodeplugin.desktop -%{tde_tdedocdir}/HTML/en/knode/ - -%post -n trinity-knode -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knode -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knode-devel -Summary: Development files for trinity-knode -Group: Development/Libraries -Requires: trinity-knode = %{version}-%{release} - -%description -n trinity-knode-devel -%{summary} - -%files -n trinity-knode-devel -%{tde_libdir}/libknodecommon.la -%{tde_libdir}/libknodecommon.so - -%post -n trinity-knode-devel -/sbin/ldconfig || : - -%postun -n trinity-knode-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-knotes -Summary: Trinity sticky notes -Group: Applications/Utilities -Requires: trinity-tdepim-kresources = %{version}-%{release} - -%description -n trinity-knotes -KNotes is a program that lets you write sticky notes. The notes are saved -automatically when you exit the program, and they display when you open the -program. The program supports printing and mailing your notes. - -%files -n trinity-knotes -%{tde_bindir}/knotes -%{tde_tdelibdir}/knotes_local.la -%{tde_tdelibdir}/knotes_local.so -%{tde_libdir}/libknotes.so.* -%{tde_tdeappdir}/knotes.desktop -%{tde_datadir}/apps/knotes -%{tde_datadir}/config.kcfg/knoteconfig.kcfg -%{tde_datadir}/config.kcfg/knotesglobalconfig.kcfg -%{tde_datadir}/icons/hicolor/*/apps/knotes.png -%{tde_datadir}/services/kresources/knotes/imap.desktop -%{tde_datadir}/services/kresources/knotes/local.desktop -%{tde_datadir}/services/kresources/knotes_manager.desktop -%{tde_datadir}/services/kontact/knotesplugin.desktop -%{tde_tdedocdir}/HTML/en/knotes/ - -%post -n trinity-knotes -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knotes -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knotes-devel -Summary: Development files for knots -Group: Development/Libraries -Requires: trinity-knotes = %{version}-%{release} -Requires: %{name}-kresources-devel = %{version}-%{release} - -%description -n trinity-knotes-devel -%{summary} - -%files -n trinity-knotes-devel -%{tde_libdir}/libknotes.so -%{tde_libdir}/libknotes.la -%{tde_tdeincludedir}/KNotesAppIface.h -%{tde_tdeincludedir}/KNotesIface.h - -%post -n trinity-knotes-devel -/sbin/ldconfig || : - -%postun -n trinity-knotes-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kode -Summary: Helper library for programmatic generation of C++ code -Group: Development/Libraries - -%description -n trinity-kode -This package includes a program kode for generation of C++ template files -and kxml_compiler for generation of C++ classes representing XML data -described by RelaxNG schemes. - -%files -n trinity-kode -%{tde_bindir}/kode -%{tde_bindir}/kxml_compiler -%{tde_libdir}/libkode.so.* - -%post -n trinity-kode -/sbin/ldconfig || : - -%postun -n trinity-kode -/sbin/ldconfig || : - -########## - -%package -n trinity-kode-devel -Summary: Development files for trinity-kode -Group: Development/Libraries -Requires: trinity-kode = %{version}-%{release} - -%description -n trinity-kode-devel -%{summary} - -%files -n trinity-kode-devel -%{tde_libdir}/libkode.la -%{tde_libdir}/libkode.so - -%post -n trinity-kode-devel -/sbin/ldconfig || : - -%postun -n trinity-kode-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-konsolekalendar -Summary: Trinity konsole personal organizer -Group: Applications/Productivity - -%description -n trinity-konsolekalendar -KonsoleKalendar is a command-line interface to TDE calendars. -Konsolekalendar complements the TDE KOrganizer by providing a console -frontend to manage your calendars. - -%files -n trinity-konsolekalendar -%{tde_bindir}/konsolekalendar -%{tde_tdeappdir}/konsolekalendar.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/konsolekalendar.png -%{tde_tdedocdir}/HTML/en/konsolekalendar/ - -%post -n trinity-konsolekalendar -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-konsolekalendar -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kontact -Summary: Trinity pim application -Group: Applications/Communications -Requires: trinity-kmail = %{version}-%{release} -Requires: trinity-korganizer = %{version}-%{release} -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-knode = %{version}-%{release} -Requires: trinity-knotes = %{version}-%{release} -Requires: trinity-akregator = %{version}-%{release} - -%description -n trinity-kontact -Kontact is the integrated solution to your personal information management -needs. It combines TDE applications like KMail, KOrganizer, and -KAddressBook into a single interface to provide easy access to mail, -scheduling, address book and other PIM functionality. - -%files -n trinity-kontact -%{tde_bindir}/kontact -%{tde_tdelibdir}/kcm_kmailsummary.la -%{tde_tdelibdir}/kcm_kmailsummary.so -%{tde_tdelibdir}/kcm_kontact.la -%{tde_tdelibdir}/kcm_kontact.so -%{tde_tdelibdir}/kcm_kontactknt.la -%{tde_tdelibdir}/kcm_kontactknt.so -%{tde_tdelibdir}/kcm_kontactsummary.la -%{tde_tdelibdir}/kcm_kontactsummary.so -%{tde_tdelibdir}/kcm_korgsummary.la -%{tde_tdelibdir}/kcm_korgsummary.so -%{tde_tdelibdir}/kcm_sdsummary.la -%{tde_tdelibdir}/kcm_sdsummary.so -%{tde_tdelibdir}/libkontact_*.la -%{tde_tdelibdir}/libkontact_*.so -%{tde_libdir}/libkontact.so.* -%{tde_libdir}/libkpinterfaces.so.* -%{tde_tdeappdir}/Kontact.desktop -%{tde_tdeappdir}/kontactdcop.desktop -%{tde_datadir}/apps/kontact -%{tde_datadir}/apps/kontactsummary/kontactsummary_part.rc -%{tde_datadir}/config.kcfg/kontact.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kontact.png -%{tde_datadir}/icons/crystalsvg/*/actions/kontact_*.png -%{tde_datadir}/services/kcmkmailsummary.desktop -%{tde_datadir}/services/kcmkontactknt.desktop -%{tde_datadir}/services/kcmkontactsummary.desktop -%{tde_datadir}/services/kcmkorgsummary.desktop -%{tde_datadir}/services/kcmsdsummary.desktop -%{tde_datadir}/services/kontact/newstickerplugin.desktop -%{tde_datadir}/services/kontact/specialdatesplugin.desktop -%{tde_datadir}/services/kontact/summaryplugin.desktop -%{tde_datadir}/services/kontact/weatherplugin.desktop -%{tde_datadir}/services/kontactconfig.desktop -%{tde_datadir}/servicetypes/kontactplugin.desktop -%{tde_tdedocdir}/HTML/en/kontact/ -%{tde_tdedocdir}/HTML/en/kpilot/ - -%post -n trinity-kontact -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kontact -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kontact-devel -Summary: Development files for kontact -Group: Development/Libraries -Requires: trinity-kontact = %{version}-%{release} - -%description -n trinity-kontact-devel -%{summary} - -%files -n trinity-kontact-devel -%{tde_libdir}/libkontact.la -%{tde_libdir}/libkontact.so -%{tde_libdir}/libkpinterfaces.la -%{tde_libdir}/libkpinterfaces.so -%{tde_tdeincludedir}/kontact/ - -%post -n trinity-kontact-devel -/sbin/ldconfig || : - -%postun -n trinity-kontact-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-korganizer -Summary: Trinity personal organizer -Group: Applications/Productivity -Requires: trinity-libkpimidentities = %{version}-%{release} -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: %{name}-kresources = %{version}-%{release} -Requires: perl - -%description -n trinity-korganizer -This package contains KOrganizer, a calendar and scheduling program. - -KOrganizer aims to be a complete program for organizing appointments, -contacts, projects, etc. KOrganizer natively supports information interchange -with other calendar applications, through the industry standard vCalendar -personal data interchange file format. This eases the move from other -modern PIMs to KOrganizer. - -KOrganizer offers full synchronization with Palm Pilots, if kpilot is -installed. - -%files -n trinity-korganizer -%{tde_bindir}/ical2vcal -%{tde_bindir}/korgac -%{tde_bindir}/korganizer -%{tde_tdelibdir}/kcm_korganizer.la -%{tde_tdelibdir}/kcm_korganizer.so -%{tde_tdelibdir}/libkorg_*.la -%{tde_tdelibdir}/libkorg_*.so -%{tde_tdelibdir}/libkorganizerpart.la -%{tde_tdelibdir}/libkorganizerpart.so -%{tde_libdir}/libkocorehelper.so.* -%{tde_libdir}/libkorg_stdprinting.so.* -%{tde_libdir}/libkorganizer.so.* -%{tde_libdir}/libkorganizer_calendar.so.* -%{tde_libdir}/libkorganizer_eventviewer.so.* -%{tde_tdeappdir}/korganizer.desktop -%{tde_datadir}/apps/kconf_update/korganizer.upd -%{tde_datadir}/apps/korgac -%{tde_datadir}/apps/korganizer -%{tde_datadir}/autostart/korgac.desktop -%{tde_datadir}/config.kcfg/korganizer.kcfg -%{tde_datadir}/icons/hicolor/*/apps/korganizer.png -%{tde_datadir}/services/kontact/korganizerplugin.desktop -%{tde_datadir}/services/kontact/journalplugin.desktop -%{tde_datadir}/services/kontact/todoplugin.desktop -%{tde_datadir}/services/korganizer_*.desktop -%{tde_datadir}/services/korganizer -%{tde_datadir}/services/webcal.protocol -%{tde_datadir}/servicetypes/calendardecoration.desktop -%{tde_datadir}/servicetypes/calendarplugin.desktop -%{tde_datadir}/servicetypes/dcopcalendar.desktop -%{tde_datadir}/servicetypes/korganizerpart.desktop -%{tde_datadir}/servicetypes/korgprintplugin.desktop -%{tde_tdeincludedir}/korganizer -%{tde_tdeincludedir}/korganizer -%{tde_tdeincludedir}/calendar -%{tde_tdedocdir}/HTML/en/korganizer/ - -%post -n trinity-korganizer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-korganizer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-korganizer-devel -Summary: Development files for korganizer -Group: Development/Libraries -Requires: trinity-korganizer = %{version}-%{release} - -%description -n trinity-korganizer-devel -%{summary} - -%files -n trinity-korganizer-devel -%{tde_libdir}/libkocorehelper.la -%{tde_libdir}/libkocorehelper.so -%{tde_libdir}/libkorg_stdprinting.la -%{tde_libdir}/libkorg_stdprinting.so -%{tde_libdir}/libkorganizer.la -%{tde_libdir}/libkorganizer.so -%{tde_libdir}/libkorganizer_calendar.la -%{tde_libdir}/libkorganizer_calendar.so -%{tde_libdir}/libkorganizer_eventviewer.la -%{tde_libdir}/libkorganizer_eventviewer.so - -%post -n trinity-korganizer-devel -/sbin/ldconfig || : - -%postun -n trinity-korganizer-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-korn -Summary: Trinity mail checker -Group: Applications/Communications -Requires: %{name}-kio-plugins = %{version}-%{release} -#Requires: tdebase-kio-plugins-trinity - -%description -n trinity-korn -Korn is a TDE mail checker that can display a small summary in the Kicker -tray. It supports checking mbox, pop3, imap4, and nntp sources. - -Once mail is received you can have Korn run a third party program or change -the color/icon of the Kicker display. In addition to this you can have -Korn run a program once you click on the docked icon in Kicker. - -%files -n trinity-korn -%{tde_bindir}/korn -%{tde_libdir}/kconf_update_bin/korn-3-4-config_change -%{tde_tdeappdir}/KOrn.desktop -%{tde_datadir}/apps/kconf_update/korn-3-4-config_change.upd -%{tde_datadir}/apps/kconf_update/korn-3-5-metadata-update.pl -%{tde_datadir}/apps/kconf_update/korn-3-5-ssl-update.pl -%{tde_datadir}/apps/kconf_update/korn-3-5-update.upd -%{tde_datadir}/icons/hicolor/*/apps/korn.png -%{tde_tdedocdir}/HTML/en/korn/ - -%post -n trinity-korn -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-korn -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktnef -Summary: Trinity TNEF viewer -Group: Applications/Communications - -%description -n trinity-ktnef -The TNEF File Viewer allows you to handle mail attachments using the TNEF -format. These attachments are usually found in mails coming from Microsoft -mail servers and embed the mail properties as well as the actual attachments. - -%files -n trinity-ktnef -%{tde_bindir}/ktnef -%{tde_tdeappdir}/ktnef.desktop -%{tde_datadir}/apps/ktnef -%{tde_datadir}/icons/hicolor/*/apps/ktnef.png -%{tde_datadir}/icons/locolor/*/apps/ktnef.png -%{tde_datadir}/mimelnk/application/ms-tnef.desktop -%{tde_tdedocdir}/HTML/en/ktnef/ - -%post -n trinity-ktnef -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktnef -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-libindex -Summary: Trinity indexing library -Group: Environment/Libraries - -%description -n trinity-libindex -This library provides text indexing and is currently used by KMail -to implement fast searches in mail bodies. - -This is the runtime package for programs that use the libindex library. - -%files -n trinity-libindex -%{tde_libdir}/libindex.so.* - -%post -n trinity-libindex -/sbin/ldconfig || : - -%postun -n trinity-libindex -/sbin/ldconfig || : - -########## - -%package -n trinity-libindex-devel -Summary: Trinity indexing library [development] -Group: Development/Libraries -Requires: trinity-libindex = %{version}-%{release} - -%description -n trinity-libindex-devel -This library provides text indexing and is currently used by KMail -to implement searching through mail text. - -This is the development package which contains the headers for the libindex-trinity -library. - -%files -n trinity-libindex-devel -%{tde_bindir}/indexlib-config -%{tde_tdeincludedir}/index -%{tde_libdir}/libindex.la -%{tde_libdir}/libindex.so - -%post -n trinity-libindex-devel -/sbin/ldconfig || : - -%postun -n trinity-libindex-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkcal -Summary: Trinity calendaring library -Group: Environment/Libraries -#Requires: %{name}-kresources = %{version}-%{release} - -%description -n trinity-libkcal -This library provides a C++ API for handling the vCalendar and iCalendar -formats. - -This is the runtime package for programs that use the libkcal-trinity library. - -%files -n trinity-libkcal -%{tde_tdelibdir}/kcal_kabc.la -%{tde_tdelibdir}/kcal_kabc.so -%{tde_tdelibdir}/kcal_localdir.la -%{tde_tdelibdir}/kcal_localdir.so -%{tde_tdelibdir}/kcal_local.la -%{tde_tdelibdir}/kcal_local.so -%{tde_tdelibdir}/kcal_remote.la -%{tde_tdelibdir}/kcal_remote.so -%{tde_libdir}/libkcal.so.* -%{tde_libdir}/libkcal_resourceremote.so.* -%{tde_libdir}/libkholidays.so.* -%{tde_datadir}/apps/libkholidays -%{tde_datadir}/services/kresources/kcal/imap.desktop -%{tde_datadir}/services/kresources/kcal/kabc.desktop -%{tde_datadir}/services/kresources/kcal/local.desktop -%{tde_datadir}/services/kresources/kcal/localdir.desktop -%{tde_datadir}/services/kresources/kcal/remote.desktop -%{tde_datadir}/services/kresources/kcal_manager.desktop - -%post -n trinity-libkcal -/sbin/ldconfig || : - -%postun -n trinity-libkcal -/sbin/ldconfig || : - -########## - -%package -n trinity-libkcal-devel -Summary: Trinity calendaring library [development] -Group: Development/Libraries -Requires: trinity-libkcal = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} -Requires: trinity-libktnef-devel = %{version}-%{release} - -%description -n trinity-libkcal-devel -This library provides a C++ API for handling the vCalendar and iCalendar -formats. - -This is the development package which contains the headers for the libkcal-trinity -library. - -%files -n trinity-libkcal-devel -%{tde_tdeincludedir}/libemailfunctions/idmapper.h -%{tde_tdeincludedir}/libkcal -%{tde_libdir}/libkcal.la -%{tde_libdir}/libkcal.so -%{tde_libdir}/libkcal_resourceremote.la -%{tde_libdir}/libkcal_resourceremote.so -%{tde_libdir}/libkholidays.la -%{tde_libdir}/libkholidays.so - -%post -n trinity-libkcal-devel -/sbin/ldconfig || : - -%postun -n trinity-libkcal-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdepim -Summary: Trinity PIM library -Group: Environment/Libraries -Requires: trinity-libkcal = %{version}-%{release} - -Obsoletes: libtdepim < %{version}-%{release} -Provides: libtdepim = %{version}-%{release} - -%description -n trinity-libtdepim -This is the runtime package for programs that use the libtdepim-trinity library. - -%files -n trinity-libtdepim -%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.la -%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.so -%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.la -%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.so -%{tde_libdir}/lib[kt]depim.so.* -%{tde_datadir}/apps/[kt]depimwidgets -%{tde_datadir}/apps/lib[kt]depim -%{tde_datadir}/apps/[kt]depim -%{tde_datadir}/config.kcfg/pimemoticons.kcfg -%{tde_datadir}/icons/crystalsvg/22x22/actions/button_fewer.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/button_more.png - -%post -n trinity-libtdepim -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libtdepim -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdepim-devel -Summary: Trinity PIM library [development] -Group: Development/Libraries -Requires: trinity-libtdepim = %{version}-%{release} -Requires: trinity-kdelibs-devel - -Obsoletes: libtdepim-devel < %{version}-%{release} -Provides: libtdepim-devel = %{version}-%{release} - -%description -n trinity-libtdepim-devel -This is the development package which contains the headers for the libtdepim-trinity -library. - -%files -n trinity-libtdepim-devel -%{tde_tdeincludedir}/[kt]depimmacros.h -%{tde_libdir}/lib[kt]depim.la -%{tde_libdir}/lib[kt]depim.so - -%post -n trinity-libtdepim-devel -/sbin/ldconfig || : - -%postun -n trinity-libtdepim-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkgantt -Summary: Trinity gantt charting library -Group: Environment/Libraries - -%description -n trinity-libkgantt -This is the runtime package for programs that use the libkgantt-trinity library. - -%files -n trinity-libkgantt -%{tde_libdir}/libkgantt.so.* -%{tde_datadir}/apps/kgantt - -%post -n trinity-libkgantt -/sbin/ldconfig || : - -%postun -n trinity-libkgantt -/sbin/ldconfig || : - -########## - -%package -n trinity-libkgantt-devel -Summary: Trinity gantt charting library [development] -Group: Development/Libraries -Requires: trinity-libkgantt = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkgantt-devel -This is the development package which contains the headers for the libkgantt-trinity -library. - -%files -n trinity-libkgantt-devel -%{tde_tdeincludedir}/kgantt -%{tde_libdir}/libkgantt.la -%{tde_libdir}/libkgantt.so - -%post -n trinity-libkgantt-devel -/sbin/ldconfig || : - -%postun -n trinity-libkgantt-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkleopatra -Summary: TDE GnuPG interface libraries -Group: Environment/Libraries -Requires: gnupg - -%description -n trinity-libkleopatra -This library is used by several TDE applications to interface to the -GnuPG program. - -This is the runtime package for programs that use the libkleopatra-trinity library. - -%files -n trinity-libkleopatra -%{tde_datadir}/config/libkleopatrarc -%{tde_libdir}/libgpgme++.so.* -%{tde_libdir}/libkleopatra.so.* -%{tde_libdir}/libkpgp.so.* -%{tde_libdir}/libqgpgme.so.* -%{tde_datadir}/apps/kconf_update/kpgp-3.1-upgrade-address-data.pl -%{tde_datadir}/apps/kconf_update/kpgp.upd -%{tde_datadir}/apps/libkleopatra/ -%{tde_datadir}/icons/crystalsvg/*/apps/gpg.png -%{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png - -%post -n trinity-libkleopatra -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libkleopatra -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libkleopatra-devel -Summary: Trinity GnuPG interface libraries [development] -Group: Development/Libraries -Requires: trinity-libkleopatra = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkleopatra-devel -This library is used by several KDE applications to interface to the -GnuPG program. - -This is the development package which contains the headers for the -libkleopatra-trinity library. - -%files -n trinity-libkleopatra-devel -%{tde_tdeincludedir}/gpgme++ -%{tde_tdeincludedir}/kleo -%{tde_tdeincludedir}/qgpgme -%{tde_libdir}/libgpgme++.la -%{tde_libdir}/libgpgme++.so -%{tde_libdir}/libkleopatra.la -%{tde_libdir}/libkleopatra.so -%{tde_libdir}/libkpgp.la -%{tde_libdir}/libkpgp.so -%{tde_libdir}/libqgpgme.la -%{tde_libdir}/libqgpgme.so - -%post -n trinity-libkleopatra-devel -/sbin/ldconfig || : - -%postun -n trinity-libkleopatra-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkmime -Summary: Trinity MIME interface library -Group: Environment/Libraries -#Conflicts: trinity-libmimelib - -%description -n trinity-libkmime -This library provides a C++ interface to MIME messages, parsing them into -an object tree. - -%files -n trinity-libkmime -%{tde_libdir}/libkmime.so.* - -%post -n trinity-libkmime -/sbin/ldconfig || : - -%postun -n trinity-libkmime -/sbin/ldconfig || : - -########## - -%package -n trinity-libkmime-devel -Summary: Development files for libkmime -Group: Development/Libraries -Requires: trinity-libkmime = %{version}-%{release} - -%description -n trinity-libkmime-devel -%{summary} - -%files -n trinity-libkmime-devel -%{tde_libdir}/libkmime.la -%{tde_libdir}/libkmime.so - -%post -n trinity-libkmime-devel -/sbin/ldconfig || : - -%postun -n trinity-libkmime-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimexchange -Summary: Trinity PIM Exchange library -Group: Environment/Libraries - -%description -n trinity-libkpimexchange -This is the runtime package for programs that use the libkpimexchange-trinity -library. - -%files -n trinity-libkpimexchange -%{tde_tdelibdir}/resourcecalendarexchange.la -%{tde_tdelibdir}/resourcecalendarexchange.so -%{tde_libdir}/libkpimexchange.so.* - -%post -n trinity-libkpimexchange -/sbin/ldconfig || : - -%postun -n trinity-libkpimexchange -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimexchange-devel -Summary: Trinity PIM Exchange library [development] -Group: Development/Libraries -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: trinity-libkcal-devel = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkpimexchange-devel -This is the development package which contains the headers for the -libkpimexchange-trinity library. - -%files -n trinity-libkpimexchange-devel -%{tde_tdeincludedir}/[kt]depim/exchangeaccount.h -%{tde_tdeincludedir}/[kt]depim/exchangeclient.h -%{tde_libdir}/libkpimexchange.la -%{tde_libdir}/libkpimexchange.so - -%post -n trinity-libkpimexchange-devel -/sbin/ldconfig || : - -%postun -n trinity-libkpimexchange-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimidentities -Summary: Trinity PIM user identity information library -Group: Environment/Libraries - -%description -n trinity-libkpimidentities -This library provides information to TDE programs about user identity, -such as email address, organization, etc. - -This is the runtime package for programs that use the libkpimidentities-trinity -library. - -%files -n trinity-libkpimidentities -%{tde_libdir}/libkpimidentities.so.* - -%post -n trinity-libkpimidentities -/sbin/ldconfig || : - -%postun -n trinity-libkpimidentities -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimidentities-devel -Summary: Development files for libkpimidentities -Group: Development/Libraries -Requires: trinity-libkpimidentities = %{version}-%{release} - -%description -n trinity-libkpimidentities-devel -%{summary} - -%files -n trinity-libkpimidentities-devel -%{tde_libdir}/libkpimidentities.la -%{tde_libdir}/libkpimidentities.so - -%post -n trinity-libkpimidentities-devel -/sbin/ldconfig || : - -%postun -n trinity-libkpimidentities-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libksieve -Summary: Trinity mail/news message filtering library -Group: Environment/Libraries - -%description -n trinity-libksieve -This is the runtime package for programs that use the libksieve-trinity library. - -%files -n trinity-libksieve -%{tde_libdir}/libksieve.so.* - -%post -n trinity-libksieve -/sbin/ldconfig || : - -%postun -n trinity-libksieve -/sbin/ldconfig || : - -########## - -%package -n trinity-libksieve-devel -Summary: Trinity mail/news message filtering library [development] -Group: Development/Libraries -Requires: trinity-libksieve = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libksieve-devel -This is the development package which contains the headers for the libksieve-trinity -library. - -%files -n trinity-libksieve-devel -%{tde_tdeincludedir}/ksieve -%{tde_libdir}/libksieve.la -%{tde_libdir}/libksieve.so - -%post -n trinity-libksieve-devel -/sbin/ldconfig || : - -%postun -n trinity-libksieve-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libktnef -Summary: Library for handling KTNEF email attachments -Group: Environment/Libraries - -%description -n trinity-libktnef -This library handles mail attachments using the TNEF format. These -attachments are usually found in mails coming from Microsoft mail -servers and embed the mail properties as well as the actual -attachments. -. -This is the runtime library for packages using the ktnef-trinity library. - -%files -n trinity-libktnef -%{tde_libdir}/libktnef.so.* - -%post -n trinity-libktnef -/sbin/ldconfig || : - -%postun -n trinity-libktnef -/sbin/ldconfig || : - -########## - -%package -n trinity-libktnef-devel -Summary: KTNEF handler library [development] -Group: Development/Libraries -Requires: trinity-libktnef = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libktnef-devel -This library handles mail attachments using the TNEF format. These -attachments are usually found in mails coming from Microsoft mail -servers and embed the mail properties as well as the actual -attachments. - -This is the development package which contains the headers for the -ktnef-trinity library. - -%files -n trinity-libktnef-devel -%{tde_tdeincludedir}/ktnef -%{tde_libdir}/libktnef.la -%{tde_libdir}/libktnef.so - -%post -n trinity-libktnef-devel -/sbin/ldconfig || : - -%postun -n trinity-libktnef-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libmimelib -Summary: Trinity mime library -Group: Environment/Libraries - -%description -n trinity-libmimelib -This library is used by several Trinity applications to handle mime types. - -This is the runtime package for programs that use the libmimelib-trinity library. - -%files -n trinity-libmimelib -%{tde_libdir}/libmimelib.so.* - -%post -n trinity-libmimelib -/sbin/ldconfig || : - -%postun -n trinity-libmimelib -/sbin/ldconfig || : - -########## - -%package -n trinity-libmimelib-devel -Summary: Trinity mime library [development] -Group: Development/Libraries -Requires: trinity-libmimelib = %{version}-%{release} - -%description -n trinity-libmimelib-devel -This library is used by several KDE applications to handle mime types. - -This is the development package which contains the headers for the -libmimelib library. - -%files -n trinity-libmimelib-devel -%{tde_tdeincludedir}/mimelib -%{tde_libdir}/libmimelib.la -%{tde_libdir}/libmimelib.so - -%post -n trinity-libmimelib-devel -/sbin/ldconfig || : - -%postun -n trinity-libmimelib-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kmobile -Summary: Synchronize and manage mobile phone with your PC. -Group: Applications/Communications - -%description -n trinity-kmobile -KMobileTools is a nice TDE-based application that allows to synchronize -and manage mobile phones with your PC. It handles full SMS control, -dialing calls, phonebook, and phone status monitoring. - -%files -n trinity-kmobile -%{tde_bindir}/kmobile -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_camera.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_musicplayer.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_organizer.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_phone.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_unknown.png -%{tde_datadir}/icons/hicolor/*/apps/kmobile.png -%{tde_datadir}/services/libkmobile_digicam.desktop -%{tde_datadir}/services/libkmobile_gammu.desktop -%{tde_datadir}/services/libkmobile_skeleton.desktop -%{tde_datadir}/servicetypes/libkmobile.desktop -%{tde_datadir}/apps/kmobile/kmobileui.rc -%{tde_tdeappdir}/kmobile.desktop -%{tde_tdelibdir}/libkmobile_skeleton.la -%{tde_tdelibdir}/libkmobile_skeleton.so -%{tde_libdir}/libkmobileclient.la -%{tde_libdir}/libkmobileclient.so -%{tde_libdir}/libkmobiledevice.la -%{tde_libdir}/libkmobiledevice.so - -%post -n trinity-kmobile -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmobile -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%prep -%setup -q -n kdepim -%patch1 -p1 -b .gcc47 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -#patch9 -p1 -b .addquotes -%patch10 -p1 -b .segv -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -b .incdir -%patch14 -p1 -b .ldflags - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -%if 0%{?rhel} || 0%{?fedora} -%__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" \ - -DWITH_ARTS=ON \ - -DWITH_SASL=ON \ - -DWITH_NEWDISTRLISTS=ON \ -%if 0%{?with_gnokii} - -DWITH_GNOKII=ON \ -%else - -DWITH_GNOKII=OFF \ -%endif - -DWITH_EXCHANGE=ON \ - -DWITH_EGROUPWARE=ON \ - -DWITH_KOLAB=ON \ - -DWITH_SLOX=ON \ - -DWITH_GROUPWISE=ON \ - -DWITH_FEATUREPLAN=ON \ - -DWITH_GROUPDAV=ON \ - -DWITH_BIRTHDAYS=ON \ - -DWITH_NEWEXCHANGE=ON \ - -DWITH_SCALIX=ON \ - -DWITH_CALDAV=ON \ - -DWITH_CARDDAV=ON \ - -DWITH_INDEXLIB=ON \ -%if %{?with_kitchensync} - -DBUILD_KITCHENSYNC=ON \ -%endif - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make VERBOSE=1 - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Sun Jul 30 2012 Francois Andriot - 3.5.13-8 -- Add more '-devel' packages -- Add support for Mageia 2 - -* Sat Jun 30 2012 Francois Andriot - 3.5.13-7 -- Rename 'tdepim' to 'trinity-tdepim' -- Disable unneccesary fsync() in cached IMAP handler [Bug #467] [Commit #82d4a938] - -* Sat Jun 16 2012 Francois Andriot - 3.5.13-6 -- Rename 'kdepim' to 'tdepim' -- Add 'Requires: trinity-kdebase-pim-ioslaves' to add POP3 support to kmail -- Split into several packages -- Update kalarmd icon reference, which does not exist, to kalarm. [Commit #228ad1c6] - -* Sun May 27 2012 Francois Andriot - 3.5.13-5 -- Fix KMail counting of unread messages in the system tray icon [Commit #40c435e5] -- Fix knotes not appearing on the desktop when a session is restored. [Bug #987] [Commit #533f494f] -- Fix knotes to not close notes during saving session. [Bug #987] [Commit #c48253af] -- Fix linear alphabet string errors [Bug 635] [Commit #80bc593e] -- Fix infinite loop on IMAP4 authentication failure [Bug #1007] - -* Wed Apr 25 2012 Francois Andriot - 3.5.13-4 -- Fix compilation with GCC 4.7 [Bug #958] -- Reverse patch from GIT hash 33e649c9. [Bug #406] [Commit #2d5f15c8] -- Fix kmail composer crash [Bug #953] - -* Sun Nov 27 2011 Francois Andriot - 3.5.13-3 -- Add missing files '*.la' - -* Fri Nov 04 2011 Francois Andriot - 3.5.13-2 -- Updates BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Mon Sep 05 2011 Francois Andriot - 3.5.12-0 -- Import to GIT diff --git a/redhat/tdepim/tdepim-3.5.13.2-kmail_networkmanager_support.patch b/redhat/tdepim/tdepim-3.5.13.2-kmail_networkmanager_support.patch deleted file mode 100644 index e6dc1ead3..000000000 --- a/redhat/tdepim/tdepim-3.5.13.2-kmail_networkmanager_support.patch +++ /dev/null @@ -1,251 +0,0 @@ ---- trinity-tdepim-3.5.13.2~pre23+6c74b892/kmail/CMakeLists.txt.ORI 2013-05-25 17:07:04.113241481 +0200 -+++ trinity-tdepim-3.5.13.2~pre23+6c74b892/kmail/CMakeLists.txt 2013-05-25 17:09:01.115862006 +0200 -@@ -178,7 +178,7 @@ - localsubscriptiondialog.cpp editorwatcher.cpp favoritefolderview.cpp - foldertreebase.cpp snippetdlgbase.ui snippetwidget.cpp snippetconfig.cpp - snippetdlg.cpp snippetitem.cpp snippetsettings.cpp snippetsettingsbase.ui -- messageactions.cpp korghelper.cpp foldersetselector.cpp stringutil.cpp -+ messageactions.cpp korghelper.cpp kmnetworkmonitor.cpp foldersetselector.cpp stringutil.cpp - treebase.cpp backupjob.cpp importjob.cpp folderutil.cpp archivefolderdialog.cpp - importarchivedialog.cpp ${CMAKE_SOURCE_DIR}/korganizer/kcalendariface.stub - ${CMAKE_SOURCE_DIR}/korganizer/korganizeriface.stub ) -@@ -192,7 +192,7 @@ - SOURCES ${${target}_SRCS} - LINK - emailfunctions-static kmime-shared kpgp-shared kdepim-shared kpimidentities-shared -- mimelib-shared ksieve-shared khtml-shared ${INDEX_LIBRARY} -+ mimelib-shared ksieve-shared khtml-shared kdedbus-shared ${INDEX_LIBRARY} - DESTINATION ${LIB_INSTALL_DIR} - ) - ---- trinity-tdepim-3.5.13.2~pre23+6c74b892/kmail/kmkernel.cpp.ORI 2013-05-25 17:10:26.899117831 +0200 -+++ trinity-tdepim-3.5.13.2~pre23+6c74b892/kmail/kmkernel.cpp 2013-05-25 17:12:30.471605868 +0200 -@@ -72,6 +72,7 @@ - #include - using KWallet::Wallet; - #include "actionscheduler.h" -+#include "kmnetworkmonitor.h" - - #include - #include -@@ -169,6 +170,9 @@ - - connectDCOPSignal( 0, 0, "kmailSelectFolder(TQString)", - "selectFolder(TQString)", false ); -+ -+ networkMonitor = new KMNetworkMonitor(this, "KMNetworkMonitor"); -+ connect(networkMonitor, TQT_SIGNAL(stateChanged(bool)), TQT_SLOT(slotNetworkStateChanged(bool))); - } - - KMKernel::~KMKernel () -@@ -2056,6 +2060,15 @@ - mPutJobs.remove(it); - } - -+void KMKernel::slotNetworkStateChanged(bool state) -+{ -+ if(state) { -+ resumeNetworkJobs(); -+ } else { -+ stopNetworkJobs(); -+ } -+} -+ - void KMKernel::slotRequestConfigSync() { - // ### FIXME: delay as promised in the kdoc of this function ;-) - KMKernel::config()->sync(); ---- trinity-tdepim-3.5.13.2~pre23+6c74b892/kmail/kmkernel.h.ORI 2013-05-25 17:13:53.309922294 +0200 -+++ trinity-tdepim-3.5.13.2~pre23+6c74b892/kmail/kmkernel.h 2013-05-25 17:15:29.587965912 +0200 -@@ -28,6 +28,8 @@ - class Wallet; - } - -+class KMNetworkMonitor; -+ - /** The KMail namespace contains classes used for KMail. - * This is to keep them out of the way from all the other - * un-namespaced classes in libs and the rest of PIM. -@@ -434,6 +436,7 @@ - protected slots: - void slotDataReq(KIO::Job*,TQByteArray&); - void slotResult(KIO::Job*); -+ void slotNetworkStateChanged(bool); - - signals: - void configChanged(); -@@ -517,6 +520,8 @@ - KPIM::ThreadWeaver::WeaverThreadLogger *the_weaverLogger; - - KWallet::Wallet *mWallet; -+ -+ KMNetworkMonitor *networkMonitor; - - // variables used by dcopAddMessage() - TQStringList mAddMessageMsgIds; ---- /dev/null 2013-05-25 09:16:59.792134055 +0200 -+++ trinity-tdepim-3.5.13.2~pre23+6c74b892/kmail/kmnetworkmonitor.h 2013-05-25 17:20:02.351394952 +0200 -@@ -0,0 +1,45 @@ -+/* -+ This file is part of the KDE3 Fork Project -+ Copyright (c) 2013 Serghei Amelian -+ -+ This library is free software; you can redistribute it and/or -+ modify it under the terms of the GNU Library General Public -+ License version 2 as published by the Free Software Foundation. -+ -+ This library is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ Library General Public License for more details. -+ -+ You should have received a copy of the GNU Library General Public License -+ along with this library; see the file COPYING.LIB. If not, write to -+ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -+ Boston, MA 02110-1301, USA. -+*/ -+#ifndef _KMNETWORKMONITOR_H_ -+#define _KMNETWORKMONITOR_H_ -+ -+#include -+ -+class KMNetworkMonitorPrivate; -+ -+ -+class KMNetworkMonitor : public TQObject { -+ -+ TQ_OBJECT -+ -+ friend class KMNetworkMonitorPrivate; -+ -+public: -+ KMNetworkMonitor(TQObject *parent = 0, const char *name = 0); -+ ~KMNetworkMonitor(); -+ -+signals: -+ void stateChanged(bool); -+ -+private: -+ KMNetworkMonitorPrivate *d; -+}; -+ -+ -+#endif ---- /dev/null 2013-05-25 09:16:59.792134055 +0200 -+++ trinity-tdepim-3.5.13.2~pre23+6c74b892/kmail/kmnetworkmonitor.cpp 2013-05-25 17:21:55.565054211 +0200 -@@ -0,0 +1,116 @@ -+/* -+ This file is part of the KDE3 Fork Project -+ Copyright (c) 2013 Serghei Amelian -+ -+ This library is free software; you can redistribute it and/or -+ modify it under the terms of the GNU Library General Public -+ License version 2 as published by the Free Software Foundation. -+ -+ This library is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ Library General Public License for more details. -+ -+ You should have received a copy of the GNU Library General Public License -+ along with this library; see the file COPYING.LIB. If not, write to -+ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -+ Boston, MA 02110-1301, USA. -+*/ -+ -+#include -+ -+#include -+#include -+#include -+#include -+ -+#include -+ -+#include "kmnetworkmonitor.h" -+ -+ -+class KMNetworkMonitorPrivate : public TQDBusProxy { -+ -+ TQ_OBJECT -+ -+public: -+ KMNetworkMonitorPrivate(KMNetworkMonitor *parent) -+ : TQDBusProxy(parent, "KMNetworkMonitorPrivate"), lastStatus(-1) -+ { -+ setService("org.freedesktop.NetworkManager"); -+ setPath("/org/freedesktop/NetworkManager"); -+ setInterface("org.freedesktop.NetworkManager"); -+ -+ TQTime::singleShot(0, this, TQT_SLOT(initialize())); -+ } -+ -+protected slots: -+ void initialize() -+ { -+ // connect to DBUS -+ TQDBusConnection dbus = TQDBusConnection::systemBus(); -+ if(!dbus.isConnected()) { -+ kdDebug() << "Unable to connect to DBus: " << dbus.lastError().message() << endl; -+ return; -+ } -+ setConnection(dbus); -+ -+ // check for current status -+ int rc = sendWithAsyncReply("state", TQValueList()); -+ if(0 == rc) { -+ kdDebug() << "Unable to send \"state\" command to DBus" << endl; -+ return; -+ } -+ } -+ -+ void handleDBusSignal(const TQDBusMessage &message) -+ { -+ // the message is for us -+ if(path() == message.path() && interface() == message.interface() && "StateChanged" == message.member()) -+ handleMessage(message); -+ } -+ -+ void handleAsyncReply(const TQDBusMessage &message) -+ { -+ handleMessage(message); -+ } -+ -+ void handleMessage(const TQDBusMessage &message) -+ { -+ bool ok; -+ TQ_UINT32 state = message[0].toUInt32(&ok); -+ -+ if(!ok) { -+ kdDebug() << "KMNetworkMonitor: received unexpected type for state (" << message[0].typeName() << ")" << endl; -+ return; -+ } -+ -+ int currStatus = (50 < state ? 1 : 0); -+ -+ if(lastStatus != currStatus) { -+ emit static_cast(parent())->stateChanged(1 == currStatus); -+ lastStatus = currStatus; -+ } -+ } -+ -+private: -+ // -1 = unitialized, 0 = offline, 1 = online -+ int lastStatus; -+}; -+ -+ -+KMNetworkMonitor::KMNetworkMonitor(TQObject *parent, const char *name) -+ : TQObject(parent, name) -+{ -+ d = new KMNetworkMonitorPrivate(this); -+} -+ -+ -+KMNetworkMonitor::~KMNetworkMonitor() -+{ -+ delete d; -+} -+ -+ -+#include "kmnetworkmonitor.moc" -+#include "kmnetworkmonitor.cpp.moc"