diff options
author | François Andriot <[email protected]> | 2013-06-24 19:50:32 +0200 |
---|---|---|
committer | François Andriot <[email protected]> | 2013-06-24 19:50:32 +0200 |
commit | b4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch) | |
tree | 3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdeaddons | |
parent | 4cc71d79c5718d59078d06c497a56d7c05b41576 (diff) | |
download | tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip |
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdeaddons')
-rw-r--r-- | redhat/tdeaddons/kdeaddons-3.5.13-sru-20120809.patch.gz | bin | 0 -> 56127 bytes | |||
-rw-r--r-- | redhat/tdeaddons/kdeaddons-3.5.3-sdl.patch | 64 | ||||
-rw-r--r-- | redhat/tdeaddons/metabar-fedora.tar.bz2 | bin | 0 -> 143074 bytes | |||
-rw-r--r-- | redhat/tdeaddons/metabarrc | 7 | ||||
-rw-r--r-- | redhat/tdeaddons/trinity-kdeaddons-3.5.12.spec | 249 | ||||
-rw-r--r-- | redhat/tdeaddons/trinity-kdeaddons-3.5.13.1.spec | 730 | ||||
-rw-r--r-- | redhat/tdeaddons/trinity-kdeaddons-3.5.13.spec | 757 |
7 files changed, 1807 insertions, 0 deletions
diff --git a/redhat/tdeaddons/kdeaddons-3.5.13-sru-20120809.patch.gz b/redhat/tdeaddons/kdeaddons-3.5.13-sru-20120809.patch.gz Binary files differnew file mode 100644 index 000000000..47b2c4451 --- /dev/null +++ b/redhat/tdeaddons/kdeaddons-3.5.13-sru-20120809.patch.gz diff --git a/redhat/tdeaddons/kdeaddons-3.5.3-sdl.patch b/redhat/tdeaddons/kdeaddons-3.5.3-sdl.patch new file mode 100644 index 000000000..70e72dc96 --- /dev/null +++ b/redhat/tdeaddons/kdeaddons-3.5.3-sdl.patch @@ -0,0 +1,64 @@ +--- kdeaddons-3.5.3/noatun-plugins/tippercanoe/sdlwrap.cpp.than 2006-06-07 18:52:09.000000000 +0200 ++++ kdeaddons-3.5.3/noatun-plugins/tippercanoe/sdlwrap.cpp 2006-06-07 18:54:06.000000000 +0200 +@@ -183,6 +183,7 @@ + SDL_UpdateRect(surface, 0, 0, 0, 0); + } + ++#if 0 + int SdlScreen::winID(void) + { + SDL_SysWMinfo info; +@@ -195,3 +196,4 @@ + SDL_GetWMInfo(&info); + return info.info.x11.wmwindow; + } ++#endif +--- kdeaddons-3.5.3/noatun-plugins/tippercanoe/main.cpp.than 2006-06-07 18:54:19.000000000 +0200 ++++ kdeaddons-3.5.3/noatun-plugins/tippercanoe/main.cpp 2006-06-07 18:54:27.000000000 +0200 +@@ -112,7 +112,7 @@ + { + time_t timer = time(NULL); + +- printf("%u\n", static_cast<SdlScreen *>(screen)->winID()); ++ //printf("%u\n", static_cast<SdlScreen *>(screen)->winID()); + fflush(stdout); + + int frames = 0; +--- kdeaddons-3.5.3/noatun-plugins/tippercanoe/syna.h.than 2006-06-07 18:51:25.000000000 +0200 ++++ kdeaddons-3.5.3/noatun-plugins/tippercanoe/syna.h 2006-06-07 18:51:56.000000000 +0200 +@@ -108,7 +108,7 @@ + int sizeUpdate(); + bool inputUpdate(int &mouseX,int &mouseY,int &mouseButtons,char &keyHit); + void show(); +- int winID(); ++ //int winID(); + }; + + // core +--- kdeaddons-3.5.3/noatun-plugins/tyler/main.cpp.than 2006-06-07 18:54:38.000000000 +0200 ++++ kdeaddons-3.5.3/noatun-plugins/tyler/main.cpp 2006-06-07 18:55:00.000000000 +0200 +@@ -52,6 +52,7 @@ + SDL_Surface *screen; + } + ++#if 0 + int winID(void) + { + SDL_SysWMinfo info; +@@ -61,6 +62,7 @@ + SDL_GetWMInfo(&info); + return info.info.x11.wmwindow; + } ++#endif + + int main(int, char **) + { +@@ -74,7 +76,7 @@ + access_mutex = SDL_CreateMutex(); + + init_renderer1(); +- printf("%u\n", winID()); ++ //printf("%u\n", winID()); + fflush(stdout); + init_renderer2(); + thread = SDL_CreateThread((int (*)(void *))renderer, NULL); diff --git a/redhat/tdeaddons/metabar-fedora.tar.bz2 b/redhat/tdeaddons/metabar-fedora.tar.bz2 Binary files differnew file mode 100644 index 000000000..8a0cde35d --- /dev/null +++ b/redhat/tdeaddons/metabar-fedora.tar.bz2 diff --git a/redhat/tdeaddons/metabarrc b/redhat/tdeaddons/metabarrc new file mode 100644 index 000000000..7eb9a453b --- /dev/null +++ b/redhat/tdeaddons/metabarrc @@ -0,0 +1,7 @@ +[General] +AnimateResize=false +MaxActions=3 +MaxEntries=3 +ShowFrame=true +ShowServicemenus=true +Theme=fedora diff --git a/redhat/tdeaddons/trinity-kdeaddons-3.5.12.spec b/redhat/tdeaddons/trinity-kdeaddons-3.5.12.spec new file mode 100644 index 000000000..348dd4d30 --- /dev/null +++ b/redhat/tdeaddons/trinity-kdeaddons-3.5.12.spec @@ -0,0 +1,249 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-kdeaddons +Summary: Trinity Desktop Environment - Plugins +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot <[email protected]> +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdeaddons-%{version}.tar.gz +Source1: metabar-fedora.tar.bz2 +Source2: metabarrc + +Patch3: kdeaddons-3.5.3-sdl.patch + +BuildRequires: trinity-kdebase-devel +BuildRequires: trinity-kdegames-devel +BuildRequires: trinity-kdemultimedia-devel +BuildRequires: trinity-kdepim-devel +BuildRequires: SDL-devel +BuildRequires: alsa-lib-devel +BuildRequires: openssl-devel +BuildRequires: db4-devel +BuildRequires: xmms-devel + +Requires: trinity-kdebase +%if 0%{?fedora} +# used in jpegorient (#312641) +Requires: python-exif +%endif +Requires: which + +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +Obsoletes: %{name}-xmms < %{version}-%{release} + +%description +A collection of KDE Addons/Plugins, including: +* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver +* kate (plugins) +* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol +* knewsticker-scripts + +%package extras +Group: User Interface/Desktops +Summary: Extras packages from kdeaddons +Requires: %{name} = %{version}-%{release} +Requires: kdegames3 >= %{version} +Obsoletes: %{name}-atlantikdesigner < %{version}-%{release} +%description extras +This package includes: +* atlantikdesigner: game board designer +* noatun-plugins + + +%prep +%setup -q -a 1 -n kdeaddons + +%patch3 -p1 -b .sdl + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%if 0%{?fedora} > 0 +export CXXFLAGS="${CXXFLAGS} -fpermissive" +%endif + +%configure \ + --includedir=%{_includedir}/kde \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{_includedir}/tqt + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# File lists for locale +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 ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi + done +fi + +# rpmdocs +for dir in konq-plugins ; do + for file in AUTHORS ChangeLog README TODO ; do + test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + done +done + +# install fedora metabar theme +cp -prf fedora %{buildroot}%{_datadir}/apps/metabar/themes +install -m644 -p %{SOURCE2} %{buildroot}%{_datadir}/config/ + + +%post +/sbin/ldconfig +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +/sbin/ldconfig +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%post extras +touch --no-create %{_datadir}/icons/hicolor 2> /dev/null ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: + +%postun extras +touch --no-create %{_datadir}/icons/hicolor 2> /dev/null ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc README +%doc rpmdocs/* +%{_bindir}/* +%{tde_libdir}/* +%{_datadir}/applications/kde/* +%{_datadir}/applnk/.hidden/* +%{_datadir}/apps/akregator/pics/* +%{_datadir}/apps/domtreeviewer/ +%{_datadir}/apps/fsview/ +%{_datadir}/apps/imagerotation/ +%{_datadir}/apps/kaddressbook/* +%{_datadir}/apps/kate/* +%{_datadir}/apps/katepart/syntax/* +%{_datadir}/apps/katexmltools +# own dir so we don't need to Requires: kdenetwork too +%dir %{_datadir}/apps/knewsticker +%{_datadir}/apps/knewsticker/* +%{_datadir}/apps/khtml/kpartplugins/* +%{_datadir}/apps/konq*view/kpartplugins/* +%{_datadir}/apps/konqueror/icons/*/*/*/* +%dir %{_datadir}/apps/konqueror/kpartplugins/ +%{_datadir}/apps/konqueror/kpartplugins/* +%{_datadir}/apps/konqueror/servicemenus/* +%{_datadir}/apps/konqsidebartng/*/* +%{_datadir}/apps/mediacontrol/ +%{_datadir}/apps/metabar/ +%{_datadir}/apps/microformat/ +#%{_datadir}/apps/noatun/* +%{_datadir}/apps/kicker/applets/* +%{_datadir}/apps/ksig/ +%{_datadir}/config*/* +%{_datadir}/icons/crystalsvg/*/*/* +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/icons/locolor/*/*/* +%{_datadir}/mimelnk/*/* +%{_datadir}/service*/* + +# atlantikdesigner +#%exclude %{_bindir}/atlantikdesigner +#%exclude %{_datadir}/icons/hicolor/*/*/atlantikdesigner* +#%exclude %{_datadir}/applications/kde/atlantikdesigner.desktop + +# noatun-plugins +#%exclude %{_bindir}/noatun* +#%exclude %{tde_libdir}/noatun* +#%exclude %{_datadir}/apps/noatun/* + + +%files extras +%defattr(-,root,root,-) + +# atlantikdesigner +%doc atlantikdesigner/TODO +#%{_bindir}/atlantikdesigner +#%{_datadir}/apps/atlantikdesigner/ +#%{_datadir}/icons/hicolor/*/*/atlantikdesigner* +#%{_datadir}/applications/kde/atlantikdesigner.desktop + +# noatun-plugins +#%{_bindir}/noatun* +#%{tde_libdir}/noatun* +#%{_datadir}/apps/noatun/* + + +%changelog +* Mon Sep 19 2011 Francois Andriot <[email protected]> - 3.5.12-2 +- Add support for RHEL5 + +* Sun Sep 11 2011 Francois Andriot <[email protected]> - 3.5.12-1 +- Initial build for RHEL 6 +- Spec file based on Fedora 8 "kdeaddons-3.5.10-1" +- Import to GIT diff --git a/redhat/tdeaddons/trinity-kdeaddons-3.5.13.1.spec b/redhat/tdeaddons/trinity-kdeaddons-3.5.13.1.spec new file mode 100644 index 000000000..be4560c8f --- /dev/null +++ b/redhat/tdeaddons/trinity-kdeaddons-3.5.13.1.spec @@ -0,0 +1,730 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_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-tdeaddons +Summary: Trinity Desktop Environment - Plugins +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot <[email protected]> +URL: http://www.trinitydesktop.org/ + +Obsoletes: trinity-kdeaddons < %{version}-%{release} +Provides: trinity-kdeaddons = %{version}-%{release} +Obsoletes: trinity-kdeaddons-extras < %{version}-%{release} +Provides: trinity-kdeaddons-extras = %{version}-%{release} + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdeaddons-3.5.13.1.tar.gz + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: trinity-tdebase-devel >= %{version} +BuildRequires: trinity-tdegames-devel >= %{version} +BuildRequires: trinity-tdemultimedia-devel >= %{version} +BuildRequires: trinity-tdepim-devel >= %{version} + +BuildRequires: SDL-devel +BuildRequires: alsa-lib-devel +BuildRequires: openssl-devel +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: db4-devel +%endif +%if 0%{?suse_version} +BuildRequires: libdb-4_8-devel +%endif + +%if 0%{?fedora} +BuildRequires: xmms-devel +%endif + +#Requires: which + +Requires: trinity-atlantikdesigner = %{version}-%{release} +Requires: trinity-kaddressbook-plugins = %{version}-%{release} +Requires: trinity-kate-plugins = %{version}-%{release} +Requires: trinity-tdeaddons-kfile-plugins = %{version}-%{release} +Requires: trinity-kicker-applets = %{version}-%{release} +Requires: trinity-knewsticker-scripts = %{version}-%{release} +Requires: trinity-konq-plugins = %{version}-%{release} +Requires: trinity-ksig = %{version}-%{release} +Requires: trinity-noatun-plugins = %{version}-%{release} + + +%description +A collection of TDE Addons/Plugins, including: +* atlantikdesigner: game board designer +* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver +* kate (plugins) +* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol +* knewsticker-scripts +* noatun-plugins + +%files +%defattr(-,root,root,-) + +########## + +%package -n trinity-atlantikdesigner +Summary: Game board designer for Atlantik +Group: Applications/Games +#Requires: trinity-atlantik +Requires: trinity-tdegames + +%description -n trinity-atlantikdesigner +Atlantik Designer is a game board designer for the game Atlantik. + +Atlantik is a TDE client for playing Monopoly-like board games on the +monopd network. It can play any board supported by the network +server, including the classic Monopoly game as well as the Atlantik +game in which the properties include several major cities in North +America and Europe. + +%files -n trinity-atlantikdesigner +%defattr(-,root,root,-) +%doc README atlantikdesigner/TODO +%{tde_bindir}/atlantikdesigner +%{tde_datadir}/apps/atlantikdesigner +%{tde_tdeappdir}/atlantikdesigner.desktop +%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png + +%post -n trinity-atlantikdesigner +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-atlantikdesigner +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-plugins +Summary: Plugins for KAddressBook, the Trinity address book +Group: Applications/Utilities +Requires: trinity-kaddressbook + +%description -n trinity-kaddressbook-plugins +This package contains a variety of useful plugins for the KDE address +book. These plugins can be loaded through the TDE address book settings. + +Highlights include exporting postal addresses as flags in KWorldClock, +as well as importing and exporting contacts in the native format used +by the German freemail provider GMX. + +%files -n trinity-kaddressbook-plugins +%defattr(-,root,root,-) +%doc README +%{tde_tdelibdir}/libkaddrbk_geo_xxport.la +%{tde_tdelibdir}/libkaddrbk_geo_xxport.so +%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la +%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so +%{tde_datadir}/apps/kaddressbook +%{tde_datadir}/services/kaddressbook + +########## + +%package -n trinity-kate-plugins +Summary: Plugins for Kate, the TDE Advanced Text Editor +Group: Applications/Utilities +Requires: trinity-kate +Requires: tidy + +%description -n trinity-kate-plugins +This package contains a variety of useful plugins for Kate, the KDE +Advanced Text Editor. These plugins can be loaded through the plugin +manager in Kate settings. + +Highlights include spell checking, text filtering, HTML/XML construction +and validation, vim/emacs modeline handling, templates for new files +and text snippets, opening of C/C++ headers, extraction of C/C++ symbols, +a tab bar, a Python browser and even more. + +%files -n trinity-kate-plugins +%defattr(-,root,root,-) +%doc kate/xmltools/ChangeLog kate/xmltools/README +%{tde_tdelibdir}/katecppsymbolviewerplugin.la +%{tde_tdelibdir}/katecppsymbolviewerplugin.so +%{tde_tdelibdir}/katefiletemplates.la +%{tde_tdelibdir}/katefiletemplates.so +%{tde_tdelibdir}/katefll_plugin.la +%{tde_tdelibdir}/katefll_plugin.so +%{tde_tdelibdir}/katehelloworldplugin.la +%{tde_tdelibdir}/katehelloworldplugin.so +%{tde_tdelibdir}/katehtmltoolsplugin.la +%{tde_tdelibdir}/katehtmltoolsplugin.so +%{tde_tdelibdir}/kateinsertcommandplugin.la +%{tde_tdelibdir}/kateinsertcommandplugin.so +%{tde_tdelibdir}/katemakeplugin.la +%{tde_tdelibdir}/katemakeplugin.so +%{tde_tdelibdir}/katemodelineplugin.la +%{tde_tdelibdir}/katemodelineplugin.so +%{tde_tdelibdir}/kateopenheaderplugin.la +%{tde_tdelibdir}/kateopenheaderplugin.so +%{tde_tdelibdir}/katepybrowseplugin.la +%{tde_tdelibdir}/katepybrowseplugin.so +%{tde_tdelibdir}/katesnippetsplugin.la +%{tde_tdelibdir}/katesnippetsplugin.so +%{tde_tdelibdir}/katetextfilterplugin.la +%{tde_tdelibdir}/katetextfilterplugin.so +%{tde_tdelibdir}/katexmlcheckplugin.la +%{tde_tdelibdir}/katexmlcheckplugin.so +%{tde_tdelibdir}/katexmltoolsplugin.la +%{tde_tdelibdir}/katexmltoolsplugin.so +%{tde_tdelibdir}/libkatetabbarextensionplugin.la +%{tde_tdelibdir}/libkatetabbarextensionplugin.so +%{tde_datadir}/applnk/.hidden/katefll.desktop +%{tde_datadir}/apps/kate +%{tde_datadir}/apps/katepart +%{tde_datadir}/apps/katexmltools +%{tde_datadir}/services/katecppsymbolviewer.desktop +%{tde_datadir}/services/katefiletemplates.desktop +%{tde_datadir}/services/katefll_plugin.desktop +%{tde_datadir}/services/katehelloworld.desktop +%{tde_datadir}/services/katehtmltools.desktop +%{tde_datadir}/services/kateinsertcommand.desktop +%{tde_datadir}/services/katemake.desktop +%{tde_datadir}/services/katemodeline.desktop +%{tde_datadir}/services/kateopenheader.desktop +%{tde_datadir}/services/katepybrowse.desktop +%{tde_datadir}/services/katesnippets.desktop +%{tde_datadir}/services/katetabbarextension.desktop +%{tde_datadir}/services/katetextfilter.desktop +%{tde_datadir}/services/katexmlcheck.desktop +%{tde_datadir}/services/katexmltools.desktop +%{tde_tdedocdir}/HTML/en/kate-plugins/ + +########## + +%package kfile-plugins +Summary: Trinity file dialog plugins for text files and folders +Group: Applications/Utilities + +%description kfile-plugins +This is a collection of plugins for the TDE file dialog. These plugins +extend the file dialog to offer advanced meta-information for text, +HTML and desktop files, as well as for folders, Windows .lnk files, +MIME archives and X.509 certificates. + +This package also includes plugins for the KDE file rename dialog, +allowing a user to more easily decide what to do when faced with a +decision regarding conflicting filenames. Rename dialog plugins are +provided for audio and image files. + +%files kfile-plugins +%defattr(-,root,root,-) +%doc kfile-plugins/lnk/README +%{tde_bindir}/lnkforward +%{tde_tdelibdir}/kfile_cert.la +%{tde_tdelibdir}/kfile_cert.so +%{tde_tdelibdir}/kfile_desktop.la +%{tde_tdelibdir}/kfile_desktop.so +%{tde_tdelibdir}/kfile_folder.la +%{tde_tdelibdir}/kfile_folder.so +%{tde_tdelibdir}/kfile_html.la +%{tde_tdelibdir}/kfile_html.so +%{tde_tdelibdir}/kfile_lnk.la +%{tde_tdelibdir}/kfile_lnk.so +%{tde_tdelibdir}/kfile_mhtml.la +%{tde_tdelibdir}/kfile_mhtml.so +%{tde_tdelibdir}/kfile_txt.la +%{tde_tdelibdir}/kfile_txt.so +%{tde_tdelibdir}/librenaudioplugin.la +%{tde_tdelibdir}/librenaudioplugin.so +%{tde_tdelibdir}/librenimageplugin.la +%{tde_tdelibdir}/librenimageplugin.so +%{tde_datadir}/applnk/.hidden/lnkforward.desktop +%{tde_datadir}/mimelnk/application/x-win-lnk.desktop +%{tde_datadir}/services/kfile_cert.desktop +%{tde_datadir}/services/kfile_desktop.desktop +%{tde_datadir}/services/kfile_folder.desktop +%{tde_datadir}/services/kfile_html.desktop +%{tde_datadir}/services/kfile_lnk.desktop +%{tde_datadir}/services/kfile_mhtml.desktop +%{tde_datadir}/services/kfile_txt.desktop +%{tde_datadir}/services/renaudiodlg.desktop +%{tde_datadir}/services/renimagedlg.desktop + +########## + +%package -n trinity-kicker-applets +Summary: Applets for Kicker, the Trinity panel +Group: Applications/Utilities +Requires: trinity-kicker + +%description -n trinity-kicker-applets +This package contains a variety of applets for Kicker, the KDE panel. +These applets will appear in the panel's Add--Applet menu. + +Included are a system monitor, a colour picker, a media player controller, +a mathematical evaluator and a binary clock. + +The media control applet does not support XMMS, as this would force all +kicker-applets users to install XMMS. If you want a kicker applet that +controls XMMS, install the xmms-kde-trinity package. + +%files -n trinity-kicker-applets +%defattr(-,root,root,-) +%doc README +%{tde_tdelibdir}/kolourpicker_panelapplet.la +%{tde_tdelibdir}/kolourpicker_panelapplet.so +%{tde_tdelibdir}/ktimemon_panelapplet.la +%{tde_tdelibdir}/ktimemon_panelapplet.so +%{tde_tdelibdir}/math_panelapplet.la +%{tde_tdelibdir}/math_panelapplet.so +%{tde_tdelibdir}/mediacontrol_panelapplet.la +%{tde_tdelibdir}/mediacontrol_panelapplet.so +%{tde_tdelibdir}/kbinaryclock_panelapplet.la +%{tde_tdelibdir}/kbinaryclock_panelapplet.so +%{tde_datadir}/apps/kicker/applets +%{tde_datadir}/apps/mediacontrol +%{tde_datadir}/config.kcfg/kbinaryclock.kcfg +%{tde_datadir}/icons/locolor/*/apps/ktimemon.png +%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png +%{tde_tdedocdir}/HTML/en/kicker-applets/ + +%post -n trinity-kicker-applets +for f in crystalsvg 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 + +%postun -n trinity-kicker-applets +for f in crystalsvg 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 + +########## + +%package -n trinity-knewsticker-scripts +Summary: scripts for KNewsTicker, the Trinity news ticker +Group: Applications/Utilities +Requires: perl +Requires: python +#Requires: libfinance-quote-perl +#Requires: libmime-perl +#Requires: libnews-nntpclient-perl +Requires: perl-libwww-perl +Requires: trinity-knewsticker + +%description -n trinity-knewsticker-scripts +This package contains a variety of scripts that provide additional news +sources for KNewsTicker, the news ticker applet for the TDE panel. + +Highlights include newsgroup handling, stock data retrieval, sports scores +and various local news sources. + +%files -n trinity-knewsticker-scripts +%defattr(-,root,root,-) +%doc README +%{tde_datadir}/apps/knewsticker/ + +########## + +%package -n trinity-konq-plugins +Summary: plugins for Konqueror, the Trinity file/web/doc browser +Group: Applications/Utilities +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} == 0 +Requires: %{_lib}jpeg8 +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} +Requires: libjpeg +%endif +%if 0%{?suse_version} || 0%{?pclinuxos} +Requires: libjpeg62 +%endif +Requires: python +Requires: rsync +#Requires: unison +Requires: trinity-konqueror +%if 0%{?fedora} +Requires: python-exif +%endif + +%description -n trinity-konq-plugins +This package contains a variety of useful plugins for Konqueror, the +file manager, web browser and document viewer for TDE. Many of these +plugins will appear in Konqueror's Tools menu. + +Highlights for web browsing include web page translation, web page archiving, +auto-refreshing, HTML and CSS structural analysis, a search toolbar, a +sidebar news ticker, fast access to common options, bookmarklets, a crash +monitor, a microformat availability indicator, a del.icio.us bookmarks +sidebar, and integration with the aKregator RSS feed reader. + +Highlights for directory browsing include directory filters, image gallery +creation, archive compression and extraction, quick copy/move, a sidebar +media player, a file information metabar/sidebar, a media folder helper, a +graphical disk usage viewer and image conversions and transformations. + +%files -n trinity-konq-plugins +%defattr(-,root,root,-) +%doc konq-plugins/README +%{tde_datadir}/config/translaterc +%{tde_bindir}/fsview +%{tde_bindir}/jpegorient +%{tde_bindir}/kio_media_realfolder +%{tde_tdelibdir}/konq_sidebarnews.la +%{tde_tdelibdir}/konq_sidebarnews.so +%{tde_tdelibdir}/konqsidebar_delicious.la +%{tde_tdelibdir}/konqsidebar_delicious.so +%{tde_tdelibdir}/konqsidebar_mediaplayer.la +%{tde_tdelibdir}/konqsidebar_mediaplayer.so +%{tde_tdelibdir}/konqsidebar_metabar.la +%{tde_tdelibdir}/konqsidebar_metabar.so +%{tde_tdelibdir}/libakregatorkonqfeedicon.la +%{tde_tdelibdir}/libakregatorkonqfeedicon.so +%{tde_tdelibdir}/libakregatorkonqplugin.la +%{tde_tdelibdir}/libakregatorkonqplugin.so +%{tde_tdelibdir}/libarkplugin.la +%{tde_tdelibdir}/libarkplugin.so +%{tde_tdelibdir}/libautorefresh.la +%{tde_tdelibdir}/libautorefresh.so +%{tde_tdelibdir}/libbabelfishplugin.la +%{tde_tdelibdir}/libbabelfishplugin.so +%{tde_tdelibdir}/libcrashesplugin.la +%{tde_tdelibdir}/libcrashesplugin.so +%{tde_tdelibdir}/libdirfilterplugin.la +%{tde_tdelibdir}/libdirfilterplugin.so +%{tde_tdelibdir}/librsyncplugin.la +%{tde_tdelibdir}/librsyncplugin.so +%{tde_tdelibdir}/libdomtreeviewerplugin.la +%{tde_tdelibdir}/libdomtreeviewerplugin.so +%{tde_tdelibdir}/libfsviewpart.la +%{tde_tdelibdir}/libfsviewpart.so +%{tde_tdelibdir}/libkhtmlsettingsplugin.la +%{tde_tdelibdir}/libkhtmlsettingsplugin.so +%{tde_tdelibdir}/kcm_kuick.la +%{tde_tdelibdir}/kcm_kuick.so +%{tde_tdelibdir}/libkimgallery.la +%{tde_tdelibdir}/libkimgallery.so +%{tde_tdelibdir}/libkuickplugin.la +%{tde_tdelibdir}/libkuickplugin.so +%{tde_tdelibdir}/libmfkonqmficon.la +%{tde_tdelibdir}/libmfkonqmficon.so +%{tde_tdelibdir}/libminitoolsplugin.la +%{tde_tdelibdir}/libminitoolsplugin.so +%{tde_tdelibdir}/librellinksplugin.la +%{tde_tdelibdir}/librellinksplugin.so +%{tde_tdelibdir}/libsearchbarplugin.la +%{tde_tdelibdir}/libsearchbarplugin.so +%{tde_tdelibdir}/libuachangerplugin.la +%{tde_tdelibdir}/libuachangerplugin.so +%{tde_tdelibdir}/libvalidatorsplugin.la +%{tde_tdelibdir}/libvalidatorsplugin.so +%{tde_tdelibdir}/libwebarchiverplugin.la +%{tde_tdelibdir}/libwebarchiverplugin.so +%{tde_tdelibdir}/webarchivethumbnail.la +%{tde_tdelibdir}/webarchivethumbnail.so +%{tde_datadir}/applnk/.hidden/arkplugin.desktop +%{tde_datadir}/applnk/.hidden/kcmkuick.desktop +%{tde_datadir}/applnk/.hidden/kuickplugin.desktop +%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop +%{tde_datadir}/applnk/.hidden/crashesplugin.desktop +%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop +%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop +%{tde_datadir}/applnk/.hidden/fsview.desktop +%{tde_datadir}/applnk/.hidden/khtmlsettingsplugin.desktop +%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop +%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop +%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop +%{tde_datadir}/applnk/.hidden/plugin_validators.desktop +%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop +%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop +%{tde_datadir}/apps/akregator +%{tde_datadir}/apps/domtreeviewer +%{tde_datadir}/apps/fsview +%{tde_datadir}/apps/imagerotation/orient.py* +%{tde_datadir}/apps/imagerotation/exif.py* +%{tde_datadir}/apps/khtml/kpartplugins +%{tde_datadir}/apps/konqiconview +%{tde_datadir}/apps/konqlistview +%{tde_datadir}/apps/konqsidebartng +%{tde_datadir}/apps/konqueror/icons +%{tde_datadir}/apps/konqueror/kpartplugins +%{tde_datadir}/apps/konqueror/servicemenus +%{tde_datadir}/apps/metabar/iconsrc +%{tde_datadir}/apps/metabar/themes/default/default.css +%{tde_datadir}/apps/metabar/themes/default/layout.html +%{tde_datadir}/apps/microformat/pics/microformat.png +%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg +%{tde_datadir}/icons/locolor/16x16/apps/autorefresh.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/babelfish.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/cssvalidator.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/domtreeviewer.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/htmlvalidator.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/imagegallery.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesync.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesyncconfig.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/validators.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/webarchiver.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_delicious.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_news.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/babelfish.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/cssvalidator.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/domtreeviewer.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/htmlvalidator.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/imagegallery.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesync.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesyncconfig.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/validators.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/webarchiver.png +%{tde_datadir}/icons/crystalsvg/22x22/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/32x32/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/32x32/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/48x48/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/48x48/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/hicolor/16x16/apps/metabar.png +%{tde_datadir}/icons/hicolor/22x22/apps/fsview.png +%{tde_datadir}/icons/hicolor/32x32/apps/fsview.png +%{tde_datadir}/icons/hicolor/32x32/apps/metabar.png +%{tde_datadir}/icons/hicolor/48x48/apps/metabar.png +%{tde_datadir}/icons/hicolor/64x64/apps/metabar.png +%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz +%{tde_datadir}/icons/hicolor/128x128/apps/metabar.png +%{tde_datadir}/icons/locolor/32x32/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/services/akregator_konqplugin.desktop +%{tde_datadir}/services/ark_plugin.desktop +%{tde_datadir}/services/fsview_part.desktop +%{tde_datadir}/services/kuick_plugin.desktop +%{tde_datadir}/services/webarchivethumbnail.desktop +%{tde_tdelibdir}/libadblock.la +%{tde_tdelibdir}/libadblock.so +%{tde_tdedocdir}/HTML/en/konq-plugins/ + +%post -n trinity-konq-plugins +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 + +%postun -n trinity-konq-plugins +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 + +########## + +%package -n trinity-ksig +Summary: Graphical tool for managing multiple email signatures +Group: Applications/Utilities +Requires: trinity-kmail + +%description -n trinity-ksig +KSig is a graphical tool for keeping track of many different email +signatures. The signatures themselves can be edited through KSig's +graphical user interface. A command-line interface is then available +for generating random or daily signatures from this list. + +The command-line interface makes a suitable plugin for generating +signatures in external mail clients such as KMail. + +%files -n trinity-ksig +%defattr(-,root,root,-) +%doc README +%{tde_bindir}/ksig +%{tde_tdeappdir}/ksig.desktop +%{tde_datadir}/apps/ksig/ksigui.rc +%{tde_datadir}/icons/hicolor/*/apps/ksig.png +%{tde_tdedocdir}/HTML/en/ksig/ + +%post -n trinity-ksig +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-ksig +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-noatun-plugins +Summary: plugins for Noatun, the Trinity media player +Group: Applications/Utilities +Requires: trinity-noatun + +%description -n trinity-noatun-plugins +This package contains a variety of useful plugins for Noatun, the audio and +video media player for TDE. These plugins can be loaded through the plugin +manager in Noatun settings. + +Highlights include an alarm clock, guessing tags from filenames, adjustable +playback speed, capture to wave file and displaying lyrics, plus a variety +of user interfaces, playlists and visualisation plugins. + +%files -n trinity-noatun-plugins +%defattr(-,root,root,-) +%doc README +%{tde_bindir}/noatunsynaescope.bin +%{tde_bindir}/noatuntippecanoe.bin +%{tde_bindir}/noatuntyler.bin +%{tde_tdelibdir}/noatunalsaplayer.la +%{tde_tdelibdir}/noatunalsaplayer.so +%{tde_tdelibdir}/noatunblurscope.la +%{tde_tdelibdir}/noatunblurscope.so +%{tde_tdelibdir}/noatuncharlatan.la +%{tde_tdelibdir}/noatuncharlatan.so +%{tde_tdelibdir}/noatundub.la +%{tde_tdelibdir}/noatundub.so +%{tde_tdelibdir}/noatun_ffrs.la +%{tde_tdelibdir}/noatun_ffrs.so +%{tde_tdelibdir}/noatunluckytag.la +%{tde_tdelibdir}/noatunluckytag.so +%{tde_tdelibdir}/noatunlyrics.la +%{tde_tdelibdir}/noatunlyrics.so +%{tde_tdelibdir}/noatunmadness.la +%{tde_tdelibdir}/noatunmadness.so +%{tde_tdelibdir}/noatun_oblique.la +%{tde_tdelibdir}/noatun_oblique.so +%{tde_tdelibdir}/noatunpitchablespeed.la +%{tde_tdelibdir}/noatunpitchablespeed.so +%{tde_tdelibdir}/noatunsynaescope.la +%{tde_tdelibdir}/noatunsynaescope.so +%{tde_tdelibdir}/noatuntippecanoe.la +%{tde_tdelibdir}/noatuntippecanoe.so +%{tde_tdelibdir}/noatuntyler.la +%{tde_tdelibdir}/noatuntyler.so +%{tde_tdelibdir}/noatunwakeup.la +%{tde_tdelibdir}/noatunwakeup.so +%{tde_tdelibdir}/noatunwavecapture.la +%{tde_tdelibdir}/noatunwavecapture.so +%{tde_datadir}/apps/noatun/* +%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png + +%post -n trinity-noatun-plugins +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-noatun-plugins +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 + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + + +%prep +%setup -q -n kdeaddons-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --enable-closure \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/db4:%{tde_includedir}/arts:%{tde_includedir} \ + --without-xmms \ + --with-sdl \ + --with-berkeley-db + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# File lists for locale +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 ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi + done +fi + + + +%clean +%__rm -rf %{buildroot} + + + + +%changelog +* Sun Sep 30 2012 Francois Andriot <[email protected]> - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdeaddons/trinity-kdeaddons-3.5.13.spec b/redhat/tdeaddons/trinity-kdeaddons-3.5.13.spec new file mode 100644 index 000000000..f9c2db0ac --- /dev/null +++ b/redhat/tdeaddons/trinity-kdeaddons-3.5.13.spec @@ -0,0 +1,757 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdeaddons +Summary: Trinity Desktop Environment - Plugins +Version: 3.5.13 +Release: 6%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot <[email protected]> +URL: http://www.trinitydesktop.org/ + +Obsoletes: trinity-kdeaddons < %{version}-%{release} +Provides: trinity-kdeaddons = %{version}-%{release} +Obsoletes: trinity-kdeaddons-extras < %{version}-%{release} +Provides: trinity-kdeaddons-extras = %{version}-%{release} + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdeaddons-%{version}.tar.gz +Source1: metabar-fedora.tar.bz2 +Source2: metabarrc + +# [tdeaddons] Updates from v3.5.13-sru branch +Patch0: kdeaddons-3.5.13-sru-20120809.patch.gz + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: trinity-tdegames-devel +BuildRequires: trinity-tdemultimedia-devel +BuildRequires: trinity-tdepim-devel + +BuildRequires: SDL-devel +BuildRequires: alsa-lib-devel +BuildRequires: openssl-devel +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: db4-devel +%endif +%if 0%{?suse_version} +BuildRequires: libdb-4_8-devel +%endif + +%if 0%{?fedora} +BuildRequires: xmms-devel +%endif + +#Requires: which + +Requires: trinity-atlantikdesigner = %{version}-%{release} +Requires: trinity-kaddressbook-plugins = %{version}-%{release} +Requires: trinity-kate-plugins = %{version}-%{release} +Requires: trinity-tdeaddons-kfile-plugins = %{version}-%{release} +Requires: trinity-kicker-applets = %{version}-%{release} +Requires: trinity-knewsticker-scripts = %{version}-%{release} +Requires: trinity-konq-plugins = %{version}-%{release} +Requires: trinity-ksig = %{version}-%{release} +Requires: trinity-noatun-plugins = %{version}-%{release} + + +%description +A collection of TDE Addons/Plugins, including: +* atlantikdesigner: game board designer +* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver +* kate (plugins) +* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol +* knewsticker-scripts +* noatun-plugins + +%files +%defattr(-,root,root,-) + +########## + +%package -n trinity-atlantikdesigner +Summary: Game board designer for Atlantik +Group: Applications/Games +#Requires: trinity-atlantik +Requires: trinity-tdegames + +%description -n trinity-atlantikdesigner +Atlantik Designer is a game board designer for the game Atlantik. + +Atlantik is a TDE client for playing Monopoly-like board games on the +monopd network. It can play any board supported by the network +server, including the classic Monopoly game as well as the Atlantik +game in which the properties include several major cities in North +America and Europe. + +%files -n trinity-atlantikdesigner +%defattr(-,root,root,-) +%doc README atlantikdesigner/TODO +%{tde_bindir}/atlantikdesigner +%{tde_datadir}/apps/atlantikdesigner +%{tde_tdeappdir}/atlantikdesigner.desktop +%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png + +%post -n trinity-atlantikdesigner +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-atlantikdesigner +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-plugins +Summary: Plugins for KAddressBook, the Trinity address book +Group: Applications/Utilities +Requires: trinity-kaddressbook + +%description -n trinity-kaddressbook-plugins +This package contains a variety of useful plugins for the KDE address +book. These plugins can be loaded through the TDE address book settings. + +Highlights include exporting postal addresses as flags in KWorldClock, +as well as importing and exporting contacts in the native format used +by the German freemail provider GMX. + +%files -n trinity-kaddressbook-plugins +%defattr(-,root,root,-) +%doc README +%{tde_tdelibdir}/libkaddrbk_geo_xxport.la +%{tde_tdelibdir}/libkaddrbk_geo_xxport.so +%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la +%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so +%{tde_datadir}/apps/kaddressbook +%{tde_datadir}/services/kaddressbook + +########## + +%package -n trinity-kate-plugins +Summary: Plugins for Kate, the TDE Advanced Text Editor +Group: Applications/Utilities +Requires: trinity-kate +Requires: tidy + +%description -n trinity-kate-plugins +This package contains a variety of useful plugins for Kate, the KDE +Advanced Text Editor. These plugins can be loaded through the plugin +manager in Kate settings. + +Highlights include spell checking, text filtering, HTML/XML construction +and validation, vim/emacs modeline handling, templates for new files +and text snippets, opening of C/C++ headers, extraction of C/C++ symbols, +a tab bar, a Python browser and even more. + +%files -n trinity-kate-plugins +%defattr(-,root,root,-) +%doc kate/xmltools/ChangeLog kate/xmltools/README +%{tde_tdelibdir}/katecppsymbolviewerplugin.la +%{tde_tdelibdir}/katecppsymbolviewerplugin.so +%{tde_tdelibdir}/katefiletemplates.la +%{tde_tdelibdir}/katefiletemplates.so +%{tde_tdelibdir}/katefll_plugin.la +%{tde_tdelibdir}/katefll_plugin.so +%{tde_tdelibdir}/katehelloworldplugin.la +%{tde_tdelibdir}/katehelloworldplugin.so +%{tde_tdelibdir}/katehtmltoolsplugin.la +%{tde_tdelibdir}/katehtmltoolsplugin.so +%{tde_tdelibdir}/kateinsertcommandplugin.la +%{tde_tdelibdir}/kateinsertcommandplugin.so +%{tde_tdelibdir}/katemakeplugin.la +%{tde_tdelibdir}/katemakeplugin.so +%{tde_tdelibdir}/katemodelineplugin.la +%{tde_tdelibdir}/katemodelineplugin.so +%{tde_tdelibdir}/kateopenheaderplugin.la +%{tde_tdelibdir}/kateopenheaderplugin.so +%{tde_tdelibdir}/katepybrowseplugin.la +%{tde_tdelibdir}/katepybrowseplugin.so +%{tde_tdelibdir}/katesnippetsplugin.la +%{tde_tdelibdir}/katesnippetsplugin.so +%{tde_tdelibdir}/katetextfilterplugin.la +%{tde_tdelibdir}/katetextfilterplugin.so +%{tde_tdelibdir}/katexmlcheckplugin.la +%{tde_tdelibdir}/katexmlcheckplugin.so +%{tde_tdelibdir}/katexmltoolsplugin.la +%{tde_tdelibdir}/katexmltoolsplugin.so +%{tde_tdelibdir}/libkatetabbarextensionplugin.la +%{tde_tdelibdir}/libkatetabbarextensionplugin.so +%{tde_datadir}/applnk/.hidden/katefll.desktop +%{tde_datadir}/apps/kate +%{tde_datadir}/apps/katepart +%{tde_datadir}/apps/katexmltools +%{tde_datadir}/services/katecppsymbolviewer.desktop +%{tde_datadir}/services/katefiletemplates.desktop +%{tde_datadir}/services/katefll_plugin.desktop +%{tde_datadir}/services/katehelloworld.desktop +%{tde_datadir}/services/katehtmltools.desktop +%{tde_datadir}/services/kateinsertcommand.desktop +%{tde_datadir}/services/katemake.desktop +%{tde_datadir}/services/katemodeline.desktop +%{tde_datadir}/services/kateopenheader.desktop +%{tde_datadir}/services/katepybrowse.desktop +%{tde_datadir}/services/katesnippets.desktop +%{tde_datadir}/services/katetabbarextension.desktop +%{tde_datadir}/services/katetextfilter.desktop +%{tde_datadir}/services/katexmlcheck.desktop +%{tde_datadir}/services/katexmltools.desktop +%{tde_tdedocdir}/HTML/en/kate-plugins/ + +########## + +%package kfile-plugins +Summary: Trinity file dialog plugins for text files and folders +Group: Applications/Utilities + +%description kfile-plugins +This is a collection of plugins for the TDE file dialog. These plugins +extend the file dialog to offer advanced meta-information for text, +HTML and desktop files, as well as for folders, Windows .lnk files, +MIME archives and X.509 certificates. + +This package also includes plugins for the KDE file rename dialog, +allowing a user to more easily decide what to do when faced with a +decision regarding conflicting filenames. Rename dialog plugins are +provided for audio and image files. + +%files kfile-plugins +%defattr(-,root,root,-) +%doc kfile-plugins/lnk/README +%{tde_bindir}/lnkforward +%{tde_tdelibdir}/kfile_cert.la +%{tde_tdelibdir}/kfile_cert.so +%{tde_tdelibdir}/kfile_desktop.la +%{tde_tdelibdir}/kfile_desktop.so +%{tde_tdelibdir}/kfile_folder.la +%{tde_tdelibdir}/kfile_folder.so +%{tde_tdelibdir}/kfile_html.la +%{tde_tdelibdir}/kfile_html.so +%{tde_tdelibdir}/kfile_lnk.la +%{tde_tdelibdir}/kfile_lnk.so +%{tde_tdelibdir}/kfile_mhtml.la +%{tde_tdelibdir}/kfile_mhtml.so +%{tde_tdelibdir}/kfile_txt.la +%{tde_tdelibdir}/kfile_txt.so +%{tde_tdelibdir}/librenaudioplugin.la +%{tde_tdelibdir}/librenaudioplugin.so +%{tde_tdelibdir}/librenimageplugin.la +%{tde_tdelibdir}/librenimageplugin.so +%{tde_datadir}/applnk/.hidden/lnkforward.desktop +%{tde_datadir}/mimelnk/application/x-win-lnk.desktop +%{tde_datadir}/services/kfile_cert.desktop +%{tde_datadir}/services/kfile_desktop.desktop +%{tde_datadir}/services/kfile_folder.desktop +%{tde_datadir}/services/kfile_html.desktop +%{tde_datadir}/services/kfile_lnk.desktop +%{tde_datadir}/services/kfile_mhtml.desktop +%{tde_datadir}/services/kfile_txt.desktop +%{tde_datadir}/services/renaudiodlg.desktop +%{tde_datadir}/services/renimagedlg.desktop + +########## + +%package -n trinity-kicker-applets +Summary: Applets for Kicker, the Trinity panel +Group: Applications/Utilities +Requires: trinity-kicker + +%description -n trinity-kicker-applets +This package contains a variety of applets for Kicker, the KDE panel. +These applets will appear in the panel's Add--Applet menu. + +Included are a system monitor, a colour picker, a media player controller, +a mathematical evaluator and a binary clock. + +The media control applet does not support XMMS, as this would force all +kicker-applets users to install XMMS. If you want a kicker applet that +controls XMMS, install the xmms-kde-trinity package. + +%files -n trinity-kicker-applets +%defattr(-,root,root,-) +%doc README +%{tde_tdelibdir}/kolourpicker_panelapplet.la +%{tde_tdelibdir}/kolourpicker_panelapplet.so +%{tde_tdelibdir}/ktimemon_panelapplet.la +%{tde_tdelibdir}/ktimemon_panelapplet.so +%{tde_tdelibdir}/math_panelapplet.la +%{tde_tdelibdir}/math_panelapplet.so +%{tde_tdelibdir}/mediacontrol_panelapplet.la +%{tde_tdelibdir}/mediacontrol_panelapplet.so +%{tde_tdelibdir}/kbinaryclock_panelapplet.la +%{tde_tdelibdir}/kbinaryclock_panelapplet.so +%{tde_datadir}/apps/kicker/applets +%{tde_datadir}/apps/mediacontrol +%{tde_datadir}/config.kcfg/kbinaryclock.kcfg +%{tde_datadir}/icons/locolor/*/apps/ktimemon.png +%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png +%{tde_tdedocdir}/HTML/en/kicker-applets/ + +%post -n trinity-kicker-applets +for f in crystalsvg 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 + +%postun -n trinity-kicker-applets +for f in crystalsvg 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 + +########## + +%package -n trinity-knewsticker-scripts +Summary: scripts for KNewsTicker, the Trinity news ticker +Group: Applications/Utilities +Requires: perl +Requires: python +#Requires: libfinance-quote-perl +#Requires: libmime-perl +#Requires: libnews-nntpclient-perl +Requires: perl-libwww-perl +Requires: trinity-knewsticker + +%description -n trinity-knewsticker-scripts +This package contains a variety of scripts that provide additional news +sources for KNewsTicker, the news ticker applet for the TDE panel. + +Highlights include newsgroup handling, stock data retrieval, sports scores +and various local news sources. + +%files -n trinity-knewsticker-scripts +%defattr(-,root,root,-) +%doc README +%{tde_datadir}/apps/knewsticker/ + +########## + +%package -n trinity-konq-plugins +Summary: plugins for Konqueror, the Trinity file/web/doc browser +Group: Applications/Utilities +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: %{_lib}jpeg8 +%else +Requires: libjpeg +%endif +Requires: python +Requires: rsync +#Requires: unison +Requires: trinity-konqueror +%if 0%{?fedora} +Requires: python-exif +%endif + +%description -n trinity-konq-plugins +This package contains a variety of useful plugins for Konqueror, the +file manager, web browser and document viewer for TDE. Many of these +plugins will appear in Konqueror's Tools menu. + +Highlights for web browsing include web page translation, web page archiving, +auto-refreshing, HTML and CSS structural analysis, a search toolbar, a +sidebar news ticker, fast access to common options, bookmarklets, a crash +monitor, a microformat availability indicator, a del.icio.us bookmarks +sidebar, and integration with the aKregator RSS feed reader. + +Highlights for directory browsing include directory filters, image gallery +creation, archive compression and extraction, quick copy/move, a sidebar +media player, a file information metabar/sidebar, a media folder helper, a +graphical disk usage viewer and image conversions and transformations. + +%files -n trinity-konq-plugins +%defattr(-,root,root,-) +%doc konq-plugins/README +%{tde_datadir}/config/translaterc +%{tde_bindir}/fsview +%{tde_bindir}/jpegorient +%{tde_bindir}/kio_media_realfolder +%{tde_tdelibdir}/konq_sidebarnews.la +%{tde_tdelibdir}/konq_sidebarnews.so +%{tde_tdelibdir}/konqsidebar_delicious.la +%{tde_tdelibdir}/konqsidebar_delicious.so +%{tde_tdelibdir}/konqsidebar_mediaplayer.la +%{tde_tdelibdir}/konqsidebar_mediaplayer.so +%{tde_tdelibdir}/konqsidebar_metabar.la +%{tde_tdelibdir}/konqsidebar_metabar.so +%{tde_tdelibdir}/libakregatorkonqfeedicon.la +%{tde_tdelibdir}/libakregatorkonqfeedicon.so +%{tde_tdelibdir}/libakregatorkonqplugin.la +%{tde_tdelibdir}/libakregatorkonqplugin.so +%{tde_tdelibdir}/libarkplugin.la +%{tde_tdelibdir}/libarkplugin.so +%{tde_tdelibdir}/libautorefresh.la +%{tde_tdelibdir}/libautorefresh.so +%{tde_tdelibdir}/libbabelfishplugin.la +%{tde_tdelibdir}/libbabelfishplugin.so +%{tde_tdelibdir}/libcrashesplugin.la +%{tde_tdelibdir}/libcrashesplugin.so +%{tde_tdelibdir}/libdirfilterplugin.la +%{tde_tdelibdir}/libdirfilterplugin.so +%{tde_tdelibdir}/librsyncplugin.la +%{tde_tdelibdir}/librsyncplugin.so +%{tde_tdelibdir}/libdomtreeviewerplugin.la +%{tde_tdelibdir}/libdomtreeviewerplugin.so +%{tde_tdelibdir}/libfsviewpart.la +%{tde_tdelibdir}/libfsviewpart.so +%{tde_tdelibdir}/libkhtmlsettingsplugin.la +%{tde_tdelibdir}/libkhtmlsettingsplugin.so +%{tde_tdelibdir}/kcm_kuick.la +%{tde_tdelibdir}/kcm_kuick.so +%{tde_tdelibdir}/libkimgallery.la +%{tde_tdelibdir}/libkimgallery.so +%{tde_tdelibdir}/libkuickplugin.la +%{tde_tdelibdir}/libkuickplugin.so +%{tde_tdelibdir}/libmfkonqmficon.la +%{tde_tdelibdir}/libmfkonqmficon.so +%{tde_tdelibdir}/libminitoolsplugin.la +%{tde_tdelibdir}/libminitoolsplugin.so +%{tde_tdelibdir}/librellinksplugin.la +%{tde_tdelibdir}/librellinksplugin.so +%{tde_tdelibdir}/libsearchbarplugin.la +%{tde_tdelibdir}/libsearchbarplugin.so +%{tde_tdelibdir}/libuachangerplugin.la +%{tde_tdelibdir}/libuachangerplugin.so +%{tde_tdelibdir}/libvalidatorsplugin.la +%{tde_tdelibdir}/libvalidatorsplugin.so +%{tde_tdelibdir}/libwebarchiverplugin.la +%{tde_tdelibdir}/libwebarchiverplugin.so +%{tde_tdelibdir}/webarchivethumbnail.la +%{tde_tdelibdir}/webarchivethumbnail.so +%{tde_datadir}/applnk/.hidden/arkplugin.desktop +%{tde_datadir}/applnk/.hidden/kcmkuick.desktop +%{tde_datadir}/applnk/.hidden/kuickplugin.desktop +%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop +%{tde_datadir}/applnk/.hidden/crashesplugin.desktop +%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop +%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop +%{tde_datadir}/applnk/.hidden/fsview.desktop +%{tde_datadir}/applnk/.hidden/khtmlsettingsplugin.desktop +%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop +%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop +%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop +%{tde_datadir}/applnk/.hidden/plugin_validators.desktop +%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop +%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop +%{tde_datadir}/apps/akregator +%{tde_datadir}/apps/domtreeviewer +%{tde_datadir}/apps/fsview +%{tde_datadir}/apps/imagerotation/orient.py* +%{tde_datadir}/apps/imagerotation/exif.py* +%{tde_datadir}/apps/khtml/kpartplugins +%{tde_datadir}/apps/konqiconview +%{tde_datadir}/apps/konqlistview +%{tde_datadir}/apps/konqsidebartng +%{tde_datadir}/apps/konqueror/icons +%{tde_datadir}/apps/konqueror/kpartplugins +%{tde_datadir}/apps/konqueror/servicemenus +%{tde_datadir}/apps/metabar/iconsrc +%{tde_datadir}/apps/metabar/themes/default/default.css +%{tde_datadir}/apps/metabar/themes/default/layout.html +%{tde_datadir}/apps/microformat/pics/microformat.png +%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg +%{tde_datadir}/icons/locolor/16x16/apps/autorefresh.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/babelfish.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/cssvalidator.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/domtreeviewer.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/htmlvalidator.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/imagegallery.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesync.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesyncconfig.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/validators.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/webarchiver.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_delicious.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_news.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/babelfish.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/cssvalidator.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/domtreeviewer.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/htmlvalidator.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/imagegallery.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesync.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesyncconfig.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/validators.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/webarchiver.png +%{tde_datadir}/icons/crystalsvg/22x22/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/32x32/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/32x32/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/48x48/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/48x48/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/hicolor/16x16/apps/metabar.png +%{tde_datadir}/icons/hicolor/22x22/apps/fsview.png +%{tde_datadir}/icons/hicolor/32x32/apps/fsview.png +%{tde_datadir}/icons/hicolor/32x32/apps/metabar.png +%{tde_datadir}/icons/hicolor/48x48/apps/metabar.png +%{tde_datadir}/icons/hicolor/64x64/apps/metabar.png +%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz +%{tde_datadir}/icons/hicolor/128x128/apps/metabar.png +%{tde_datadir}/icons/locolor/32x32/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/services/akregator_konqplugin.desktop +%{tde_datadir}/services/ark_plugin.desktop +%{tde_datadir}/services/fsview_part.desktop +%{tde_datadir}/services/kuick_plugin.desktop +%{tde_datadir}/services/webarchivethumbnail.desktop +%{tde_tdelibdir}/libadblock.la +%{tde_tdelibdir}/libadblock.so +%{tde_tdedocdir}/HTML/en/konq-plugins/ + +%if 0%{?fedora} +%{tde_datadir}/apps/metabar/themes/fedora/ +%{tde_datadir}/config/metabarrc +%endif + +%post -n trinity-konq-plugins +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 + +%postun -n trinity-konq-plugins +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 + +########## + +%package -n trinity-ksig +Summary: Graphical tool for managing multiple email signatures +Group: Applications/Utilities +Requires: trinity-kmail + +%description -n trinity-ksig +KSig is a graphical tool for keeping track of many different email +signatures. The signatures themselves can be edited through KSig's +graphical user interface. A command-line interface is then available +for generating random or daily signatures from this list. + +The command-line interface makes a suitable plugin for generating +signatures in external mail clients such as KMail. + +%files -n trinity-ksig +%defattr(-,root,root,-) +%doc README +%{tde_bindir}/ksig +%{tde_tdeappdir}/ksig.desktop +%{tde_datadir}/apps/ksig/ksigui.rc +%{tde_datadir}/icons/hicolor/*/apps/ksig.png +%{tde_tdedocdir}/HTML/en/ksig/ + +%post -n trinity-ksig +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-ksig +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-noatun-plugins +Summary: plugins for Noatun, the Trinity media player +Group: Applications/Utilities +Requires: trinity-noatun + +%description -n trinity-noatun-plugins +This package contains a variety of useful plugins for Noatun, the audio and +video media player for TDE. These plugins can be loaded through the plugin +manager in Noatun settings. + +Highlights include an alarm clock, guessing tags from filenames, adjustable +playback speed, capture to wave file and displaying lyrics, plus a variety +of user interfaces, playlists and visualisation plugins. + +%files -n trinity-noatun-plugins +%defattr(-,root,root,-) +%doc README +%{tde_bindir}/noatunsynaescope.bin +%{tde_bindir}/noatuntippecanoe.bin +%{tde_bindir}/noatuntyler.bin +%{tde_tdelibdir}/noatunalsaplayer.la +%{tde_tdelibdir}/noatunalsaplayer.so +%{tde_tdelibdir}/noatunblurscope.la +%{tde_tdelibdir}/noatunblurscope.so +%{tde_tdelibdir}/noatuncharlatan.la +%{tde_tdelibdir}/noatuncharlatan.so +%{tde_tdelibdir}/noatundub.la +%{tde_tdelibdir}/noatundub.so +%{tde_tdelibdir}/noatun_ffrs.la +%{tde_tdelibdir}/noatun_ffrs.so +%{tde_tdelibdir}/noatunluckytag.la +%{tde_tdelibdir}/noatunluckytag.so +%{tde_tdelibdir}/noatunlyrics.la +%{tde_tdelibdir}/noatunlyrics.so +%{tde_tdelibdir}/noatunmadness.la +%{tde_tdelibdir}/noatunmadness.so +%{tde_tdelibdir}/noatun_oblique.la +%{tde_tdelibdir}/noatun_oblique.so +%{tde_tdelibdir}/noatunpitchablespeed.la +%{tde_tdelibdir}/noatunpitchablespeed.so +%{tde_tdelibdir}/noatunsynaescope.la +%{tde_tdelibdir}/noatunsynaescope.so +%{tde_tdelibdir}/noatuntippecanoe.la +%{tde_tdelibdir}/noatuntippecanoe.so +%{tde_tdelibdir}/noatuntyler.la +%{tde_tdelibdir}/noatuntyler.so +%{tde_tdelibdir}/noatunwakeup.la +%{tde_tdelibdir}/noatunwakeup.so +%{tde_tdelibdir}/noatunwavecapture.la +%{tde_tdelibdir}/noatunwavecapture.so +%{tde_datadir}/apps/noatun/* +%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png + +%post -n trinity-noatun-plugins +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-noatun-plugins +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 + +########## + + + +%prep +%setup -q -a 1 -n kdeaddons +%patch0 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +#export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +%configure \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --enable-closure \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/db4:%{tde_includedir}/arts:%{tde_includedir} \ + --without-xmms \ + --with-sdl \ + --with-berkeley-db + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# File lists for locale +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 ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi + done +fi + +%if 0%{?fedora} +# install fedora metabar theme +cp -prf fedora %{buildroot}%{tde_datadir}/apps/metabar/themes +install -m644 -p %{SOURCE2} %{buildroot}%{tde_datadir}/config/ +%endif + + + + + +%clean +%__rm -rf %{buildroot} + + + + +%changelog +* Thu Aug 09 2012 Francois Andriot <[email protected]> - 3.5.13-6 +- Updates from v3.5.13-sru branch +- Rebuilt for tdebase-3.5.13-27 + +* Fri Jun 29 2012 Francois Andriot <[email protected]> - 3.5.13-5 +- Split in several packages + +* Sat May 05 2012 Francois Andriot <[email protected]> - 3.5.13-4 +- Removes SDL patch for noatun + +* Thu Dec 15 2011 Francois Andriot <[email protected]> - 3.5.13-3 +- Fix content of -extras package +- Fix various packaging issues + +* Fri Nov 04 2011 Francois Andriot <[email protected]> - 3.5.13-2 +- Updates BuildRequires + +* Sun Oct 30 2011 Francois Andriot <[email protected]> - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sat Oct 29 2011 Francois Andriot <[email protected]> - 3.5.13-0 +- Import to GIT + |