diff options
Diffstat (limited to 'redhat/extras')
3 files changed, 196 insertions, 97 deletions
diff --git a/redhat/extras/akode/akode-3.5.13.2.spec b/redhat/extras/akode/akode-3.5.13.2.spec index 725a75a26..1dd9b5da3 100644 --- a/redhat/extras/akode/akode-3.5.13.2.spec +++ b/redhat/extras/akode/akode-3.5.13.2.spec @@ -1,49 +1,61 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables +# +# spec file for package akode (version 3.5.13-SRU) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http:/www.trinitydesktop.org/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 1 +%define tde_version 3.5.13.2 +%define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc %define tde_includedir %{tde_prefix}/include %define tde_libdir %{tde_prefix}/%{_lib} %define tde_mandir %{tde_datadir}/man - %define tde_tdeappdir %{tde_datadir}/applications/kde %define tde_tdedocdir %{tde_docdir}/tde %define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdelibdir %{tde_libdir}/trinity -%define _docdir %{tde_docdir} +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif -Summary: Audio-decoding framework Name: trinity-akode +Summary: Audio-decoding framework +Group: System Environment/Libraries +Epoch: %{tde_epoch} Version: 2.0.2 -Release: 5%{?dist}%{?_variant} +Release: 1%{?dist}%{?_variant} +URL: http://www.kde-apps.org/content/show.php?content=30375 License: LGPLv2+ -Group: System Environment/Libraries #URL: http://carewolf.com/akode/ -URL: http://www.kde-apps.org/content/show.php?content=30375 -Source0: akode-2.0.2.tar.bz2 +Source0: akode-%{tde_version}.tar.gz Prefix: %{tde_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -# Legacy Fedora 9 patches -Patch1: akode-pulseaudio.patch -Patch2: akode-2.0.2-multilib.patch -Patch3: akode-2.0.2-flac113-portable.patch -Patch4: akode-2.0.2-gcc43.patch - -# New patches -Patch10: akode-autotools.patch -Patch11: akode-2.0.2-fix_ffmpeg_include.patch - # FLAC support %define _with_flac --with-flac %if 0%{?mgaversion} || 0%{?mdkversion} @@ -145,15 +157,15 @@ aKode also has the following audio outputs: %package devel Summary: Headers for developing programs that will use %{name} Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -%{?_with_jack:Requires: %{name}-jack = %{version}-%{release}} -%{?_with_pulseaudio:Requires: %{name}-pulseaudio = %{version}-%{release}} -%{?_with_libsamplerate:Requires: %{name}-libsamplerate = %{version}-%{release}} -%{?_with_libmad:Requires: %{name}-libmad = %{version}-%{release}} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +%{?_with_jack:Requires: %{name}-jack = %{?epoch:%{epoch}:}%{version}-%{release}} +%{?_with_pulseaudio:Requires: %{name}-pulseaudio = %{?epoch:%{epoch}:}%{version}-%{release}} +%{?_with_libsamplerate:Requires: %{name}-libsamplerate = %{?epoch:%{epoch}:}%{version}-%{release}} +%{?_with_libmad:Requires: %{name}-libmad = %{?epoch:%{epoch}:}%{version}-%{release}} Requires: pkgconfig %description devel -%{summary}. +This package contains the development files for Akode. %files devel %defattr(-,root,root,-) @@ -176,10 +188,10 @@ Requires: pkgconfig %package jack Summary: Jack audio output backend for %{name} Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %description jack -%{summary}. +This package contains the Jack audio output backend for Akode. %files jack %defattr(-,root,root,-) @@ -201,10 +213,10 @@ Requires: %{name} = %{version}-%{release} %package pulseaudio Summary: Pulseaudio output backend for %{name} Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %description pulseaudio -%{summary}. +This package contains the pulseaudio backend for Akode. Recommended for network transparent audio. %files pulseaudio @@ -229,10 +241,10 @@ Recommended for network transparent audio. Summary: Resampler based on libsamplerate for %{name} Group: Development/Libraries License: GPLv2+ -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %description libsamplerate -%{summary}. +This package contains the samplerate decoder for Akode. # License: GPLv2+ %files libsamplerate @@ -255,10 +267,10 @@ Requires: %{name} = %{version}-%{release} %package libmad Summary: Decoder based on libmad for %{name} Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %description libmad -%{summary}. +This package contains the mad decoder for Akode. %files libmad %{tde_libdir}/libakode_mpeg_decoder.la @@ -274,28 +286,23 @@ Requires: %{name} = %{version}-%{release} ########## -%if 0%{?suse_version} || 0%{?pclinuxos} +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 %debug_package %endif ########## %prep -%setup -q -n akode-%{version} - -%patch1 -p1 -b .pulseaudio -%patch2 -p1 -b .multilib -%patch3 -p4 -b .flac113_portable -%patch4 -p1 -b .gcc43 - -%patch10 -p1 -b .autotools -%patch11 -p1 -b .ffmpeg +%setup -q -n akode-2.0.2 %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common cvs +%__make -f admin/Makefile.common + %build +export CXXFLAGS="${RPM_OPT_FLAGS} -DHAVE_STDINT_H" + %configure \ --bindir=%{tde_bindir} \ --libdir=%{tde_libdir} \ @@ -342,7 +349,7 @@ done %changelog -* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-5 +* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1:2.0.2-1 - Build for Fedora 19 * Sat Jan 19 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-4 diff --git a/redhat/extras/brp-check-trinity/brp-check-trinity-3.5.13.2.spec b/redhat/extras/brp-check-trinity/brp-check-trinity-3.5.13.2.spec new file mode 100644 index 000000000..ad424e496 --- /dev/null +++ b/redhat/extras/brp-check-trinity/brp-check-trinity-3.5.13.2.spec @@ -0,0 +1,107 @@ +# +# spec file for package brp-check-trinity (version 3.5.13-SRU) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http:/www.trinitydesktop.org/ +# + +# TDE variables +%define tde_version 3.5.13.2 +%define tde_prefix /opt/trinity + +Name: brp-check-trinity +Version: 1.0 +Release: 1%{?dist} +Summary: Build root policy check scripts for Trinity +Group: System Environment/Daemons +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot <francois.andriot@free.fr> + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: update-desktop-files +BuildRequires: brp-check-suse +BuildRequires: brp-extract-appdata +Requires: update-desktop-files +Requires: brp-check-suse +Requires: brp-extract-appdata +Requires: sed + + + +%description +This package dynamically patches the openSUSE brp script to allow +building of Trinity Desktop Environment (TDE) instead of KDE3. +It should not be installed on runtime computer. + + +%files + +%post +for i in \ + brp-desktop.data/applications.menu \ + brp-desktop.data/kde-settings.menu \ + brp-desktop.data/xdg_menu \ + brp-suse.d/brp-25-symlink \ + brp-suse.d/brp-72-extract-appdata \ + suse_update_desktop_file.sh \ +; do + echo "Patching file '/usr/lib/rpm/${i}' ..." + install -D "/usr/lib/rpm/${i}" "/usr/lib/rpm.orig/${i}" + sed -i "/usr/lib/rpm/${i}" \ + -e "s|opt/kde3|opt/trinity|g" \ + -e "s|kde-settings-|tde-settings-|g" \ + -e "s|doc/kde|doc/tde|g" \ + -e "s|kde_xdgdata|tde_xdgdata|g" \ +done + + +%postun +for i in \ + brp-desktop.data/applications.menu \ + brp-desktop.data/kde-settings.menu \ + brp-desktop.data/xdg_menu \ + brp-suse.d/brp-25-symlink \ + brp-suse.d/brp-72-extract-appdata \ + suse_update_desktop_file.sh \ +; do + echo "Restoring file '/usr/lib/rpm/${i}' ..." + install "/usr/lib/rpm.orig/${i}" "/usr/lib/rpm/${i}" +done +rm -rf "/usr/lib/rpm.orig" + +########## + +%prep + +%build + +%install + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-1 +- Initial release for TDE R14.0.0 diff --git a/redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec b/redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec index 3ebb6f2a1..0aa92d42d 100644 --- a/redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec +++ b/redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec @@ -80,27 +80,9 @@ Requires: trinity-tdewebdev >= %{version} Group: User Interface/Desktops Summary: Meta-package to install all TDE applications -# Some applications are disabled for now ... -# Compiz-related stuff does not work (obsolete) -#Requires: trinity-compizconfig-backend-kconfig -#Requires: trinity-desktop-effects-kde -#Requires: trinity-fusion-icon - -# Obsolete l10n package -#Requires: trinity-filelight-l10n - -# Not even an RPM package ... -#Requires: trinity-konstruct - -# Debian/Ubuntu specific ... -#Requires: trinity-adept - -# Future R14 packages -#Requires: trinity-kvpnc -#Requires: trinity-qt4-tqt-theme-engine - # Warning, k9copy requires ffmpeg # Warning, tderadio requires libmp3lame + Requires: trinity-abakus Requires: trinity-amarok Requires: trinity-basket @@ -109,8 +91,8 @@ Requires: trinity-digikam Requires: trinity-dolphin Requires: trinity-filelight Requires: trinity-gwenview -#Requires: trinity-gwenview-i18n Requires: trinity-k3b +Requires: trinity-k9copy Requires: trinity-kaffeine Requires: trinity-kaffeine-mozilla Requires: trinity-katapult @@ -119,7 +101,6 @@ Requires: trinity-kbfx Requires: trinity-kbookreader Requires: trinity-kchmviewer Requires: trinity-kcpuload -Requires: trinity-k9copy Requires: trinity-kdiff3 Requires: trinity-kdirstat Requires: trinity-keep @@ -147,22 +128,22 @@ Requires: trinity-ktorrent Requires: trinity-kuickshow Requires: trinity-kvirc Requires: trinity-kvkbd -Requires: trinity-twin-style-crystal Requires: trinity-piklab Requires: trinity-potracegui Requires: trinity-smb4k Requires: trinity-smartcardauth Requires: trinity-soundkonverter Requires: trinity-tde-guidance -Requires: trinity-tde-guidance-powermanager Requires: trinity-tde-style-lipstik Requires: trinity-tde-style-qtcurve Requires: trinity-tde-systemsettings Requires: trinity-tdeio-apt Requires: trinity-tdeio-locate Requires: trinity-tdeio-umountwrapper +Requires: trinity-tderadio Requires: trinity-tdmtheme Requires: trinity-tellico +Requires: trinity-twin-style-crystal Requires: trinity-wlassistant Requires: trinity-yakuake @@ -171,42 +152,46 @@ Requires: trinity-yakuake Requires: trinity-tdesudo %endif -# Disabled applications for RHEL5 +# RHEL5: pilot library is too old +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +Requires: trinity-kpilot +%endif + +# Network management +# RHEL 6 and openSUSE 11.x: knetworkmanager8 +%if 0%{?rhel} == 6 +Requires: trinity-knetworkmanager +%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 1140 +Requires: trinity-knetworkmanager +%endif + +# Power management +Requires: trinity-tde-guidance-powermanager %if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} # On RHEL 5, HAL version is too old for kpowersave . Requires: trinity-kpowersave -# On RHEL 5, GTK2 version is too old for GTK stuff ... -Requires: trinity-gtk-qt-engine -# RHEL5: kpilot library is too old -Requires: trinity-kpilot %endif +# Decoration-related stuff (not installed by default) +#Requires: trinity-kgtk-qt3 +#Requires: trinity-gtk-qt-engine +#Requires: trinity-gtk3-tqt-engine +#Requires: trinity-qt4-tqt-theme-engine + # On RHEL 5/7, lilypond is not available, so no rosegarden :'-( %if 0%{?rhel} == 5 || 0%{?rhel} == 7 %else Requires: trinity-rosegarden %endif -# On RHEL 7, lirc is not available, so not tderaiod :'-( -%if 0%{?rhel} != 7 -Requires: trinity-tderadio -%endif - -# This one causes several crashes . Obsolete. -#Requires: trinity-kgtk-qt3 -#Obsoletes: trinity-kgtk-qt3 - -# OBSOLETE: beagle does not exist anymore. Kerry is now useless. -# RHEL, openSUSE 12: no Beagle library -Obsoletes: trinity-kerry +# Compiz-related stuff does not work (obsolete) +#Requires: trinity-compizconfig-backend-kconfig +#Requires: trinity-desktop-effects-kde +#Requires: trinity-fusion-icon -# RHEL 6 and openSUSE 11.x: knetworkmanager8 -%if 0%{?rhel} == 6 -Requires: trinity-knetworkmanager -%endif -%if 0%{?suse_version} && 0%{?suse_version} <= 1140 -Requires: trinity-knetworkmanager -%endif +# Useless l10n package +#Requires: trinity-filelight-l10n # RHEL 4 %if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} @@ -216,7 +201,7 @@ Requires: trinity-kmplayer # No OTR support Requires: trinity-kopete-otr # No DBUS support -Requires: trinity-kdbusnotification +Requires: trinity-kdbusfnotification # Subversion 1.1 is too old Requires: trinity-tdesvn %endif |