diff options
author | francois <francois@aspire.vtf> | 2013-06-28 20:28:43 +0200 |
---|---|---|
committer | francois <francois@aspire.vtf> | 2013-06-28 20:28:43 +0200 |
commit | 2150025507b510d1a8c40872487ac191ce12b02b (patch) | |
tree | 9ecf656766f0f5b29f87a53c0138091a4260da0f | |
parent | a62bf523e93cfc54151ad9c13bb67a135fd676fd (diff) | |
download | tde-packaging-2150025507b510d1a8c40872487ac191ce12b02b.tar.gz tde-packaging-2150025507b510d1a8c40872487ac191ce12b02b.zip |
RPM packaging: some 14.0.0 packages
-rw-r--r-- | redhat/dependencies/tqca-tls/trinity-tqca-tls-14.0.0.spec | 87 | ||||
-rw-r--r-- | redhat/dependencies/tqca/trinity-tqca-14.0.0.spec | 123 | ||||
-rw-r--r-- | redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec | 3 | ||||
-rw-r--r-- | redhat/libraries/libkdcraw/trinity-libkdcraw-14.0.0.spec | 165 | ||||
-rw-r--r-- | redhat/libraries/libkexiv2/trinity-libkexiv2-14.0.0.spec | 154 | ||||
-rw-r--r-- | redhat/libraries/libkipi/trinity-libkipi-14.0.0.spec | 169 | ||||
-rw-r--r-- | redhat/tdeadmin/trinity-tdeadmin-14.0.0.spec | 484 | ||||
-rw-r--r-- | redhat/tdebindings/trinity-tdebindings-14.0.0.spec | 1101 | ||||
-rw-r--r-- | redhat/tdemultimedia/trinity-tdemultimedia-14.0.0.spec | 1228 | ||||
-rw-r--r-- | redhat/tdenetwork/kdenetwork-3.2.3-resolv.patch | 4 | ||||
-rw-r--r-- | redhat/tdenetwork/trinity-tdenetwork-14.0.0.spec | 1197 | ||||
-rw-r--r-- | redhat/tdepim/trinity-tdepim-14.0.0.spec | 2250 |
12 files changed, 6963 insertions, 2 deletions
diff --git a/redhat/dependencies/tqca-tls/trinity-tqca-tls-14.0.0.spec b/redhat/dependencies/tqca-tls/trinity-tqca-tls-14.0.0.spec new file mode 100644 index 000000000..be6f406dc --- /dev/null +++ b/redhat/dependencies/tqca-tls/trinity-tqca-tls-14.0.0.spec @@ -0,0 +1,87 @@ +# 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 + +%define tde_version 14.0.0 + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_datadir}/doc + +Name: trinity-tqca-tls +Version: 1.0 +Release: 2%{?dist}%{?_variant} + +Summary: TLS plugin for the TQt Cryptographic Architecture +License: LGPLv2+ +Group: Applications/Internet + +URL: http://delta.affinix.com/qca/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqt3-devel >= %{tde_version} +BuildRequires: trinity-tqtinterface-devel >= %{tde_version} +BuildRequires: trinity-tqca-devel >= 1.0 +BuildRequires: openssl-devel >= 0.9.8 + + +%description +This is a plugin to provide SSL/TLS capability to programs that use the TQt +Cryptographic Architecture (TQCA). TQCA is a library providing an easy API +for several cryptographic algorithms to TQt programs. This package only +contains the TLS plugin. + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +./configure \ + --qtdir=/usr +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{?buildroot} +%__make install INSTALL_ROOT=%{?buildroot} + + +%clean +%__rm -rf %{?buildroot} + + +%files +%defattr(0644,root,root,0755) +%doc README COPYING +%{_libdir}/tqt3/plugins/crypto/libqca-tls.so + +%changelog +* Thu Jun 27 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-2 +- Initial build for TDE 14.0.0 + +* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca/trinity-tqca-14.0.0.spec b/redhat/dependencies/tqca/trinity-tqca-14.0.0.spec new file mode 100644 index 000000000..9cc4131ad --- /dev/null +++ b/redhat/dependencies/tqca/trinity-tqca-14.0.0.spec @@ -0,0 +1,123 @@ +# 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 + +%define tde_version 14.0.0 + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_datadir}/doc + + +Name: trinity-tqca +Version: 1.0 +Release: 2%{?dist}%{?_variant} + +Summary: TQt Cryptographic Architecture + +Group: System Environment/Libraries +License: LGPLv2+ + +Vendor: Trinity Project +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot <francois.andriot@free.fr> + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqt3-devel >= %{tde_version} +BuildRequires: trinity-tqtinterface-devel >= %{tde_version} + + +%description +Taking a hint from the similarly-named Java Cryptography Architecture, +TQCA aims to provide a straightforward and cross-platform crypto API, +using TQt datatypes and conventions. TQCA separates the API from the +implementation, using plugins known as Providers. The advantage of this +model is to allow applications to avoid linking to or explicitly depending +on any particular cryptographic library. This allows one to easily change +or upgrade crypto implementations without even needing to recompile the +application! + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING README TODO +%{tde_libdir}/libqca.so.* + +########## + +%package devel +Summary: TQt Cryptographic Architecture development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This packages contains the development files for TQCA + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/qca.h +%{tde_libdir}/libqca.so + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +# Fix 'lib64' library directory +perl -pi -e 's,target\.path=\$PREFIX/lib,target.path=\$PREFIX/%{_lib},g' qcextra + + +%build +unset QTDIR +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +./configure \ + --prefix=%{tde_prefix} \ + --qtdir=/usr \ + --debug + +%__make %{?_smp_mflags} + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install INSTALL_ROOT=$RPM_BUILD_ROOT + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + + +%changelog +* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec b/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec index 76b227b0f..15d8e2748 100644 --- a/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec +++ b/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec @@ -549,6 +549,9 @@ ln -s ../src/inputmethod/ntqinputcontextplugin.h include/ntqinputcontextplugin.h # fix .prl files %__sed -i lib/*.prl -e "s|${QTDIR}|%{tde_datadir}/tqt3|g" +# fix QTDIR in 'qmake.conf' +%__sed -i mkspecs/*/qmake.conf -e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = \$(QTDIR)/include/tqt3|" + %install %__rm -rf %{buildroot} diff --git a/redhat/libraries/libkdcraw/trinity-libkdcraw-14.0.0.spec b/redhat/libraries/libkdcraw/trinity-libkdcraw-14.0.0.spec new file mode 100644 index 000000000..e774348b8 --- /dev/null +++ b/redhat/libraries/libkdcraw/trinity-libkdcraw-14.0.0.spec @@ -0,0 +1,165 @@ +# Default version for this component +%define kdecomp libkdcraw + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Raw picture decoding C++ library (runtime) [Trinity] + +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: desktop-file-utils +%if 0%{?suse_version} +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif +BuildRequires: libjpeg-devel +BuildRequires: pkgconfig +BuildRequires: gettext + +# AUTOTOOLS +BuildRequires: automake autoconf libtool +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +%description +C++ interface around dcraw binary program used to decode RAW +picture files. +This library is used by kipi-plugins, digiKam and others kipi host programs. +libkdcraw contains the library of libkdcraw. + +%package devel +Group: Development/Libraries +Summary: RAW picture decoding C++ library (development) [Trinity] +Requires: %{name} = %{version} + +%description devel +Libkdcraw is a C++ interface around dcraw binary program used to +decode Raw picture files. +libkdcraw-devel contains development files and documentation. The +library documentation is available on kdcraw.h header file. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +# RHEL4: pkgconfig files do not support 'URL' keyword . +%if 0%{?rhel} == 4 +%__sed -i %{?buildroot}%{tde_libdir}/pkgconfig/*.pc -e "s/^URL: /#URL: /" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%post +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 || : + +%postun +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 || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_libdir}/libkdcraw.so.4 +%{tde_libdir}/libkdcraw.so.4.0.3 +%{tde_datadir}/icons/hicolor/*/apps/kdcraw.png + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkdcraw.so +%{tde_libdir}/libkdcraw.la +%{tde_tdeincludedir}/libkdcraw/ +%{tde_libdir}/pkgconfig/libkdcraw.pc + +%Changelog +* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/libraries/libkexiv2/trinity-libkexiv2-14.0.0.spec b/redhat/libraries/libkexiv2/trinity-libkexiv2-14.0.0.spec new file mode 100644 index 000000000..537aae5cc --- /dev/null +++ b/redhat/libraries/libkexiv2/trinity-libkexiv2-14.0.0.spec @@ -0,0 +1,154 @@ +# Default version for this component +%define kdecomp libkexiv2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] + +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +# AUTOTOOLS +BuildRequires: automake autoconf libtool +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +# EXIV2 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: exiv2-devel +%endif +%if 0%{?suse_version} +BuildRequires: libexiv2-devel +%endif + +%description +libkexif2 contains the library of libkexiv2. +Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. + +%package devel +Group: Development/Libraries +Summary: Qt like interface for the libexiv2 library (development) [Trinity] +Requires: %{name} = %{version} + +%description devel +libkexif2-devel contains development files and documentation for libkexiv2 +library. The library documentation is available on kexiv2.h header file. +Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# RHEL4: pkgconfig files do not support 'URL' keyword . +%if 0%{?rhel} == 4 +%__sed -i %{?buildroot}%{tde_libdir}/pkgconfig/*.pc -e "s/^URL: /#URL: /" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%{tde_libdir}/libkexiv2.so.* + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkexiv2.so +%{tde_libdir}/libkexiv2.la +%{tde_tdeincludedir}/libkexiv2/ +%{tde_libdir}/pkgconfig/libkexiv2.pc + + +%Changelog +* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1 +- Initial build for TDE 14.0.0 diff --git a/redhat/libraries/libkipi/trinity-libkipi-14.0.0.spec b/redhat/libraries/libkipi/trinity-libkipi-14.0.0.spec new file mode 100644 index 000000000..dda363ec7 --- /dev/null +++ b/redhat/libraries/libkipi/trinity-libkipi-14.0.0.spec @@ -0,0 +1,169 @@ +# Default version for this component +%define tdecomp libkipi + + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity] + +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: desktop-file-utils +%if 0%{?suse_version} +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif +BuildRequires: libjpeg-devel +BuildRequires: pkgconfig +BuildRequires: gettext + +# AUTOTOOLS +BuildRequires: automake autoconf libtool +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +%description +Libkipi is a library + o that contains common routines and widget used by kipi-plugins + o to ease implementation of the kipi-plugins interface in an application + that wants to use kipi-plugins + +Homepage: http://www.kipi-plugins.org/ + + +%package devel +Group: Development/Libraries +Summary: library for apps that want to use kipi-plugins (development version) [Trinity] +Requires: %{name} = %{version} + +%description devel +Libkipi is a library + o that contains common routines and widget used by kipi-plugins + o to ease implementation of the kipi-plugins interface in an application + that wants to use kipi-plugins + +This package contains development files and documentation for libkipi library. +Homepage: http://www.kipi-plugins.org/ + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +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 || : + +%postun +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 || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_libdir}/libkipi.so.0 +%{tde_libdir}/libkipi.so.0.1.1 +%{tde_datadir}/apps/kipi/ +%{tde_datadir}/icons/hicolor/*/apps/kipi.png +%{tde_datadir}/servicetypes/kipiplugin.desktop + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkipi.so +%{tde_libdir}/libkipi.la +%{tde_tdeincludedir}/libkipi/ +%{tde_libdir}/pkgconfig/libkipi.pc + +%Changelog +* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/tdeadmin/trinity-tdeadmin-14.0.0.spec b/redhat/tdeadmin/trinity-tdeadmin-14.0.0.spec new file mode 100644 index 000000000..8013c0abb --- /dev/null +++ b/redhat/tdeadmin/trinity-tdeadmin-14.0.0.spec @@ -0,0 +1,484 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_sbindir %{tde_prefix}/sbin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tdeadmin +Summary: Administrative tools for TDE +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} + +Obsoletes: trinity-kdeadmin < %{version}-%{release} +Provides: trinity-kdeadmin = %{version}-%{release} + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: kuser.pam +Source2: kuser.pamd +Source5: kpackagerc +Source6: ksysvrc +Source7: kuserrc + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: rpm-devel +BuildRequires: pam-devel +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +BuildRequires: lilo +%endif + +Requires: trinity-tdeadmin = %{version}-%{release} +Requires: trinity-kcron = %{version}-%{release} +Requires: trinity-kdat = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: trinity-knetworkconf = %{version}-%{release} +Requires: trinity-kpackage = %{version}-%{release} +Requires: trinity-ksysv = %{version}-%{release} +Requires: trinity-kuser = %{version}-%{release} +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +Requires: trinity-lilo-config = %{version}-%{release} +%endif + +# CONSOLEHELPER (usermode) support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_consolehelper 1 + +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 +%endif + +%description +The tdeadmin package includes administrative tools for the Trinity Desktop +Environment (TDE) including: +kcron, kdat, knetworkconf, kpackage, ksysv, kuser. + +%files +%defattr(-,root,root,-) +# LILO is not provided in RHEL or Fedora +%if 0%{?rhel} || 0%{?fedora} +%exclude %{tde_tdedocdir}/HTML/en/lilo-config/ +%endif + +########## + +%package -n trinity-kcron +Summary: The Trinity crontab editor +Group: Applications/Utilities + +%description -n trinity-kcron +KCron is an application for scheduling programs to run in the background. +It is a graphical user interface to cron, the UNIX system scheduler. + +%files -n trinity-kcron +%defattr(-,root,root,-) +%{tde_bindir}/kcron +%{tde_tdeappdir}/kcron.desktop +%{tde_datadir}/apps/kcron/kcronui.rc +%{tde_datadir}/icons/hicolor/*/apps/kcron.png +%{tde_tdedocdir}/HTML/en/kcron/ + +%post -n trinity-kcron +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kcron +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kdat +Summary: A Trinity tape backup tool +Group: Applications/Utilities + +%description -n trinity-kdat +KDat is a tar-based tape archiver. It is designed to work with multiple +archives on a single tape. + +Main features are: +* Simple graphical interface to local filesystem and tape contents. +* Multiple archives on the same physical tape. +* Complete index of archives and files is stored on local hard disk. +* Selective restore of files from an archive. +* Backup profiles for frequently used backups. + +%files -n trinity-kdat +%defattr(-,root,root,-) +%doc rpmdocs/kdat/* +%{tde_bindir}/kdat +%{tde_tdeappdir}/kdat.desktop +%{tde_datadir}/apps/kdat/ +%{tde_datadir}/icons/hicolor/*/apps/kdat.png +%{tde_datadir}/icons/locolor/*/apps/kdat.png +%{tde_tdedocdir}/HTML/en/kdat/ + +%post -n trinity-kdat +for icon_theme in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kdat +for icon_theme in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package kfile-plugins +Summary: Trinity file metainfo plugins for deb and rpm files +Group: Environment/Libraries + +%description kfile-plugins +File metainfo plugins for deb and rpm package files. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdefile_deb.la +%{tde_tdelibdir}/tdefile_deb.so +%{tde_tdelibdir}/tdefile_rpm.la +%{tde_tdelibdir}/tdefile_rpm.so +%{tde_datadir}/services/tdefile_deb.desktop +%{tde_datadir}/services/tdefile_rpm.desktop + +########## + +%package -n trinity-knetworkconf +Summary: Trinity network configuration tool +Group: Applications/Utilities + +%description -n trinity-knetworkconf +This is a TDE control center module to configure TCP/IP settings. It +can be used to manage network devices and settings for each device. + +%files -n trinity-knetworkconf +%defattr(-,root,root,-) +%doc rpmdocs/knetworkconf/* +%{tde_datadir}/icons/hicolor/*/apps/knetworkconf.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_wlan.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_connected_lan_knc.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_lan.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_traffic_wlan.png +%{tde_datadir}/apps/knetworkconf/ +%{tde_tdeappdir}/kcm_knetworkconfmodule.desktop +%{tde_tdelibdir}/kcm_knetworkconfmodule.so +%{tde_tdelibdir}/kcm_knetworkconfmodule.la +%{tde_tdedocdir}/HTML/en/knetworkconf/ + +%post -n trinity-knetworkconf +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +%postun -n trinity-knetworkconf +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +########## + +%package -n trinity-kpackage +Summary: Trinity package management tool +Group: Applications/Utilities + +%description -n trinity-kpackage +This is a frontend to both .rpm and .deb package formats. It allows you +to view currently installed packages, browse available packages, and +install/remove them. + +%files -n trinity-kpackage +%defattr(-,root,root,-) +%doc rpmdocs/kpackage/* +%{tde_bindir}/kpackage +%{tde_tdeappdir}/kpackage.desktop +%{tde_datadir}/apps/kpackage/ +%{tde_datadir}/config/kpackagerc +%{tde_datadir}/icons/hicolor/*/apps/kpackage.png +%{tde_tdedocdir}/HTML/en/kpackage/ + +%post -n trinity-kpackage +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpackage +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksysv +Summary: Trinity SysV-style init configuration editor +Group: Applications/Utilities + +%description -n trinity-ksysv +This program allows you to edit your start and stop scripts using a +drag and drop GUI. + +%files -n trinity-ksysv +%defattr(-,root,root,-) +%doc rpmdocs/ksysv/* +%{tde_bindir}/ksysv +%{tde_tdeappdir}/ksysv.desktop +%{tde_datadir}/apps/ksysv/ +%{tde_datadir}/config/ksysvrc +%{tde_datadir}/icons/crystalsvg/16x16/actions/toggle_log.png +%{tde_datadir}/icons/hicolor/*/apps/ksysv.png +%{tde_datadir}/mimelnk/application/x-ksysv.desktop +%{tde_datadir}/mimelnk/text/x-ksysv-log.desktop +%{tde_tdedocdir}/HTML/en/ksysv/ + +%post -n trinity-ksysv +for icon_theme in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksysv +for icon_theme in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kuser +Summary: Trinity user/group administration tool +Group: Applications/Utilities + +%if 0%{?with_consolehelper} +# package 'usermode' provides '/usr/bin/consolehelper-gtk' +%if 0%{?rhel} || 0%{?fedora} +Requires: usermode-gtk +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: usermode +%endif +%endif + +%description -n trinity-kuser +A user/group administration tool for TDE. + +%files -n trinity-kuser +%defattr(-,root,root,-) +%doc rpmdocs/kuser/* +%{tde_bindir}/kuser +%{tde_tdeappdir}/kuser.desktop +%{tde_datadir}/apps/kuser/ +%{tde_datadir}/config/kuserrc +%{tde_datadir}/config.kcfg/kuser.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kuser.png +%{tde_tdedocdir}/HTML/en/kuser/ + +%if 0%{?with_consolehelper} +%{tde_sbindir}/kuser +%{_sbindir}/kuser +%config(noreplace) /etc/pam.d/kuser +%config(noreplace) /etc/security/console.apps/kuser +%endif + +%post -n trinity-kuser +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kuser +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%package -n trinity-lilo-config +Summary: Trinity frontend for lilo configuration +Group: Applications/Utilities +Requires: trinity-kcontrol +Requires: trinity-tdebase-bin +#Requires: lilo + +%description -n trinity-lilo-config +lilo-config is a TDE based frontend to the lilo boot manager configuration. +It runs out of the TDE Control Center. + +If you want to use the menu entry to launch lilo-config, you need to install +tdebase-bin since it uses the tdesu command to gain root privileges. + +%files -n trinity-lilo-config +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_lilo.la +%{tde_tdelibdir}/kcm_lilo.so +%{tde_tdeappdir}/lilo.desktop +%{tde_tdedocdir}/HTML/en/lilo-config/ + +%post -n trinity-lilo-config +touch /etc/lilo.conf +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTLIB QTINC +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --sbindir=%{tde_sbindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --with-rpm \ + --with-pam=kde \ + --with-shadow \ + --with-private-groups \ + --enable-final \ + --enable-closure \ + --with-private-groups + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +comps="kcron kdat knetworkconf kpackage ksysv kuser" +%__mkdir_p %{buildroot}%{tde_datadir}/config \ + %{buildroot}%{_sysconfdir}/security/console.apps \ + %{buildroot}%{_sysconfdir}/pam.d \ + %{buildroot}%{tde_sbindir} \ + %{buildroot}%{_sbindir} + +%__install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{tde_datadir}/config/ + +%if 0%{?with_consolehelper} +# Run kuser through consolehelper +%__install -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/security/console.apps/kuser +%__install -p -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kuser +%__mv %{buildroot}%{tde_bindir}/kuser %{buildroot}%{tde_sbindir} +%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kuser +%if "%{tde_prefix}" != "/usr" +%__ln_s %{tde_sbindir}/kuser %{?buildroot}%{_sbindir}/kuser +%endif +%endif + +# locale's +HTML_DIR=$(tde-config --expandvars --install html) +if [ -d %{buildroot}/$HTML_DIR ]; then +for lang_dir in %{buildroot}/$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in $comps ; do + for file in AUTHORS ChangeLog README TODO ; do + test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + done +done + +# The following files are not installed in any binary package. +# This is deliberate. + +# - This file serves no purpose that we can see, and conflicts +# with GNOME system tools, so be sure to leave it out. +%__rm -f %{?buildroot}%{tde_libdir}/pkgconfig/*.pc + +# Extract from changelog: +# tdeadmin (4:3.5.5-2) unstable; urgency=low +# +++ Changes by Ana Beatriz Guerrero Lopez: +# * Removed useless program secpolicy. (Closes: #399426) +%__rm -f %{?buildroot}%{tde_bindir}/secpolicy + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Fri Jun 28 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1 +- Initial release for TDE 14.0.0 diff --git a/redhat/tdebindings/trinity-tdebindings-14.0.0.spec b/redhat/tdebindings/trinity-tdebindings-14.0.0.spec new file mode 100644 index 000000000..784ca0be5 --- /dev/null +++ b/redhat/tdebindings/trinity-tdebindings-14.0.0.spec @@ -0,0 +1,1101 @@ +# Special note for RHEL4: +# You must create symlink 'libgcj.so' manually because it does not exist by default. +# E.g: +# ln -s /usr/lib/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so +# or 64 bits: +# ln -s /usr/lib64/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# RHEL4 specific +Source91: filter-requires.sh +%if 0%{?rhel} == 4 +%define _use_internal_dependency_generator 0 +%define __find_requires sh %{SOURCE91} +%endif + +Name: trinity-tdebindings +Summary: TDE bindings to non-C++ languages +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +# [kdebindings] Fix FTBFS in dcopjava/bindings +Patch7: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch + +# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL5 +Patch18: kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} + +BuildRequires: desktop-file-utils +BuildRequires: zlib-devel +BuildRequires: perl(ExtUtils::MakeMaker) + +# GTK2 support +%if 0%{?rhel} == 4 +BuildRequires: evolution28-gtk2-devel +Requires: evolution28-gtk2 +BuildRequires: evolution28-glib2-devel +Requires: evolution28-glib2 +BuildRequires: evolution28-cairo-devel +Requires: evolution28-cairo +BuildRequires: evolution28-pango-devel +Requires: evolution28-pango +BuildRequires: evolution28-atk-devel +Requires: evolution28-atk +%else +BuildRequires: gtk2-devel +%endif + +# XULRUNNER support +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 +BuildRequires: xulrunner-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: mozilla-xulrunner20-devel +%endif + +# GTK1 support +%if 0%{?fedora} || 0%{?rhel} +%define with_gtk1 1 +BuildRequires: glib-devel +BuildRequires: gtk+-devel +%endif +%if 0%{?mdkversion} == 201100 +%define with_gtk1 1 +BuildRequires: %{_lib}glib1.2-devel +BuildRequires: %{_lib}gtk+-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libgdk_pixbuf2.0-devel +%else +BuildRequires: %{_lib}gdk_pixbuf2.0-devel +%endif +%else +%if 0%{?fedora} >= 17 +BuildRequires: gdk-pixbuf2-devel +%else +BuildRequires: gdk-pixbuf-devel +%endif +%endif + + +## Python +BuildRequires: python-devel +%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") + +## ruby +BuildRequires: ruby-devel >= 1.8, ruby +%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')} +%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')} +# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) +%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') + +## java +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +BuildRequires: java-1.4.2-gcj-compat-devel +BuildRequires: libgcj-devel +BuildRequires: gcc-java +%endif + +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} + +# PCLinuxOS use SUN's Java +%if 0%{?pclinuxos} +BuildRequires: java-1.6.0-sun +BuildRequires: java-1.6.0-sun-devel +%else + +# Others use OpenJDK +BuildRequires: java-openjdk +BuildRequires: java-devel >= 1.4.2 +%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220 || 0%{?mgaversion} >= 3 +BuildRequires: java-1.7.0-openjdk-devel +%else +BuildRequires: java-1.6.0-openjdk-devel +%endif + +%endif +%endif + +%if 0%{?suse_version} +%define java_home %{_usr}/%{_lib}/jvm/java +%else +%if 0%{?rhel} == 4 +%define java_home %{_usr}/lib/jvm/java-1.4.2-gcj-1.4.2.0 +%else +%define java_home %{_usr}/lib/jvm/java +%endif +%endif +%define _with_java --with-java=%{java_home} + +## Perl +# There is no 'perl-devel' package on RHEL5 +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: perl-devel +%endif +%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} + + +Obsoletes: trinity-kdebindings < %{version}-%{release} +Provides: trinity-kdebindings = %{version}-%{release} + +# Metapackage requires +Requires: trinity-tdebindings-java = %{version}-%{release} +Requires: trinity-libsmokeqt1 = %{version}-%{release} +Requires: trinity-libsmokekde1 = %{version}-%{release} +Requires: trinity-perl-dcop = %{version}-%{release} +Requires: trinity-python-dcop = %{version}-%{release} +Requires: trinity-libkjsembed1 = %{version}-%{release} +Requires: trinity-kjscmd = %{version}-%{release} +Requires: trinity-juic = %{version}-%{release} +Requires: trinity-libkorundum0-ruby = %{version}-%{release} +Requires: trinity-libqt0-ruby = %{version}-%{release} + + +%description +TDE/DCOP bindings to non-C++ languages + +%files + +########## + +%package java +Summary: TDE Java bindings metapackage [Trinity] +Group: Environment/Libraries +Requires: trinity-libdcop3-java = %{version}-%{release} +Requires: trinity-libdcop3-jni = %{version}-%{release} +Requires: trinity-libqt3-java = %{version}-%{release} +Requires: trinity-libqt3-jni = %{version}-%{release} +Requires: trinity-libtrinity-java = %{version}-%{release} +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description java +A metapackage depending on all TDE, Qt and DCOP bindings libraries +related to the Java language. + +This package is part of the official TDE bindings module. + +%files java +%defattr(-,root,root,-) + +########## + +%package -n trinity-libdcop3-java +Summary: DCOP bindings for Java [Trinity] +Group: Environment/Libraries + +Requires: trinity-libdcop3-jni = %{version}-%{release} + +%description -n trinity-libdcop3-java +This package contains the Java classes necessary to run Java programs +using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications +Protocol, used for communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-java +%defattr(-,root,root,-) +#%{tde_datadir}/java/dcopjava*.jar +%{tde_libdir}/java/org/kde/DCOP/*.class + +########## + +%package -n trinity-libdcop3-java-devel +Summary: DCOP bindings for Java (dcopidl2java program) [Trinity] +Group: Development/Libraries +Requires: trinity-libdcop3-java = %{version}-%{release} + +%description -n trinity-libdcop3-java-devel +This package contains the dcopidl2java program which generates Java +stubs from DCOP IDL files, necessary to do development with the DCOP Java +bindings. DCOP is the TDE Desktop COmmunications Protocol, used for +communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-java-devel +%defattr(-,root,root,-) +%{tde_bindir}/dcopidl2java + +########## + +%package -n trinity-libdcop3-jni +Summary: DCOP bindings for Java ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libdcop3-jni +This package contains the shared libraries and scripts necessary to +run programs using the Java DCOP bindings. DCOP is the TDE Desktop +COmmunications Protocol, used for communicating with running TDE +applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-jni +%defattr(-,root,root,-) +%{tde_libdir}/libjavadcop.la +%{tde_libdir}/libjavadcop.so + +%post -n trinity-libdcop3-jni +/sbin/ldconfig || : + +%postun -n trinity-libdcop3-jni +/sbin/ldconfig || : + +########## + +%package -n trinity-libqt3-java +Summary: Java bindings for Qt [Trinity] +Group: Environment/Libraries +Requires: trinity-libdcop3-jni = %{version}-%{release} +Requires: trinity-libqt3-jni = %{version}-%{release} +Requires: trinity-juic = %{version}-%{release} + +%description -n trinity-libqt3-java +This package contains the Java classes necessary to run Java programs +using the Java Qt bindings. Qt is a very popular GUI toolkit, used by +the TDE desktop environment. + +It also includes many example programs that make use of these bindings, +plus many of the Qt Tutorial examples translated into Java. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-java +%defattr(-,root,root,-) +%{tde_libdir}/java/qtjava*.jar +%{tde_tdedocdir}/HTML/en/javalib/ + +########## + +%package -n trinity-libqt3-jni +Summary: Java bindings for Qt ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libqt3-jni +This package contains the shared libraries necessary to run Java +programs using the Java Qt bindings. Qt is a very popular GUI +toolkit, used by the TDE desktop environment. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-jni +%defattr(-,root,root,-) +%{tde_libdir}/libqtjavasupport.la +%{tde_libdir}/libqtjavasupport.so.* +%{tde_libdir}/jni/libqtjava.la +%{tde_libdir}/jni/libqtjava.so.* +%doc qtjava/ChangeLog + +########## + +%package -n trinity-libqt3-jni-devel +Summary: Development files fo Java bindings for Qt ( Native libraries ) [Trinity] +Group: Development/Libraries +Requires: trinity-libqt3-jni = %{version}-%{release} + +%description -n trinity-libqt3-jni-devel +This package contains the development files for trinity-libqt3-jni. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-jni-devel +%defattr(-,root,root,-) +%{tde_libdir}/libqtjavasupport.so +%{tde_libdir}/jni/libqtjava.so + +########## + +%package -n trinity-libtrinity-java +Summary: tdelibs bindings for Java [Trinity] +Group: Environment/Libraries + +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description -n trinity-libtrinity-java +This package contains the Java classes necessary to run Java programs +using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a +very popular UNIX Desktop Environment. + +It also includes some example applications that use these Java +classes, and multiple usage samples of the most common TDE classes. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-java +%defattr(-,root,root,-) +%{tde_libdir}/java/koala*.jar + +########## + +%package -n trinity-libtrinity-jni +Summary: tdelibs bindings for java ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libtrinity-jni +This package contains the shared libraries necessary to run Java +programs using the Java tdelibs bindings. TDE is the Trinity Desktop +Environment, a very popular UNIX Desktop Environment. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-jni +%defattr(-,root,root,-) +%{tde_libdir}/jni/libkdejava.la +%{tde_libdir}/jni/libkdejava.so.* +%doc kdejava/ChangeLog + +########## + +%package -n trinity-libtrinity-jni-devel +Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity] +Group: Development/Libraries +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description -n trinity-libtrinity-jni-devel +This package contains the development files for trinity-libtrinity-jni. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-jni-devel +%defattr(-,root,root,-) +%{tde_libdir}/jni/libkdejava.so + +########## + +%package -n trinity-libsmokeqt1 +Summary: SMOKE Binding Library to Qt +Group: Environment/Libraries + +%description -n trinity-libsmokeqt1 +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt library. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokeqt1 +%defattr(-,root,root,-) +%{tde_libdir}/libsmokeqt.so.* + +%post -n trinity-libsmokeqt1 +/sbin/ldconfig || : + +%postun -n trinity-libsmokeqt1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokeqt-devel +Summary: SMOKE Binding Library to Qt - Development Files +Group: Development/Libraries +Requires: trinity-libsmokeqt1 = %{version}-%{release} + +%description -n trinity-libsmokeqt-devel +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt library. This package contains the development files for the +library. + +If you are a normal user, you probably don't need this +package. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokeqt-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/smoke.h +%{tde_libdir}/libsmokeqt.so +%{tde_libdir}/libsmokeqt.la + +%post -n trinity-libsmokeqt-devel +/sbin/ldconfig || : + +%postun -n trinity-libsmokeqt-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokekde1 +Summary: SMOKE Binding Library to TDE +Group: Environment/Libraries + +%description -n trinity-libsmokekde1 +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +TDE libraries. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokekde1 +%defattr(-,root,root,-) +%{tde_libdir}/libsmokekde.so.* + +%post -n trinity-libsmokekde1 +/sbin/ldconfig || : + +%postun -n trinity-libsmokekde1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokekde-devel +Summary: SMOKE Binding Library to TDE - Development Files +Group: Development/Libraries +Requires: trinity-libsmokekde1 = %{version}-%{release} + +%description -n trinity-libsmokekde-devel +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt and TDE libraries. This package contains the development files for +the library. + +If you are a normal user, you probably don't need this +package. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokekde-devel +%defattr(-,root,root,-) +%{tde_libdir}/libsmokekde.so +%{tde_libdir}/libsmokekde.la + +%post -n trinity-libsmokekde-devel +/sbin/ldconfig || : + +%postun -n trinity-libsmokekde-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-perl-dcop +Summary: DCOP Bindings for Perl +Group: Development/Libraries + +Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release} +Provides: trinity-kdebindings-dcopperl = %{version}-%{release} + +%description -n trinity-perl-dcop +Perl bindings to the DCOP interprocess communication protocol used by TDE + +%files -n trinity-perl-dcop +%defattr(-,root,root,-) +%{perl_vendorarch}/auto/DCOP/* +%{perl_vendorarch}/DCOP.pm +%{perl_vendorarch}/DCOP/* +%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO +%{tde_mandir}/man3/DCOP.3pm* + +########## + +%package -n trinity-python-dcop +Summary: DCOP bindings for Python +Group: Environment/Libraries +Requires: python +#Provides: %{name}-dcoppython = %{version}-%{release} + +%description -n trinity-python-dcop +This package contains the shared libraries necessary to run and +develop Python programs using the Python DCOP bindings +libraries. DCOP is the TDE Desktop COmmunications Protocol, used for +communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-python-dcop +%defattr(-,root,root,-) +%{python_sitearch}/pcop.la +%{python_sitearch}/pcop.so +%{python_sitearch}/pydcop.py* + +########## + +%package -n trinity-libkjsembed1 +Summary: Embedded JavaScript library +Group: Environment/Libraries + +%description -n trinity-libkjsembed1 +This package contains the shared libraries necessary to run programs +linked with the KJSEmbed library. This library provides JavaScript +embedded scripting facilities to TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkjsembed1 +%defattr(-,root,root,-) +%{tde_libdir}/libkjsembed.so.* +%{tde_tdelibdir}/libimagefxplugin.la +%{tde_tdelibdir}/libimagefxplugin.so +%{tde_datadir}/services/imagefx_plugin.desktop +%{tde_tdelibdir}/libqprocessplugin.so +%{tde_tdelibdir}/libqprocessplugin.la +%{tde_datadir}/services/qprocess_plugin.desktop +%{tde_tdelibdir}/libfileitemplugin.la +%{tde_tdelibdir}/libfileitemplugin.so +%{tde_datadir}/services/kfileitem_plugin.desktop +%{tde_datadir}/apps/kjsembed/cmdline.js +%{tde_datadir}/servicetypes/binding_type.desktop +%{tde_bindir}/embedjs +%{tde_datadir}/apps/embedjs/embedjsui.rc +%{tde_datadir}/applnk/Utilities/embedjs.desktop +%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png +%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png +%{tde_tdelibdir}/libjavascript.la +%{tde_tdelibdir}/libjavascript.so +%{tde_datadir}/apps/kate/scripts/swaptabs.js +%{tde_datadir}/apps/kate/scripts/swaptabs.ui +%{tde_datadir}/apps/kate/scripts/swaptabs.desktop +%{tde_datadir}/services/javascript.desktop +%doc kjsembed/docs/ChangeLog + +%post -n trinity-libkjsembed1 +/sbin/ldconfig ||: +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +%postun -n trinity-libkjsembed1 +/sbin/ldconfig ||: +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +########## + +%package -n trinity-libkjsembed-devel +Summary: Embedded JavaScript library (Development files) +Group: Development/Libraries +Requires: trinity-libkjsembed1 = %{version}-%{release} + +%description -n trinity-libkjsembed-devel +This package contains the header files and symbolic links necessary +to develop and compile programs using the KJSEmbed library. This +library provides JavaScript embedded scripting facilities to TDE +applications. + +It also includes lots of example programs that make use of these +bindings, plus comprehensive documentation of the bindings. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkjsembed-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kjsembed/ +%{tde_libdir}/libkjsembed.so +%{tde_libdir}/libkjsembed.la +%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ + +%post -n trinity-libkjsembed-devel +/sbin/ldconfig || : + +%postun -n trinity-libkjsembed-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kjscmd +Summary: A script interpreter using the TDE JavaScript library +Group: Environment/Libraries + +%description -n trinity-kjscmd +This package contains the kjscmd program, which is a standalone +JavaScript interpreter using the KJSEmbed library. + +This package is part of the official TDE bindings module. + +%files -n trinity-kjscmd +%defattr(-,root,root,-) +%{tde_bindir}/kjscmd +%{tde_tdeappdir}/kjscmd.desktop +%{tde_mandir}/man1/kjscmd.* +%{tde_tdelibdir}/libjsconsoleplugin.la +%{tde_tdelibdir}/libjsconsoleplugin.so + +%post -n trinity-kjscmd +update-desktop-database >& /dev/null ||: + +%postun -n trinity-kjscmd +update-desktop-database >& /dev/null ||: + +########## + +%package -n trinity-juic +Summary: The Qt Java UI Compiler +Group: Environment/Libraries +Requires: trinity-libqt3-java = %{version}-%{release} + +%description -n trinity-juic +This package contains the juic program, which is used to convert +a UI description file generated by the Qt Designer, and converts +it into a Qt Java class. It is necessary for compiling and +developing programs using the Qt Java bindings together with Qt +Designer. + +This package is part of the official TDE bindings module. + +%files -n trinity-juic +%defattr(-,root,root,-) +%{tde_bindir}/juic +%{tde_datadir}/juic/ + +########## + +%package -n trinity-libkorundum0-ruby +Summary: TDE bindings for Ruby [Trinity] +Group: Environment/Libraries +Requires: trinity-libqt0-ruby = %{version}-%{release} + +%description -n trinity-libkorundum0-ruby +This package contains the files necessary for running and developing +Ruby code using the Korundum TDE Ruby bindings. + +It also includes some example programs and templates that make use of +these bindings. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkorundum0-ruby +%defattr(-,root,root,-) +%{tde_bindir}/rbkdesh +%{tde_bindir}/rbkdeapi +%{tde_bindir}/krubyinit +%{tde_bindir}/rbkconfig_compiler +%{ruby_rubylibdir}/Korundum.rb +%{ruby_rubylibdir}/KDE/korundum.rb +%{ruby_arch}/korundum.la +%{ruby_arch}/korundum.so* +%doc korundum/ChangeLog + +%post -n trinity-libkorundum0-ruby +/sbin/ldconfig || : + +%postun -n trinity-libkorundum0-ruby +/sbin/ldconfig || : + +########## + +%package -n trinity-libqt0-ruby +Summary: Qt bindings for Ruby [Trinity] +Group: Environment/Libraries +Requires: ruby + +%description -n trinity-libqt0-ruby +This package contains the files necessary for running and developing +Ruby code using the Qt Ruby bindings. + +It also includes some example programs that make use of these bindings, +plus many of the Qt Tutorial examples translated into Ruby. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt0-ruby +%defattr(-,root,root,-) +%{tde_bindir}/rbqtsh +%{tde_bindir}/rbqtapi +%{tde_bindir}/rbuic +%{tde_bindir}/qtrubyinit +%{ruby_rubylibdir}/Qt/qtruby.rb +%{ruby_rubylibdir}/Qt.rb +%{ruby_arch}/qtruby.so* +%{ruby_arch}/qtruby.la +%{ruby_arch}/qui.so* +%{ruby_arch}/qui.la +%doc qtruby/ChangeLog + +%post -n trinity-libqt0-ruby +/sbin/ldconfig || : + +%postun -n trinity-libqt0-ruby +/sbin/ldconfig || : + +########## + +%if 0 +%package -n trinity-kmozilla +Summary: Kmozilla for TDE +Group: Environment/Libraries + +%description -n trinity-kmozilla +%{summary} + +%files -n trinity-kmozilla +%defattr(-,root,root,-) +%{tde_bindir}/kmozilla +%{tde_libdir}/libkmozillapart.so.* +%{tde_libdir}/libkmozillapart.so +%{tde_libdir}/libkmozillapart.la +%{tde_datadir}/services/kmozilla.desktop +%endif + +########## + +%package -n trinity-xpart-notepad +Summary: A small XPart editor +Group: Applications/Utilities + +%description -n trinity-xpart-notepad +xpart_notepad is a small XPart editor. Use it to understand how to use XPart. + +%files -n trinity-xpart-notepad +%defattr(-,root,root,-) +%{tde_bindir}/shell_xparthost +%{tde_bindir}/xp_notepad +%{tde_libdir}/libxp_notepadpart.la +%{tde_libdir}/libxp_notepadpart.so +%{tde_libdir}/libxp_notepadpart.so.* +%{tde_datadir}/services/xp_notepad.desktop +%doc xparts/xpart_notepad/README + +%post -n trinity-xpart-notepad +/sbin/ldconfig || : + +%postun -n trinity-xpart-notepad +/sbin/ldconfig || : + +########## + +%if 0%{?with_gtk1} +%package -n trinity-libgtkxparts1 +Summary: Xparts library for GTK +Group: Environment/Libraries + +%description -n trinity-libgtkxparts1 +%{summary} + +%files -n trinity-libgtkxparts1 +%defattr(-,root,root,-) +%{tde_libdir}/libgtkxparts.so.* +%{tde_libdir}/libgtkxparts.la + +%post -n trinity-libgtkxparts1 +/sbin/ldconfig || : + +%postun -n trinity-libgtkxparts1 +/sbin/ldconfig || : +%endif + +########## + +%package -n trinity-libkdexparts1 +Summary: Xparts library for KDE +Group: Environment/Libraries + +%description -n trinity-libkdexparts1 +%{summary} + +%files -n trinity-libkdexparts1 +%defattr(-,root,root,-) +%{tde_libdir}/libkdexparts.so.* +%{tde_libdir}/libkdexparts.la + +%post -n trinity-libkdexparts1 +/sbin/ldconfig || : + +%postun -n trinity-libkdexparts1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libxparts-devel +Summary: Xparts development files +Group: Development/Libraries +%if 0%{?with_gtk1} +Requires: trinity-libgtkxparts1 = %{version}-%{release} +%endif +Requires: trinity-libkdexparts1 = %{version}-%{release} + +%description -n trinity-libxparts-devel +%{summary} + +%files -n trinity-libxparts-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/xkparts/ +%if 0%{?with_gtk1} +%{tde_libdir}/libgtkxparts.so +%endif +%{tde_libdir}/libkdexparts.so + +%post -n trinity-libxparts-devel +/sbin/ldconfig || : + +%postun -n trinity-libxparts-devel +/sbin/ldconfig || : + +########## + +%package xparts-extras +Summary: Extra xparts for TDE [Trinity] +Group: Environment/Libraries + +# Metapckage requires +Requires: trinity-xpart-notepad = %{version}-%{release} +%if 0%{?with_gtk1} +Requires: trinity-libgtkxparts1 = %{version}-%{release} +%endif +Requires: trinity-libkdexparts1 = %{version}-%{release} +Requires: trinity-libdcop-c = %{version}-%{release} + +%description xparts-extras +This package contains extra xparts-based modules for Trinity +This includes the mozilla-konqueror plugin + +This package is part of the official TDE bindings module. + +%files xparts-extras +%defattr(-,root,root,-) + +########### + +%package -n trinity-libdcop-c +Summary: DCOP bindings for C [Trinity] +Group: Environment/Libraries + +%description -n trinity-libdcop-c +%{summary} + +%files -n trinity-libdcop-c +%defattr(-,root,root,-) +%{tde_libdir}/libdcopc.so.* + +%post -n trinity-libdcop-c +/sbin/ldconfig || : + +%postun -n trinity-libdcop-c +/sbin/ldconfig || : + +########### + +%package -n trinity-libdcop-c-devel +Summary: DCOP bindings for C, development files [Trinity] +Group: Development/Libraries +Requires: trinity-libdcop-c = %{version}-%{release} + +%description -n trinity-libdcop-c-devel +%{summary} + +%files -n trinity-libdcop-c-devel +%defattr(-,root,root,-) +%{tde_libdir}/libdcopc.so +%{tde_libdir}/libdcopc.la +%{tde_tdeincludedir}/dcopc/ + +%post -n trinity-libdcop-c-devel +/sbin/ldconfig || : + +%postun -n trinity-libdcop-c-devel +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: trinity-tdelibs-devel + +Obsoletes: trinity-kdebindings-devel < %{version}-%{release} +Provides: trinity-kdebindings-devel = %{version}-%{release} + +# Metapackage +Requires: trinity-libsmokeqt-devel = %{version}-%{release} +Requires: trinity-libdcop3-java-devel = %{version}-%{release} +Requires: trinity-libsmokekde-devel = %{version}-%{release} +Requires: trinity-libkjsembed-devel = %{version}-%{release} +Requires: trinity-libxparts-devel = %{version}-%{release} +Requires: trinity-libdcop-c-devel = %{version}-%{release} +Requires: trinity-libqt3-jni-devel = %{version}-%{release} +Requires: trinity-libtrinity-jni-devel = %{version}-%{release} + +%description devel +Development files for the TDE bindings. + +%files devel + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +%patch7 -p1 -b .dcopjavaldflags + +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +%patch18 -p1 -b .ruby +%endif + +# Workarounds strange issue in MGA3 +%if 0%{?mgaversion} == 3 || 0%{?pclinuxos} >= 2013 +%__cp /usr/share/automake-1.13/test-driver admin/ +%endif + +# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so') +%__sed -i "xparts/Makefile.am" \ + -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +unset JAVA_HOME ||: +%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} + +# sip/PyQt/PyKDE built separately, not here +export DO_NOT_COMPILE="$DO_NOT_COMPILE python" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi +if [ -d /usr/evolution28 ]; then + export PATH="/usr/evolution28/bin:${PATH}" + export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_docdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking \ + --with-extra-libs=%{tde_libdir} \ + --with-pythondir=%{_usr} \ + --enable-closure \ + --enable-final \ + %{?_with_java} %{!?_with_java:--without-java} \ + %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ + --with-extra-includes=%{tde_includedir}/tqt + +pushd dcopperl +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor + +# Ugly hack to add TQT include directory in Makefile +# Also modifies the man pages directory +sed -i Makefile \ + -e "s|^\(INC = .*\)|\1 -I%{tde_includedir}/tqt|" \ + -e "s|/usr/share/man|%{tde_mandir}|g" + +%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: +popd + +# smoke (not smp-safe) +%__make -C smoke + +# The rest is smp-safe +%__make %{?_smp_mflags} PYTHON=%{__python} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT + +%__make install DESTDIR=%{?buildroot} \ + PYTHON=%{__python} + +# Removes some perl files +find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ + -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# Installs juic +%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic +%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common +%__install qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common +%__install qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common +%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic + +# kjsembed sample files +%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ + + +# Man installation location is wrong on RHEL4... +if [ -d "%{buildroot}%{_mandir}/man3" ]; then + mv -f %{buildroot}%{_mandir}/man3 %{buildroot}%{tde_mandir}/man3/ + rm -rf %{buildroot}%{_mandir} +fi + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%changelog +* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdemultimedia/trinity-tdemultimedia-14.0.0.spec b/redhat/tdemultimedia/trinity-tdemultimedia-14.0.0.spec new file mode 100644 index 000000000..68c6ee218 --- /dev/null +++ b/redhat/tdemultimedia/trinity-tdemultimedia-14.0.0.spec @@ -0,0 +1,1228 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE specific building variables +%define tde_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} + +# former extras bits +%define _with_akode --with-akode +## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) +#define _with_musicbrainz --with-musicbrainz +%define _with_taglib --with-taglib + +Name: trinity-tdemultimedia +Summary: Multimedia applications for the Trinity Desktop Environment (TDE) +Version: 14.0.0 +Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2 +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +Obsoletes: trinity-kdemultimedia < %{version}-%{release} +Provides: trinity-kdemultimedia = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-libs = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} +Provides: trinity-kdemultimedia-extras = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} + + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-tqt3-devel >= %{version} +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} + +%if "%{?_with_akode}" != "" +BuildRequires: trinity-akode-devel +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: trinity-akode-libmad +%endif +%endif + +BuildRequires: desktop-file-utils +BuildRequires: zlib-devel + +# Audio libraries +BuildRequires: libvorbis-devel +BuildRequires: audiofile-devel +BuildRequires: libtheora-devel +BuildRequires: alsa-lib-devel +%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel} +%{?_with_taglib:BuildRequires: taglib-devel} +BuildRequires: cdparanoia + +# CDDA support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libcdda-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: cdparanoia-devel +%endif + +# FLAC support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libflac-devel +%else +BuildRequires: %{_lib}flac-devel +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: flac-devel +%endif + +# GSTREAMER support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libgstreamer0.10-devel +%else +BuildRequires: %{_lib}gstreamer0.10-devel +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: gstreamer-devel +%endif +%if 0%{?suse_version} +BuildRequires: gstreamer-0_10-devel +%endif + +# X11 Libraries +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xxf86dga-devel +BuildRequires: %{_lib}xxf86vm-devel +BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXxf86dga-devel +BuildRequires: libXxf86vm-devel +BuildRequires: libXt-devel +%endif + +# XINE support +%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_xine 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xine-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: xine-lib-devel +%endif +%if 0%{?suse_version} +BuildRequires: libxine-devel +%endif +%endif + +# LAME support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_lame 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: liblame-devel +%else +BuildRequires: %{_lib}lame-devel +%endif +%endif +%if 0%{?suse_version} +BuildRequires: libmp3lame-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: lame-devel +%endif +%endif + +Requires: trinity-artsbuilder = %{version}-%{release} +Requires: trinity-juk = %{version}-%{release} +Requires: trinity-kaboodle = %{version}-%{release} +Requires: trinity-kaudiocreator = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-kappfinder-data = %{version}-%{release} +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: trinity-kmid = %{version}-%{release} +Requires: trinity-kmix = %{version}-%{release} +Requires: trinity-krec = %{version}-%{release} +Requires: trinity-kscd = %{version}-%{release} +Requires: trinity-libarts-akode = %{version}-%{release} +Requires: trinity-libarts-audiofile = %{version}-%{release} +Requires: trinity-libarts-mpeglib = %{version}-%{release} +%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} +Requires: trinity-libkcddb = %{version}-%{release} +Requires: trinity-mpeglib = %{version}-%{release} +Requires: trinity-noatun = %{version}-%{release} + + +%description +The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window +System. The %{name} package contains multimedia applications for +TDE, including: + artsbuilder, Synthesizer designer for aRts + juk, a media player + kmid, a midi player + kmix, an audio mixer + arts, additional functionality for the aRts sound system + krec, a recording tool + kscd, an Audio-CD player + kaudiocreator, a graphical frontend for audio file creation + kaboodle, a media player + noatun, a media player + +%files + +########## + +%package -n trinity-artsbuilder +Summary: Synthesizer designer for aRts +Group: Applications/Multimedia + +%description -n trinity-artsbuilder +This is the analog Realtime synthesizer's graphical design tool. + +%files -n trinity-artsbuilder +%defattr(-,root,root,-) +%{tde_bindir}/artsbuilder +%{tde_bindir}/artscontrol +%{tde_bindir}/midisend +%{tde_libdir}/libartsbuilder.la +%{tde_libdir}/libartsbuilder.so.* +%{tde_libdir}/libartscontrolapplet.la +%{tde_libdir}/libartscontrolapplet.so.* +%{tde_libdir}/libartscontrolsupport.la +%{tde_libdir}/libartscontrolsupport.so.* +%{tde_libdir}/libartsgui_idl.la +%{tde_libdir}/libartsgui_idl.so.* +%{tde_libdir}/libartsgui_kde.la +%{tde_libdir}/libartsgui_kde.so.* +%{tde_libdir}/libartsgui.la +%{tde_libdir}/libartsgui.so.* +%{tde_libdir}/libartsmidi_idl.la +%{tde_libdir}/libartsmidi_idl.so.* +%{tde_libdir}/libartsmidi.la +%{tde_libdir}/libartsmidi.so.* +%{tde_libdir}/libartsmodulescommon.la +%{tde_libdir}/libartsmodulescommon.so.* +%{tde_libdir}/libartsmoduleseffects.la +%{tde_libdir}/libartsmoduleseffects.so.* +%{tde_libdir}/libartsmodulesmixers.la +%{tde_libdir}/libartsmodulesmixers.so.* +%{tde_libdir}/libartsmodules.la +%{tde_libdir}/libartsmodules.so.* +%{tde_libdir}/libartsmodulessynth.la +%{tde_libdir}/libartsmodulessynth.so.* +%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcoptype +%{tde_libdir}/mcop/Arts/Button.mcopclass +%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass +%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass +%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass +%{tde_libdir}/mcop/Arts/Fader.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass +%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GraphLine.mcopclass +%{tde_libdir}/mcop/artsgui.mcopclass +%{tde_libdir}/mcop/artsgui.mcoptype +%{tde_libdir}/mcop/Arts/HBox.mcopclass +%{tde_libdir}/mcop/Arts/Label.mcopclass +%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass +%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass +%{tde_libdir}/mcop/Arts/LineEdit.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass +%{tde_libdir}/mcop/Arts/MidiManager.mcopclass +%{tde_libdir}/mcop/artsmidi.mcopclass +%{tde_libdir}/mcop/artsmidi.mcoptype +%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcoptype +%{tde_libdir}/mcop/artsmoduleseffects.mcopclass +%{tde_libdir}/mcop/artsmoduleseffects.mcoptype +%{tde_libdir}/mcop/artsmodules.mcopclass +%{tde_libdir}/mcop/artsmodules.mcoptype +%{tde_libdir}/mcop/artsmodulesmixers.mcopclass +%{tde_libdir}/mcop/artsmodulesmixers.mcoptype +%{tde_libdir}/mcop/artsmodulessynth.mcopclass +%{tde_libdir}/mcop/artsmodulessynth.mcoptype +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass +%{tde_libdir}/mcop/Arts/PopupBox.mcopclass +%{tde_libdir}/mcop/Arts/Poti.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/SpinBox.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass +%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass +%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass +%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass +%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass +%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass +%{tde_libdir}/mcop/Arts/VBox.mcopclass +%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Widget.mcopclass +%{tde_tdeappdir}/artsbuilder.desktop +%{tde_tdeappdir}/artscontrol.desktop +%{tde_datadir}/apps/artsbuilder/ +%{tde_datadir}/apps/artscontrol/ +%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz +%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png +%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png +%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz +%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop +%{tde_tdedocdir}/HTML/en/artsbuilder/ + +%post -n trinity-artsbuilder +/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-artsbuilder +/sbin/ldconfig +for f in crystalsvg 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-juk +Summary: Music organizer and player for Trinity +Group: Applications/Multimedia + +%description -n trinity-juk +JuK (pronounced "jook") is a jukebox and music manager for the TDE +desktop similar to jukebox software on other platforms such as +iTunes or RealOne. + +Some of JuK's features include: +* Support for Ogg Vorbis and MP3 formats +* Tag editing support for both formats, including ID3v2 for MP3 files. + Multitagging or editing a selection of multiple files at once is also + supported +* Output to either the aRts, default KDE sound system, or GStreamer +* Management of your "collection" and multiple playlists +* Import and export to m3u playlists +* Binary caching of audio meta-data and playlist information for faster + load times (starting with the second time you run JuK) +* Integration into TDE that allows drag-and-drop and clipboard usage + with other TDE and X apps + +%files -n trinity-juk +%defattr(-,root,root,-) +%{tde_bindir}/juk +%{tde_tdeappdir}/juk.desktop +%{tde_datadir}/apps/juk/ +%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png +%{tde_datadir}/icons/hicolor/*/apps/juk.png +%{tde_tdedocdir}/HTML/en/juk/ + +%post -n trinity-juk +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-juk +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-kaboodle +Summary: light, embedded media player for Trinity +Group: Applications/Multimedia + +%if 0%{?with_xine} +Requires: trinity-libarts-xine = %{version}-%{release} +%endif + +%description -n trinity-kaboodle +Kaboodle is a light, embedded media player, supporting both video and audio, +for TDE. It uses the aRts framework for playing media files. + +%files -n trinity-kaboodle +%defattr(-,root,root,-) +%{tde_bindir}/kaboodle +%{tde_tdelibdir}/libkaboodlepart.la +%{tde_tdelibdir}/libkaboodlepart.so +%{tde_tdeappdir}/kaboodle.desktop +%{tde_datadir}/apps/kaboodle/ +%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png +%{tde_datadir}/services/kaboodle_component.desktop +%{tde_datadir}/services/kaboodleengine.desktop +%{tde_tdedocdir}/HTML/en/kaboodle/ + +%post -n trinity-kaboodle +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-kaboodle +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-kaudiocreator +Summary: CD ripper and audio encoder frontend for Trinity +Group: Applications/Multimedia + +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: vorbis-tools +Requires: flac + +%description -n trinity-kaudiocreator +KAudioCreator is a tool for audio extraction (ripping) and encoding. It can +keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also +searches CDDB to retrieve the information of the disk. + +%files -n trinity-kaudiocreator +%defattr(-,root,root,-) +%{tde_bindir}/kaudiocreator +%{tde_tdeappdir}/kaudiocreator.desktop +%{tde_datadir}/apps/kaudiocreator/ +%{tde_datadir}/apps/kconf_update/kaudiocreator-libkcddb.upd +%{tde_datadir}/apps/kconf_update/kaudiocreator-meta.upd +%{tde_datadir}/apps/kconf_update/upgrade-kaudiocreator-metadata.sh +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop +%{tde_datadir}/config.kcfg/kaudiocreator.kcfg +%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png +%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png +%{tde_tdedocdir}/HTML/en/kaudiocreator/ + +%post -n trinity-kaudiocreator +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-kaudiocreator +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 kfile-plugins +Summary: au/avi/m3u/mp3/ogg/wav plugins for kfile +Group: Applications/Multimedia + +%description kfile-plugins +au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kfile_au.la +%{tde_tdelibdir}/kfile_au.so +%{tde_tdelibdir}/kfile_avi.la +%{tde_tdelibdir}/kfile_avi.so +%{tde_tdelibdir}/kfile_flac.la +%{tde_tdelibdir}/kfile_flac.so +%{tde_tdelibdir}/kfile_m3u.la +%{tde_tdelibdir}/kfile_m3u.so +%{tde_tdelibdir}/kfile_mp3.la +%{tde_tdelibdir}/kfile_mp3.so +%{tde_tdelibdir}/kfile_mpc.la +%{tde_tdelibdir}/kfile_mpc.so +%{tde_tdelibdir}/kfile_mpeg.la +%{tde_tdelibdir}/kfile_mpeg.so +%{tde_tdelibdir}/kfile_ogg.la +%{tde_tdelibdir}/kfile_ogg.so +%{tde_tdelibdir}/kfile_sid.la +%{tde_tdelibdir}/kfile_sid.so +%{tde_tdelibdir}/kfile_theora.la +%{tde_tdelibdir}/kfile_theora.so +%{tde_tdelibdir}/kfile_wav.la +%{tde_tdelibdir}/kfile_wav.so +%{tde_datadir}/services/kfile_au.desktop +%{tde_datadir}/services/kfile_avi.desktop +%{tde_datadir}/services/kfile_flac.desktop +%{tde_datadir}/services/kfile_m3u.desktop +%{tde_datadir}/services/kfile_mp3.desktop +%{tde_datadir}/services/kfile_mpc.desktop +%{tde_datadir}/services/kfile_mpeg.desktop +%{tde_datadir}/services/kfile_ogg.desktop +%{tde_datadir}/services/kfile_sid.desktop +%{tde_datadir}/services/kfile_theora.desktop +%{tde_datadir}/services/kfile_wav.desktop + +########## + +%package kappfinder-data +Summary: multimedia data for kappfinder-trinity +Group: Applications/Multimedia + +Requires: trinity-kappfinder + +%description kappfinder-data +This package provides data on multimedia applications for kappfinder. + +%files kappfinder-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kappfinder/* +%{tde_datadir}/desktop-directories/[kt]de-multimedia-music.directory +%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu + +########## + +%package tdeio-plugins +Summary: Enables the browsing of audio CDs under Konqueror +Group: Applications/Multimedia + +Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release} +Provides: trinity-tdemultimedia-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package allow audio CDs to be browsed like a file system using +Konqueror and the audiocd:/ URL. + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_audiocd.la +%{tde_tdelibdir}/kcm_audiocd.so +%{tde_tdelibdir}/kio_audiocd.la +%{tde_tdelibdir}/kio_audiocd.so +%{tde_tdelibdir}/libaudiocd_encoder_flac.la +%{tde_tdelibdir}/libaudiocd_encoder_flac.so +%{tde_tdelibdir}/libaudiocd_encoder_lame.la +%{tde_tdelibdir}/libaudiocd_encoder_lame.so +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so +%{tde_tdelibdir}/libaudiocd_encoder_wav.la +%{tde_tdelibdir}/libaudiocd_encoder_wav.so +%{tde_libdir}/libaudiocdplugins.so.* +%{tde_tdeappdir}/audiocd.desktop +%{tde_datadir}/apps/kconf_update/audiocd.upd +%{tde_datadir}/apps/kconf_update/upgrade-metadata.sh +%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg +%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg +%{tde_datadir}/services/audiocd.protocol +%{tde_tdedocdir}/HTML/en/kioslave/audiocd.docbook + +%post tdeio-plugins +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun tdeio-plugins +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmid +Summary: MIDI/karaoke player for Trinity +Group: Applications/Multimedia + +%description -n trinity-kmid +This package provides a MIDI and karaoke player for TDE. + +%files -n trinity-kmid +%defattr(-,root,root,-) +%{tde_bindir}/kmid +%{tde_tdelibdir}/libkmidpart.la +%{tde_tdelibdir}/libkmidpart.so +%{tde_libdir}/libkmidlib.so.* +%{tde_tdeappdir}/kmid.desktop +%{tde_datadir}/apps/kmid/ +%{tde_datadir}/icons/hicolor/*/apps/kmid.png +%{tde_datadir}/mimelnk/audio/x-karaoke.desktop +%{tde_datadir}/servicetypes/audiomidi.desktop +%{tde_tdedocdir}/HTML/en/kmid/ + +%post -n trinity-kmid +/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-kmid +/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-kmix +Summary: Sound mixer applet for Trinity +Group: Applications/Multimedia + +%description -n trinity-kmix +This package includes TDE's dockable sound mixer applet. + +%files -n trinity-kmix +%defattr(-,root,root,-) +%{tde_bindir}/kmix +%{tde_bindir}/kmixctrl +%{tde_tdelibdir}/kmix.la +%{tde_tdelibdir}/kmix.so +%{tde_tdelibdir}/kmix_panelapplet.la +%{tde_tdelibdir}/kmix_panelapplet.so +%{tde_tdelibdir}/kmixctrl.la +%{tde_tdelibdir}/kmixctrl.so +%{tde_libdir}/lib[kt]deinit_kmix.so +%{tde_libdir}/lib[kt]deinit_kmixctrl.so +%{tde_tdeappdir}/kmix.desktop +%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop +%{tde_datadir}/apps/kmix/ +%{tde_datadir}/autostart/kmix.desktop +%{tde_datadir}/autostart/restore_kmix_volumes.desktop +%{tde_datadir}/icons/hicolor/*/apps/kmix.png +%{tde_datadir}/services/kmixctrl_restore.desktop +%{tde_tdedocdir}/HTML/en/kmix/ + +%post -n trinity-kmix +/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-kmix +/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-krec +Summary: Sound recorder utility for Trinity +Group: Applications/Multimedia + +%description -n trinity-krec +This is a sound recording utility for Trinity. + +%files -n trinity-krec +%defattr(-,root,root,-) +%{tde_bindir}/krec +%{tde_tdelibdir}/kcm_krec.la +%{tde_tdelibdir}/kcm_krec.so +%{tde_tdelibdir}/kcm_krec_files.la +%{tde_tdelibdir}/kcm_krec_files.so +%{tde_tdelibdir}/krec.la +%{tde_tdelibdir}/krec.so +%if %{?with_lame} +%{tde_tdelibdir}/libkrecexport_mp3.la +%{tde_tdelibdir}/libkrecexport_mp3.so +%{tde_datadir}/services/krec_exportmp3.desktop +%endif +%{tde_tdelibdir}/libkrecexport_ogg.la +%{tde_tdelibdir}/libkrecexport_ogg.so +%{tde_tdelibdir}/libkrecexport_wave.la +%{tde_tdelibdir}/libkrecexport_wave.so +%{tde_libdir}/lib[kt]deinit_krec.so +%{tde_tdeappdir}/krec.desktop +%{tde_datadir}/apps/krec/ +%{tde_datadir}/icons/hicolor/*/apps/krec.png +%{tde_datadir}/services/kcm_krec.desktop +%{tde_datadir}/services/kcm_krec_files.desktop +%{tde_datadir}/services/krec_exportogg.desktop +%{tde_datadir}/services/krec_exportwave.desktop +%{tde_datadir}/servicetypes/krec_exportitem.desktop +%{tde_tdedocdir}/HTML/en/krec/ + +%post -n trinity-krec +/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-krec +/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-kscd +Summary: Audio CD player for Trinity +Group: Applications/Multimedia + +%description -n trinity-kscd +This is Trinity's audio CD player. + +%files -n trinity-kscd +%defattr(-,root,root,-) +%{tde_bindir}/kscd +%{tde_bindir}/workman2cddb.pl +%{tde_tdeappdir}/kscd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop +%{tde_datadir}/apps/kscd/ +%{tde_datadir}/apps/profiles/kscd.profile.xml +%{tde_datadir}/config.kcfg/kscd.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kscd.png +%{tde_datadir}/mimelnk/text/xmcd.desktop +%{tde_tdedocdir}/HTML/en/kscd/ + +%post -n trinity-kscd +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-kscd +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-libarts-akode +Summary: Akode plugin for aRts +Group: Environment/Libraries + +%description -n trinity-libarts-akode +This package contains akode plugins for aRts. + +%files -n trinity-libarts-akode +%defattr(-,root,root,-) +%{tde_libdir}/libarts_akode.so.* +%{tde_libdir}/libarts_akode.la +%{tde_libdir}/mcop/akodearts.mcoptype +%{tde_libdir}/mcop/akodearts.mcopclass +%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass +%{tde_libdir}/mcop/akodePlayObject.mcopclass +%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass + +# Requires MAD support +%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass + +%post -n trinity-libarts-akode +/sbin/ldconfig + +%postun -n trinity-libarts-akode +/sbin/ldconfig + +########## + +%package -n trinity-libarts-audiofile +Summary: Audiofile plugin for aRts +Group: Environment/Libraries + +%description -n trinity-libarts-audiofile +This package contains audiofile plugins for aRts. + +%files -n trinity-libarts-audiofile +%defattr(-,root,root,-) +%{tde_libdir}/libarts_audiofile.so.* +%{tde_libdir}/libarts_audiofile.la +%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcoptype + +%post -n trinity-libarts-audiofile +/sbin/ldconfig + +%postun -n trinity-libarts-audiofile +/sbin/ldconfig + +########## + +%package -n trinity-libarts-mpeglib +Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video +Group: Environment/Libraries + +%description -n trinity-libarts-mpeglib +This package contains the mpeglib aRts plugin, supporting mp3 and mpeg +audio and video. + +This is the arts (TDE Sound daemon) plugin. + +%files -n trinity-libarts-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/mpeglibartsplay +%{tde_libdir}/libarts_mpeglib-0.3.0.so.* +%{tde_libdir}/libarts_mpeglib.la +%{tde_libdir}/libarts_splay.so.* +%{tde_libdir}/libarts_splay.la +%{tde_libdir}/mcop/CDDAPlayObject.mcopclass +%{tde_libdir}/mcop/MP3PlayObject.mcopclass +%{tde_libdir}/mcop/NULLPlayObject.mcopclass +%{tde_libdir}/mcop/OGGPlayObject.mcopclass +%{tde_libdir}/mcop/SplayPlayObject.mcopclass +%{tde_libdir}/mcop/WAVPlayObject.mcopclass + +%post -n trinity-libarts-mpeglib +/sbin/ldconfig + +%postun -n trinity-libarts-mpeglib +/sbin/ldconfig + +########## + +%if 0%{?with_xine} +%package -n trinity-libarts-xine +Summary: aRts plugin enabling xine support +Group: Environment/Libraries + +%description -n trinity-libarts-xine +This package contains aRts' xine plugin, allowing the use of the xine +multimedia engine though aRts. + +%files -n trinity-libarts-xine +%defattr(-,root,root,-) +%{tde_tdelibdir}/videothumbnail.la +%{tde_tdelibdir}/videothumbnail.so +%{tde_libdir}/libarts_xine.so.* +%{tde_libdir}/libarts_xine.la +%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass +%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass +%{tde_datadir}/apps/videothumbnail/sprocket-large.png +%{tde_datadir}/apps/videothumbnail/sprocket-medium.png +%{tde_datadir}/apps/videothumbnail/sprocket-small.png +%{tde_datadir}/services/videothumbnail.desktop + +%post -n trinity-libarts-xine +/sbin/ldconfig + +%postun -n trinity-libarts-xine +/sbin/ldconfig +%endif + +########## + +%package -n trinity-libkcddb +Summary: CDDB library for Trinity +Group: Environment/Libraries + +%description -n trinity-libkcddb +The Trinity native CDDB (CD Data Base) library, providing easy access to Audio +CD meta-information (track titles, artist information, etc.) from on-line +databases, for TDE applications. + +%files -n trinity-libkcddb +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_cddb.la +%{tde_tdelibdir}/kcm_cddb.so +%{tde_libdir}/libkcddb.so.* +%{tde_tdeappdir}/libkcddb.desktop +%{tde_datadir}/apps/kconf_update/kcmcddb-emailsettings.upd +%{tde_datadir}/config.kcfg/libkcddb.kcfg + +%post -n trinity-libkcddb +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-libkcddb +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-mpeglib +Summary: MP3 and MPEG-1 audio and video library +Group: Environment/Libraries +Requires: trinity-libarts-mpeglib = %{version}-%{release} + +%description -n trinity-mpeglib +mpeglib is a MPEG-1 and MP3 audio and video library. It supports +MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, +and WAV playback + +%files -n trinity-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/yaf-cdda +%{tde_bindir}/yaf-mpgplay +%{tde_bindir}/yaf-splay +%{tde_bindir}/yaf-tplay +%{tde_bindir}/yaf-vorbis +%{tde_bindir}/yaf-yuv +%{tde_libdir}/libmpeg-0.3.0.so +%{tde_libdir}/libyafcore.so +%{tde_libdir}/libyafxplayer.so + +%post -n trinity-mpeglib +/sbin/ldconfig + +%postun -n trinity-mpeglib +/sbin/ldconfig + +########## + +%package -n trinity-noatun +Summary: Media player for Trinity +Group: Applications/Multimedia + +# 20120802: Hack to avoid dependency issue on MGA2 and MDV2011 +%if 0%{?mgaversion} || 0%{?mdkversion} +Provides: devel(libnoatunarts) +Provides: devel(libnoatunarts(64bit)) +%endif + +%description -n trinity-noatun +Noatun is an aRts-based audio and video player for Trinity. It supports all +formats supported by your installation of aRts (including aRts plugins). + +%files -n trinity-noatun +%defattr(-,root,root,-) +%{tde_bindir}/noatun +%{tde_libdir}/kconf_update_bin/noatun20update +%{tde_tdelibdir}/noatun.la +%{tde_tdelibdir}/noatun.so +%{tde_tdelibdir}/noatun_dcopiface.la +%{tde_tdelibdir}/noatun_dcopiface.so +%{tde_tdelibdir}/noatun_excellent.la +%{tde_tdelibdir}/noatun_excellent.so +%{tde_tdelibdir}/noatun_htmlexport.la +%{tde_tdelibdir}/noatun_htmlexport.so +%{tde_tdelibdir}/noatun_infrared.la +%{tde_tdelibdir}/noatun_infrared.so +%{tde_tdelibdir}/noatun_kaiman.la +%{tde_tdelibdir}/noatun_kaiman.so +%{tde_tdelibdir}/noatun_keyz.la +%{tde_tdelibdir}/noatun_keyz.so +%{tde_tdelibdir}/noatun_kjofol.la +%{tde_tdelibdir}/noatun_kjofol.so +%{tde_tdelibdir}/noatun_marquis.la +%{tde_tdelibdir}/noatun_marquis.so +%{tde_tdelibdir}/noatun_metatag.la +%{tde_tdelibdir}/noatun_metatag.so +%{tde_tdelibdir}/noatun_monoscope.la +%{tde_tdelibdir}/noatun_monoscope.so +%{tde_tdelibdir}/noatun_net.la +%{tde_tdelibdir}/noatun_net.so +%{tde_tdelibdir}/noatun_splitplaylist.la +%{tde_tdelibdir}/noatun_splitplaylist.so +%{tde_tdelibdir}/noatun_systray.la +%{tde_tdelibdir}/noatun_systray.so +%{tde_tdelibdir}/noatun_ui.la +%{tde_tdelibdir}/noatun_ui.so +%{tde_tdelibdir}/noatun_voiceprint.la +%{tde_tdelibdir}/noatun_voiceprint.so +%{tde_tdelibdir}/noatun_winskin.la +%{tde_tdelibdir}/noatun_winskin.so +%{tde_tdelibdir}/noatunsimple.la +%{tde_tdelibdir}/noatunsimple.so +%{tde_libdir}/libartseffects.la +%{tde_libdir}/libartseffects.so +%{tde_libdir}/lib[kt]deinit_noatun.so +%{tde_libdir}/libnoatun.so.* +%{tde_libdir}/libnoatunarts.la +%{tde_libdir}/libnoatunarts.so +%{tde_libdir}/libnoatuncontrols.so.* +%{tde_libdir}/libnoatuntags.so.* +%{tde_libdir}/libwinskinvis.la +%{tde_libdir}/libwinskinvis.so +%{tde_libdir}/mcop/ExtraStereo.mcopclass +%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass +%{tde_libdir}/mcop/Noatun/ +%{tde_libdir}/mcop/RawWriter.mcopclass +%{tde_libdir}/mcop/VoiceRemoval.mcopclass +%{tde_libdir}/mcop/artseffects.mcopclass +%{tde_libdir}/mcop/artseffects.mcoptype +%{tde_libdir}/mcop/noatunarts.mcopclass +%{tde_libdir}/mcop/noatunarts.mcoptype +%{tde_libdir}/mcop/winskinvis.mcopclass +%{tde_libdir}/mcop/winskinvis.mcoptype +%{tde_tdeappdir}/noatun.desktop +%{tde_datadir}/apps/kconf_update/noatun.upd +%{tde_datadir}/apps/noatun/ +%{tde_datadir}/icons/hicolor/*/apps/noatun.png +%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop +%{tde_tdedocdir}/HTML/en/noatun/ + +%post -n trinity-noatun +/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-noatun +/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 devel +Summary: Development files for %{name}, aRts and noatun plugins +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= 3.5.13 + +Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} +Provides: trinity-kdemultimedia-devel = %{version}-%{release} + +%description devel +{summary}. + +Install %{name}-devel if you wish to develop or compile any +applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or +noatun plugins. + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/* +%{tde_libdir}/libarts_akode.so +%{tde_libdir}/libarts_audiofile.so +%{tde_libdir}/libarts_mpeglib.so +%{tde_libdir}/libarts_splay.so +%{?with_xine:%{tde_libdir}/libarts_xine.so} +%{tde_libdir}/libartsbuilder.so +%{tde_libdir}/libartscontrolapplet.so +%{tde_libdir}/libartscontrolsupport.so +%{tde_libdir}/libartsgui.so +%{tde_libdir}/libartsgui_idl.so +%{tde_libdir}/libartsgui_kde.so +%{tde_libdir}/libartsmidi.so +%{tde_libdir}/libartsmidi_idl.so +%{tde_libdir}/libartsmodules.so +%{tde_libdir}/libartsmodulescommon.so +%{tde_libdir}/libartsmoduleseffects.so +%{tde_libdir}/libartsmodulesmixers.so +%{tde_libdir}/libartsmodulessynth.so +%{tde_libdir}/libaudiocdplugins.la +%{tde_libdir}/libaudiocdplugins.so +%{tde_libdir}/libkcddb.la +%{tde_libdir}/libkcddb.so +%{tde_libdir}/lib[kt]deinit_kmix.la +%{tde_libdir}/lib[kt]deinit_kmixctrl.la +%{tde_libdir}/lib[kt]deinit_krec.la +%{tde_libdir}/lib[kt]deinit_noatun.la +%{tde_libdir}/libkmidlib.la +%{tde_libdir}/libkmidlib.so +%{tde_libdir}/libmpeg.la +%{tde_libdir}/libmpeg.so +%{tde_libdir}/libnoatun.la +%{tde_libdir}/libnoatun.so +%{tde_libdir}/libnoatuncontrols.la +%{tde_libdir}/libnoatuncontrols.so +%{tde_libdir}/libnoatuntags.la +%{tde_libdir}/libnoatuntags.so +%{tde_libdir}/libyafcore.la +%{tde_libdir}/libyafxplayer.la + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +# Specific path for RHEL4 +if [ -d "/usr/X11R6" ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --datadir=%{tde_datadir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --with-cdparanoia \ + --with-flac \ + --with-theora \ + --with-vorbis \ + --with-alsa \ + --with-gstreamer \ + --with-lame \ + --disable-debug \ + --disable-warnings \ + --enable-final \ + --disable-rpath \ + %{?_with_akode} %{!?_with_akode:--without-akode} \ + %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ + %{?_with_taglib} %{!?_with_taglib:--without-taglib} \ + %{?with_xine:--with-xine} %{!?with_xine:--without-xine} \ + --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{buildroot} + +# don't make these world-writeable +chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/* + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# Moves the XDG configuration files to TDE directory +%__install -p -D -m644 \ + "%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/kde-multimedia-music.menu" \ + "%{?buildroot}%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu" +%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 17 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2 +- Enable "LAME" support + +* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdenetwork/kdenetwork-3.2.3-resolv.patch b/redhat/tdenetwork/kdenetwork-3.2.3-resolv.patch index 11d1c6cb6..4f7903d6d 100644 --- a/redhat/tdenetwork/kdenetwork-3.2.3-resolv.patch +++ b/redhat/tdenetwork/kdenetwork-3.2.3-resolv.patch @@ -4,9 +4,9 @@ void addpeerdns() { int fd, fd2; -+ QString p = "/var/run/ppp/resolv.conf"; ++ TQString p = "/var/run/ppp/resolv.conf"; + -+ if (!QFile::exists(p)) ++ if (!TQFile::exists(p)) + p = "/etc/ppp/resolv.conf"; if((fd = Requester::rq->openResolv(O_WRONLY|O_APPEND)) >= 0) { diff --git a/redhat/tdenetwork/trinity-tdenetwork-14.0.0.spec b/redhat/tdenetwork/trinity-tdenetwork-14.0.0.spec new file mode 100644 index 000000000..debd146aa --- /dev/null +++ b/redhat/tdenetwork/trinity-tdenetwork-14.0.0.spec @@ -0,0 +1,1197 @@ +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 + +# If TDE is built iwn a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_sbindir %{tde_prefix}/sbin + +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +# Fedora review: http://bugzilla.redhat.com/195486 + +## Conditional build: +# RHEL6: xmms is outdated ! +#define _with_xmms --with-xmms +%ifnarch s390 s390x +%define _with_wifi --with-wifi +%endif + +Name: trinity-tdenetwork +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +Summary: Trinity Desktop Environment - Network Applications + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ + +License: GPLv2 +Group: Applications/Internet + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: kppp.pamd +Source2: ktalk +Source4: lisarc +Source5: lisa.redhat + +# RedHat/Fedora legacy patches +Patch4: kdenetwork-3.2.3-resolv.patch +# include more/proper ppp headers +Patch6: kdenetwork-3.5.9-krfb_httpd.patch + +# [kdenetwork] Missing LDFLAGS cause FTBFS +Patch1: kdenetwork-3.5.13-missing_ldflags.patch + +# RHEL4 specific +Patch201: kdenetwork-3.5.13.1-fix_rhel4_libraries.patch +Patch202: tdenetwork-3.5.13.2-fix_conflicting_definitions.patch + +BuildRequires: cmake >= 2.8 +BuildRequires: gettext +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: coreutils +BuildRequires: openssl-devel +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: sqlite3-devel +%else +BuildRequires: sqlite-devel +%endif +BuildRequires: gnutls-devel +BuildRequires: libxtst-devel + +# GADU support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_gadu 1 +BuildRequires: libgadu-devel +%endif + +%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 +BuildRequires: libXmu-devel +BuildRequires: libXScrnSaver-devel +BuildRequires: libXtst-devel +BuildRequires: libXxf86vm-devel +%endif + +# Wifi support +%if "%{?_with_wifi:1}" == "1" +%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 +BuildRequires: wireless-tools-devel +%endif +%if 0%{?mgaversion} == 2 || 0%{?mdkversion} +BuildRequires: %{_lib}iw29-devel +%endif +%if 0%{?rhel} == 5 +BuildRequires: wireless-tools +%endif +%if 0%{?suse_version} || 0%{?mgaversion} >= 3 +BuildRequires: libiw-devel +%endif +%endif + +# OpenSLP support +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_openslp 1 +BuildRequires: openslp-devel +%endif + +%ifarch %{ix86} +# BR: %{tde_includedir}/valgrind/valgrind.h +BuildRequires: valgrind +%endif + +%{?_with_xmms:BuildRequires: xmms-devel} + +# V4L support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} +BuildRequires: libv4l-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}v4l-devel +%endif + +# XML support +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel + +#jabber +BuildRequires: libidn-devel +#jabber/jingle +%if 0%{?suse_version} +BuildRequires: libexpat-devel +%else +BuildRequires: expat-devel +%endif +BuildRequires: glib2-devel +BuildRequires: speex-devel +# jabber/ssl +#{?fedora:Requires(hint): qca-tls} +Requires: jasper + +# MEANWHILE support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} +%define with_meanwhile 1 +BuildRequires: meanwhile-devel +%endif + +# ORTP support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: ortp-devel +%endif + +# SPEEX support +%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} +%define with_speex 1 +BuildRequires: speex-devel +%endif + +# CONSOLEHELPER (usermode) support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_consolehelper 1 + +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 +%endif + +Obsoletes: trinity-kdenetwork < %{version}-%{release} +Provides: trinity-kdenetwork = %{version}-%{release} +Obsoletes: trinity-kdenetwork-libs < %{version}-%{release} +Provides: trinity-kdenetwork-libs = %{version}-%{release} +Obsoletes: trinity-kdenetwork-extras < %{version}-%{release} +Provides: trinity-kdenetwork-extras = %{version}-%{release} +Obsoletes: tdenetwork < %{version}-%{release} +Provides: tdenetwork = %{version}-%{release} + +Requires: trinity-dcoprss = %{version}-%{release} +Requires: %{name}-filesharing = %{version}-%{release} +Requires: trinity-kdict = %{version}-%{release} +Requires: %{name}-tdefile-plugins = %{version}-%{release} +Requires: trinity-kget = %{version}-%{release} +Requires: trinity-knewsticker = %{version}-%{release} +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-kopete-nowlistening = %{version}-%{release} +Requires: trinity-kpf = %{version}-%{release} +Requires: trinity-kppp = %{version}-%{release} +Requires: trinity-krdc = %{version}-%{release} +Requires: trinity-krfb = %{version}-%{release} +Requires: trinity-ksirc = %{version}-%{release} +Requires: trinity-ktalkd = %{version}-%{release} +Requires: trinity-kwifimanager = %{version}-%{release} +Requires: trinity-librss = %{version}-%{release} +Requires: trinity-lisa = %{version}-%{release} + +%description +This metapackage includes a collection of network and networking related +applications provided with the official release of Trinity. + +Networking applications, including: +* dcoprss: RSS utilities for Trinity +* filesharing: Network filesharing configuration module for Trinity +* kdict: Dictionary client for Trinity +* tdefile-plugins: Torrent metainfo plugin for Trinity +* kget: downloader manager +* knewsticker: RDF newsticker applet +* kopete: chat client +* kopete-nowlistening: (xmms) plugin for Kopete. +* kpf: Public fileserver for Trinity +* kppp: dialer and front end for pppd +* krdc: a client for Desktop Sharing and other VNC servers +* krfb: Desktop Sharing server, allow others to access your desktop via VNC +* ksirc: IRC client for Trinity +* ktalkd: Talk daemon for Trinity +* kwifimanager: Wireless lan manager for Trinity +* librss: RSS library for Trinity +* lisa: lan information server + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README + + +########## + +%package -n trinity-dcoprss +Summary: RSS utilities for Trinity +Group: Applications/Internet + +%description -n trinity-dcoprss +dcoprss is a RSS to DCOP bridge, allowing all +DCOP aware applications to access RSS news feeds. There is also +a few sample utilities provided. +RSS is a standard for publishing news headlines. +DCOP is the TDE interprocess communication protocol. + +%files -n trinity-dcoprss +%defattr(-,root,root,-) +%{tde_bindir}/feedbrowser +%{tde_bindir}/rssclient +%{tde_bindir}/rssservice +%{tde_datadir}/services/rssservice.desktop + +%post -n trinity-dcoprss +update-desktop-database 2> /dev/null || : + +%postun -n trinity-dcoprss +update-desktop-database 2> /dev/null || : + +########## + +%package devel +Summary: Development files for the Trinity network module +Group: Development/Libraries +Requires: trinity-kdict = %{version}-%{release} +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-ksirc = %{version}-%{release} +Requires: trinity-librss = %{version}-%{release} +Requires: trinity-kdelibs-devel + +Obsoletes: trinity-kdenetwork-devel < %{version}-%{release} +Provides: trinity-kdenetwork-devel = %{version}-%{release} +Obsoletes: tdenetwork-devel < %{version}-%{release} +Provides: tdenetwork-devel = %{version}-%{release} + +%description devel +This is the development package which contains the headers for the KDE RSS +library as well as the Kopete chat client, as well as miscellaneous +development-related files for the TDE network module. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kopete/*.h +%{tde_tdeincludedir}/kopete/ui/*.h +%{tde_tdeincludedir}/rss/*.h +%{tde_libdir}/libtdeinit_kdict.la +%{tde_libdir}/libtdeinit_ksirc.la +%{tde_libdir}/libkopete.la +%{tde_libdir}/libkopete.so +%{tde_libdir}/libkopete_msn_shared.la +%{tde_libdir}/libkopete_msn_shared.so +%{tde_libdir}/libkopete_oscar.la +%{tde_libdir}/libkopete_oscar.so +%{tde_libdir}/libkopete_videodevice.la +%{tde_libdir}/libkopete_videodevice.so +%{tde_libdir}/librss.la +%{tde_libdir}/librss.so + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%package filesharing +#Recommends: perl-suid +Summary: Network filesharing configuration module for Trinity +Group: Applications/Internet + +Obsoletes: tdenetwork-filesharing < %{version}-%{release} +Provides: tdenetwork-filesharing = %{version}-%{release} + +%description filesharing +This package provides a TDE Control Center module to configure +NFS and Samba. + +%files filesharing +%defattr(-,root,root,-) +%{tde_tdelibdir}/fileshare_propsdlgplugin.la +%{tde_tdelibdir}/fileshare_propsdlgplugin.so +%{tde_tdelibdir}/kcm_fileshare.la +%{tde_tdelibdir}/kcm_fileshare.so +%{tde_tdelibdir}/kcm_kcmsambaconf.la +%{tde_tdelibdir}/kcm_kcmsambaconf.so +%{tde_tdeappdir}/fileshare.desktop +%{tde_tdeappdir}/kcmsambaconf.desktop +%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png +%{tde_datadir}/services/fileshare_propsdlgplugin.desktop + +%post filesharing +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun filesharing +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kdict +Summary: Dictionary client for Trinity +Group: Applications/Internet + +%description -n trinity-kdict +KDict is an advanced TDE graphical client for the DICT Protocol, with full +Unicode support. It enables you to search through dictionary databases for a +word or phrase, then displays suitable definitions. KDict tries to ease +basic as well as advanced queries. + +%files -n trinity-kdict +%defattr(-,root,root,-) +%{tde_bindir}/kdict +%{tde_tdelibdir}/kdict.* +%{tde_tdelibdir}/kdict_panelapplet.* +%{tde_libdir}/libtdeinit_kdict.* +%{tde_tdeappdir}/kdict.desktop +%{tde_datadir}/apps/kdict +%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop +%{tde_datadir}/icons/hicolor/*/apps/kdict.* +%{tde_tdedocdir}/HTML/en/kdict + +%post -n trinity-kdict +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kdict +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package tdefile-plugins +Summary: Torrent metainfo plugin for Trinity +Group: Applications/Internet + +Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release} +Provides: tdenetwork-kfile-plugins = %{version}-%{release} +Obsoletes: trinity-tdenetwork-kfile-plugins < %{version}-%{release} +Provides: trinity-tdenetwork-kfile-plugins = %{version}-%{release} + +%description tdefile-plugins +This package provides a metainformation plugin for bittorrent files. +TDE uses tdefile-plugins to provide metainfo tab in the files properties +dialog in konqueror and other file-handling applications. + +%files tdefile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdefile_torrent.la +%{tde_tdelibdir}/tdefile_torrent.so +%{tde_datadir}/services/tdefile_torrent.desktop + +%post tdefile-plugins +update-desktop-database 2> /dev/null || : + +%postun tdefile-plugins +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kget +Summary: download manager for Trinity +Group: Applications/Internet + +%description -n trinity-kget +KGet is a a download manager similar to GetRight or Go!zilla. It keeps +all your downloads in one dialog and you can add and remove transfers. +Transfers can be paused, resumed, queued or scheduled. +Dialogs display info about status of transfers - progress, size, speed +and remaining time. Program supports drag & drop from TDE +applications and Netscape. + +%files -n trinity-kget +%defattr(-,root,root,-) +%{tde_bindir}/kget +%{tde_tdelibdir}/tdehtml_kget.la +%{tde_tdelibdir}/tdehtml_kget.so +%{tde_tdeappdir}/kget.desktop +%{tde_datadir}/apps/kget +%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.desktop +%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.rc +%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/tdehtml_kget.png +%{tde_datadir}/icons/crystalsvg/*/apps/kget.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png +%{tde_datadir}/mimelnk/application/x-kgetlist.desktop +%{tde_datadir}/sounds/KGet_Added.ogg +%{tde_datadir}/sounds/KGet_Finished.ogg +%{tde_datadir}/sounds/KGet_Finished_All.ogg +%{tde_datadir}/sounds/KGet_Started.ogg +%{tde_tdedocdir}/HTML/en/kget + +%post -n trinity-kget +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kget +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-knewsticker +Summary: news ticker applet for Trinity +Group: Applications/Internet + +%description -n trinity-knewsticker +This is a news ticker applet for the Trinity panel. It can scroll news from +your favorite news sites, such as lwn.net, /. and freshmeat.net. +To achieve this, KNewsTicker requires the news sites to provide a +RSS feed to newsitems. KNewsTicker already comes with a selection of +good news sources which provide such files. + +%files -n trinity-knewsticker +%defattr(-,root,root,-) +%{tde_bindir}/knewstickerstub +%{tde_tdelibdir}/knewsticker_panelapplet.la +%{tde_tdelibdir}/knewsticker_panelapplet.so +%{tde_tdelibdir}/libkntsrcfilepropsdlg.la +%{tde_tdelibdir}/libkntsrcfilepropsdlg.so +%{tde_tdeappdir}/knewsticker-standalone.desktop +%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop +%{tde_datadir}/apps/tdeconf_update/knewsticker.upd +%{tde_datadir}/apps/tdeconf_update/knt-0.1-0.2.pl +%{tde_datadir}/apps/kicker/applets/knewsticker.desktop +%{tde_datadir}/apps/knewsticker/eventsrc +%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png +%{tde_datadir}/services/kntsrcfilepropsdlg.desktop +%{tde_tdedocdir}/HTML/en/knewsticker + +%post -n trinity-knewsticker +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-knewsticker +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kopete +Summary: instant messenger for Trinity +Group: Applications/Internet +URL: http://kopete.kde.org + +%description -n trinity-kopete +Kopete is an instant messenger program which can communicate with a variety +of IM systems, such as Yahoo, ICQ, MSN, IRC and Jabber. + +Support for more IM protocols can be added through a plugin system. + +%files -n trinity-kopete +%defattr(-,root,root,-) +# nowlistening support +%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui* +%exclude %{tde_datadir}/apps/kopete/*nowlisteningui* +%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg +%exclude %{tde_datadir}/services/tdeconfiguredialog/*nowlistening* +%exclude %{tde_datadir}/services/*nowlistening* +%exclude %{tde_tdelibdir}/*nowlistening* +# Main kopete package +%{tde_bindir}/kopete +%{tde_bindir}/kopete_latexconvert.sh +%{tde_libdir}/tdeconf_update_bin/kopete-account-tdeconf_update +%{tde_libdir}/tdeconf_update_bin/kopete-nameTracking-tdeconf_update +%{tde_libdir}/tdeconf_update_bin/kopete-pluginloader2-tdeconf_update +%{tde_tdelibdir}/kcm_kopete_*.so +%{tde_tdelibdir}/kcm_kopete_*.la +%{tde_tdelibdir}/tdeio_jabberdisco.la +%{tde_tdelibdir}/tdeio_jabberdisco.so +%{tde_tdelibdir}/kopete_*.la +%{tde_tdelibdir}/kopete_*.so +%{tde_tdelibdir}/libkrichtexteditpart.la +%{tde_tdelibdir}/libkrichtexteditpart.so +%{tde_libdir}/libkopete_msn_shared.so.* +%{tde_libdir}/libkopete_oscar.so.* +%{tde_libdir}/libkopete.so.* +%{tde_libdir}/libkopete_videodevice.so.* +%{tde_tdeappdir}/kopete.desktop +%{tde_datadir}/apps/tdeconf_update/kopete-* +%{tde_datadir}/apps/kopete +%{tde_datadir}/apps/kopete_*/*.rc +%{tde_datadir}/apps/kopeterichtexteditpart/kopeterichtexteditpartfull.rc +%{tde_datadir}/config.kcfg/historyconfig.kcfg +%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg +%{tde_datadir}/config.kcfg/kopete.kcfg +%{tde_datadir}/config.kcfg/latexconfig.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png +%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png +%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png +%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_original.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png +%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png +%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png +%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz +%{tde_datadir}/icons/hicolor/*/apps/kopete.png +%{tde_datadir}/icons/hicolor/*/actions/emoticon.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng +%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_original.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png +%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png +%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png +%{tde_datadir}/icons/hicolor/*/actions/newmsg.png +%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png +%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png +%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png +%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/newmessage.mng +%{tde_datadir}/icons/hicolor/*/actions/newmessage.mng +%{tde_datadir}/mimelnk/application/x-icq.desktop +%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop +%{tde_datadir}/services/aim.protocol +%{tde_datadir}/services/chatwindow.desktop +%{tde_datadir}/services/emailwindow.desktop +%{tde_datadir}/services/jabberdisco.protocol +%{tde_datadir}/services/tdeconfiguredialog/kopete_*.desktop +%{tde_datadir}/services/kopete_*.desktop +%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png +%{tde_datadir}/servicetypes/kopete*.desktop +%{tde_datadir}/sounds/Kopete_*.ogg +%{tde_tdedocdir}/HTML/en/kopete +# jingle support for kopete +%{tde_bindir}/relayserver +%{tde_bindir}/stunserver +# winpopup support for kopete +%{tde_bindir}/winpopup-install.sh +%{tde_bindir}/winpopup-send.sh +# motionaway plugin for kopete +%{tde_datadir}/config.kcfg/motionawayconfig.kcfg +# smpp plugin for kopete +%{tde_datadir}/config.kcfg/smpppdcs.kcfg + + +%post -n trinity-kopete +for f in crystalsvg hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +%postun -n trinity-kopete +for f in crystalsvg hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +########## + +%package -n trinity-kopete-nowlistening +Summary: Nowlistening (xmms) plugin for Kopete. +Group: Applications/Internet + +%description -n trinity-kopete-nowlistening +Kopete includes the "Now Listening" plug-in that can report what music you +are currently listening to, in a number of different players, including +noatun, kscd, juk, kaffeine and amarok. + +%files -n trinity-kopete-nowlistening +%defattr(-,root,root,-) +%{tde_datadir}/apps/kopete/*nowlisteningchatui* +%{tde_datadir}/apps/kopete/*nowlisteningui* +%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg +%{tde_datadir}/services/tdeconfiguredialog/*nowlistening* +%{tde_datadir}/services/*nowlistening* +%{tde_tdelibdir}/*nowlistening* + +########## + +%package -n trinity-kpf +Summary: Public fileserver for Trinity +Group: Applications/Internet + +%description -n trinity-kpf +kpf provides simple file sharing using HTTP. kpf is strictly a public +fileserver, which means that there are no access restrictions to shared +files. Whatever you select for sharing is available to anyone. kpf is +designed to be used for sharing files with friends. + +%files -n trinity-kpf +%defattr(-,root,root,-) +%{tde_tdelibdir}/kpf* +%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kpf.* +%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop +%{tde_tdedocdir}/HTML/en/kpf + +%post -n trinity-kpf +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kpf +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kppp +Summary: modem dialer and ppp frontend for Trinity +Group: Applications/Internet +Requires: ppp + +%if 0%{?with_consolehelper} +# package 'usermode' provides '/usr/bin/consolehelper-gtk' +%if 0%{?rhel} || 0%{?fedora} +Requires: usermode-gtk +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: usermode +%endif +%endif + +%description -n trinity-kppp +KPPP is a dialer and front end for pppd. It allows for interactive +script generation and network setup. It will automate the dialing in +process to your ISP while letting you conveniently monitor the entire +process. + +Once connected KPPP will provide a rich set of statistics and keep +track of the time spent online for you. + +%files -n trinity-kppp +%defattr(-,root,root,-) +%{?!with_consolehelper:%{tde_bindir}/kppp} +%{tde_bindir}/kppplogview +%{tde_tdeappdir}/Kppp.desktop +%{tde_tdeappdir}/kppplogview.desktop +%{tde_datadir}/apps/kppp/ +%{tde_datadir}/icons/hicolor/*/apps/kppp.png +%{tde_tdedocdir}/HTML/en/kppp/ + +%if 0%{?with_consolehelper} +%config(noreplace) /etc/security/console.apps/kppp3 +%config(noreplace) /etc/pam.d/kppp3 +%{_sbindir}/kppp3 +%{tde_bindir}/kppp3 +%{tde_sbindir}/kppp3 +%endif + +%post -n trinity-kppp +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kppp +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-krdc +Summary: Remote Desktop Connection for Trinity +Group: Applications/Internet +Requires: rdesktop + +%description -n trinity-krdc +krdc is an TDE graphical client for the rfb protocol, used by VNC, +and if rdesktop is installed, krdc can connect to Windows Terminal +Servers using RDP. + +%files -n trinity-krdc +%defattr(-,root,root,-) +%{tde_bindir}/krdc +%{tde_tdeappdir}/krdc.desktop +%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop +%{tde_datadir}/apps/krdc/ +%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png +%{tde_datadir}/services/rdp.protocol +%{tde_datadir}/services/vnc.protocol +%{tde_tdedocdir}/HTML/en/krdc/ + +%post -n trinity-krdc +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-krdc +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-krfb +Summary: Desktop Sharing for Trinity +Group: Applications/Internet + +%description -n trinity-krfb +Desktop Sharing (krfb) is a server application that allows you to share +your current session with a user on another machine, who can use a +VNC client like krdc to view or even control the desktop. It doesn't +require you to start a new X session - it can share the current session. +This makes it very useful when you want someone to help you perform a +task. + +%files -n trinity-krfb +%defattr(-,root,root,-) +%{tde_bindir}/krfb +%{tde_bindir}/krfb_httpd +%{tde_tdelibdir}/kcm_krfb.la +%{tde_tdelibdir}/kcm_krfb.so +%{tde_tdelibdir}/kded_kinetd.la +%{tde_tdelibdir}/kded_kinetd.so +%{tde_tdeappdir}/kcmkrfb.desktop +%{tde_tdeappdir}/krfb.desktop +%{tde_datadir}/apps/kinetd/eventsrc +%{tde_datadir}/apps/krfb +%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png +%{tde_datadir}/icons/locolor/*/apps/krfb.png +%{tde_datadir}/services/kded/kinetd.desktop +%{tde_datadir}/services/kinetd_krfb.desktop +%{tde_datadir}/services/kinetd_krfb_httpd.desktop +%{tde_datadir}/servicetypes/kinetdmodule.desktop +%{tde_tdedocdir}/HTML/en/krfb + +%post -n trinity-krfb +for f in crystalsvg locolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-krfb +for f in crystalsvg locolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-ksirc +Summary: IRC client for Trinity +Group: Applications/Internet + +%description -n trinity-ksirc +KSirc is an IRC chat client for KDE. It supports scripting with Perl and has a +lot of compatibility with mIRC for general use. + +If you want to connect to an IRC server via SSL, you will need to install the +recommended package libio-socket-ssl-perl. + +%files -n trinity-ksirc +%defattr(-,root,root,-) +%{tde_bindir}/dsirc +%{tde_bindir}/ksirc +%{tde_libdir}/libtdeinit_ksirc.* +%{tde_tdelibdir}/ksirc.* +%{tde_tdeappdir}/ksirc.desktop +%{tde_datadir}/apps/ksirc/ +%config(noreplace) %{tde_datadir}/config/ksircrc +%{tde_datadir}/icons/hicolor/*/apps/ksirc.* +%{tde_tdedocdir}/HTML/??/ksirc/ + +%post -n trinity-ksirc +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + + +%postun -n trinity-ksirc +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +########## + +%package -n trinity-ktalkd +Summary: Talk daemon for Trinity +Group: Applications/Internet + +%description -n trinity-ktalkd +KTalkd is an enhanced talk daemon - a program to handle incoming talk +requests, announce them and allow you to respond to it using a talk +client. Note that KTalkd is designed to run on a single-user workstation, +and shouldn't be run on a multi-user machine. + +%files -n trinity-ktalkd +%defattr(-,root,root,-) +%{tde_bindir}/ktalkd* +%{tde_bindir}/mail.local +%{tde_tdelibdir}/kcm_ktalkd.* +%{tde_tdeappdir}/kcmktalkd.desktop +%config(noreplace) %{tde_datadir}/config/ktalkdrc +%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.* +%{tde_datadir}/sounds/ktalkd.wav +%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk +%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd +%{tde_tdedocdir}/HTML/en/ktalkd + +%post -n trinity-ktalkd +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-ktalkd +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%if "%{?_with_wifi:1}" == "1" +%package -n trinity-kwifimanager +Summary: Wireless lan manager for Trinity +Group: Applications/Internet + +%description -n trinity-kwifimanager +KWiFiManager suite is a set of tools which allows you to manage your +wireless LAN connection under the K Desktop Environment. It provides +information about your current connection. KWiFiManager supports every +wavelan card that uses the wireless extensions interface. + +%files -n trinity-kwifimanager +%defattr(-,root,root,-) +%{tde_bindir}/kwifimanager +%{tde_tdelibdir}/kcm_wifi.* +%{tde_libdir}/libkwireless.la +%{tde_libdir}/libkwireless.so +%{tde_tdeappdir}/kcmwifi.desktop +%{tde_tdeappdir}/kwifimanager.desktop +%{tde_datadir}/apps/kicker/applets/kwireless.desktop +%{tde_datadir}/apps/kwifimanager +%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png +%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz +%doc %{tde_tdedocdir}/HTML/en/kwifimanager + +%post -n trinity-kwifimanager +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kwifimanager +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +%endif + +########## + +%package -n trinity-librss +Summary: RSS library for Trinity +Group: Environment/Libraries + +%description -n trinity-librss +This is the runtime package for programs that use the TDE RSS library. +End users should not need to install this, it should get installed +automatically when needed. + +%files -n trinity-librss +%defattr(-,root,root,-) +%{tde_libdir}/librss.so.* +%{tde_datadir}/cmake/librss.cmake + +%post -n trinity-librss +/sbin/ldconfig + +%postun -n trinity-librss +/sbin/ldconfig + +########## + +%package -n trinity-lisa +Summary: LAN information server for Trinity +Group: Applications/Internet +%if 0%{?suse_version} +Requires(preun): aaa_base +Requires(post): aaa_base +%else +Requires(preun): chkconfig +Requires(post): chkconfig +%endif + +%description -n trinity-lisa +LISa is intended to provide TDE with a kind of "network neighborhood" +but relying only on the TCP/IP protocol. + +%files -n trinity-lisa +%defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/lisarc* +%config(noreplace) %{_initrddir}/lisa +%{tde_tdelibdir}/kcm_lanbrowser.la +%{tde_tdelibdir}/kcm_lanbrowser.so +%{tde_tdelibdir}/tdeio_lan.la +%{tde_tdelibdir}/tdeio_lan.so +%{tde_datadir}/applnk/.hidden/kcmtdeiolan.desktop +%{tde_datadir}/applnk/.hidden/kcmlisa.desktop +%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop +%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop +%{tde_datadir}/apps/lisa/README +%{tde_datadir}/apps/remoteview/lan.desktop +%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/ +%{tde_tdedocdir}/HTML/en/lisa/ +%{tde_datadir}/services/lan.protocol +%{tde_datadir}/services/rlan.protocol +%{tde_bindir}/lisa +%{tde_bindir}/reslisa + +%post -n trinity-lisa +/sbin/chkconfig --add lisa ||: +update-desktop-database 2> /dev/null || : + +%postun -n trinity-lisa +if [ $1 -eq 0 ]; then + /sbin/service lisa stop > /dev/null 2>&1 ||: + /sbin/chkconfig --del lisa ||: +fi +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kdnssd +Summary: Zeroconf support for KDE +Group: Applications/Internet + +%description -n trinity-kdnssd +A kioslave and kded module that provide Zeroconf support. Try +"zeroconf:/" in Konqueror. + +%files -n trinity-kdnssd +%defattr(-,root,root,-) +%{tde_datadir}/services/zeroconf.protocol +%{tde_datadir}/services/invitation.protocol +%{tde_datadir}/services/kded/dnssdwatcher.desktop +%{tde_datadir}/apps/remoteview/zeroconf.desktop +%{tde_datadir}/apps/zeroconf/_http._tcp +%{tde_datadir}/apps/zeroconf/_ftp._tcp +%{tde_datadir}/apps/zeroconf/_ldap._tcp +%{tde_datadir}/apps/zeroconf/_webdav._tcp +%{tde_datadir}/apps/zeroconf/_nfs._tcp +%{tde_datadir}/apps/zeroconf/_ssh._tcp +%{tde_datadir}/apps/zeroconf/_rfb._tcp +%{tde_tdelibdir}/tdeio_zeroconf.so +%{tde_tdelibdir}/tdeio_zeroconf.la +%{tde_tdelibdir}/kded_dnssdwatcher.so +%{tde_tdelibdir}/kded_dnssdwatcher.la + +%post -n trinity-kdnssd +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kdnssd +update-desktop-database 2> /dev/null || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%patch1 -p1 -b .ldflags +%patch4 -p1 -b .resolv +%patch6 -p1 -b .krfb_httpd + +%if 0%{?rhel} == 4 +%patch201 -p1 -b .rhel4 +%patch202 -p1 -b .rhel4 +%endif + +%build +unset QTDIRs +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 \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DWITH_JINGLE=ON \ + %{?with_speex:-DWITH_SPEEX=ON} \ + -DWITH_WEBCAM=ON \ + -DWITH_GSM=OFF \ + -DWITH_XMMS=OFF \ + -DWITH_ARTS=ON \ + %{?with_openslp:-DWITH_SLP=ON} \ + -DBUILD_ALL=ON \ + -DBUILD_KOPETE_PLUGIN_ALL=ON \ + -DBUILD_KOPETE_PROTOCOL_ALL=ON \ + %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \ + %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=OFF} \ + .. + +# Tdenetwork is not smp safe ! +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +## File lists +# HTML (1.0) +HTML_DIR=$(tde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +%if 0%{?with_consolehelper} +# Run kppp through consolehelper, and rename it to 'kppp3' +%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 +%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} +%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3 +%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3 +%if "%{tde_prefix}" != "/usr" +%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3 +%endif +%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps +cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 <<EOF +USER=root +PROGRAM=%{tde_sbindir}/kppp3 +SESSION=true +EOF +# Renames 'kppp' as 'kppp3' in launch icon +%__sed -i %{buildroot}%{tde_tdeappdir}/Kppp.desktop -e "/Exec=/ s|kppp|kppp3|" +%endif + +# ktalk +%__install -p -m 0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xinetd.d/ktalk + +# Add lisa startup script +%__install -p -m 0644 -D %{SOURCE4} %{buildroot}%{_sysconfdir}/lisarc +%__install -p -m 0755 -D %{SOURCE5} %{buildroot}%{_initrddir}/lisa + +# RHEL 5: Avoids conflict with 'kdenetwork' +%if 0%{?rhel} == 5 +%__mv -f %{buildroot}%{_sysconfdir}/lisarc %{buildroot}%{_sysconfdir}/lisarc.tde +%endif + +# Avoids conflict with trinity-kvirc +%__mv -f %{buildroot}%{tde_datadir}/services/irc.protocol %{buildroot}%{tde_datadir}/apps/kopete/ + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1 +- Initial release for TDE 14.0.0 diff --git a/redhat/tdepim/trinity-tdepim-14.0.0.spec b/redhat/tdepim/trinity-tdepim-14.0.0.spec new file mode 100644 index 000000000..5893dbe7a --- /dev/null +++ b/redhat/tdepim/trinity-tdepim-14.0.0.spec @@ -0,0 +1,2250 @@ +# 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 1 + + +Name: trinity-tdepim +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?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: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +# [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-tdelibs-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 + +# CURL support +%if 0%{?fedora} >= 15 +BuildRequires: flex-static +%endif +%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 +BuildRequires: trinity-libcurl-devel +%else +BuildRequires: curl-devel +%endif + +# SASL support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}sasl2-devel +%else +BuildRequires: cyrus-sasl-devel +%endif + +# XCOMPOSITE support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXcomposite-devel +%endif + +# XSCREENSAVER support +# Disabled on RHEL4 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_xscreensaver 1 +%if 0%{?rhel} == 5 +BuildRequires: xorg-x11-proto-devel +BuildRequires: gnome-screensaver +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 +BuildRequires: libXScrnSaver-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: xscreensaver +%endif +%endif + + +Requires: trinity-libtdepim = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-tdeio-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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 tdeio-plugins +Summary: Trinity PIM I/O Slaves +Group: Environment/Libraries + +Obsoletes: tdepim-kio-plugins < %{version}-%{release} +Obsoletes: trinity-tdepim-kio-plugins < %{version}-%{release} +Provides: trinity-tdepim-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package includes the pim kioslaves. This includes imap4, sieve, +and mbox. + +%files tdeio-plugins +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 TDE-based wizards for configuring eGroupware, +Kolab, and SUSE Linux Openexchange servers. + +%files wizards +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 + +# GPG support +%if 0%{?suse_version} +Requires: gpg2 +%endif +%if 0%{?rhel} == 4 +Requires: gnupg +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +Requires: gnupg2 +%endif + +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +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 +%defattr(-,root,root,-) +%{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}-tdeio-plugins = %{version}-%{release} +Requires: trinity-tdebase-tdeio-pim-plugins >= %{version} + +# GPG support +%if 0%{?suse_version} +Requires: gpg2 +%endif +%if 0%{?rhel} == 4 +Requires: gnupg +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +Requires: gnupg2 +%endif + +# Pinentry +%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +Requires: pinentry +%endif + +Requires: procmail +Requires: trinity-kaddressbook = %{version}-%{release} +Requires: trinity-kleopatra = %{version}-%{release} +Requires: trinity-tdebase-tdeio-pim-plugins >= %{version}-%{release} + +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}-tdeio-plugins if you want to use IMAP or +mbox files, and/or trinity-tdebase-tdeio-plugins if you want to use POP3. + +%files -n trinity-kmail +%defattr(-,root,root,-) +%{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}/apps/konqueror/servicemenus/email.desktop +%{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 +%defattr(-,root,root,-) +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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}-tdeio-plugins = %{version}-%{release} + +%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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 trinity-libtdepim library. + +%files -n trinity-libtdepim +%defattr(-,root,root,-) +%{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-tdelibs-devel >= %{version} + +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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 TDE 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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 TDE applications to handle mime types. + +This is the development package which contains the headers for the +libmimelib library. + +%files -n trinity-libmimelib-devel +%defattr(-,root,root,-) +%{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 +%defattr(-,root,root,-) +%{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 %{name}-%{version}%{?preversion:~%{preversion}} +%patch14 -p1 -b .ldflags + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +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_xscreensaver:-DWITH_XSCREENSAVER=ON} \ + %{?with_kitchensync:-DBUILD_KITCHENSYNC=ON} \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 |