diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-10-21 19:27:55 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-10-21 19:27:55 +0200 |
commit | eebed6b614c52895321754908c05b5082f531b85 (patch) | |
tree | 56bf0c5f54512c2fd8ed02cbe16d1da83b723461 /redhat/kdepim | |
parent | 59daf455b483742c6c47099652117074df37889a (diff) | |
download | tde-packaging-eebed6b614c52895321754908c05b5082f531b85.tar.gz tde-packaging-eebed6b614c52895321754908c05b5082f531b85.zip |
RHEL/Fedora/MGA/MDV/Suse: update main and libraries for TDE 3.5.13.1
Diffstat (limited to 'redhat/kdepim')
-rw-r--r-- | redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch | 44 | ||||
-rw-r--r-- | redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch | 15 | ||||
-rw-r--r-- | redhat/kdepim/kdepim-3.5.13.1-kmime_utils_quotes.patch | 41 | ||||
-rw-r--r-- | redhat/kdepim/trinity-kdepim-3.5.13.1.spec | 2157 |
4 files changed, 2257 insertions, 0 deletions
diff --git a/redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch b/redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch new file mode 100644 index 000000000..4be0cd25f --- /dev/null +++ b/redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch @@ -0,0 +1,44 @@ +--- 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/kdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch b/redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch new file mode 100644 index 000000000..d8260c166 --- /dev/null +++ b/redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch @@ -0,0 +1,15 @@ +--- 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/kdepim/kdepim-3.5.13.1-kmime_utils_quotes.patch b/redhat/kdepim/kdepim-3.5.13.1-kmime_utils_quotes.patch new file mode 100644 index 000000000..25d99c683 --- /dev/null +++ b/redhat/kdepim/kdepim-3.5.13.1-kmime_utils_quotes.patch @@ -0,0 +1,41 @@ +--- 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/kdepim/trinity-kdepim-3.5.13.1.spec b/redhat/kdepim/trinity-kdepim-3.5.13.1.spec new file mode 100644 index 000000000..97308bae2 --- /dev/null +++ b/redhat/kdepim/trinity-kdepim-3.5.13.1.spec @@ -0,0 +1,2157 @@ +# 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: 1%{?dist}%{?_variant} +License: GPL +Group: Applications/Productivity + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +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_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 || : + +########## + +%if 0%{?suse_version} +%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="${CXXFLAGS} -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 + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Tue Sep 25 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 |