diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-30 11:31:35 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-30 11:31:35 -0600 |
commit | a46db2a2d768b06acb462858c8925c411f8616ee (patch) | |
tree | a23959ecbf1802c15c204257f17f855c27b9f232 /redhat/applications | |
parent | 68d88671e2193517a9087ffdf326b81068dfee6a (diff) | |
parent | 184f44c7e7a1039bb209e3c6a5abd079bcae8e98 (diff) | |
download | tde-packaging-a46db2a2d768b06acb462858c8925c411f8616ee.tar.gz tde-packaging-a46db2a2d768b06acb462858c8925c411f8616ee.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/applications')
-rw-r--r-- | redhat/applications/amarok/amarok-3.5.13-enable_riokarma.patch | 19 | ||||
-rw-r--r-- | redhat/applications/amarok/trinity-amarok.spec | 43 | ||||
-rw-r--r-- | redhat/applications/bibletime/trinity-bibletime.spec | 121 | ||||
-rw-r--r-- | redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch | 12 | ||||
-rw-r--r-- | redhat/applications/kmymoney/kmymoney-3.5.13-recode_ftbfs.patch | 22 | ||||
-rw-r--r-- | redhat/applications/kmymoney/kmymoneytitlelabel.png | bin | 0 -> 557 bytes | |||
-rw-r--r-- | redhat/applications/kmymoney/trinity-kmymoney-3.5.13.spec | 199 | ||||
-rw-r--r-- | redhat/applications/ktorrent/trinity-ktorrent.spec | 144 | ||||
-rw-r--r-- | redhat/applications/rosegarden/rosegarden-3.5.13-ftbfs.patch | 10 | ||||
-rw-r--r-- | redhat/applications/rosegarden/trinity-rosegarden.spec | 164 | ||||
-rw-r--r-- | redhat/applications/wlassistant/trinity-wlassistant.spec | 123 |
11 files changed, 841 insertions, 16 deletions
diff --git a/redhat/applications/amarok/amarok-3.5.13-enable_riokarma.patch b/redhat/applications/amarok/amarok-3.5.13-enable_riokarma.patch new file mode 100644 index 000000000..7bbd11fca --- /dev/null +++ b/redhat/applications/amarok/amarok-3.5.13-enable_riokarma.patch @@ -0,0 +1,19 @@ +--- amarok/amarok/src/mediadevice/riokarma/CMakeLists.txt.ORI 2011-11-28 21:59:41.607054279 +0100 ++++ amarok/amarok/src/mediadevice/riokarma/CMakeLists.txt 2011-11-28 21:59:50.413975791 +0100 +@@ -9,7 +9,7 @@ + # + ################################################# + +-tde_message_fatal( "riokarma support is not buildable, it needs to link to karma-sharp.dll" ) ++#tde_message_fatal( "riokarma support is not buildable, it needs to link to karma-sharp.dll" ) + + include( ConfigureChecks.cmake ) + +@@ -38,6 +38,6 @@ + + tde_add_kpart( libamarok_riokarma-mediadevice AUTOMOC + SOURCES riokarmamediadevice.cpp +- LINK amarok-shared ${KARMA_LIBRARIES} ++ LINK amarok-shared ${KARMA_LIBRARIES} karma + DESTINATION ${PLUGIN_INSTALL_DIR} + ) diff --git a/redhat/applications/amarok/trinity-amarok.spec b/redhat/applications/amarok/trinity-amarok.spec index a655c0794..35580490f 100644 --- a/redhat/applications/amarok/trinity-amarok.spec +++ b/redhat/applications/amarok/trinity-amarok.spec @@ -1,7 +1,7 @@ # Basic package informations %define kdecomp amarok %define version 1.4.10 -%define release 2 +%define release 3 # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". %if "%{?_prefix}" != "/usr" @@ -16,9 +16,6 @@ BuildRequires: cmake >= 2.8 %define tde_libdir %{_libdir}/trinity -# TODO: -# Rio Karma support : libkarma - Name: trinity-%{kdecomp} Summary: A drop-down terminal emulator. Version: %{version} @@ -27,15 +24,18 @@ Release: %{release}%{?dist}%{?_variant} Group: Applications/Multimedia License: GPLv2+ Url: http://amarok.kde.org -Source0: amarok-3.5.13.tar.gz + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: amarok-3.5.13.tar.gz + # RedHat / Fedora legacy patches Patch1: amarok-1.4.8-gcc43.patch # TDE 3.5.13 RHEL/Fedora patches Patch2: amarok-3.5.13-cmake_konqsidebar.patch Patch3: amarok-3.5.13-taglib_include.patch +Patch4: amarok-3.5.13-enable_riokarma.patch BuildRequires: alsa-lib-devel BuildRequires: desktop-file-utils @@ -66,6 +66,7 @@ BuildRequires: ruby-devel ruby BuildRequires: SDL-devel BuildRequires: taglib-devel BuildRequires: sqlite-devel +BuildRequires: libkarma-devel karma-sharp # not used anymore, in favor of libvisual ? -- Rex #%{?fedora:BuildRequires: xmms-devel} BuildRequires: dbus-devel @@ -128,6 +129,7 @@ use any of xmms' visualisation plugins with Amarok. %patch1 -p1 -b .gcc43 %patch2 -p0 %patch3 -p1 +%patch4 -p1 %build @@ -147,7 +149,7 @@ cd build -DWITH_IFP=ON \ -DWITH_NJB=ON \ -DWITH_MTP=ON \ - -DWITH_RIOKARMA=OFF \ + -DWITH_RIOKARMA=ON \ -DWITH_DAAP=ON \ -DBUILD_ALL=ON \ -DQT_LIBRARY_DIRS=${QTLIB} \ @@ -166,15 +168,23 @@ desktop-file-install --vendor "" \ $RPM_BUILD_ROOT%{_datadir}/applications/kde/amarok.desktop # unpackaged files -rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la +%__rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la # HTML -for lang_dir in $RPM_BUILD_ROOT%{_docdir}/HTML/* ; do +for lang_dir in $RPM_BUILD_ROOT%{tde_docdir}/HTML/* ; do if [ -d $lang_dir ]; then lang=$(basename $lang_dir) - [ "$lang" == "en" ] && d=en/%{name} || d=$lang - echo "%lang($lang) %doc %{_docdir}/HTML/$d" >> %{name}.lang + [ "$lang" == "en" ] && d=en/amarok || d=$lang + echo "%lang($lang) %doc %{tde_docdir}/HTML/$d" >> %{name}.lang + fi +done + +# Locales +for locale in $RPM_BUILD_ROOT%{_datadir}/locale/* ; do + if [ -r $locale/LC_MESSAGES/amarok.mo ]; then + lang=$(basename $locale) + echo "%lang($lang) %{_datadir}/locale/$lang/LC_MESSAGES/amarok.mo" >> %{name}.lang fi done @@ -194,7 +204,7 @@ xdg-desktop-menu forceupdate 2> /dev/null || : %__rm -fr $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(-,root,root,-) %doc COPYING AUTHORS ChangeLog README %{_bindir}/amarok @@ -244,8 +254,8 @@ xdg-desktop-menu forceupdate 2> /dev/null || : %{_datadir}/services/amarok_mtp-mediadevice.desktop %{tde_libdir}/libamarok_mtp-mediadevice.* # Rio Karma -#%{_datadir}/services/amarok_riokarma-mediadevice.desktop -#%{tde_libdir}/libamarok_riokarma-mediadevice.* +%{_datadir}/services/amarok_riokarma-mediadevice.desktop +%{tde_libdir}/libamarok_riokarma-mediadevice.* # Void engine (noop) %{_datadir}/services/amarok_void-engine_plugin.desktop %{tde_libdir}/libamarok_void-engine_plugin.* @@ -260,9 +270,6 @@ xdg-desktop-menu forceupdate 2> /dev/null || : %{tde_libdir}/libamarok_yauap-engine_plugin.* -%{tde_docdir}/HTML/*/amarok -%{_datadir}/locale/*/LC_MESSAGES/amarok.mo - %files konqueror %defattr(-,root,root,-) %{_datadir}/apps/konqueror/servicemenus/*.desktop @@ -275,6 +282,10 @@ xdg-desktop-menu forceupdate 2> /dev/null || : %changelog +* Mon Nov 28 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.10-3 +- Enable riokarma support +- Enhance localized files packaging + * Sat Nov 26 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.10-2 - Enable RHEL 5 compilation - Add konqueror sidebar diff --git a/redhat/applications/bibletime/trinity-bibletime.spec b/redhat/applications/bibletime/trinity-bibletime.spec new file mode 100644 index 000000000..d18884140 --- /dev/null +++ b/redhat/applications/bibletime/trinity-bibletime.spec @@ -0,0 +1,121 @@ +# Default version for this component +%define kdecomp bibletime +%define version 1.6.6.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: A bible study tool 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 + +BuildRequires: sword-devel +Requires: sword + +%description +BibleTime is a free and easy to use bible study tool for UNIX systems. +It requires a working KDE environment and the SWORD library. +BibleTime provides easy handling of digitized texts (Bibles, commentaries +and lexicons) and powerful features to work with these texts (search in +texts, write own notes, save, print etc.). + + +%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 + +# Not SMP safe ! +%__make -C bibletime/frontend + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__chmod 644 %{buildroot}%{_datadir}/apps/bibletime/pics/* +%__chmod 644 %{buildroot}%{_datadir}/apps/bibletime/bibletimeui.rc +%__chmod 644 %{buildroot}%{_datadir}/apps/bibletime/tips + + + + +%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,-) +%{_bindir}/bibletime +%{_includedir}/bibletimeinterface.h +%{_datadir}/applications/bibletime.desktop +%{_datadir}/apps/bibletime +%{tde_docdir}/HTML/en/bibletime/ +%{_datadir}/icons/hicolor/*/*/*.png + + +%Changelog +* Tue Nov 29 2011 Francois Andriot <francois.andriot@free.fr> - 1.6.6.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch b/redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch new file mode 100644 index 000000000..93cc35bf6 --- /dev/null +++ b/redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch @@ -0,0 +1,12 @@ +--- ./kmymoney2/mymoney/mymoneyfile.cpp.ORI 2011-11-26 18:31:18.266423206 +0100 ++++ ./kmymoney2/mymoney/mymoneyfile.cpp 2011-11-26 18:31:26.417214675 +0100 +@@ -1940,7 +1940,8 @@ + + const MyMoneySecurity& curr = d->m_cache.security(id); + if(curr.id().isEmpty()) +- throw new MYMONEYEXCEPTION("Currency not found."); ++ return baseCurrency(); ++// throw new MYMONEYEXCEPTION("Currency not found."); + return curr; + } + diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13-recode_ftbfs.patch b/redhat/applications/kmymoney/kmymoney-3.5.13-recode_ftbfs.patch new file mode 100644 index 000000000..522329f19 --- /dev/null +++ b/redhat/applications/kmymoney/kmymoney-3.5.13-recode_ftbfs.patch @@ -0,0 +1,22 @@ +--- kmymoney/doc/en/Makefile.am.ORI 2011-11-26 17:57:22.473298551 +0100 ++++ kmymoney/doc/en/Makefile.am 2011-11-26 17:58:18.611423284 +0100 +@@ -111,7 +111,7 @@ + kmymoney-user.pdf: $(DOCBOOK_FILES) $(SCREENSHOT_FILES) + $(MAKE) get-files + $(MEINPROC) --check --stylesheet `dirname $(KDE_XSL_STYLESHEET)`/kde-nochunk.xsl $(srcdir)/index.docbook -o index.html; +- recode utf8..latin1 index.html ++ recode utf8..latin1 index.html || : + html2ps -o kmymoney-user.ps -n index.html + ps2pdf kmymoney-user.ps kmymoney-user.pdf + rm index.html kmymoney-user.ps +--- kmymoney/developer-doc/phb/Makefile.am.ORI 2011-11-26 12:00:54.708855347 -0500 ++++ kmymoney/developer-doc/phb/Makefile.am 2011-11-26 12:01:01.683692300 -0500 +@@ -106,7 +106,7 @@ + kmymoney-phb.pdf: $(DOCBOOK_FILES) + $(MAKE) get-files + $(MEINPROC) --stylesheet `dirname $(KDE_XSL_STYLESHEET)`/kde-nochunk.xsl $(srcdir)/phb.docbook -o index.html +- recode utf8..latin1 index.html ++ recode utf8..latin1 index.html || : + html2ps -o kmymoney-phb.ps -n index.html + ps2pdf kmymoney-phb.ps kmymoney-phb.pdf + rm index.html kmymoney-phb.ps diff --git a/redhat/applications/kmymoney/kmymoneytitlelabel.png b/redhat/applications/kmymoney/kmymoneytitlelabel.png Binary files differnew file mode 100644 index 000000000..70d72ac98 --- /dev/null +++ b/redhat/applications/kmymoney/kmymoneytitlelabel.png diff --git a/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.spec b/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.spec new file mode 100644 index 000000000..db1c114ef --- /dev/null +++ b/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.spec @@ -0,0 +1,199 @@ +# Default version for this component +%define kdecomp kmymoney +%define version 1.0.4 +%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: personal finance manager 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: kmymoneytitlelabel.png +Patch0: kmymoney-3.5.13-recode_ftbfs.patch +Patch1: kmymoney-3.5.13-default_money_crash.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +BuildRequires: recode +BuildRequires: html2ps +BuildRequires: opensp-devel +BuildRequires: libofx-devel + +Requires: %{name}-common == %{version} + +%description +KMyMoney is the Personal Finance Manager for TDE. It operates similar to +MS-Money and Quicken, supports different account types, categorisation of +expenses, QIF import/export, multiple currencies and initial online banking +support. + + +%package common +Summary: KMyMoney architecture independent files +Group: Applications/Utilities +Requires: %{name} == %{version} + +%description common +This package contains architecture independent files needed for KMyMoney to +run properly. It also provides KMyMoney documentation. Therefore, unless you +have '%{name}' package installed, you will hardly find this package useful. + + +%package devel +Summary: KMyMoney development files +Group: Development/Libraries +Requires: %{name} == %{version} + +%description devel +This package contains development files needed for KMyMoney plugins. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 +#patch1 -p1 +%__install -m644 %{SOURCE1} kmymoney2/widgets/ + +# 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 \ + --enable-pdf-docs \ + --enable-ofxplugin \ + --enable-ofxbanking \ + --enable-qtdesigner \ + --enable-sqlite3 + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +## File lists +# HTML (1.0) +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} + + +%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}/kmymoney +%{_bindir}/kmymoney2 +%{_datadir}/applications/kde/kmymoney2.desktop +%{_datadir}/mimelnk/application/x-kmymoney2.desktop +%{_datadir}/servicetypes/kmymoneyimporterplugin.desktop +%{_datadir}/servicetypes/kmymoneyplugin.desktop +%{_libdir}/*.so.* +%{tde_libdir}/kmm_ofximport.la +%{tde_libdir}/kmm_ofximport.so + +%files common +%defattr(-,root,root,-) +%{_datadir}/apps/kmymoney2/html/ +%{_datadir}/apps/kmymoney2/icons/*/*/*/*.png +%{_datadir}/apps/kmymoney2/kmymoney2ui.rc +%{_datadir}/apps/kmymoney2/misc/financequote.pl +%{_datadir}/apps/kmymoney2/pics/*.png +%{_datadir}/apps/kmymoney2/templates/*/*.kmt +%{_datadir}/apps/kmymoney2/tips +%{_datadir}/config.kcfg/kmymoney2.kcfg +%{_datadir}/icons/*/*/*/*.png +%{_datadir}/icons/*/*/*.svgz +%{_datadir}/locale/*/LC_MESSAGES/*.mo +%{tde_docdir}/HTML/en/kmymoney2/*.docbook +%{tde_docdir}/HTML/en/kmymoney2/*.png +%{tde_docdir}/HTML/en/kmymoney2/common +%{tde_docdir}/HTML/en/kmymoney2/index.cache.bz2 +%{_mandir}/man1/kmymoney2.* +%{_datadir}/apps/kmm_ofximport/kmm_ofximport.rc +%{_datadir}/services/kmm_ofximport.desktop + + +%files devel +%defattr(-,root,root,-) +%{_includedir}/kmymoney/*.h +%{_libdir}/libkmm_kdchart.la +%{_libdir}/libkmm_mymoney.la +%{_libdir}/libkmm_plugin.la +%{_libdir}/*.so +%{_usr}/%{_lib}/qt-3.3/plugins/sqldrivers/libsqlite3.lib64.so +%{_usr}/%{_lib}/qt-3.3/plugins/designer/libkmymoney.so + +%Changelog +* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.0.4-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/ktorrent/trinity-ktorrent.spec b/redhat/applications/ktorrent/trinity-ktorrent.spec new file mode 100644 index 000000000..3ca5c5958 --- /dev/null +++ b/redhat/applications/ktorrent/trinity-ktorrent.spec @@ -0,0 +1,144 @@ +# Default version for this component +%define kdecomp ktorrent +%define version 2.2.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: BitTorrent client 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://ktorrent.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 +KTorrent is a BitTorrent program for Trinity. Its features include speed capping +(both down and up), integrated searching, UDP tracker support, preview of +certain file types (video and audio) and integration into the KDE Panel +enabling background downloading. + + +%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 + + +# Not SMP safe ! +%__make + + +%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,-) +%{_bindir}/ktcachecheck +%{_bindir}/ktorrent +%{_bindir}/ktshell +%{_bindir}/kttorinfo +%{_bindir}/ktupnptest +%{_libdir}/libktorrent-2.2.6.so +%{_libdir}/libktorrent.la +%{_libdir}/libktorrent.so +%{tde_libdir}/ktinfowidgetplugin.la +%{tde_libdir}/ktinfowidgetplugin.so +%{tde_libdir}/ktipfilterplugin.la +%{tde_libdir}/ktipfilterplugin.so +%{tde_libdir}/ktlogviewerplugin.la +%{tde_libdir}/ktlogviewerplugin.so +%{tde_libdir}/ktpartfileimportplugin.la +%{tde_libdir}/ktpartfileimportplugin.so +%{tde_libdir}/ktrssfeedplugin.la +%{tde_libdir}/ktrssfeedplugin.so +%{tde_libdir}/ktscanfolderplugin.la +%{tde_libdir}/ktscanfolderplugin.so +%{tde_libdir}/ktschedulerplugin.la +%{tde_libdir}/ktschedulerplugin.so +%{tde_libdir}/ktsearchplugin.la +%{tde_libdir}/ktsearchplugin.so +%{tde_libdir}/ktstatsplugin.la +%{tde_libdir}/ktstatsplugin.so +%{tde_libdir}/ktupnpplugin.la +%{tde_libdir}/ktupnpplugin.so +%{tde_libdir}/ktwebinterfaceplugin.la +%{tde_libdir}/ktwebinterfaceplugin.so +%{_datadir}/applications/kde/ktorrent.desktop +%{_datadir}/apps/ktorrent +%{_datadir}/config.kcfg/*.kcfg +%{_datadir}/icons/hicolor/*/*/*.png +%{_datadir}/icons/hicolor/*/*/*.svgz +%{_datadir}/services/*.desktop +%{_datadir}/servicetypes/ktorrentplugin.desktop + + +%Changelog +* Tue Nov 29 2011 Francois Andriot <francois.andriot@free.fr> - 2.2.6-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/rosegarden/rosegarden-3.5.13-ftbfs.patch b/redhat/applications/rosegarden/rosegarden-3.5.13-ftbfs.patch new file mode 100644 index 000000000..6967f300c --- /dev/null +++ b/redhat/applications/rosegarden/rosegarden-3.5.13-ftbfs.patch @@ -0,0 +1,10 @@ +--- rosegarden/src/CMakeLists.txt.ORI 2011-11-26 23:09:57.776046683 +0100 ++++ rosegarden/src/CMakeLists.txt 2011-11-26 23:10:07.534844583 +0100 +@@ -148,6 +148,7 @@ + + TARGET_LINK_LIBRARIES(rosegarden + dl ++ fontconfig + lo + ${QT_AND_KDECORE_LIBS} + ${LIBLO_LIBS} diff --git a/redhat/applications/rosegarden/trinity-rosegarden.spec b/redhat/applications/rosegarden/trinity-rosegarden.spec new file mode 100644 index 000000000..3c42931f9 --- /dev/null +++ b/redhat/applications/rosegarden/trinity-rosegarden.spec @@ -0,0 +1,164 @@ +# Default version for this component +%define kdecomp rosegarden +%define version 1.7.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: music editor and MIDI/audio sequencer [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.rosegardenmusic.com/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz +Patch0: rosegarden-3.5.13-ftbfs.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: fftw-devel +BuildRequires: dssi-devel +BuildRequires: liblo-devel +BuildRequires: liblrdf-devel +BuildRequires: fontconfig-devel + +Requires: lilypond +Requires: perl-XML-Twig +Requires: libsndfile-utils + +# LIRC does not exist on RHEL. +%if 0%{?fedora} > 0 +BuildRequires: lirc-devel +%endif + +Requires: %{name}-data == %{version}-%{release} + +%description +Rosegarden is a KDE application which provides a mixed Audio/MIDI +sequencer (for playback and recording), a multi-track editor, music +editing using both piano-roll and score notation, MIDI file IO, +lilypond and Csound files export, etc. + +%package data +Group: Applications/Multimedia +Requires: %{name} == %{version}-%{release} +Summary: music editor and MIDI/audio sequencer data files [Trinity] + +%description data +Rosegarden is a KDE application which provides a mixed Audio/MIDI +sequencer (for playback and recording), a multi-track editor, music +editing using both piano-roll and score notation, MIDI file IO, +lilypond and Csound files export, etc. + +This package provides the data files necessary for running Rosegarden + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 + +# Hard-coded path to TQT binaries spotted !!! +%__sed -i CMakeLists.txt \ + -e "s,/usr/bin/uic-tqt,%{_bindir}/uic-tqt,g" \ + -e "s,/usr/bin/tmoc,%{_bindir}/tmoc,g" \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" + +%build +unset QTDIR && . %{_sysconfdir}/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" +export CMAKE_INCLUDE_PATH="%{_includedir}:%{_includedir}/tqt" + +%__mkdir_p build +cd build +%cmake \ + -DWANT_DEBUG=OFF \ + -DWANT_FULLDBG=OFF \ + -DWANT_SOUND=ON \ + -DWANT_JACK=OFF \ + -DWANT_DSSI=ON \ +%if 0%{?fedora} > 0 + -DWANT_LIRC=ON \ +%else + -DWANT_LIRC=OFF \ +%endif + -DWANT_PCH=OFF \ + -DWANT_TEST=OFF \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%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 +%defattr(-,root,root,-) +%{_bindir}/rosegarden +%{_bindir}/rosegarden-audiofile-importer +%{_bindir}/rosegarden-lilypondview +%{_bindir}/rosegarden-project-package +%{_bindir}/rosegardensequencer + +%files data -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{_datadir}/applications/kde/rosegarden.desktop +%{_datadir}/apps/profiles/rosegarden.profile.xml +%lang(en) %{tde_docdir}/HTML/en/rosegarden +%lang(es) %{tde_docdir}/HTML/es/rosegarden +%lang(ja) %{tde_docdir}/HTML/ja/rosegarden +%lang(sv) %{tde_docdir}/HTML/sv/rosegarden +%{_datadir}/apps/rosegarden +%{_datadir}/icons/*/*/*/* +%{_datadir}/mimelnk/audio/x-rosegarden-device.desktop +%{_datadir}/mimelnk/audio/x-rosegarden.desktop +%{_datadir}/mimelnk/audio/x-rosegarden21.desktop +%{_datadir}/mimelnk/audio/x-soundfont.desktop + + +%Changelog +* Sat Nov 26 2011 Francois Andriot <francois.andriot@free.fr> - 1.7.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/wlassistant/trinity-wlassistant.spec b/redhat/applications/wlassistant/trinity-wlassistant.spec new file mode 100644 index 000000000..85276e5ec --- /dev/null +++ b/redhat/applications/wlassistant/trinity-wlassistant.spec @@ -0,0 +1,123 @@ +# Default version for this component +%define kdecomp wlassistant +%define version 0.5.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: User friendly KDE frontend for wireless network connection [Trinity] +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://wlassistant.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 +BuildRequires: gettext + +BuildRequires: python +BuildRequires: scons + +%description +Wireless Assistant scans for wireless access points and displays link quality, +encryption and other useful information. When user wants to connect to a +network, Wireless Assistant opens up its wizards and guides the user through +Wi-Fi settings. After a successful connection is made the settings are +remembered so next time the user won't have to enter them again. + + +%prep +%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 bksys/kde.py \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +scons configure \ + prefix=%{_prefix} \ + execprefix=%{_bindir} \ + libdir=%{_libdir} \ + qtdir=${QTDIR} \ + kdedir=%{_prefix} \ + kdeincludes=%{_includedir} \ + qtincludes=${QTINC} \ + kdelibs=%{_libdir} \ + qtlibs=${QTLIB} \ + extraincludes=%{_includedir}:%{_includedir}/tqt:${QTINC} + +scons -j4 + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +scons install DESTDIR=%{buildroot} + +%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,-) +%doc ChangeLog VERSION +%{_bindir}/wlassistant +%{_datadir}/applnk/Utilities/wlassistant.desktop +%{_datadir}/icons/hicolor/16x16/apps/wlassistant.png +%{_datadir}/icons/hicolor/32x32/apps/wlassistant.png +%lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/wlassistant.mo +%lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/wlassistant.mo +%lang(es) %{_datadir}/locale/es/LC_MESSAGES/wlassistant.mo +%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/wlassistant.mo +%lang(nb) %{_datadir}/locale/nb/LC_MESSAGES/wlassistant.mo +%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/wlassistant.mo +%lang(pt) %{_datadir}/locale/pt_BR/LC_MESSAGES/wlassistant.mo +%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/wlassistant.mo +%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/wlassistant.mo +%lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/wlassistant.mo + + +%Changelog +* Tue Nov 29 2011 Francois Andriot <francois.andriot@free.fr> - 0.5.7-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 |