diff options
Diffstat (limited to 'redhat/applications')
17 files changed, 1839 insertions, 0 deletions
diff --git a/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla.spec b/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla.spec new file mode 100644 index 000000000..e693dadb9 --- /dev/null +++ b/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla.spec @@ -0,0 +1,110 @@ +# Default version for this component +%define kdecomp kaffeine-mozilla +%define version 0.4.3.1.dfsg +%define release 1 + +%define _prefix /usr + +# 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.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +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: %{kdecomp}-3.5.13.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +BuildRequires: libXaw-devel +BuildRequires: nspr-devel +Requires: trinity-kaffeine + +%description +This mozilla plugin launches kaffeine, the xine-based media player for KDE, +when a page containing a supported media format is loaded. + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} + +%__cp -f "/usr/share/aclocal/libtool.m4" . +%__cp -f "/usr/share/libtool/config/ltmain.sh" . +autoreconf + +for i in src/jri_md.h src/jni_md.h; do + %__sed -i "${i}" \ + -e "s|nspr/prtypes.h|nspr4/prtypes.h|g" +done + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure \ + --prefix=%{_prefix}/%{_lib}/mozilla + +%__make %{?_smp_mflags} + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README +%exclude %{_libdir}/mozilla/plugins/kaffeineplugin.a +%{_libdir}/mozilla/plugins/kaffeineplugin.la +%{_libdir}/mozilla/plugins/kaffeineplugin.so + + +%Changelog +* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.3.1.dfsg-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kde-systemsettings/kde-settings-laptops.directory b/redhat/applications/kde-systemsettings/kde-settings-laptops.directory new file mode 100644 index 000000000..687a493c4 --- /dev/null +++ b/redhat/applications/kde-systemsettings/kde-settings-laptops.directory @@ -0,0 +1,13 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Laptops & Power +Name[br]=Gremm +Name[el]=Ισχύς +Name[it]=Energia +Name[mt]=Elettriku +Name[nl]=Energie +Name[pa]=ਊਰਜਾ(power) +Name[pt_BR]=Energia +Name[ru]=Управление питанием +Name[sv]=Effekt +Icon=energy diff --git a/redhat/applications/kde-systemsettings/trinity-kde-systemsettings.spec b/redhat/applications/kde-systemsettings/trinity-kde-systemsettings.spec new file mode 100644 index 000000000..d000bc753 --- /dev/null +++ b/redhat/applications/kde-systemsettings/trinity-kde-systemsettings.spec @@ -0,0 +1,120 @@ +# Default version for this component +%define kdecomp kde-systemsettings +%define version 0.0svn20070312 +%define release 1 + +# 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.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: easy to use control centre for TDE +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +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: %{kdecomp}-3.5.13.tar.gz +Source1: kde-settings-laptops.directory + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + + +%description +System preferences is a replacement for the TDE +Control Centre with an improved user interface. + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \ + -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/desktop-directories/ + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg || : + +%postun +touch --no-create %{_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg || : + + +%files +%defattr(-,root,root,-) +%doc README TODO +%{_sysconfdir}/xdg/menus/applications-merged/system-settings-merge.menu +%exclude %{_sysconfdir}/xdg/menus/system-settings.menu +%{_bindir}/systemsettings +%{_datadir}/applications/kde/audioencoding.desktop +%{_datadir}/applications/kde/defaultapplication.desktop +%{_datadir}/applications/kde/kcm_knetworkconfmodule_ss.desktop +%{_datadir}/applications/kde/laptoppowermanagement.desktop +%{_datadir}/applications/kde/medianotifications.desktop +%{_datadir}/applications/kde/systemsettings.desktop +%{_datadir}/apps/systemsettings/systemsettingsui.rc +%{_datadir}/config/systemsettingsrc +%{_datadir}/desktop-directories/*.directory +%{_datadir}/icons/crystalsvg/*/apps/systemsettings.png + +%exclude %{_datadir}/applications/kde/kcmfontinst.desktop +%exclude %{_datadir}/desktop-directories/kde-settings-power.directory +%exclude %{_datadir}/desktop-directories/kde-settings-system.directory + + +%Changelog +* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kio-locate/trinity-kio-locate.spec b/redhat/applications/kio-locate/trinity-kio-locate.spec new file mode 100644 index 000000000..1ff1b119b --- /dev/null +++ b/redhat/applications/kio-locate/trinity-kio-locate.spec @@ -0,0 +1,105 @@ +# Default version for this component +%define kdecomp kio-locate +%define version 0.4.5 +%define release 1 + +# 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.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: kio-slave for the locate command [Trinity] +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +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: %{kdecomp}-3.5.13.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +BuildRequires: scons + +%description +Adds support for the "locate:" and "locater:" +protocols to Konqueror and other KDE applications. + +This enables you to perform locate searches as you +would in a terminal. The result is displayed just +as a directory. + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside SCONS files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/kde.py \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" +scons configure +scons + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +scons install DESTDIR=%{buildroot} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO +%{tde_libdir}/kio_locate.la +%{tde_libdir}/kio_locate.so +%{tde_docdir}/HTML/en/kio-locate/index.cache.bz2 +%{tde_docdir}/HTML/en/kio-locate/index.docbook +%{tde_docdir}/HTML/en/kio-locate/screenshot.png +%{_datadir}/services/locate.protocol +%{_datadir}/services/locater.protocol +%{_datadir}/services/rlocate.protocol +%{_datadir}/services/searchproviders/locate.desktop + + +%Changelog +* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kio-umountwrapper/trinity-kio-umountwrapper.spec b/redhat/applications/kio-umountwrapper/trinity-kio-umountwrapper.spec new file mode 100644 index 000000000..172f54bf3 --- /dev/null +++ b/redhat/applications/kio-umountwrapper/trinity-kio-umountwrapper.spec @@ -0,0 +1,104 @@ +# Default version for this component +%define kdecomp kio-umountwrapper +%define version 0.2 +%define release 1 + +# 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.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: progress dialog for safely removing devices in Trinity. +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://frode.kde.no/misc/kio_umountwrapper/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + + +%description +Wrapper around kio_media_mountwrapper. +Provides a progress dialog for Safely Removing of devices in Trinity. + + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \ + -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{_bindir}/kio_umountwrapper + + +%Changelog +* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kmplayer/kmplayer-3.5.13-ftbfs.patch b/redhat/applications/kmplayer/kmplayer-3.5.13-ftbfs.patch new file mode 100644 index 000000000..6b606e32b --- /dev/null +++ b/redhat/applications/kmplayer/kmplayer-3.5.13-ftbfs.patch @@ -0,0 +1,10 @@ +--- kmplayer/src/Makefile.am.ORI 2011-12-03 23:22:01.601981533 +0100 ++++ kmplayer/src/Makefile.am 2011-12-03 23:22:44.469655046 +0100 +@@ -58,6 +58,7 @@ + kgstplayer_SOURCES= gstplayer.cpp + + knpplayer_LDADD= $(LIBNSPR_LIBS) ++knpplayer_LDFLAGS= -lX11 + knpplayer_SOURCES= npplayer.c + + xdg_apps_DATA = kmplayer.desktop diff --git a/redhat/applications/kmplayer/trinity-kmplayer.spec b/redhat/applications/kmplayer/trinity-kmplayer.spec new file mode 100644 index 000000000..9b938fc7e --- /dev/null +++ b/redhat/applications/kmplayer/trinity-kmplayer.spec @@ -0,0 +1,198 @@ +# Default version for this component +%define kdecomp kmplayer +%define version 0.10.0c +%define release 1 + +# 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.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: media player for Trinity +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://kmplayer.kde.org + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz +Patch0: kmplayer-3.5.13-ftbfs.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +BuildRequires: libXv-devel +BuildRequires: dbus-tqt-devel +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-plugins-base-devel + +Requires: %{name}-base + +%description +A basic audio/video viewer application for Trinity. + +KMPlayer can: +* play DVD (DVDNav only with the Xine player) +* play VCD +* let the backend players play from a pipe (read from stdin) +* play from a TV device (experimental) +* show backend player's console output +* launch ffserver (only 0.4.8 works) when viewing from a v4l device +* DCOP KMediaPlayer interface support +* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard KDE + shortcut configure window +* Lots of configurable shortcuts. Highly recommended for the VDR keys + (if you have VDR) and volume increase/decrease + + +%package base +Group: Applications/Multimedia +Summary: Base files for KMPlayer [Trinity] + +%description base +Core files needed for KMPlayer. + + +%package konq-plugins +Group: Applications/Multimedia +Requires: trinity-kmplayer-base, trinity-kdebase +Summary: KMPlayer plugin for KHTML/Konqueror [Trinity] + +%description konq-plugins +This plugin enables audio/video playback inside konqueror, using Xine (with +*kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web +tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin +browser plugins. + + +%package doc +Group: Applications/Multimedia +Requires: %{name} = %{version}-%{release} +Summary: Handbook for KMPlayer [Trinity] + +%description doc +Documention for KMPlayer, a basic audio/video viewer application for KDE. + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} +%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,%{_includedir}/tqt,g" \ + -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt:%{_includedir}/dbus-1.0 \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%post base +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun base +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%post konq-plugins -p /sbin/ldconfig +%postun konq-plugins -p /sbin/ldconfig + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc README TODO +%{_bindir}/kmplayer +%{_bindir}/knpplayer +%{_bindir}/kxvplayer +%{_libdir}/libkdeinit_kmplayer.la +%{_libdir}/libkdeinit_kmplayer.so +%{tde_libdir}/kmplayer.la +%{tde_libdir}/kmplayer.so +%{_datadir}/applications/kde/kmplayer.desktop +%{_datadir}/apps/kmplayer +%exclude %{_datadir}/mimelnk/application/x-mplayer2.desktop +%{_datadir}/services/kmplayer_part.desktop + +%files base +%defattr(-,root,root,-) +%{_libdir}/libkmplayercommon.la +%{_libdir}/libkmplayercommon.so +%{_bindir}/kgstplayer +%{_bindir}/kxineplayer +%{_datadir}/config/kmplayerrc +%{_datadir}/apps/kmplayer/bookmarks.xml +%{_datadir}/apps/kmplayer/noise.gif +%{_datadir}/apps/kmplayer/pluginsinfo +%{_datadir}/icons/hicolor/*/apps/kmplayer.png +%{_datadir}/icons/hicolor/*/apps/kmplayer.svgz +%{_datadir}/mimelnk/application/x-kmplayer.desktop +%{_datadir}/mimelnk/video/x-ms-wmp.desktop + + +%files doc +%defattr(-,root,root,-) +%{tde_docdir}/HTML/*/kmplayer + +%files konq-plugins +%defattr(-,root,root,-) +%{tde_libdir}/libkmplayerpart.la +%{tde_libdir}/libkmplayerpart.so +%{_datadir}/apps/kmplayer/kmplayerpartui.rc +%{_datadir}/apps/kmplayer/pluginsinfo +%{_datadir}/services/kmplayer_part.desktop + + +%Changelog +* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kmyfirewall/trinity-kmyfirewall.spec b/redhat/applications/kmyfirewall/trinity-kmyfirewall.spec new file mode 100644 index 000000000..54befc39d --- /dev/null +++ b/redhat/applications/kmyfirewall/trinity-kmyfirewall.spec @@ -0,0 +1,179 @@ +# Default version for this component +%define kdecomp kmyfirewall +%define version 1.1.1 +%define release 1 + +# 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.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: iptables based firewall configuration tool for KDE [Trinity] +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +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: %{kdecomp}-3.5.13.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + + +%description +KMyFirewall attempts to make it easier to setup iptables based firewalls on +Linux systems. It will be the right tool if you like to have a so called +"Personal Firewall" running on your Linux box, but don't have the time and/or +the interest to spend hours in front of the iptables manual just to setup a +Firewall that keeps the "bad" people out. + +There is also the possibility to save entire rule sets, so you only have to +configure your rule set one time and then you can use it on several computers +giving each of them a similar configuration (p.e. school networks, office, +university etc.) + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +%{summary} + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \ + -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING COPYING-DOCS README TODO +%{_bindir}/kmyfirewall +%{_libdir}/libkmfcore.so.* +%{_libdir}/libkmfwidgets.so.* +%{tde_libdir}/libkmfcompiler_ipt.la +%{tde_libdir}/libkmfcompiler_ipt.so +%{tde_libdir}/libkmfgenericinterfacepart.la +%{tde_libdir}/libkmfgenericinterfacepart.so +%{tde_libdir}/libkmfinstaller_linux.la +%{tde_libdir}/libkmfinstaller_linux.so +%{tde_libdir}/libkmfinstallerplugin.la +%{tde_libdir}/libkmfinstallerplugin.so +%{tde_libdir}/libkmfipteditorpart.la +%{tde_libdir}/libkmfipteditorpart.so +%{tde_libdir}/libkmfruleoptionedit_custom.la +%{tde_libdir}/libkmfruleoptionedit_custom.so +%{tde_libdir}/libkmfruleoptionedit_interface.la +%{tde_libdir}/libkmfruleoptionedit_interface.so +%{tde_libdir}/libkmfruleoptionedit_ip.la +%{tde_libdir}/libkmfruleoptionedit_ip.so +%{tde_libdir}/libkmfruleoptionedit_limit.la +%{tde_libdir}/libkmfruleoptionedit_limit.so +%{tde_libdir}/libkmfruleoptionedit_mac.la +%{tde_libdir}/libkmfruleoptionedit_mac.so +%{tde_libdir}/libkmfruleoptionedit_protocol.la +%{tde_libdir}/libkmfruleoptionedit_protocol.so +%{tde_libdir}/libkmfruleoptionedit_state.la +%{tde_libdir}/libkmfruleoptionedit_state.so +%{tde_libdir}/libkmfruleoptionedit_tos.la +%{tde_libdir}/libkmfruleoptionedit_tos.so +%{tde_libdir}/libkmfruletargetoptionedit_log.la +%{tde_libdir}/libkmfruletargetoptionedit_log.so +%{tde_libdir}/libkmfruletargetoptionedit_mark.la +%{tde_libdir}/libkmfruletargetoptionedit_mark.so +%{tde_libdir}/libkmfruletargetoptionedit_nat.la +%{tde_libdir}/libkmfruletargetoptionedit_nat.so +%{tde_libdir}/libkmfruletargetoptionedit_tos.la +%{tde_libdir}/libkmfruletargetoptionedit_tos.so +%{_datadir}/applications/kde/kmyfirewall.desktop +%{_datadir}/apps/kmfgenericinterfacepart/kmfgenericinterfacepartui.rc +%{_datadir}/apps/kmfipteditorpart/kmfipteditorpartui.rc +%{_datadir}/apps/kmfsystray +%{_datadir}/apps/kmyfirewall +%{_datadir}/config.kcfg/kmfconfig.kcfg +%{_datadir}/config/kmyfirewallrc +%{tde_docdir}/HTML/en/kmyfirewall/common +%{tde_docdir}/HTML/en/kmyfirewall/index.cache.bz2 +%{tde_docdir}/HTML/en/kmyfirewall/index.docbook +%{_datadir}/icons/*/*/apps/kmyfirewall.png +%{_datadir}/mimelnk/application/kmfgrs.desktop +%{_datadir}/mimelnk/application/kmfnet.desktop +%{_datadir}/mimelnk/application/kmfpkg.desktop +%{_datadir}/mimelnk/application/kmfrs.desktop +%{_datadir}/services/kmf*.desktop +%{_datadir}/servicetypes/kmf*.desktop + +%files devel +%{_includedir}/kmyfirewall +%{_libdir}/libkmfcore.la +%{_libdir}/libkmfcore.so +%{_libdir}/libkmfwidgets.la +%{_libdir}/libkmfwidgets.so + +%Changelog +* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/knutclient/trinity-knutclient.spec b/redhat/applications/knutclient/trinity-knutclient.spec new file mode 100644 index 000000000..be92e93df --- /dev/null +++ b/redhat/applications/knutclient/trinity-knutclient.spec @@ -0,0 +1,112 @@ +# Default version for this component +%define kdecomp knutclient +%define version 0.9.5 +%define release 1 + +# 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.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: A KDE GUI that displays UPS statistics from NUT's upsd [Trinity] +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.knut.noveradsl.cz/knutclient/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + + +%description +KNutClient monitors UPS statistics through the NUT (Network UPS Tools, +http://www.networkupstools.org/) framework on Linux and other systems. This +information, presented in a nice visual format, can be invaluable on +stations using an UPS. + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \ + -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{_bindir}/knutclient +%{_datadir}/applnk/Utilities/knutclient.desktop +%{_datadir}/apps/knutclient/knutclientui.rc +%{_datadir}/apps/knutclient +%{tde_docdir}/HTML/cs/knutclient +%{tde_docdir}/HTML/en/knutclient +%{_datadir}/icons/*/*/apps/*.png + + +%Changelog +* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kopete-otr/trinity-kopete-otr.spec b/redhat/applications/kopete-otr/trinity-kopete-otr.spec new file mode 100644 index 000000000..390c5c14e --- /dev/null +++ b/redhat/applications/kopete-otr/trinity-kopete-otr.spec @@ -0,0 +1,125 @@ +# Default version for this component +%define kdecomp kopete-otr +%define version 0.7 +%define release 1 + +# 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.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: Off-The-Record encryption for Kopete [Trinity] +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +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: %{kdecomp}-3.5.13.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +# Kopete is provided by kdenetwork +BuildRequires: trinity-kdenetwork-devel +Requires: trinity-kdenetwork +BuildRequires: libotr-devel + +%description +This plugin enables Off-The-Record encryption for the KDE instant +messenger Kopete. Using this plugin you can encrypt chatsessions to other +users with IM-Cients supporting the OTR encryption method. + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \ + -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{_libdir}/libkotr.la +%{_libdir}/libkotr.so +%{_libdir}/libkotr.so.0 +%{_libdir}/libkotr.so.0.0.0 +%{tde_libdir}/kcm_kopete_otr.la +%{tde_libdir}/kcm_kopete_otr.so +%{tde_libdir}/kopete_otr.la +%{tde_libdir}/kopete_otr.so +%{_datadir}/apps/kopete_otr +%{_datadir}/config.kcfg/kopete_otr.kcfg +%{tde_docdir}/HTML/en/kopete_otr/common +%{tde_docdir}/HTML/en/kopete_otr/index.cache.bz2 +%{tde_docdir}/HTML/en/kopete_otr/index.docbook +%{_datadir}/icons/crystalsvg/16x16/apps/kopete_otr.png +%{_datadir}/locale/de/LC_MESSAGES/kopete_otr.mo +%{_datadir}/services/kconfiguredialog/kopete_otr_config.desktop +%{_datadir}/services/kopete_otr.desktop + + +%Changelog +* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.7-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/krusader/trinity-krusader.spec b/redhat/applications/krusader/trinity-krusader.spec new file mode 100644 index 000000000..eeb31a155 --- /dev/null +++ b/redhat/applications/krusader/trinity-krusader.spec @@ -0,0 +1,134 @@ +# Default version for this component +%define kdecomp krusader +%define version 1.90.0 +%define release 1 + +# 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 +%define _mandir %{_prefix}/share/man +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: twin-panel (commander-style) file manager for KDE (and other desktops) +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +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: %{kdecomp}-3.5.13.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +BuildRequires: trinity-kdebindings-devel + +%description +Krusader is a simple, easy, powerful, twin-panel (commander-style) file +manager for KDE and other desktops, similar to Midnight Commander (C) or Total +Commander (C). + +It provides all the file management features you could possibly want. + +Plus: extensive archive handling, mounted filesystem support, FTP, +advanced search module, viewer/editor, directory synchronisation, +file content comparisons, powerful batch renaming and much much more. + +It supports archive formats: ace, arj, bzip2, deb, iso, lha, rar, rpm, tar, +zip and 7-zip. + +It handles KIOSlaves such as smb:// or fish://. + +Almost completely customizable, Krusader is very user friendly, fast and looks +great on your desktop. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \ + -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt:%{tde_includedir} + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING FAQ README TODO +%{_bindir}/krusader +%{tde_libdir}/kio_krarc.la +%{tde_libdir}/kio_krarc.so +%{tde_libdir}/kio_virt.la +%{tde_libdir}/kio_virt.so +%{_datadir}/applications/kde/krusader.desktop +%{_datadir}/applications/kde/krusader_root-mode.desktop +%{_datadir}/apps/krusader +%{tde_docdir}/HTML/en/krusader +%{tde_docdir}/HTML/ru/krusader +%{_datadir}/icons/*/*/apps/*.png +%{_datadir}/services/krarc.protocol +%{_datadir}/services/virt.protocol +%{_mandir}/man1/krusader.1 + + +%Changelog +* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 1.90.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/ksystemlog/trinity-ksystemlog.spec b/redhat/applications/ksystemlog/trinity-ksystemlog.spec new file mode 100644 index 000000000..cf7249b88 --- /dev/null +++ b/redhat/applications/ksystemlog/trinity-ksystemlog.spec @@ -0,0 +1,112 @@ +# Default version for this component +%define kdecomp ksystemlog +%define version 0.3.2 +%define release 1 + +# 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.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: system log viewer tool for Trinity +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://ksystemlog.forum-software.org + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + + +%description +ksystemlog is a system log viewer tool for Trinity. + +This program is developed for being used by beginner users, which don't know +how to find information about their Linux system, and how the log files are in +their computer. But it is also designed for advanced users, who want to +quickly see problems occuring on their server. + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \ + -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README +%{_bindir}/ksystemlog +%{_datadir}/applnk/Utilities/ksystemlog.desktop +%{_datadir}/apps/ksystemlog/ksystemlogui.rc +%{_datadir}/config.kcfg/ksystemlog.kcfg +%{_datadir}/icons/hicolor/*/apps/ksystemlog.png +%{_datadir}/icons/hicolor/*/apps/ksystemlog.svgz + + +%Changelog +* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kvkbd/trinity-kvkbd.spec b/redhat/applications/kvkbd/trinity-kvkbd.spec new file mode 100644 index 000000000..e62bae222 --- /dev/null +++ b/redhat/applications/kvkbd/trinity-kvkbd.spec @@ -0,0 +1,107 @@ +# Default version for this component +%define kdecomp kvkbd +%define version 0.4.8 +%define release 1 + +# 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.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: Virtual keyboard for KDE [Trinity] +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://pan4os.info/main/index.php + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + + +%description +Virtual keyboard for KDE for use with accessibility. Application contains +a systray widget as well as a dockwidget. + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \ + -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{_bindir}/kvkbd +%{_datadir}/applnk/Utilities/kvkbd.desktop +%{_datadir}/apps/kvkbd/pics/dock.png +%{_datadir}/apps/kvkbd/pics/tray.png +%{_datadir}/icons/hicolor/16x16/apps/kvkbd.png +%{_datadir}/icons/hicolor/32x32/apps/kvkbd.png + + +%Changelog +* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.8-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/potracegui/trinity-potracegui.spec b/redhat/applications/potracegui/trinity-potracegui.spec new file mode 100644 index 000000000..51327f7e8 --- /dev/null +++ b/redhat/applications/potracegui/trinity-potracegui.spec @@ -0,0 +1,112 @@ +# Default version for this component +%define kdecomp potracegui +%define version 1.3 +%define release 1 + +# 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.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: KDE frontend for potrace [Trinity] +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://potracegui.sourceforge.net + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + + +%description +A KDE interface for the commandline tracing tools potrace and/or autotrace. It +supports drag and drop as well as all image types recognized by KDE, which are +a lot more than the 4 recognized by the potrace commandline tool. Loading of +remote files (web, ftp, ...) is also supported. + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \ + -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{_bindir}/potracegui +%{_datadir}/applnk/Utilities/potracegui.desktop +%{_datadir}/apps/potracegui/potraceguiui.rc +%{tde_docdir}/HTML/en/potracegui/common +%{tde_docdir}/HTML/en/potracegui/index.cache.bz2 +%{tde_docdir}/HTML/en/potracegui/index.docbook +%{_datadir}/icons/hicolor/16x16/apps/potracegui.png +%{_datadir}/icons/hicolor/32x32/apps/potracegui.png +%lang(de) %{_datadir}/locale/de/LC_MESSAGES/potracegui.mo + + +%Changelog +* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 1.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/smartcardauth/smartcardauth-3.5.13-ftbfs.patch b/redhat/applications/smartcardauth/smartcardauth-3.5.13-ftbfs.patch new file mode 100644 index 000000000..ce76facdc --- /dev/null +++ b/redhat/applications/smartcardauth/smartcardauth-3.5.13-ftbfs.patch @@ -0,0 +1,10 @@ +--- smartcardauth/src/ckpasswd.c.ORI 2011-12-04 03:44:36.047000504 -0500 ++++ smartcardauth/src/ckpasswd.c 2011-12-04 03:44:47.450745795 -0500 +@@ -30,6 +30,7 @@ + #include <fcntl.h> + #include <pwd.h> + #include <grp.h> ++#include <getopt.h> + + #define DB_DBM_HSEARCH 1 + #include <db.h> diff --git a/redhat/applications/smartcardauth/trinity-smartcardauth.spec b/redhat/applications/smartcardauth/trinity-smartcardauth.spec new file mode 100644 index 000000000..f762703e0 --- /dev/null +++ b/redhat/applications/smartcardauth/trinity-smartcardauth.spec @@ -0,0 +1,131 @@ +# Default version for this component +%define kdecomp smartcardauth +%define version 1.0 +%define release 1 + +# 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.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: SmartCard Login and LUKS Decrypt, Setup Utility +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/System + +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: %{kdecomp}-3.5.13.tar.gz +Patch0: smartcardauth-3.5.13-ftbfs.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +#BuildRequires: perl-PAR-Packer +Requires: pcsc-perl + +%description +This utility will allow you to set up your computer to accept a SmartCard as an authentication source for: +- Your encrypted LUKS partition +- TDE3.x, including automatic login, lock, and unlock features + +It is designed to work with any ISO 7816-1,2,3,4 compliant smartcard +Examples of such cards are: +- The Schlumberger MultiFlex +- The ACS ACOS5 / ACOS6 series of cryptographic ISO 7816 cards + +If a card is chosen that has PKSC support, such as the ACOS cards, this utility can run +simultaneously with the certificate reading program(s) to provide single sign on +in addition to the PKCS certificate functionality + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} +%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 "src/Makefile" \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \ + -e "s,/usr/include/qt3,${QTINC},g" + +%__sed -i "Makefile" \ + -e "s|/usr/lib/perl5/Chipcard|/usr/lib64/perl5/vendor_perl/Chipcard|g" + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +./build_ckpasswd + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} + +%__install -D -m 755 scriptor_standalone.pl %{buildroot}%{_bindir}/scriptor.pl +%__install -D -m 755 src/ckpasswd %{buildroot}%{_bindir}/smartauthckpasswd +#%__install -D -m 755 src/ckpasswd %{buildroot}%{_bindir}/smartauthmon +%__ln_s smartauthckpasswd %{buildroot}%{_bindir}/smartauthmon +%__cp -Rp usr/* %{buildroot}%{_prefix} + +%__mkdir_p %{buildroot}%{_sysconfdir} +%__cp -Rp etc/* %{buildroot}%{_sysconfdir} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc gpl.txt +%{_sysconfdir}/init/smartauthlogin.conf +%{_sysconfdir}/smartauth/smartauth.sh.in +%{_sysconfdir}/smartauth/smartauthmon.sh.in +%{_bindir}/cryptosmartcard.sh +%{_bindir}/scriptor.pl +%{_bindir}/setupcard.sh +%{_bindir}/setupslavecard.sh +%{_bindir}/smartauth.sh +%{_bindir}/smartauthckpasswd +%{_bindir}/smartauthmon +%{_datadir}/applications/smartcardauth.desktop +%{_datadir}/applications/smartcardrestrict.desktop +%{_datadir}/icons/hicolor/16x16/apps/smartcardauth.png +%{_datadir}/icons/hicolor/32x32/apps/smartcardauth.png +%{_datadir}/initramfs-tools/hooks/cryptlukssc + + +%Changelog +* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/soundkonverter/trinity-soundkonverter.spec b/redhat/applications/soundkonverter/trinity-soundkonverter.spec new file mode 100644 index 000000000..b9ff1ae15 --- /dev/null +++ b/redhat/applications/soundkonverter/trinity-soundkonverter.spec @@ -0,0 +1,157 @@ +# Default version for this component +%define kdecomp soundkonverter +%define version 0.3.8 +%define release 1 + +# 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.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: audio converter frontend for Trinity +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Application/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://potracegui.sourceforge.net + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + + +%description +soundKonverter is a frontend to various audio converters. + +The key features are: + - Audio conversion + - Replay Gain calculation + - CD ripping + +soundKonverter supports reading and writing tags for many formats, so the tags +are preserved when converting files. + +It comes with an Amarok script. + +See 'soundkonverter-amarok' package for more informations. + +See README.Debian for more informations on supported formats. + + +%package amarok +Summary: audio converter frontend for Trinity (Amarok script) +Group: Application/Multimedia +Requires: %{name} = %{version}-%{release} +Requires: trinity-amarok + +%description amarok +Amarok script for soundKonverter. It allows you to easily transcode files when +transferring them to your media device. + +See the 'soundkonverter-trinity' package for more information. + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \ + -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt:/usr/include/cdda \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{_bindir}/soundkonverter +%{_bindir}/userscript.sh +%{_datadir}/applications/kde/soundkonverter.desktop +%{_datadir}/apps/konqueror/servicemenus/audiocd_extract_with_soundkonverter.desktop +%{_datadir}/apps/soundkonverter +%exclude %{_datadir}/apps/soundkonverter/amarokscript/README +%exclude %{_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb +%{tde_docdir}/HTML/en/soundkonverter/common +%{tde_docdir}/HTML/en/soundkonverter/index.cache.bz2 +%{tde_docdir}/HTML/en/soundkonverter/index.docbook +%{_datadir}/icons/hicolor/*/apps/soundkonverter*.png +%{_datadir}/mimelnk/application/x-la.soundkonverter.desktop +%{_datadir}/mimelnk/application/x-ofc.soundkonverter.desktop +%{_datadir}/mimelnk/application/x-ofr.soundkonverter.desktop +%{_datadir}/mimelnk/application/x-ofs.soundkonverter.desktop +%{_datadir}/mimelnk/application/x-shorten.soundkonverter.desktop +%{_datadir}/mimelnk/audio/amr.soundkonverter.desktop +%{_datadir}/mimelnk/audio/x-ape.soundkonverter.desktop +%{_datadir}/mimelnk/audio/x-bonk.soundkonverter.desktop +%{_datadir}/mimelnk/audio/x-pac.soundkonverter.desktop +%{_datadir}/mimelnk/audio/x-tta.soundkonverter.desktop +%{_datadir}/mimelnk/audio/x-wavpack-correction.soundkonverter.desktop +%{_datadir}/mimelnk/audio/x-wavpack.soundkonverter.desktop +%{_datadir}/mimelnk/video/x-flv.soundkonverter.desktop + +%files amarok +%defattr(-,root,root,-) +%{_datadir}/apps/soundkonverter/amarokscript/README +%{_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb + + +%Changelog +* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.8-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + |