summaryrefslogtreecommitdiffstats
path: root/redhat/applications
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-11-20 17:23:38 +0100
committeralbator <albator@arcadia.vtf>2011-11-20 17:23:38 +0100
commit7d1695925f047c17da905d5f3f4dad9e4f0b26d0 (patch)
treef0d5b257092a7dfab7ee4d84883c52f65bf3fe28 /redhat/applications
parent84baf65a460665c14ec77a19ff760067ef639ec0 (diff)
downloadtde-packaging-7d1695925f047c17da905d5f3f4dad9e4f0b26d0.tar.gz
tde-packaging-7d1695925f047c17da905d5f3f4dad9e4f0b26d0.zip
RHEL/Fedora: adds fusion-icon, kbfx, kradio, kcpuload, knights, ksplash-engine-moodin, ksquirrel, libksquirrel
Diffstat (limited to 'redhat/applications')
-rw-r--r--redhat/applications/fusion-icon/trinity-fusion-icon.spec98
-rw-r--r--redhat/applications/kbfx/trinity-kbfx.spec134
-rw-r--r--redhat/applications/kcpuload/trinity-kcpuload.spec108
-rw-r--r--redhat/applications/knights/trinity-knights.spec115
-rw-r--r--redhat/applications/kradio/trinity-kradio.spec124
-rw-r--r--redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin.spec114
6 files changed, 693 insertions, 0 deletions
diff --git a/redhat/applications/fusion-icon/trinity-fusion-icon.spec b/redhat/applications/fusion-icon/trinity-fusion-icon.spec
new file mode 100644
index 000000000..6b56f82b5
--- /dev/null
+++ b/redhat/applications/fusion-icon/trinity-fusion-icon.spec
@@ -0,0 +1,98 @@
+# Default version for this component
+%define kdecomp fusion-icon
+%define version 0.0.0+git20071028
+%define release 1
+
+%define _prefix /usr
+%if "%{?python2_sitelib}" == ""
+%define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
+%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: tray icon to launch and manage Compiz Fusion [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: python
+Requires: python
+
+%description
+The OpenCompositing Project brings 3D desktop visual effects that
+improve the usability and eye candy of the X Window System and provide
+increased productivity.
+
+This package contains a tray icon that can launch Compiz and its
+decorators.
+
+
+%prep
+%setup -q -n applications/%{kdecomp}
+
+%__sed -i Makefile \
+ -e "s,^PREFIX = .*,PREFIX = '%{_prefix}'," \
+ -e "s,^DESTDIR = .*,DESTDIR = '%{buildroot}',"
+
+%build
+export PATH="%{_bindir}:${PATH}"
+%__make
+
+
+%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,-)
+%{_bindir}/fusion-icon
+%{python2_sitelib}/FusionIcon/
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
+%{python2_sitelib}/fusion_icon-0.0.0_git-py*.egg-info
+%endif
+%{_datadir}/applications/fusion-icon.desktop
+%{_datadir}/icons/hicolor/22x22/apps/fusion-icon.png
+%{_datadir}/icons/hicolor/24x24/apps/fusion-icon.png
+%{_datadir}/icons/hicolor/48x48/apps/fusion-icon.png
+%{_datadir}/icons/hicolor/scalable/apps/fusion-icon.svg
+
+
+%Changelog
+* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.0.0+git20071028-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kbfx/trinity-kbfx.spec b/redhat/applications/kbfx/trinity-kbfx.spec
new file mode 100644
index 000000000..55e16d6c7
--- /dev/null
+++ b/redhat/applications/kbfx/trinity-kbfx.spec
@@ -0,0 +1,134 @@
+# Default version for this component
+%define kdecomp kbfx
+%define version 0.4.9.3.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: an alternative to K-Menu 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
+KBFX is an alternative to the classical K-Menu button and its menu.
+It improves the user experience by enabling him to set a bigger (and thus more
+visible) start button and by finally replacing the Win95-like K-Menu.
+If you still want the old menu, because you're used to it, it is still
+available as an option in kbfx. We recommend, however, that you give the Spinx
+bar a try.
+
+Homepage: http://www.kbfx.org
+
+
+%prep
+%setup -q -n applications/%{kdecomp}
+
+# Fix TDE executable path in CMakeLists.txt
+%__sed -i "CMakeLists.txt" \
+ -e "s,/usr/bin/uic-tqt,%{_bindir}/uic-tqt," \
+ -e "s,/usr/bin/tmoc,%{_bindir}/tmoc," \
+ -e "s,/usr/include/tqt,%{_includedir}/tqt,"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt.sh
+export PATH="%{_bindir}:${PATH}"
+
+%__mkdir build
+cd build
+%cmake \
+ -DUSE_STRIGI=OFF \
+ -DUSE_MENUDRAKE=OFF \
+ -DUSE_KDE4=OFF \
+ ..
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+/sbin/ldconfig
+touch --no-create %{_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+
+%postun
+/sbin/ldconfig
+touch --no-create %{_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/kbfxconfigapp
+%{_includedir}/kbfx
+%{_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.la
+%{_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.so
+%{_libdir}/kbfx/plugins/libkbfxplasmadatasettings.la
+%{_libdir}/kbfx/plugins/libkbfxplasmadatasettings.so
+%{_libdir}/kbfx/plugins/libkbfxplasmadatastub.la
+%{_libdir}/kbfx/plugins/libkbfxplasmadatastub.so
+%{_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.la
+%{_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.so
+%{_libdir}/libkbfxcommon.la
+%{_libdir}/libkbfxcommon.so
+%{_libdir}/libkbfxdata.la
+%{_libdir}/libkbfxdata.so
+%{tde_libdir}/libkbfxspinx.la
+%{tde_libdir}/libkbfxspinx.so
+%{_datadir}/applications/kde/kbfx_theme.desktop
+%{_datadir}/applications/kde/kbfxconfigapp.desktop
+%{_datadir}/apps/kbfx/skins/*/*
+%{_datadir}/apps/kbfxconfigapp/kbfxconfigappui.rc
+%{_datadir}/apps/kicker/applets/kbfxspinx.desktop
+%{_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop
+%{_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop
+%{_docdir}/HTML/en/common/kbfx-*.jpg
+%{_docdir}/HTML/en/kbfxconfigapp/index.cache.bz2
+%{_docdir}/HTML/en/kbfxconfigapp/index.docbook
+%{_docdir}/kbfx
+%{_datadir}/icons/hicolor/*/apps/kbfx.png
+%{_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png
+%{_datadir}/locale/*/LC_MESSAGES/kbfxconfigapp.mo
+%{_datadir}/mimelnk/application/x-kbfxtheme.desktop
+
+%Changelog
+* Sun Nov 20 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.9.3.1-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kcpuload/trinity-kcpuload.spec b/redhat/applications/kcpuload/trinity-kcpuload.spec
new file mode 100644
index 000000000..67b2c39d1
--- /dev/null
+++ b/redhat/applications/kcpuload/trinity-kcpuload.spec
@@ -0,0 +1,108 @@
+# Default version for this component
+%define kdecomp kcpuload
+%define version 2.00
+%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 CPU meter for Kicker [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: gettext
+
+
+%description
+KCPULoad is a small program for Kicker (the KDE panel). It shows a
+recent history of CPU usage in the form of one or two configurable
+diagrams in the system tray. These diagrams have settings for colours
+and various different styles.
+
+KCPULoad has support for SMP and separate user/system loads.
+
+
+%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"
+
+%__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
+
+%__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,-)
+%{_bindir}/kcpuload
+%{_datadir}/applnk/System/kcpuload.desktop
+%{_datadir}/apps/kcpuload/icons/*/*/*/*.png
+%{_datadir}/icons/*/*/apps/kcpuload.png
+%{_docdir}/HTML/en/kcpuload/common
+%{_docdir}/HTML/en/kcpuload/index.cache.bz2
+%{_docdir}/HTML/en/kcpuload/index.docbook
+
+
+%Changelog
+* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 2.00-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/knights/trinity-knights.spec b/redhat/applications/knights/trinity-knights.spec
new file mode 100644
index 000000000..2dbbdc1a4
--- /dev/null
+++ b/redhat/applications/knights/trinity-knights.spec
@@ -0,0 +1,115 @@
+# Default version for this component
+%define kdecomp knights
+%define version 0.6
+%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 chess interface for the K Desktop Environment [Trinity]
+Version: %{?version}
+Release: %{?release}%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Amusements/Games
+
+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: gettext
+
+Requires: gnuchess
+
+%description
+Knights aims to be the ultimate chess resource on your computer.
+Written for the K Desktop Environment, it's designed to be both friendly
+to new chess players and functional for Grand Masters.
+
+Here's a quick list of Knights' key features:
+* Play against yourself, against computer opponents,
+ or against others over the Internet.
+* Customize your board and pieces with over 30 different themes,
+ or make your own!
+* Audio cues help alert you to important events.
+* Novice players can preview potential moves.
+* Save your unfinished matches and play them again later.
+
+
+%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"
+
+%__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
+
+%__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,-)
+%{_bindir}/knights
+%{_datadir}/applnk/Games/Board/knights.desktop
+%{_datadir}/apps/knights
+%{_docdir}/HTML/*/knights
+%{_datadir}/icons/*/*/*/*.png
+%{_datadir}/mimelnk/application/pgn.desktop
+
+
+%Changelog
+* Sun Nov 20 2011 Francois Andriot <francois.andriot@free.fr> - 0.6-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kradio/trinity-kradio.spec b/redhat/applications/kradio/trinity-kradio.spec
new file mode 100644
index 000000000..505dca071
--- /dev/null
+++ b/redhat/applications/kradio/trinity-kradio.spec
@@ -0,0 +1,124 @@
+# Default version for this component
+%define kdecomp kradio
+%define version 0.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: Comfortable Radio Application 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
+BuildRequires: gettext
+
+BuildRequires: libsndfile-devel
+
+%description
+KRadio is a comfortable radio application for KDE 3.x with support for
+V4L and V4L2 radio cards drivers.
+
+KRadio currently provides
+
+ * V4L/V4L2 radio support
+ * Remote control support (LIRC)
+ * Alarms, sleep Countdown
+ * Several GUI Controls (Docking Menu, Station Quickbar, Radio Display)
+ * Recording capabilities, including MP3 and Ogg/Vorbis encoding
+ * Timeshifter functionality
+ * Extendable plugin architecture
+
+This package also includes a growing collection of station preset
+files for many cities around the world contributed by KRadio users.
+
+As KRadio is based on an extendable plugin architecture, contributions
+of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome.
+
+
+%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"
+
+%__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
+
+%__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,-)
+%{_bindir}/convert-presets
+%{_bindir}/kradio
+%{_libdir}/kradio/plugins/*.la
+%{_libdir}/kradio/plugins/*.so
+%{_datadir}/applications/kde/kradio.desktop
+%{_datadir}/apps/kradio/icons/*/*/*/*.png
+%{_datadir}/apps/kradio/presets/*/*.krp
+%{_datadir}/apps/kradio/presets/*/*/*.krp
+%{_datadir}/locale/*/LC_MESSAGES/kradio-*.mo
+
+
+%Changelog
+* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin.spec b/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin.spec
new file mode 100644
index 000000000..8f1b80b1a
--- /dev/null
+++ b/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin.spec
@@ -0,0 +1,114 @@
+# Default version for this component
+%define kdecomp ksplash-engine-moodin
+%define version 0.4.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: fading splash screen engine for 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: gettext
+
+
+%description
+Heavily customizable engine for various types of themes.
+
+Features:
+* scale cache
+* fading images
+* use current icon set or custom images
+* unlimited Custom text labels
+* set fading delay and length
+* custom image arrangement
+* resolution independent themes
+
+This KDE splash screen engine is based upon Linspire's
+engine by Sean Meiners <Sean.Meiners@LinspireInc.com>
+
+Homepage: http://moodwrod.com
+
+
+%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"
+
+%__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
+
+%__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,-)
+%{tde_libdir}/ksplashmoodin.la
+%{tde_libdir}/ksplashmoodin.so
+%{_datadir}/apps/ksplash
+%{_datadir}/services/ksplashmoodin.desktop
+
+
+%Changelog
+* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.2-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16