RPM Packaging: lots of updates for 3.5.13.2

pull/3/head
François Andriot 11 years ago
parent 6f4cd26a02
commit 0f108a5d0a

@ -1,13 +1,13 @@
# Basic package informations # Basic package informations
%define tdecomp amarok %define tde_pkg amarok
%define tdeversion 3.5.13.2 %define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -23,43 +23,43 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: Media player Summary: Media player
Version: 1.4.10 Version: 1.4.10
Release: 9%{?dist}%{?_variant} Release: %{?!preversion:10}%{?preversion:9_%{preversion}}%{?dist}%{?_variant}
Group: Applications/Multimedia Group: Applications/Multimedia
License: GPLv2+ License: GPLv2+
Url: http://amarok.kde.org Url: http://amarok.kde.org
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch3: amarok-3.5.13.1-fix_rhel4_libs.patch Patch3: amarok-3.5.13.1-fix_rhel4_libs.patch
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-konqueror-devel >= 3.5.13.2 BuildRequires: trinity-konqueror-devel >= %{tde_version}
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: esound-devel BuildRequires: esound-devel
BuildRequires: gettext BuildRequires: gettext
BuildRequires: pcre-devel BuildRequires: pcre-devel
BuildRequires: taglib-devel BuildRequires: taglib-devel
BuildRequires: libtool BuildRequires: libtool
%if 0%{?fedora} > 4 || 0%{?rhel} > 4 %if 0%{?fedora} > 4 || 0%{?rhel} > 4
BuildRequires: libtool-ltdl-devel BuildRequires: libtool-ltdl-devel
%endif %endif
BuildRequires: libusb-devel BuildRequires: libusb-devel
BuildRequires: mysql-devel BuildRequires: mysql-devel
BuildRequires: postgresql-devel BuildRequires: postgresql-devel
BuildRequires: SDL-devel BuildRequires: SDL-devel
BuildRequires: taglib-devel BuildRequires: taglib-devel
BuildRequires: sqlite-devel BuildRequires: sqlite-devel
# not used anymore, in favor of libvisual ? -- Rex # not used anymore, in favor of libvisual ? -- Rex
#{?fedora:BuildRequires: xmms-devel} #{?fedora:BuildRequires: xmms-devel}
@ -76,7 +76,7 @@ BuildRequires: dbus-devel
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
BuildRequires: dbus-qt BuildRequires: dbus-qt
%else %else
BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.2 BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
%endif %endif
# IFP support # IFP support
@ -84,7 +84,7 @@ BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.2
%if 0%{?pclinuxos} == 0 %if 0%{?pclinuxos} == 0
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_ifp 1 %define with_ifp 1
BuildRequires: libifp-devel BuildRequires: libifp-devel
%endif %endif
%endif %endif
@ -100,34 +100,34 @@ BuildRequires: karma-sharp
# GPOD (ipod) support # GPOD (ipod) support
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} %if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%define with_gpod 1 %define with_gpod 1
BuildRequires: libgpod-devel >= 0.4.2 BuildRequires: libgpod-devel >= 0.4.2
%endif %endif
# MTP players # MTP players
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} %if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%define with_mtp 1 %define with_mtp 1
BuildRequires: libmtp-devel BuildRequires: libmtp-devel
BuildRequires: libmusicbrainz-devel BuildRequires: libmusicbrainz-devel
%endif %endif
# Creative Nomad Jukebox # Creative Nomad Jukebox
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 %if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220
%define with_njb 1 %define with_njb 1
BuildRequires: libnjb-devel BuildRequires: libnjb-devel
%endif %endif
# VISUAL support # VISUAL support
%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} %if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%define with_libvisual 1 %define with_libvisual 1
BuildRequires: libvisual-devel BuildRequires: libvisual-devel
%endif %endif
# TUNEPIMP support # TUNEPIMP support
%if 0%{?mgaversion} && 0%{?mgaversion} <= 2 %if 0%{?mgaversion} && 0%{?mgaversion} <= 2
BuildRequires: libtunepimp-devel BuildRequires: libtunepimp-devel
%endif %endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?suse_version} %if 0%{?fedora} || 0%{?mdkversion} || 0%{?suse_version}
BuildRequires: libtunepimp-devel BuildRequires: libtunepimp-devel
%endif %endif
# INOTIFY support # INOTIFY support
@ -142,10 +142,10 @@ BuildRequires: %{_lib}inotifytools-devel
%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} %if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%define with_xine 1 %define with_xine 1
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} %if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
BuildRequires: libxine-devel BuildRequires: libxine-devel
%endif %endif
%if 0%{?rhel} || 0%{?fedora} %if 0%{?rhel} || 0%{?fedora}
BuildRequires: xine-lib-devel BuildRequires: xine-lib-devel
%endif %endif
%endif %endif
@ -168,10 +168,10 @@ BuildRequires: libmp4v2-devel
# ruby # ruby
BuildRequires: ruby BuildRequires: ruby
BuildRequires: ruby-devel BuildRequires: ruby-devel
# To open the selected browser, works with Patch2 # To open the selected browser, works with Patch2
Requires: xdg-utils Requires: xdg-utils
Requires(post): xdg-utils Requires(post): xdg-utils
Requires(postun): xdg-utils Requires(postun): xdg-utils
@ -193,7 +193,7 @@ Amarok is a multimedia player with:
%{tde_bindir}/amarok_proxy.rb %{tde_bindir}/amarok_proxy.rb
%{tde_datadir}/apps/amarok/ %{tde_datadir}/apps/amarok/
%{tde_datadir}/icons/hicolor/*/*/* %{tde_datadir}/icons/hicolor/*/*/*
%{tde_datadir}/applications/kde/*.desktop %{tde_tdeappdir}/*.desktop
%{tde_datadir}/servicetypes/*.desktop %{tde_datadir}/servicetypes/*.desktop
%{tde_datadir}/apps/profiles/amarok.profile.xml %{tde_datadir}/apps/profiles/amarok.profile.xml
%{tde_datadir}/config/amarokrc %{tde_datadir}/config/amarokrc
@ -281,11 +281,11 @@ xdg-desktop-menu forceupdate 2> /dev/null || :
########## ##########
%package ruby %package ruby
Summary: %{name} Ruby support Summary: %{name} Ruby support
Group: Applications/Multimedia Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
# For dir ownership and some default plugins (lyrics) # For dir ownership and some default plugins (lyrics)
Requires: ruby Requires: ruby
%description ruby %description ruby
%{summary}. %{summary}.
@ -297,11 +297,11 @@ Requires: ruby
########## ##########
%package konqueror %package konqueror
Summary: Amarok konqueror (service menus, sidebar) support Summary: Amarok konqueror (service menus, sidebar) support
Group: Applications/Multimedia Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: trinity-konqueror Requires: trinity-konqueror
%description konqueror %description konqueror
%{summary}. %{summary}.
@ -318,9 +318,9 @@ Requires: trinity-konqueror
%if 0%{?with_libvisual} %if 0%{?with_libvisual}
%package visualisation %package visualisation
Summary: Visualisation plugins for Amarok Summary: Visualisation plugins for Amarok
Group: Applications/Multimedia Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
# No plugins by default, we need libvisual-plugins # No plugins by default, we need libvisual-plugins
#Requires: libvisual-plugins #Requires: libvisual-plugins
@ -344,7 +344,7 @@ use any of xmms' visualisation plugins with Amarok.
########## ##########
%prep %prep
%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
%patch3 -p1 -b .rhel4 %patch3 -p1 -b .rhel4
%endif %endif
@ -370,12 +370,18 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DBIN_INSTALL_DIR=%{tde_bindir} \ -DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \
-DQT_LIBRARY_DIRS="${QTLIB:-${QTDIR}/%{_lib}}" \ -DQT_LIBRARY_DIRS="${QTLIB:-${QTDIR}/%{_lib}}" \
\
%{?with_libvisual:-DWITH_LIBVISUAL=ON} \ %{?with_libvisual:-DWITH_LIBVISUAL=ON} \
-DWITH_KONQSIDEBAR=ON \ -DWITH_KONQSIDEBAR=ON \
%{?with_xine:-DWITH_XINE=ON} \ %{?with_xine:-DWITH_XINE=ON} \
@ -394,6 +400,7 @@ cd build
%__make %{?_smp_mflags} || %__make %__make %{?_smp_mflags} || %__make
%install %install
%__rm -fr $RPM_BUILD_ROOT %__rm -fr $RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT -C build %__make install DESTDIR=$RPM_BUILD_ROOT -C build
@ -405,7 +412,7 @@ cd build
%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so %__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so
# Locales # Locales
%find_lang amarok %find_lang %{tde_pkg}
# HTML # HTML
for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do
@ -423,6 +430,9 @@ done
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.10-10
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.10-9 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.10-9
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define kdecomp basket %define tde_pkg basket
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -22,30 +23,30 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: Taking care of your ideas. Summary: Taking care of your ideas.
Version: 1.0.3.1 Version: 1.0.3.1
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-tdepim-devel >= 3.5.13.2 BuildRequires: trinity-tdepim-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gpgme-devel BuildRequires: gpgme-devel
%description %description
This application is mainly an all-purpose notes taker. It provide several baskets where This application is mainly an all-purpose notes taker. It provide several baskets where
@ -63,7 +64,7 @@ baskets to HTML.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -89,6 +90,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--disable-rpath \ --disable-rpath \
--disable-debug \
--with-extra-includes=%{tde_includedir}/tqt \ --with-extra-includes=%{tde_includedir}/tqt \
--disable-static --disable-static
@ -100,7 +102,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
%find_lang %{kdecomp} %find_lang %{tde_pkg}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -121,7 +123,7 @@ done
/sbin/ldconfig /sbin/ldconfig
%files -f %{kdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING %doc AUTHORS COPYING
%{tde_bindir}/basket %{tde_bindir}/basket
@ -157,6 +159,9 @@ done
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.3.1-5
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.3.1-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.3.1-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define kdecomp digikam %define tde_pkg digikam
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -22,33 +23,33 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: digital photo management application for KDE [Trinity] Summary: digital photo management application for TDE [Trinity]
Version: 0.9.6 Version: 0.9.6
Release: 5%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
# [Digikam] Revert PNG support to libpng12 (for RHEL4) # [Digikam] Revert PNG support to libpng12 (for RHEL4)
Patch1: digikam-3.5.13.2-fix_png12_support.patch Patch1: digikam-3.5.13.2-fix_png12_support.patch
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-libkexiv2-devel >= 3.5.13.2 BuildRequires: trinity-libkexiv2-devel >= %{tde_version}
BuildRequires: trinity-libkdcraw-devel >= 3.5.13.2 BuildRequires: trinity-libkdcraw-devel >= %{tde_version}
BuildRequires: trinity-libkipi-devel >= 3.5.13.2 BuildRequires: trinity-libkipi-devel >= %{tde_version}
%if 0%{?rhel} == 4 || 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?rhel} == 4 || 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: gphoto2-devel BuildRequires: gphoto2-devel
%else %else
@ -76,9 +77,9 @@ BuildRequires: libexiv2-devel
BuildRequires: exiv2-devel BuildRequires: exiv2-devel
%endif %endif
Requires: trinity-libkexiv2 >= 3.5.13.1 Requires: trinity-libkexiv2 >= %{tde_version}
Requires: trinity-libkdcraw >= 3.5.13.1 Requires: trinity-libkdcraw >= %{tde_version}
Requires: trinity-libkipi >= 3.5.13.1 Requires: trinity-libkipi >= %{tde_version}
%description %description
An easy to use and powerful digital photo management An easy to use and powerful digital photo management
@ -102,9 +103,9 @@ digiKam is based in part on the work of the Independent JPEG Group.
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name} = %{version} Requires: %{name} = %{version}
%description devel %description devel
%{summary} %{summary}
@ -116,7 +117,7 @@ Requires: %{name} = %{version}
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
%patch1 -p1 -b .png12 %patch1 -p1 -b .png12
%endif %endif
@ -146,9 +147,15 @@ export KDEDIR="%{tde_prefix}"
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \ --disable-rpath \
--with-extra-includes=%{tde_tdeincludedir}/tqt \ \
--enable-closure --with-extra-includes=%{tde_tdeincludedir}/tqt
%__make %{?_smp_mflags} || %__make %__make %{?_smp_mflags} || %__make
@ -159,7 +166,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
%find_lang %{kdecomp} %find_lang %{tde_pkg}
%clean %clean
@ -185,7 +192,7 @@ update-desktop-database %{tde_appdir} 2> /dev/null || :
/sbin/ldconfig || : /sbin/ldconfig || :
%files -f %{kdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING %doc AUTHORS COPYING
%{tde_bindir}/digikam %{tde_bindir}/digikam
@ -312,6 +319,9 @@ update-desktop-database %{tde_appdir} 2> /dev/null || :
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.6-6
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.6-5 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.6-5
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define kdecomp filelight %define tde_pkg filelight
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -22,26 +23,26 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: Graphical disk usage display Summary: Graphical disk usage display
Version: 1.0 Version: 1.0
Release: 6%{?dist}%{?_variant} Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
Obsoletes: filelight-l10n < %{version}-%{release} Obsoletes: filelight-l10n < %{version}-%{release}
@ -58,7 +59,7 @@ directories on your computer.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -84,7 +85,14 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--docdir=%{tde_tdedocdir} \ --docdir=%{tde_tdedocdir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \ --disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt --with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -95,7 +103,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
%find_lang %{kdecomp} --with-kde %find_lang %{tde_pkg}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -114,7 +122,7 @@ for f in crystalsvg hicolor ; do
done done
%files -f %{kdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING %doc AUTHORS COPYING
%{tde_bindir}/filelight %{tde_bindir}/filelight
@ -136,6 +144,9 @@ done
%lang(sv) %{tde_tdedocdir}/HTML/sv/filelight/ %lang(sv) %{tde_tdedocdir}/HTML/sv/filelight/
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-7
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-6 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-6
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -0,0 +1,14 @@
--- trinity-k9copy-3.5.13.2/k9author/k9avidecode.h.ORI 2013-07-29 21:52:57.859615464 +0200
+++ trinity-k9copy-3.5.13.2/k9author/k9avidecode.h 2013-07-29 21:57:19.206481299 +0200
@@ -43,7 +43,11 @@
#else
typedef int (*av_find_stream_info_t)(AVFormatContext *);
#endif
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 26, 0)
+typedef AVCodec* (*avcodec_find_decoder_t)(enum AVCodecID);
+#else
typedef AVCodec* (*avcodec_find_decoder_t)(enum CodecID);
+#endif
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 8, 0)
typedef int (*avcodec_open2_t)(AVCodecContext *, AVCodec *, AVDictionary **);
#else

@ -0,0 +1,18 @@
--- trinity-k9copy-3.5.13.2/k9decmpeg/mpeg2_internal.h.ORI 2013-07-28 19:42:30.331485057 +0200
+++ trinity-k9copy-3.5.13.2/k9decmpeg/mpeg2_internal.h 2013-07-28 19:43:09.713519110 +0200
@@ -21,6 +21,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef __MPEG2_INTERNAL_H__
+#define __MPEG2_INTERNAL_H__
+
/* macroblock modes */
#define MACROBLOCK_INTRA 1
#define MACROBLOCK_PATTERN 2
@@ -298,3 +301,5 @@
extern mpeg2_mc_t mpeg2_mc_altivec;
extern mpeg2_mc_t mpeg2_mc_alpha;
extern mpeg2_mc_t mpeg2_mc_vis;
+
+#endif // __MPEG2_INTERNAL_H__

@ -0,0 +1,102 @@
--- ./k9author/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200
+++ ./k9author/Makefile.am 2013-07-28 20:05:20.857621477 +0200
@@ -14,5 +14,5 @@
k9import.h k9importfiles.h k9lvitemimport.h k9menu.h k9menubutton.h k9menuedit.h \
k9menueditor.h k9newdvd.h k9newtitle.h k9title.h
libk9author_la_LIBADD = $(top_builddir)/libk9copy/libk9copy.la $(LIB_KDEUI)
-INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9devices \
+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9devices \
-I$(top_srcdir)/k9vamps -I$(top_srcdir)/libk9copy -I$(top_srcdir)/src $(all_includes)
--- ./k9decmpeg/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200
+++ ./k9decmpeg/Makefile.am 2013-07-28 20:05:20.857621477 +0200
@@ -12,7 +12,7 @@
motion_comp_altivec.cpp motion_comp.cpp motion_comp_mmx.cpp motion_comp_vis.cpp mpeg2convert.h \
mpeg2.h mpeg2_internal.h rgb.cpp rgb_mmx.cpp rgb_vis.cpp slice.cpp tendra.h \
uyvy.cpp video_out.h vis.h vlc.h k9decodethread.cpp k9plaympeg2.cpp
-INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9vamps \
+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9vamps \
-I$(top_srcdir)/libdvdnav -I$(top_srcdir)/libk9copy
noinst_HEADERS = k9decodethread.h k9plaympeg2.h
--- ./k9devices/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200
+++ ./k9devices/Makefile.am 2013-07-28 20:05:20.857621477 +0200
@@ -1,4 +1,4 @@
-INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/libk9copy $(DBUS_INCS) \
+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/libk9copy $(DBUS_INCS) \
$(HAL_INCS) $(K3B_INCS) $(all_includes)
METASOURCES = AUTO
libk9devices_la_LDFLAGS = $(all_libraries)
--- ./k9Mplayer/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200
+++ ./k9Mplayer/Makefile.am 2013-07-28 20:05:20.857621477 +0200
@@ -1,4 +1,4 @@
-INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/libk9copy $(all_includes)
+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/libk9copy $(all_includes)
METASOURCES = AUTO
noinst_LTLIBRARIES = libk9mplayer.la
--- ./k9vamps/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200
+++ ./k9vamps/Makefile.am 2013-07-28 20:05:20.858621351 +0200
@@ -7,6 +7,6 @@
noinst_LTLIBRARIES = libk9vamps.la
libk9vamps_la_SOURCES = cputest.cpp getvlc.h k9fifo.cpp k9requant.cpp \
k9vamps.cpp k9vamps.h putvlc.h qTable.h tcmemcpy.cpp
-INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9vamps \
+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9vamps \
-I$(top_srcdir)/libk9copy
noinst_HEADERS = k9requant.h ac.h k9fifo.h
--- ./libdvdnav/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200
+++ ./libdvdnav/Makefile.am 2013-07-28 20:05:20.858621351 +0200
@@ -11,4 +11,4 @@
-INCLUDES = -I$(top_srcdir)/dvdread
+INCLUDES = -I/usr/include/dvdread
--- ./libk9copy/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200
+++ ./libk9copy/Makefile.am 2013-07-28 20:05:20.858621351 +0200
@@ -24,6 +24,6 @@
k9saveimage.h k9script.h k9titleencopt.h k9tools.h k9videocodecs.h
-INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9decmpeg \
+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9decmpeg \
-I$(top_srcdir)/k9vamps -I$(top_srcdir)/libdvdnav
libk9copy_la_LDFLAGS = $(all_libraries)
--- ./src/Makefile.am.dvdread 2013-07-28 20:05:20.855621729 +0200
+++ ./src/Makefile.am 2013-07-28 20:09:10.620642017 +0200
@@ -1,5 +1,5 @@
# set the include path for X, qt and KDE
-INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9Mplayer \
+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9Mplayer \
-I$(top_srcdir)/k9author -I$(top_srcdir)/k9decmpeg -I$(top_srcdir)/k9devices \
-I$(top_srcdir)/k9vamps -I$(top_srcdir)/libdvdnav -I$(top_srcdir)/libk9copy $(all_includes)
@@ -35,7 +35,7 @@
$(top_builddir)/k9author/libk9author.la $(top_builddir)/k9decmpeg/libk9decmpeg.la \
$(top_builddir)/k9devices/libk9devices.la $(top_builddir)/k9vamps/libk9vamps.la \
$(top_builddir)/libdvdnav/libk9dvdnav.la $(top_builddir)/libk9copy/libk9copy.la \
- $(top_builddir)/dvdread/libdvdread.la $(LIB_KDEUI) -lkmdi $(LIBDL) -lk3b -lk3bdevice
+ -ldvdread $(LIB_KDEUI) -lkmdi $(LIBDL) -lk3b -lk3bdevice
# this is where the desktop file will go
shelldesktopdir = $(kde_appsdir)/Utilities
--- ./Makefile.am.ORI 2013-07-28 20:15:29.961786846 +0200
+++ ./Makefile.am 2013-07-28 20:15:43.375094511 +0200
@@ -1,4 +1,4 @@
-SUBDIRS = doc dvdread libdvdnav k9Mplayer libk9copy k9author k9decmpeg k9devices k9vamps \
+SUBDIRS = doc libdvdnav k9Mplayer libk9copy k9author k9decmpeg k9devices k9vamps \
po src
$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
@@ -29,11 +29,3 @@
AM_CXXFLAGS = -O0 -g3
-
-
-
-
-
-
-
-INCLUDES = -I$(top_srcdir)/dvdread

@ -1,13 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp k9copy %define tde_pkg k9copy
%define tdeversion 3.5.13.2 %define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -24,35 +24,38 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: DVD backup tool for Trinity Summary: DVD backup tool for Trinity
Version: 1.2.3 Version: 1.2.3
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: k9copy-3.5.13.2-fix_k3b_link.patch Patch1: k9copy-3.5.13.2-fix_k3b_link.patch
Patch2: k9copy-3.5.13.2-ftbfs.patch
Patch3: k9copy-3.5.13.2-use_external_dvdread.patch
Patch4: k9copy-3.5.13.2-avcodec.patch
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: trinity-k3b-devel BuildRequires: trinity-k3b-devel
# Warning: the target distribution must have ffmpeg ! # Warning: the target distribution must have ffmpeg !
BuildRequires: ffmpeg-devel BuildRequires: ffmpeg-devel
Requires: ffmpeg Requires: ffmpeg
%description %description
k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9 k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9
@ -66,8 +69,14 @@ This is the Trinity version
%prep %prep
%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .ftbfs %patch1 -p1 -b .ftbfs
%patch2 -p1 -b .ftbfs
%patch3 -p1 -b .dvdread
%patch4 -p1 -b .avcodec
# Removes internal dvdread headers
%__rm -rf dvdread
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -80,7 +89,6 @@ This is the Trinity version
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
%build %build
unset QTDIR || : ; . /etc/profile.d/qt3.sh unset QTDIR || : ; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
@ -90,16 +98,25 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
if [ -d /usr/include/ffmpeg ]; then if [ -d /usr/include/ffmpeg ]; then
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg" export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg"
fi fi
# NOTICE: --enable-final causes FTBFS !
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \ --bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--disable-final \
--enable-new-ldflags \
--enable-closure \
--disable-rpath \ --disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \ --with-extra-includes=%{tde_includedir}/tqt \
--enable-closure \
--enable-k3bdevices
%__make %{?_smp_mflags} || %__make %__make %{?_smp_mflags} || %__make
@ -109,7 +126,8 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
%find_lang %{tdecomp} %find_lang %{tde_pkg}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -126,7 +144,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
update-desktop-database %{tde_appdir} &> /dev/null update-desktop-database %{tde_appdir} &> /dev/null
%files -f %{tdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING %doc AUTHORS COPYING
%{tde_bindir}/k9copy %{tde_bindir}/k9copy
@ -138,6 +156,9 @@ update-desktop-database %{tde_appdir} &> /dev/null
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.3-5
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.3-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.3-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,5 +1,6 @@
# Default version for this component # Default version for this component
%define kdecomp kaffeine-mozilla %define tde_pkg kaffeine-mozilla
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
@ -23,29 +24,29 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity]
Version: 0.4.3.1 Version: 0.4.3.1
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Multimedia Group: Applications/Multimedia
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
# Fix 'nspr' includes location # Fix 'nspr' includes location
Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%if 0%{?suse_version} %if 0%{?suse_version}
@ -57,14 +58,14 @@ BuildRequires: nspr-devel
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}xaw-devel BuildRequires: %{_lib}xaw-devel
%endif %endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 %if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
BuildRequires: libXaw-devel BuildRequires: libXaw-devel
%endif %endif
Requires: trinity-kaffeine Requires: trinity-kaffeine
%description %description
This mozilla plugin launches kaffeine, the xine-based media player for KDE, This mozilla plugin launches kaffeine, the xine-based media player for TDE,
when a page containing a supported media format is loaded. when a page containing a supported media format is loaded.
@ -74,8 +75,7 @@ when a page containing a supported media format is loaded.
%prep %prep
unset QTDIR; . /etc/profile.d/qt3.sh %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%setup -q -n %{name}-3.5.13.2
%patch1 -p1 -b .nspr %patch1 -p1 -b .nspr
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
@ -90,17 +90,23 @@ unset QTDIR; . /etc/profile.d/qt3.sh
%build %build
unset QTDIR; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--disable-rpath \ --prefix=%{_libdir}/mozilla \
--with-extra-includes=%{tde_includedir}/tqt \ \
--enable-closure \ --disable-dependency-tracking \
--prefix=%{_libdir}/mozilla --disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
%install %install
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -109,6 +115,7 @@ export PATH="%{tde_bindir}:${PATH}"
# Remove useless filess # Remove useless filess
%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a %__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define kdecomp kaffeine %define tde_pkg kaffeine
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -21,55 +22,60 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: Xine-based media player Summary: Xine-based media player
Version: 0.8.8 Version: 0.8.8
Release: 5%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Multimedia Group: Applications/Multimedia
URL: http://kaffeine.sourceforge.net/ URL: http://kaffeine.sourceforge.net/
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: gettext BuildRequires: gettext
# VORBIS support
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
BuildRequires: libcdio-devel
# CDDA support
BuildRequires: libcdio-devel
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libcdda-devel BuildRequires: libcdda-devel
BuildRequires: %{_lib}xext%{?mgaversion:6}-devel
BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel
# dvb
%if 0%{?pclinuxos} == 0
BuildRequires: kernel-headers
%endif %endif
BuildRequires: libgstreamer-devel >= 0.10 %if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: libgstreamer-plugins-base-devel >= 0.10
%else
BuildRequires: cdparanoia BuildRequires: cdparanoia
BuildRequires: cdparanoia-devel BuildRequires: cdparanoia-devel
%endif
%if 0%{?suse_version} >= 1220 %if 0%{?suse_version} >= 1220
BuildRequires: libcdio-paranoia-devel BuildRequires: libcdio-paranoia-devel
%endif %endif
# X11 stuff # X11 stuff
%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}xext%{?mgaversion:6}-devel
BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel
%endif
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel BuildRequires: xorg-x11-devel
%else %endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220
BuildRequires: libXext-devel BuildRequires: libXext-devel
BuildRequires: libXtst-devel BuildRequires: libXtst-devel
BuildRequires: libXinerama-devel BuildRequires: libXinerama-devel
%endif %endif
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildRequires: libxcb-devel
%endif %endif
# dvb # GSTREAMER support
%if 0%{?rhel} >= 5 || 0%{?suse_version} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_gstreamer 1
BuildRequires: gstreamer-devel BuildRequires: gstreamer-devel
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: gstreamer-0_10-plugins-base-devel BuildRequires: gstreamer-0_10-plugins-base-devel
@ -80,15 +86,14 @@ BuildRequires: gstreamer-plugins-devel
%endif %endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: gstreamer-plugins-base-devel >= 0.10 BuildRequires: gstreamer-plugins-base-devel >= 0.10
BuildRequires: glibc-kernheaders
%endif %endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libgstreamer-devel >= 0.10
BuildRequires: libgstreamer-plugins-base-devel >= 0.10
%endif %endif
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildRequires: libxcb-devel
%endif %endif
# xine-lib # XINE support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} %if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
BuildRequires: libxine-devel BuildRequires: libxine-devel
%endif %endif
@ -96,31 +101,41 @@ BuildRequires: libxine-devel
BuildRequires: xine-lib-devel BuildRequires: xine-lib-devel
%endif %endif
# LAME # LAME support
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: libmp3lame-devel BuildRequires: libmp3lame-devel
%else %else
BuildRequires: lame-devel BuildRequires: lame-devel
%endif %endif
# WTF support
%if 0%{?pclinuxos} == 0
BuildRequires: kernel-headers
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: glibc-kernheaders
%endif
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
%description %description
Kaffeine is a xine-based media player for KDE. It plays back CDs, Kaffeine is a xine-based media player for TDE. It plays back CDs,
and VCDs, and can decode all (local or streamed) multimedia formats and VCDs, and can decode all (local or streamed) multimedia formats
supported by xine-lib. supported by xine-lib.
Additionally, Kaffeine is fully integrated in KDE, it supports drag Additionally, Kaffeine is fully integrated in TDE, it supports drag
and drop and provides an editable playlist, a bookmark system, a and drop and provides an editable playlist, a bookmark system, a
Konqueror plugin, OSD and much more. Konqueror plugin, OSD and much more.
%files -f %{kdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README TODO %doc AUTHORS ChangeLog COPYING README TODO
%{tde_bindir}/kaffeine %{tde_bindir}/kaffeine
%{tde_libdir}/libkaffeinepart.so %{tde_libdir}/libkaffeinepart.so
%{tde_tdelibdir}/lib*.* %{tde_tdelibdir}/lib*.*
%{tde_datadir}/appl*/*/*.desktop %{tde_datadir}/appl*/*/*.desktop
%if 0%{?with_gstreamer}
%{tde_datadir}/apps/gstreamerpart/ %{tde_datadir}/apps/gstreamerpart/
%endif
%{tde_datadir}/apps/kaffeine/ %{tde_datadir}/apps/kaffeine/
%{tde_datadir}/apps/konqueror/servicemenus/*.desktop %{tde_datadir}/apps/konqueror/servicemenus/*.desktop
%{tde_datadir}/apps/profiles/ %{tde_datadir}/apps/profiles/
@ -144,10 +159,10 @@ update-desktop-database >& /dev/null ||:
########## ##########
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
Requires: trinity-tdelibs-devel Requires: trinity-tdelibs-devel
%description devel %description devel
%{summary}. %{summary}.
@ -167,11 +182,11 @@ Requires: trinity-tdelibs-devel
########## ##########
%package libs %package libs
Summary: %{name} runtime libraries Summary: %{name} runtime libraries
Group: System Environment/Libraries Group: System Environment/Libraries
# include to be paranoid, installing libs-only is still mostly untested -- Rex # include to be paranoid, installing libs-only is still mostly untested -- Rex
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description libs %description libs
%{summary}. %{summary}.
@ -195,7 +210,7 @@ Requires: %{name} = %{version}-%{release}
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -221,16 +236,19 @@ export KDEDIR=%{tde_prefix}
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \ --enable-new-ldflags \
--disable-debug --disable-warnings \ --enable-final \
--disable-dependency-tracking --enable-final \ --enable-closure \
--disable-rpath \ --disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \
\
--with-xinerama \ --with-xinerama \
--with-gstreamer \ --with-gstreamer \
--with-lame \ --with-lame \
--with-extra-includes=%{tde_includedir}/tqt \
--with-extra-libs=%{_prefix}/%{_lib} \
--enable-closure \
%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 %if 0%{?rhel} > 0 && 0%{?rhel} <= 5
--without-dvb \ --without-dvb \
%endif %endif
@ -246,23 +264,7 @@ export PATH="%{tde_bindir}:${PATH}"
## File lists ## File lists
# locale's # locale's
%find_lang %{kdecomp} %find_lang %{tde_pkg}
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then
for lang_dir in $RPM_BUILD_ROOT$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
# Unpackaged files # Unpackaged files
rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la
@ -272,7 +274,6 @@ rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.8-5 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.8-5
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define kdecomp kdbusnotification %define tde_pkg kdbusnotification
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -23,37 +24,37 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: a DBUS notification service [Trinity] Summary: a DBUS notification service [Trinity]
Version: 0.1 Version: 0.1
Release: 4.1%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: kdbusnotification-14.0.0-fix_utf8.patch Patch1: kdbusnotification-14.0.0-fix_utf8.patch
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gtk2-devel BuildRequires: gtk2-devel
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: dbus-1-glib-devel BuildRequires: dbus-1-glib-devel
%else %else
BuildRequires: dbus-glib-devel BuildRequires: dbus-glib-devel
%endif %endif
%description %description
@ -67,7 +68,7 @@ DBUS notifications via unobtrusive, easily dismissed passive popups.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .utf8 %patch1 -p1 -b .utf8
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
@ -93,9 +94,15 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \ --disable-rpath \
--with-extra-includes=%{tde_includedir}/tqt \ \
--enable-closure --with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -120,7 +127,7 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Sun Jul 21 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-4.1 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-5
- Fix UTF8 messages - Fix UTF8 messages
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-4

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp kdiff3 %define tde_pkg kdiff3
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -23,27 +24,27 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories. Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories.
Version: 0.9.91 Version: 0.9.91
Release: 6%{?dist}%{?_variant} Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%description %description
@ -60,7 +61,7 @@ Unicode & UTF-8 support
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -86,9 +87,15 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \ --disable-rpath \
--with-extra-includes=%{tde_includedir}/tqt \ \
--enable-closure --with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -101,7 +108,7 @@ export PATH="%{tde_bindir}:${PATH}"
# Unwanted files # Unwanted files
%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/kdiff3/ %__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/kdiff3/
%find_lang %{tdecomp} %find_lang %{tde_pkg}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -120,7 +127,7 @@ for f in hicolor locolor; do
done done
%files -f %{tdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING %doc AUTHORS COPYING
%{tde_bindir}/kdiff3 %{tde_bindir}/kdiff3
@ -140,6 +147,9 @@ done
%{tde_tdelibdir}/libkdiff3plugin.so %{tde_tdelibdir}/libkdiff3plugin.so
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.91-7
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.91-6 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.91-6
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp kile %define tde_pkg kile
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -23,26 +24,26 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: KDE Integrated LaTeX Environment [Trinity] Summary: TDE Integrated LaTeX Environment [Trinity]
Version: 2.0.2 Version: 2.0.2
Release: 5%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Publishing Group: Applications/Publishing
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
@ -113,7 +114,7 @@ Kile can support large projects consisting of several smaller files.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -139,7 +140,14 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \ --disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt --with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -156,7 +164,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml %__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml
%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml %__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml
%find_lang %{tdecomp} %find_lang %{tde_pkg}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -173,7 +181,7 @@ touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%files -f %{tdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/kile %{tde_bindir}/kile
%{tde_tdeappdir}/kile.desktop %{tde_tdeappdir}/kile.desktop
@ -196,6 +204,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-6
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-5 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-5
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -46,6 +46,13 @@ BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
# HAL support
# On RHEL4, we do not use HAL (too old)
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
%define with_hal 1
BuildRequires: hal-devel >= 0.4.8
%endif
%description %description
This applet monitors various temperature, This applet monitors various temperature,
@ -85,7 +92,14 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \ --disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir}
# SMP safe ! # SMP safe !

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp kiosktool %define tde_pkg kiosktool
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -23,24 +24,24 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Version: 1.0 Version: 1.0
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
Summary: tool to configure the TDE kiosk framework Summary: tool to configure the TDE kiosk framework
License: GPLv2+ License: GPLv2+
Group: Applications/Multimedia Group: Applications/Multimedia
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext BuildRequires: gettext
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
%description %description
@ -55,7 +56,7 @@ groups of users.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -82,14 +83,16 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--disable-rpath \ \
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \ --enable-new-ldflags \
--disable-debug --disable-warnings \ --enable-final \
--disable-dependency-tracking --enable-final \
--enable-closure \ --enable-closure \
--with-extra-includes=%{tde_includedir}/tqt --disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -98,25 +101,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf $RPM_BUILD_ROOT %__rm -rf $RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT %__make install DESTDIR=$RPM_BUILD_ROOT
## File lists %find_lang %{tde_pkg}
# locale's
%find_lang %{tdecomp}
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then
for lang_dir in $RPM_BUILD_ROOT$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 %clean
@ -135,7 +120,7 @@ update-desktop-database >& /dev/null ||:
%files -f %{tdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc ChangeLog COPYING README TODO %doc ChangeLog COPYING README TODO
%{tde_bindir}/kiosktool %{tde_bindir}/kiosktool
@ -148,6 +133,9 @@ update-desktop-database >& /dev/null ||:
%{tde_datadir}/apps/kiosktool/kiosktoolui.rc %{tde_datadir}/apps/kiosktool/kiosktoolui.rc
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-5
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp kmplayer %define tde_pkg kmplayer
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -23,30 +24,34 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: media player for Trinity Summary: media player for Trinity
Version: 0.10.0c Version: 0.10.0c
Release: 5%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Multimedia Group: Applications/Multimedia
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://kmplayer.kde.org URL: http://kmplayer.kde.org
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
# DBUS support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
%endif
# GSTREAMER support
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?pclinuxos} %if 0%{?pclinuxos}
BuildRequires: libgstreamer0.10-devel BuildRequires: libgstreamer0.10-devel
@ -54,24 +59,35 @@ BuildRequires: libgstreamer0.10-devel
BuildRequires: %{_lib}gstreamer0.10-devel BuildRequires: %{_lib}gstreamer0.10-devel
%endif %endif
BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel
BuildRequires: libxv-devel
%endif %endif
%if 0%{?rhel} || 0%{?fedora} %if 0%{?rhel} == 4
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: gstreamer-devel BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-base-devel BuildRequires: gstreamer-plugins-base-devel
BuildRequires: libXv-devel
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: gstreamer-devel BuildRequires: gstreamer-devel
BuildRequires: gstreamer-0_10-plugins-base-devel BuildRequires: gstreamer-0_10-plugins-base-devel
%if 0%{?suse_version} == 1140 %endif
BuildRequires: xorg-x11-libXv-devel
%else # X11 stuff
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libxv-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1210
BuildRequires: libXv-devel BuildRequires: libXv-devel
%endif %endif
%if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel
%endif
%if 0%{?suse_version} == 1140
BuildRequires: xorg-x11-libXv-devel
%endif %endif
Requires: %{name}-base Requires: %{name}-base
%description %description
A basic audio/video viewer application for Trinity. A basic audio/video viewer application for Trinity.
@ -84,7 +100,7 @@ KMPlayer can:
* show backend player's console output * show backend player's console output
* launch ffserver (only 0.4.8 works) when viewing from a v4l device * launch ffserver (only 0.4.8 works) when viewing from a v4l device
* DCOP KMediaPlayer interface support * DCOP KMediaPlayer interface support
* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard KDE * VDR viewer frontend (with *kxvplayer), configure VDR keys with standard TDE
shortcut configure window shortcut configure window
* Lots of configurable shortcuts. Highly recommended for the VDR keys * Lots of configurable shortcuts. Highly recommended for the VDR keys
(if you have VDR) and volume increase/decrease (if you have VDR) and volume increase/decrease
@ -125,7 +141,7 @@ Documention for KMPlayer, a basic audio/video viewer application for TDE.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -152,11 +168,17 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \ --disable-rpath \
--with-extra-includes=%{tde_includedir}/tqt \ \
--enable-closure --with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags} %__make %{?_smp_mflags} || %__make
%install %install
@ -164,7 +186,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
%find_lang %{tdecomp} %find_lang %{tde_pkg}
# Removes unwanted files # Removes unwanted files
%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop %__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop
@ -191,7 +213,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
/sbin/ldconfig || : /sbin/ldconfig || :
%files -f %{tdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm %doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm
%{tde_bindir}/kmplayer %{tde_bindir}/kmplayer

@ -0,0 +1,19 @@
--- ./kmymoney2/widgets/Makefile.am.ftbfs 2013-06-06 19:37:02.000000000 +0200
+++ ./kmymoney2/widgets/Makefile.am 2013-07-28 18:58:51.406093917 +0200
@@ -7,14 +7,14 @@
libwidgets_a_METASOURCES = AUTO
libwidgets_a_SOURCES = kbudgetvalues.cpp kbudgetvaluesdecl.ui kguiutils.cpp klistviewsearchline.cpp kmymoneyaccountcombo.cpp kmymoneyaccountcompletion.cpp kmymoneyaccountselector.cpp kmymoneyaccounttreebase.cpp kmymoneyaccounttree.cpp kmymoneyaccounttreebudget.cpp kmymoneyaccounttreeforecast.cpp kmymoneybriefschedule.cpp kmymoneycalculator.cpp kmymoneycalendar.cpp kmymoneycategory.cpp kmymoneychecklistitem.cpp kmymoneycombo.cpp kmymoneycompletion.cpp kmymoneycurrencyselector.cpp kmymoneydateinput.cpp kmymoneydatetbl.cpp kmymoneyedit.cpp kmymoneyforecastlistviewitem.cpp kmymoneygpgconfig.cpp kmymoneygpgconfigdecl.ui kmymoneylineedit.cpp kmymoneylistviewitem.cpp kmymoneyonlinequoteconfig.cpp kmymoneyonlinequoteconfigdecl.ui kmymoneypriceview.cpp kmymoneyreportconfigtab1decl.ui kmymoneyreportconfigtab2decl.ui kmymoneyreportconfigtab3decl.ui kmymoneyreportconfigtabchartdecl.ui kmymoneyreportcontroldecl.ui kmymoneyscheduledcalendar.cpp kmymoneyscheduleddatetbl.cpp kmymoneyselector.cpp kmymoneytitlelabel.cpp kmymoneywizard.cpp kschedulebriefwidget.ui register.cpp registeritem.cpp registersearchline.cpp transaction.cpp scheduledtransaction.cpp stdtransactiondownloaded.cpp stdtransactionmatched.cpp transactioneditorcontainer.cpp transactionform.cpp kaccounttemplateselectordecl.ui kaccounttemplateselector.cpp \
-transactionsortoption.cpp transactionsortoption.ui \
+transactionsortoption.ui \
selectedtransaction.cpp
#libwidgets_a_SOURCES = kmymoneyregisterinvestment.cpp kmymoneyequity.cpp kmymoneyequitycompletion.cpp kmymoneycompletion.cpp kmymoneyequityselector.cpp kmymoneyaccountcombo.cpp kmymoneyaccountcompletion.cpp kmymoneycurrencyselector.cpp kmymoneypriceview.cpp kmymoneypriceviewdecl.ui kschedulebriefwidget.ui kmymoneyaccountselector.cpp kmymoneyregisterloan.cpp kmymoneyregistersearch.cpp kmymoneybriefschedule.cpp kmymoneyscheduleddatetbl.cpp kmymoneydatetbl.cpp kmymoneyscheduledcalendar.cpp kmymoneycalendar.cpp kmymoneycalculator.cpp kmymoneycategory.cpp kmymoneypayee.cpp kmymoneytransactionform.cpp kmymoneyregistercheckings.cpp kmymoneyregister.cpp kmymoneycombo.cpp kmymoneyhlayout.cpp kmymoneylineedit.cpp kmymoneyedit.cpp kmymoneydateinput.cpp kmymoneyreportcontroldecl.ui kmymoneyreportconfigtab1decl.ui kmymoneyreportconfigtab2decl.ui kmymoneyreportconfigtab3decl.ui kmymoneyreportconfigtabchartdecl.ui kmymoneyonlinequoteconfig.cpp kmymoneyonlinequoteconfigdecl.ui kmymoneyaccounttree.cpp kmymoneygpgconfigdecl.ui kmymoneygpgconfig.cpp kmymoneytitlelabel.cpp kguiutils.cpp kmymoneywizard.cpp kmymoneyaccounttreebudget.cpp kmymoneyaccounttreeforecast.cpp \
#register.cpp registeritem.cpp transaction.cpp transactionform.cpp transactioneditor.cpp transactioneditorcontainer.cpp kmymoneychecklistitem.cpp kmymoneylistviewitem.cpp kmymoneyforecastlistviewitem.cpp kmymoneyselector.cpp \
#transactionsortoption.ui
-EXTRA_DIST = kmymoney.widgets kmymoneygpgconfigdecl.ui kmymoneyonlinequoteconfigdecl.ui kmymoneyreportconfigtab1decl.ui kmymoneyreportconfigtab2decl.ui kmymoneyreportconfigtab3decl.ui kmymoneyreportcontroldecl.ui kschedulebriefwidget.ui kmymoneyreportconfigtabchartdecl.ui transactionsortoption.ui transactionsortoption.ui.h sortoptionlistitem.h kbudgetvaluesdecl.ui kaccounttemplateselectordecl.ui
+EXTRA_DIST = kmymoney.widgets kmymoneygpgconfigdecl.ui kmymoneyonlinequoteconfigdecl.ui kmymoneyreportconfigtab1decl.ui kmymoneyreportconfigtab2decl.ui kmymoneyreportconfigtab3decl.ui kmymoneyreportcontroldecl.ui kschedulebriefwidget.ui kmymoneyreportconfigtabchartdecl.ui transactionsortoption.ui.h sortoptionlistitem.h kbudgetvaluesdecl.ui kaccounttemplateselectordecl.ui
# include the widgets that are available to 3rd party sw (e.g. plugins or
# Qt designer) here

@ -1,5 +1,6 @@
# Default version for this component # Default version for this component
%define tdecomp kmymoney %define tde_pkg kmymoney
%define tde_version 3.5.13.2
# Required for Mageia 2: removes the ldflag '--no-undefined' # Required for Mageia 2: removes the ldflag '--no-undefined'
%define _disable_ld_no_undefined 1 %define _disable_ld_no_undefined 1
@ -19,7 +20,7 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -36,24 +37,27 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: personal finance manager for TDE Summary: personal finance manager for TDE
Version: 1.0.5 Version: 1.0.5
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: kmymoneytitlelabel.png Source1: kmymoneytitlelabel.png
# [kmymoney] Fix FTBFS
Patch1: kmymoney-3.5.13.2-ftbfs.patch
# [kmymoney] Missing LDFLAGS causing FTBFS # [kmymoney] Missing LDFLAGS causing FTBFS
Patch4: kmymoney-3.5.13-missing_ldflags.patch Patch4: kmymoney-3.5.13-missing_ldflags.patch
@ -61,10 +65,10 @@ Patch4: kmymoney-3.5.13-missing_ldflags.patch
# [kmymoney] Fix QT3 plugins directory location # [kmymoney] Fix QT3 plugins directory location
Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: recode BuildRequires: recode
@ -101,9 +105,9 @@ support.
%package common %package common
Summary: KMyMoney architecture independent files Summary: KMyMoney architecture independent files
Group: Applications/Utilities Group: Applications/Utilities
Requires: %{name} == %{version} Requires: %{name} == %{version}
%description common %description common
This package contains architecture independent files needed for KMyMoney to This package contains architecture independent files needed for KMyMoney to
@ -112,9 +116,9 @@ have '%{name}' package installed, you will hardly find this package useful.
%package devel %package devel
Summary: KMyMoney development files Summary: KMyMoney development files
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} == %{version} Requires: %{name} == %{version}
%description devel %description devel
This package contains development files needed for KMyMoney plugins. This package contains development files needed for KMyMoney plugins.
@ -126,7 +130,8 @@ This package contains development files needed for KMyMoney plugins.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .ftbfs
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
%patch5 -p1 -b .qtpluginsdir %patch5 -p1 -b .qtpluginsdir
%endif %endif
@ -165,6 +170,7 @@ export QTPLUGINS="%{_libdir}/qt3/plugins"
grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po
%endif %endif
# NOTICE: --enable-final causes FTBFS !
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \
@ -173,9 +179,16 @@ grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-final \
--enable-closure \
--disable-rpath \ --disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \ --with-extra-includes=%{tde_includedir}/tqt \
--enable-closure \ \
%{?with_pdf:--enable-pdf-docs} %{?!with_pdf:--disable-pdf-docs} \ %{?with_pdf:--enable-pdf-docs} %{?!with_pdf:--disable-pdf-docs} \
--enable-ofxplugin \ --enable-ofxplugin \
--enable-ofxbanking \ --enable-ofxbanking \
@ -198,29 +211,9 @@ export QTPLUGINS=%{_libdir}/qt3/plugins
%__make install DESTDIR=%{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
%find_lang kmymoney2 %find_lang kmymoney2
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -241,6 +234,7 @@ for f in hicolor locolor Tango oxygen; do
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done done
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/kmymoney %{tde_bindir}/kmymoney
@ -286,6 +280,9 @@ done
%{qt3pluginsdir}/designer/libkmymoney.so %{qt3pluginsdir}/designer/libkmymoney.so
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-5
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,5 +1,6 @@
# Default version for this component # Default version for this component
%define tdecomp koffice %define tde_pkg koffice
%define tde_version 3.5.13.2
# Required for Mageia 2: removes the ldflag '--no-undefined' # Required for Mageia 2: removes the ldflag '--no-undefined'
%define _disable_ld_no_undefined 1 %define _disable_ld_no_undefined 1
@ -9,7 +10,7 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -37,80 +38,80 @@
%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') %global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/')
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: An integrated office suite Summary: An integrated office suite
Version: 1.6.3 Version: 1.6.3
Release: 7%{?dist}%{?_variant} Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant}
Group: Applications/Productivity Group: Applications/Productivity
License: GPLv2+ License: GPLv2+
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
# BuildRequires: world-devel ;) # BuildRequires: world-devel ;)
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdegraphics-devel >= 3.5.13.2 BuildRequires: trinity-tdegraphics-devel >= %{tde_version}
BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel >= 3.5.13.2 BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel >= %{tde_version}
BuildRequires: automake libtool BuildRequires: automake libtool
BuildRequires: fontconfig-devel BuildRequires: fontconfig-devel
BuildRequires: libart_lgpl-devel BuildRequires: libart_lgpl-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: ImageMagick-devel BuildRequires: ImageMagick-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: pcre-devel BuildRequires: pcre-devel
BuildRequires: gettext-devel BuildRequires: gettext-devel
BuildRequires: mysql-devel BuildRequires: mysql-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: perl BuildRequires: perl
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: aspell-devel BuildRequires: aspell-devel
BuildRequires: libxslt-devel BuildRequires: libxslt-devel
BuildRequires: OpenEXR-devel BuildRequires: OpenEXR-devel
BuildRequires: libexif-devel BuildRequires: libexif-devel
BuildRequires: readline-devel BuildRequires: readline-devel
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: libbz2-devel BuildRequires: libbz2-devel
BuildRequires: liblcms-devel BuildRequires: liblcms-devel
%else %else
BuildRequires: bzip2-devel BuildRequires: bzip2-devel
BuildRequires: lcms-devel BuildRequires: lcms-devel
BuildRequires: libpaper-devel BuildRequires: libpaper-devel
%endif %endif
# RUBY support # RUBY support
%if 0%{?with_ruby} %if 0%{?with_ruby}
BuildRequires: ruby ruby-devel >= 1.8.1 BuildRequires: ruby ruby-devel >= 1.8.1
%endif %endif
# FREETYPE support # FREETYPE support
%if 0%{?suse_version} == 1140 %if 0%{?suse_version} == 1140
BuildRequires: freetype2-devel BuildRequires: freetype2-devel
%else %else
BuildRequires: freetype-devel BuildRequires: freetype-devel
%endif %endif
# LIBPNG support # LIBPNG support
%if 0%{?mgaversion} %if 0%{?mgaversion}
BuildRequires: %{_lib}png-devel BuildRequires: %{_lib}png-devel
%endif %endif
%if 0%{?mdkversion} && 0%{?pclinuxos} == 0 %if 0%{?mdkversion} && 0%{?pclinuxos} == 0
BuildRequires: %{_lib}png15-devel BuildRequires: %{_lib}png15-devel
%endif %endif
%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} %if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel}
BuildRequires: libpng-devel BuildRequires: libpng-devel
%endif %endif
# GRAPHICSMAGICK support # GRAPHICSMAGICK support
@ -139,7 +140,7 @@ BuildRequires: libutempter-devel
# Requires 'libpqxx', for kexi-driver-pgqsl # Requires 'libpqxx', for kexi-driver-pgqsl
%if 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} %if 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version}
%define with_postgresql 1 %define with_postgresql 1
BuildRequires: libpqxx-devel BuildRequires: libpqxx-devel
%endif %endif
Obsoletes: trinity-libpqxx Obsoletes: trinity-libpqxx
@ -150,10 +151,10 @@ Obsoletes: trinity-libwpd
# WV2 support # WV2 support
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}wv2-devel BuildRequires: %{_lib}wv2-devel
%endif %endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: wv2-devel BuildRequires: wv2-devel
%endif %endif
# MESA support # MESA support
@ -162,11 +163,11 @@ BuildRequires: %{_lib}mesagl1-devel
BuildRequires: %{_lib}mesaglu1-devel BuildRequires: %{_lib}mesaglu1-devel
%endif %endif
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
BuildRequires: libGL-devel BuildRequires: libGL-devel
BuildRequires: libGLU-devel BuildRequires: libGLU-devel
%endif %endif
%if 0%{?suse_version} >= 1220 %if 0%{?suse_version} >= 1220
BuildRequires: Mesa-libGL-devel BuildRequires: Mesa-libGL-devel
BuildRequires: Mesa-libGLU-devel BuildRequires: Mesa-libGLU-devel
%endif %endif
@ -180,13 +181,13 @@ BuildRequires: %{_lib}openjpeg-devel
BuildRequires: %{_lib}xi-devel BuildRequires: %{_lib}xi-devel
%endif %endif
%if 0%{?rhel} >= 5 || 0%{?fedora} %if 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: libXi-devel BuildRequires: libXi-devel
%endif %endif
%if 0%{?suse_version} == 1140 %if 0%{?suse_version} == 1140
BuildRequires: libXi6-devel BuildRequires: libXi6-devel
%endif %endif
%if 0%{?suse_version} >= 1220 %if 0%{?suse_version} >= 1220
BuildRequires: libXi-devel BuildRequires: libXi-devel
%endif %endif
@ -196,25 +197,25 @@ KOffice is an integrated office suite.
########## ##########
%package suite %package suite
Summary: An integrated office suite Summary: An integrated office suite
Group: Applications/Productivity Group: Applications/Productivity
Obsoletes: %{name} <= %{version}-%{release} Obsoletes: %{name} <= %{version}-%{release}
Obsoletes: %{name}-i18n < 4:%{version} Obsoletes: %{name}-i18n < 4:%{version}
Requires: %{name}-core = %{version}-%{release} Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-kword = %{version}-%{release} Requires: %{name}-kword = %{version}-%{release}
Requires: %{name}-kspread = %{version}-%{release} Requires: %{name}-kspread = %{version}-%{release}
Requires: %{name}-kpresenter = %{version}-%{release} Requires: %{name}-kpresenter = %{version}-%{release}
Requires: %{name}-kivio = %{version}-%{release} Requires: %{name}-kivio = %{version}-%{release}
Requires: %{name}-karbon = %{version}-%{release} Requires: %{name}-karbon = %{version}-%{release}
Requires: %{name}-kugar = %{version}-%{release} Requires: %{name}-kugar = %{version}-%{release}
Requires: %{name}-kexi = %{version}-%{release} Requires: %{name}-kexi = %{version}-%{release}
Requires: %{name}-kexi-driver-mysql = %{version}-%{release} Requires: %{name}-kexi-driver-mysql = %{version}-%{release}
%{?with_postgresql:Requires: %{name}-kexi-driver-pgsql = %{version}-%{release}} %{?with_postgresql:Requires: %{name}-kexi-driver-pgsql = %{version}-%{release}}
Requires: %{name}-kchart = %{version}-%{release} Requires: %{name}-kchart = %{version}-%{release}
Requires: %{name}-kformula = %{version}-%{release} Requires: %{name}-kformula = %{version}-%{release}
Requires: %{name}-filters = %{version}-%{release} Requires: %{name}-filters = %{version}-%{release}
Requires: %{name}-kplato = %{version}-%{release} Requires: %{name}-kplato = %{version}-%{release}
Requires: %{name}-chalk = %{version}-%{release} Requires: %{name}-chalk = %{version}-%{release}
%description suite %description suite
KOffice is an integrated office suite. KOffice is an integrated office suite.
@ -225,10 +226,10 @@ KOffice is an integrated office suite.
########## ##########
%package core %package core
Summary: Core support files for %{name} Summary: Core support files for %{name}
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
Requires: perl Requires: perl
Conflicts: koffice-i18n < %{version} Conflicts: koffice-i18n < %{version}
%description core %description core
@ -317,11 +318,11 @@ fi
########## ##########
%package libs %package libs
Summary: Runtime libraries for %{name} Summary: Runtime libraries for %{name}
Group: System Environment/Libraries Group: System Environment/Libraries
Conflicts: %{name} <= %{version}-%{release} Conflicts: %{name} <= %{version}-%{release}
Requires: trinity-kdelibs Requires: trinity-kdelibs
License: LGPLv2+ License: LGPLv2+
%description libs %description libs
%{summary}. %{summary}.
@ -359,10 +360,10 @@ License: LGPLv2+
########## ##########
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
License: LGPLv2+ License: LGPLv2+
%description devel %description devel
%{summary}. %{summary}.
@ -379,9 +380,9 @@ License: LGPLv2+
########## ##########
%package kword %package kword
Summary: A frame-based word processor capable of professional standard documents Summary: A frame-based word processor capable of professional standard documents
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release} Requires: %{name}-core = %{version}-%{release}
%description kword %description kword
%{summary}. %{summary}.
@ -413,9 +414,9 @@ update-desktop-database -q &> /dev/null ||:
########## ##########
%package kspread %package kspread
Summary: A powerful spreadsheet application Summary: A powerful spreadsheet application
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release} Requires: %{name}-core = %{version}-%{release}
%description kspread %description kspread
%{summary}. %{summary}.
@ -450,9 +451,9 @@ Requires: %{name}-core = %{version}-%{release}
########## ##########
%package kpresenter %package kpresenter
Summary: A full-featured presentation program Summary: A full-featured presentation program
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release} Requires: %{name}-core = %{version}-%{release}
%description kpresenter %description kpresenter
%{summary}. %{summary}.
@ -484,9 +485,9 @@ update-desktop-database -q &> /dev/null ||:
########## ##########
%package kivio %package kivio
Summary: A flowcharting application Summary: A flowcharting application
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release} Requires: %{name}-core = %{version}-%{release}
Obsoletes: kivio < %{version}-%{release} Obsoletes: kivio < %{version}-%{release}
%description kivio %description kivio
@ -508,9 +509,9 @@ Obsoletes: kivio < %{version}-%{release}
########## ##########
%package karbon %package karbon
Summary: A vector drawing application Summary: A vector drawing application
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release} Requires: %{name}-core = %{version}-%{release}
%description karbon %description karbon
%{summary}. %{summary}.
@ -539,9 +540,9 @@ Requires: %{name}-core = %{version}-%{release}
########## ##########
%package kugar %package kugar
Summary: A tool for generating business quality reports Summary: A tool for generating business quality reports
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release} Requires: %{name}-core = %{version}-%{release}
%description kugar %description kugar
%{summary}. %{summary}.
@ -577,9 +578,9 @@ update-desktop-database -q &> /dev/null ||:
########## ##########
%package kexi %package kexi
Summary: An integrated environment for managing data Summary: An integrated environment for managing data
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release} Requires: %{name}-core = %{version}-%{release}
%if 0%{?with_postgresql} == 0 %if 0%{?with_postgresql} == 0
Obsoletes: %{name}-kexi-driver-pgsql Obsoletes: %{name}-kexi-driver-pgsql
@ -631,9 +632,9 @@ update-desktop-database -q &> /dev/null ||:
########## ##########
%package kexi-driver-mysql %package kexi-driver-mysql
Summary: Mysql-driver for kexi Summary: Mysql-driver for kexi
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-kexi = %{version}-%{release} Requires: %{name}-kexi = %{version}-%{release}
%description kexi-driver-mysql %description kexi-driver-mysql
%{summary}. %{summary}.
@ -650,9 +651,9 @@ Requires: %{name}-kexi = %{version}-%{release}
%if 0%{?with_postgresql} %if 0%{?with_postgresql}
%package kexi-driver-pgsql %package kexi-driver-pgsql
Summary: Postgresql driver for kexi Summary: Postgresql driver for kexi
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-kexi = %{version}-%{release} Requires: %{name}-kexi = %{version}-%{release}
%description kexi-driver-pgsql %description kexi-driver-pgsql
%{summary}. %{summary}.
@ -669,9 +670,9 @@ Requires: %{name}-kexi = %{version}-%{release}
########## ##########
%package kchart %package kchart
Summary: An integrated graph and chart drawing tool Summary: An integrated graph and chart drawing tool
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release} Requires: %{name}-core = %{version}-%{release}
%description kchart %description kchart
%{summary}. %{summary}.
@ -699,26 +700,26 @@ update-desktop-database -q &> /dev/null ||:
########## ##########
%package kformula %package kformula
Summary: A powerful formula editor Summary: A powerful formula editor
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release} Requires: %{name}-core = %{version}-%{release}
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
Requires: fonts-ttf-dejavu Requires: fonts-ttf-dejavu
%else %else
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6 %if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
Requires: dejavu-lgc-sans-fonts Requires: dejavu-lgc-sans-fonts
Requires: lyx-cmex10-fonts Requires: lyx-cmex10-fonts
%endif %endif
%if 0%{?rhel} == 5 %if 0%{?rhel} == 5
Requires: dejavu-lgc-fonts Requires: dejavu-lgc-fonts
Requires: lyx-cmex10-fonts Requires: lyx-cmex10-fonts
%endif %endif
%if 0%{?suse_version} >= 1220 %if 0%{?suse_version} >= 1220
Requires: dejavu-fonts Requires: dejavu-fonts
%endif %endif
%if 0%{?suse_version} == 1140 %if 0%{?suse_version} == 1140
Requires: dejavu Requires: dejavu
%endif %endif
%endif %endif
@ -738,9 +739,9 @@ Requires: dejavu
########## ##########
%package filters %package filters
Summary: Import and Export Filters for KOffice Summary: Import and Export Filters for KOffice
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release} Requires: %{name}-core = %{version}-%{release}
%description filters %description filters
%{summary}. %{summary}.
@ -808,9 +809,9 @@ Requires: %{name}-core = %{version}-%{release}
########## ##########
%package kplato %package kplato
Summary: An integrated project management and planning tool Summary: An integrated project management and planning tool
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release} Requires: %{name}-core = %{version}-%{release}
%description kplato %description kplato
%{summary}. %{summary}.
@ -829,11 +830,11 @@ Requires: %{name}-core = %{version}-%{release}
########## ##########
%package chalk %package chalk
Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity] Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity]
Group: Applications/Productivity Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release} Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-chalk-data = %{version}-%{release} Requires: %{name}-chalk-data = %{version}-%{release}
Requires: %{name}-filters Requires: %{name}-filters
%description chalk %description chalk
Chalk is a painting and image editing application for KOffice. Chalk contains Chalk is a painting and image editing application for KOffice. Chalk contains
@ -1022,7 +1023,7 @@ update-desktop-database -q &> /dev/null ||:
%package chalk-data %package chalk-data
Summary: data files for Chalk painting program [Trinity] Summary: data files for Chalk painting program [Trinity]
Group: Applications/Productivity Group: Applications/Productivity
%description chalk-data %description chalk-data
This package contains architecture-independent data files for Chalk, This package contains architecture-independent data files for Chalk,
@ -1053,7 +1054,7 @@ This package is part of the TDE Office Suite.
########## ##########
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013 %if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013
%__cp /usr/share/automake-1.13/test-driver admin/ %__cp /usr/share/automake-1.13/test-driver admin/
@ -1097,6 +1098,7 @@ export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux"
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--disable-rpath --disable-dependency-tracking \ --disable-rpath --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \ --enable-new-ldflags \
--disable-debug --disable-warnings \ --disable-debug --disable-warnings \
--with-pic --enable-shared --disable-static \ --with-pic --enable-shared --disable-static \

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp kpilot %define tde_pkg kpilot
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -23,38 +24,38 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: TDE Palm Pilot hot-sync tool Summary: TDE Palm Pilot hot-sync tool
Version: 0.7 Version: 0.7
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org URL: http://www.trinitydesktop.org
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
BuildRequires: pilot-link-devel BuildRequires: pilot-link-devel
BuildRequires: trinity-kdepim-devel BuildRequires: trinity-tdepim-devel >= %{tde_version}
%description %description
KPilot is an application that synchronizes your Palm Pilot or similar device KPilot is an application that synchronizes your Palm Pilot or similar device
(like the Handspring Visor) with your KDE desktop, much like the Palm HotSync (like the Handspring Visor) with your TDE desktop, much like the Palm HotSync
software does for Windows. KPilot can back-up and restore your Palm Pilot software does for Windows. KPilot can back-up and restore your Palm Pilot
and synchronize the built-in applications with their KDE counterparts. and synchronize the built-in applications with their TDE counterparts.
%if 0%{?suse_version} || 0%{?pclinuxos} %if 0%{?suse_version} || 0%{?pclinuxos}
@ -63,7 +64,7 @@ and synchronize the built-in applications with their KDE counterparts.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -89,7 +90,14 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \ --disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir}
# SMP safe ! # SMP safe !
@ -174,6 +182,9 @@ done
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-5
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp kuickshow %define tde_pkg kuickshow
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -23,25 +24,25 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: Quick picture viewer for KDE Summary: Quick picture viewer for TDE
Version: 0.8.13 Version: 0.8.13
Release: 6%{?dist}%{?_variant} Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} %if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion}
@ -52,7 +53,7 @@ BuildRequires: imlib1-devel
%endif %endif
%description %description
Kuickshow is a picture viewer for KDE. It displays the directory structure, Kuickshow is a picture viewer for TDE. It displays the directory structure,
displaying images as thumbnails. displaying images as thumbnails.
Clicking on an image shows the image in its normal size. Clicking on an image shows the image in its normal size.
@ -63,7 +64,7 @@ Clicking on an image shows the image in its normal size.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -89,9 +90,15 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \ --disable-rpath \
--with-extra-includes=%{tde_includedir}/tqt \ \
--enable-closure --with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -123,7 +130,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%{tde_datadir}/applications/*/*.desktop %{tde_datadir}/applications/*/*.desktop
%{tde_datadir}/apps/*/ %{tde_datadir}/apps/*/
%{tde_datadir}/icons/hicolor/*/*/* %{tde_datadir}/icons/hicolor/*/*/*
%{tde_libdir}/lib[kt]deinit_%{tdecomp}.so %{tde_libdir}/lib[kt]deinit_%{tde_pkg}.so
%{tde_libdir}/*.la %{tde_libdir}/*.la
%{tde_tdelibdir}/*.so %{tde_tdelibdir}/*.so
%{tde_tdelibdir}/*.la %{tde_tdelibdir}/*.la
@ -131,6 +138,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.13-7
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.13-6 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.13-6
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,5 +1,6 @@
# Default version for this component # Default version for this component
%define tdecomp rosegarden %define tde_pkg rosegarden
%define tde_version 3.5.13.2
# Required for Mageia 2: removes the ldflag '--no-undefined' # Required for Mageia 2: removes the ldflag '--no-undefined'
%define _disable_ld_no_undefined 1 %define _disable_ld_no_undefined 1
@ -9,7 +10,7 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -26,34 +27,38 @@
%define _docdir %{tde_tdedocdir} %define _docdir %{tde_tdedocdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: music editor and MIDI/audio sequencer [Trinity] Summary: music editor and MIDI/audio sequencer [Trinity]
Version: 1.7.0 Version: 1.7.0
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Multimedia Group: Applications/Multimedia
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.rosegardenmusic.com/ URL: http://www.rosegardenmusic.com/
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
BuildRequires: fftw-devel BuildRequires: fftw-devel
BuildRequires: dssi-devel
BuildRequires: liblo-devel BuildRequires: liblo-devel
BuildRequires: fontconfig-devel BuildRequires: fontconfig-devel
# DSSI support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: dssi-devel
%endif
# LRDF support # LRDF support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} %if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: liblrdf-devel BuildRequires: liblrdf-devel
@ -67,40 +72,40 @@ BuildRequires: jack-audio-connection-kit-devel
%endif %endif
# LIRC support # LIRC support
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6
%define with_lirc 1 %define with_lirc 1
BuildRequires: lirc-devel BuildRequires: lirc-devel
%endif %endif
Requires: lilypond Requires: lilypond
Requires: perl-XML-Twig Requires: perl-XML-Twig
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} %if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
Requires: libsndfile-progs Requires: libsndfile-progs
%else %else
%if 0%{?rhel} %if 0%{?rhel}
Requires: libsndfile Requires: libsndfile
%else %else
Requires: libsndfile-utils Requires: libsndfile-utils
%endif %endif
%endif %endif
Requires: %{name}-data == %{version}-%{release} Requires: %{name}-data == %{version}-%{release}
%description %description
Rosegarden is a KDE application which provides a mixed Audio/MIDI Rosegarden is a TDE application which provides a mixed Audio/MIDI
sequencer (for playback and recording), a multi-track editor, music sequencer (for playback and recording), a multi-track editor, music
editing using both piano-roll and score notation, MIDI file IO, editing using both piano-roll and score notation, MIDI file IO,
lilypond and Csound files export, etc. lilypond and Csound files export, etc.
%package data %package data
Group: Applications/Multimedia Group: Applications/Multimedia
Requires: %{name} == %{version}-%{release} Requires: %{name} == %{version}-%{release}
Summary: music editor and MIDI/audio sequencer data files [Trinity] Summary: music editor and MIDI/audio sequencer data files [Trinity]
%description data %description data
Rosegarden is a KDE application which provides a mixed Audio/MIDI Rosegarden is a TDE application which provides a mixed Audio/MIDI
sequencer (for playback and recording), a multi-track editor, music sequencer (for playback and recording), a multi-track editor, music
editing using both piano-roll and score notation, MIDI file IO, editing using both piano-roll and score notation, MIDI file IO,
lilypond and Csound files export, etc. lilypond and Csound files export, etc.
@ -114,7 +119,7 @@ This package provides the data files necessary for running Rosegarden
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Hard-coded path to TQT binaries spotted !!! # Hard-coded path to TQT binaries spotted !!!
%__sed -i CMakeLists.txt \ %__sed -i CMakeLists.txt \
@ -134,14 +139,20 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWANT_DEBUG=OFF \
-DWANT_FULLDBG=OFF \
\
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DBIN_INSTALL_DIR=%{tde_bindir} \ -DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \ \
-DWANT_DEBUG=OFF \
-DWANT_FULLDBG=OFF \
-DWANT_SOUND=ON \ -DWANT_SOUND=ON \
-DWANT_JACK=ON \ -DWANT_JACK=ON \
-DWANT_DSSI=ON \ -DWANT_DSSI=ON \
@ -159,8 +170,11 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build %__make install DESTDIR=%{buildroot} -C build
# Unwanted files
%__rm -f %{?buildroot}%{tde_libdir}/*.a
%find_lang %{tde_pkg}
%find_lang %{tdecomp}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -189,7 +203,7 @@ done
%{tde_bindir}/rosegarden-project-package %{tde_bindir}/rosegarden-project-package
%{tde_bindir}/rosegardensequencer %{tde_bindir}/rosegardensequencer
%files data -f %{tdecomp}.lang %files data -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_tdeappdir}/rosegarden.desktop %{tde_tdeappdir}/rosegarden.desktop
%{tde_datadir}/apps/profiles/rosegarden.profile.xml %{tde_datadir}/apps/profiles/rosegarden.profile.xml
@ -207,6 +221,9 @@ done
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.7.0-5
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.7.0-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.7.0-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp tdesvn %define tde_pkg tdesvn
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -23,26 +24,26 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: subversion client with tight KDE integration [Trinity] Summary: subversion client with tight TDE integration [Trinity]
Version: 1.0.4 Version: 1.0.4
Release: 5%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.elliptique.net/~ken/kima/ URL: http://www.elliptique.net/~ken/kima/
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
@ -57,13 +58,13 @@ TDESvn is a graphical client for the subversion revision control
system (svn). system (svn).
Besides offering common and advanced svn operations, it features Besides offering common and advanced svn operations, it features
a tight integration into KDE and can be embedded into other KDE a tight integration into TDE and can be embedded into other TDE
applications like konqueror via the KDE component technology KParts. applications like konqueror via the TDE component technology KParts.
%package -n trinity-libsvnqt %package -n trinity-libsvnqt
Group: Development/Libraries Group: Development/Libraries
Summary: Qt wrapper library for subversion [Trinity] Summary: Qt wrapper library for subversion [Trinity]
%description -n trinity-libsvnqt %description -n trinity-libsvnqt
This package provides svnqt, a Qt wrapper library around the This package provides svnqt, a Qt wrapper library around the
@ -73,11 +74,11 @@ It is based on the RapidSvn SvnCpp library, a subversion client API
written in C++. written in C++.
%package -n trinity-libsvnqt-devel %package -n trinity-libsvnqt-devel
Group: Development/Libraries Group: Development/Libraries
Requires: trinity-libsvnqt = %{version}-%{release} Requires: trinity-libsvnqt = %{version}-%{release}
Requires: qt-devel Requires: qt-devel
Requires: subversion-devel Requires: subversion-devel
Summary: Qt wrapper library for subversion (development files) [Trinity] Summary: Qt wrapper library for subversion (development files) [Trinity]
%description -n trinity-libsvnqt-devel %description -n trinity-libsvnqt-devel
This package contains the header files and symbolic links that developers This package contains the header files and symbolic links that developers
@ -85,9 +86,9 @@ using svnqt will need.
%package tdeio-plugins %package tdeio-plugins
Group: Development/Libraries Group: Development/Libraries
Conflicts: trinity-kdesdk-tdeio-plugins Conflicts: trinity-kdesdk-tdeio-plugins
Summary: subversion I/O slaves for Trinity Summary: subversion I/O slaves for Trinity
Obsoletes: trinity-kdesvn-kio-plugins < %{version}-%{release} Obsoletes: trinity-kdesvn-kio-plugins < %{version}-%{release}
Provides: trinity-kdesvn-kio-plugins = %{version}-%{release} Provides: trinity-kdesvn-kio-plugins = %{version}-%{release}
@ -108,7 +109,7 @@ This package is part of tdesvn-trinity.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -141,6 +142,12 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DBIN_INSTALL_DIR=%{tde_bindir} \ -DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_includedir} \ -DINCLUDE_INSTALL_DIR=%{tde_includedir} \
@ -149,7 +156,6 @@ cd build
-DDATA_INSTALL_DIR=%{tde_datadir} \ -DDATA_INSTALL_DIR=%{tde_datadir} \
-DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \
.. ..
# SMP safe ! # SMP safe !
@ -162,8 +168,6 @@ export PATH="%{_bindir}:${PATH}"
%__make install DESTDIR=%{buildroot} -C build %__make install DESTDIR=%{buildroot} -C build
%find_lang kdesvn
# Installs SVN protocols as alternatives # Installs SVN protocols as alternatives
%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesvn %__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesvn
%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesvn %__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesvn
@ -176,6 +180,8 @@ export PATH="%{_bindir}:${PATH}"
%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol
%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol %__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol
%find_lang %{tde_pkg}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -271,6 +277,9 @@ fi
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.4-6
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.4-5 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.4-5
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -0,0 +1,19 @@
--- trinity-tellico-3.5.13.2/src/barcode/barcode.cpp.ORI 2013-07-29 17:21:06.358915613 +0200
+++ trinity-tellico-3.5.13.2/src/barcode/barcode.cpp 2013-07-29 17:22:29.505126885 +0200
@@ -172,14 +172,14 @@
for (int i = 0; i < 10; i++) {
TQCString temp;
temp.setNum( i );
- fprintf( stderr, temp + " : " );
+ fprintf( stderr, "%s : ", *(temp) );
for (int j = 0; j < 13; j++) {
if (array[i][j][level] == -1)
fprintf( stderr, "x " );
else {
TQCString temp;
temp.setNum( array[i][j][level] );
- fprintf( stderr, temp + " " );
+ fprintf( stderr, "%s ", *(temp) );
}
}
fprintf( stderr, "\n" );

@ -0,0 +1,11 @@
--- trinity-tellico-3.5.13.2/src/barcode/barcode_v4l.h.ORI 2013-07-28 22:22:41.390223800 +0200
+++ trinity-tellico-3.5.13.2/src/barcode/barcode_v4l.h 2013-07-28 22:23:10.085637439 +0200
@@ -31,7 +31,7 @@
#endif
//#include <linux/videodev2.h>
-#include <linux/videodev.h>
+#include <libv4l1.h>
#include <tqstring.h>
#include <tqimage.h>

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp tellico %define tde_pkg tellico
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables # TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -23,26 +24,29 @@
%define _docdir %{tde_tdedocdir} %define _docdir %{tde_tdedocdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: Icollection manager for books, videos, music [Trinity] Summary: Icollection manager for books, videos, music [Trinity]
Version: 1.3.2.1 Version: 1.3.2.1
Release: 5%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://periapsis.org/tellico/ URL: http://periapsis.org/tellico/
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 Patch1: tellico-3.5.13.2-videodev.patch
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 Patch2: tellico-3.5.13.2-ftbfs.patch
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
@ -51,8 +55,16 @@ BuildRequires: yaz
BuildRequires: %{_lib}yaz-devel BuildRequires: %{_lib}yaz-devel
%endif %endif
Requires: %{name}-data = %{version}-%{release} # V4L support
Requires: %{name}-scripts = %{version}-%{release} %if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version}
BuildRequires: libv4l-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}v4l-devel
%endif
Requires: %{name}-data = %{version}-%{release}
Requires: %{name}-scripts = %{version}-%{release}
%description %description
Tellico is a collection manager for TDE. It includes default collections for Tellico is a collection manager for TDE. It includes default collections for
@ -70,8 +82,8 @@ It also makes it easy for other softwares to use the Tellico data.
%package data %package data
Group: Applications/Utilities Group: Applications/Utilities
Summary: collection manager for books, videos, music [data] [Trinity] Summary: collection manager for books, videos, music [data] [Trinity]
%description data %description data
Tellico is a collection manager for TDE. It includes default collections for Tellico is a collection manager for TDE. It includes default collections for
@ -91,8 +103,8 @@ This package contains the architecture independent files, such data files and
documentation. documentation.
%package scripts %package scripts
Group: Applications/Utilities Group: Applications/Utilities
Summary: collection manager for books, videos, music [scripts] [Trinity] Summary: collection manager for books, videos, music [scripts] [Trinity]
%description scripts %description scripts
Tellico is a collection manager for TDE. It includes default collections for Tellico is a collection manager for TDE. It includes default collections for
@ -119,7 +131,12 @@ as a separate package which can be updated through debian-volatile.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
if [ -r /usr/include/libv4l1-videodev.h ]; then
%patch1 -p1 -b .videodev
fi
%patch2 -p1 -b .ftbfs
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -137,6 +154,7 @@ unset QTDIR; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
# Warning, --enable-final causes FTBFS §
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \
@ -145,8 +163,17 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-final \
--enable-closure \
--disable-rpath \ --disable-rpath \
--with-extra-includes=%{tde_includedir}/tqt \
--with-extra-includes=%{tde_includedir}/tqt \
\
--enable-webcam
%__make %{?_smp_mflags} || %__make %__make %{?_smp_mflags} || %__make
@ -164,7 +191,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm %{?buildroot}%{tde_tdedocdir}/HTML/fr/tellico/common %__rm %{?buildroot}%{tde_tdedocdir}/HTML/fr/tellico/common
%find_lang %{tdecomp} %find_lang %{tde_pkg}
%clean %clean
@ -180,7 +207,7 @@ touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%files -f %{tdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/tellico %{tde_bindir}/tellico
#%{tde_datadir}/pixmaps #%{tde_datadir}/pixmaps
@ -217,6 +244,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-6
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-5 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-5
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -3,6 +3,8 @@
%define _variant .opt %define _variant .opt
%endif %endif
%define tde_version 3.5.13.2
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_includedir %{tde_prefix}/include %define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib} %define tde_libdir %{tde_prefix}/%{_lib}
@ -13,8 +15,8 @@
%define _docdir %{tde_datadir}/doc %define _docdir %{tde_datadir}/doc
Name: trinity-arts Name: trinity-arts
Version: 3.5.13.2 Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: aRts (analog realtime synthesizer) - the TDE sound system Summary: aRts (analog realtime synthesizer) - the TDE sound system
Group: System Environment/Daemons Group: System Environment/Daemons
@ -29,7 +31,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Source1: kcmartsrc-pulseaudio Source1: kcmartsrc-pulseaudio
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: cmake >= 2.8
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: audiofile-devel BuildRequires: audiofile-devel
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
BuildRequires: glib2-devel BuildRequires: glib2-devel
@ -97,7 +100,7 @@ Obsoletes: arts
%endif %endif
%description %description
arts (analog real-time synthesizer) is the sound system of KDE 3. arts (analog real-time synthesizer) is the sound system of TDE.
The principle of arts is to create/process sound using small modules which do The principle of arts is to create/process sound using small modules which do
certain tasks. These may be create a waveform (oscillators), play samples, certain tasks. These may be create a waveform (oscillators), play samples,
@ -205,20 +208,25 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
cd build cd build
%endif %endif
%cmake \ %cmake .. \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DBIN_INSTALL_DIR="%{tde_bindir}" \ -DBIN_INSTALL_DIR="%{tde_bindir}" \
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}/arts" \ -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}/arts" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \ -DLIB_INSTALL_DIR="%{tde_libdir}" \
-DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
\
-DWITH_ALSA=ON \ -DWITH_ALSA=ON \
-DWITH_AUDIOFILE=ON \ -DWITH_AUDIOFILE=ON \
-DWITH_VORBIS=ON \ -DWITH_VORBIS=ON \
%{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \ %{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \
%{?with_esound:-DWITH_ESOUND=ON} \ %{?with_esound:-DWITH_ESOUND=ON} \
%{?with_jack:-DWITH_JACK=ON} \ %{?with_jack:-DWITH_JACK=ON}
-DCMAKE_SKIP_RPATH=OFF \
..
%__make %{?_smp_mflags} || %__make %__make %{?_smp_mflags} || %__make
@ -238,6 +246,9 @@ cd build
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -3,7 +3,9 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables %define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_sbindir %{tde_prefix}/sbin %define tde_sbindir %{tde_prefix}/sbin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
@ -21,7 +23,7 @@
Name: trinity-tdeadmin Name: trinity-tdeadmin
Summary: Administrative tools for TDE Summary: Administrative tools for TDE
Version: 3.5.13.2 Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPLv2 License: GPLv2
@ -400,24 +402,27 @@ if [ -d /usr/X11R6 ]; then
fi fi
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \ --bindir=%{tde_bindir} \
--sbindir=%{tde_sbindir} \ --sbindir=%{tde_sbindir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--enable-new-ldflags \ \
--disable-dependency-tracking \ --disable-dependency-tracking \
--disable-rpath \ --disable-debug \
--with-rpm \ --enable-new-ldflags \
--with-pam=kde \ --enable-final \
--with-shadow \ --enable-closure \
--with-private-groups \ --disable-rpath \
--enable-final \ \
--enable-closure \ --with-extra-includes=%{tde_includedir}/tqt \
--with-private-groups \ \
--with-extra-includes=%{tde_includedir}/tqt --with-rpm \
--with-pam=kde \
--with-shadow \
--with-private-groups
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -447,23 +452,6 @@ comps="kcron kdat knetworkconf kpackage ksysv kuser"
%endif %endif
%endif %endif
# locale's
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 ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
# rpmdocs # rpmdocs
for dir in $comps ; do for dir in $comps ; do
for file in AUTHORS ChangeLog README TODO ; do for file in AUTHORS ChangeLog README TODO ; do

File diff suppressed because it is too large Load Diff

@ -0,0 +1,136 @@
--- tdebase/kcontrol/input/xcursor/themepage.cpp.ORI 2013-07-22 19:33:45.153674930 +0200
+++ tdebase/kcontrol/input/xcursor/themepage.cpp 2013-07-23 15:24:01.664497762 +0200
@@ -33,6 +33,8 @@
#include <kio/netaccess.h>
#include <ktar.h>
+#include "../../krdb/krdb.h"
+
#include <tqlayout.h>
#include <tqdir.h>
#include <tqpixmap.h>
@@ -42,6 +44,7 @@
#include <tqpainter.h>
#include <tqfileinfo.h>
#include <tqpushbutton.h>
+#include <dcopref.h>
#include <cstdlib> // for getenv()
@@ -53,6 +56,10 @@
#include <X11/Xlib.h>
#include <X11/Xcursor/Xcursor.h>
+#ifdef HAVE_XFIXES
+# include <X11/extensions/Xfixes.h>
+#endif
+
// Check for older version
#if !defined(XCURSOR_LIB_MAJOR) && defined(XCURSOR_MAJOR)
# define XCURSOR_LIB_MAJOR XCURSOR_MAJOR
@@ -133,6 +140,65 @@
{
}
+bool ThemePage::applyTheme(TQString theme, TQString size)
+{
+#ifdef HAVE_XCURSOR
+ if (theme.isEmpty()) {
+ return false;
+ }
+
+ // Apply the TDE cursor theme to ourselves
+ XcursorSetTheme(qt_xdisplay(), theme.latin1());
+
+ // Tell klauncher to set the XCURSOR_THEME and XCURSOR_SIZE environment
+ // variables when launching applications.
+ DCOPRef klauncher("klauncher");
+ klauncher.send("setLaunchEnv", TQCString("XCURSOR_THEME"), theme);
+ if( !size.isEmpty()) {
+ klauncher.send("setLaunchEnv", TQCString("XCURSOR_SIZE"), size);
+ }
+
+ // Update the Xcursor X resources
+ runRdb(0);
+
+ // Apply the TDE cursor size to ourselves
+ if (!size.isEmpty()) {
+ XcursorSetDefaultSize(qt_xdisplay(), size.toUInt());
+ }
+
+ // Reload the standard cursors
+ TQStringList names;
+
+ // Qt cursors
+ names << "left_ptr" << "up_arrow" << "cross" << "wait"
+ << "left_ptr_watch" << "ibeam" << "size_ver" << "size_hor"
+ << "size_bdiag" << "size_fdiag" << "size_all" << "split_v"
+ << "split_h" << "pointing_hand" << "openhand"
+ << "closedhand" << "forbidden" << "whats_this" << "copy" << "move" << "link";
+
+ // X core cursors
+ names << "X_cursor" << "right_ptr" << "hand1"
+ << "hand2" << "watch" << "xterm"
+ << "crosshair" << "left_ptr_watch" << "center_ptr"
+ << "sb_h_double_arrow" << "sb_v_double_arrow" << "fleur"
+ << "top_left_corner" << "top_side" << "top_right_corner"
+ << "right_side" << "bottom_right_corner" << "bottom_side"
+ << "bottom_left_corner" << "left_side" << "question_arrow"
+ << "pirate";
+
+ for (int i = 0; i < names.size(); ++i)
+ {
+ const char* name = (*(names.at(i))).ascii();
+ Cursor handle = XcursorLibraryLoadCursor(qt_xdisplay(), name);
+ XFixesChangeCursorByName(qt_xdisplay(), handle, TQFile::encodeName(name));
+ XFreeCursor(qt_xdisplay(), handle); // Don't leak the cursor
+ }
+
+ return true;
+#else // HAVE_XCURSOR
+ return false;
+#endif
+}
void ThemePage::save()
{
@@ -145,10 +209,17 @@
c.setGroup( "Mouse" );
c.writeEntry( "cursorTheme", selectedTheme != "system" ? selectedTheme : TQString::null );
- KMessageBox::information( this, i18n("You have to restart KDE for these "
+ // The Kcontrol panel does not allow to set cursor size for now.
+ // So we keep the same size as written in config file.
+ TQCString size = c.readEntry("cursorSize", TQString()).local8Bit();
+
+ if (!applyTheme(selectedTheme, size))
+ {
+ KMessageBox::information( this, i18n("You have to restart KDE for these "
"changes to take effect."), i18n("Cursor Settings Changed"),
"CursorSettingsChanged" );
-
+ }
+
currentTheme = selectedTheme;
}
--- tdebase/kcontrol/input/xcursor/themepage.h.ORI 2013-07-22 19:49:33.467191658 +0200
+++ tdebase/kcontrol/input/xcursor/themepage.h 2013-07-22 19:56:03.990484896 +0200
@@ -45,6 +45,7 @@
void load();
void load( bool useDefaults );
void defaults();
+ bool applyTheme(TQString theme, TQString size);
signals:
void changed( bool );
--- tdebase/kcontrol/input/xcursor/CMakeLists.txt.ORI 2013-07-23 15:24:41.178064068 +0200
+++ tdebase/kcontrol/input/xcursor/CMakeLists.txt 2013-07-23 15:27:31.694851294 +0200
@@ -21,5 +21,6 @@
tde_add_library( themepage STATIC_PIC AUTOMOC
SOURCES
- themepage.cpp previewwidget.cpp
+ themepage.cpp previewwidget.cpp ../../krdb/krdb.cpp
+ LINK Xfixes
)

@ -3,7 +3,9 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables %define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -23,7 +25,7 @@
Name: trinity-tdebase Name: trinity-tdebase
Version: 3.5.13.2 Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Trinity Base Programs Summary: Trinity Base Programs
@ -77,27 +79,27 @@ Source8: tdm%{?dist}.pp
Source9: mgabutton.svg Source9: mgabutton.svg
%endif %endif
# TDE 3.5.13 patches # Patch party !
# Permanent patches, all TDE versions
## [tdebase/kdesktop] Modifies 'open terminal here' on desktop [RHEL/Fedora]
Patch1: kdebase-3.5.12-desktop-openterminalhere.patch
## [tdebase] Sets default Start Icon in 'kickerrc' [RHEL/Fedora]
Patch2: kdebase-3.5.13.1-startkde_icon.patch
## [tdebase/kcontrol] Adds FR translation for KCM ICC
Patch3: tdebase-3.5.13.2-displayconfig_translation.patch
## [tdebase/kicker] Adds default entries for Kickoff menu
Patch4: tdebase-3.5.13.2-kickoff_default_favs.patch
## [tdebase] Changes konsole default word separator
Patch5: tdebase-14.0.0-konsole_wordseps.patch
# Permanent patches, this TDE version only
## [tdebase/kdm] Fix PID file is 'tdm.pid' instead of 'kdm.pid' (needed for openSUSE)
Patch11: kdebase-3.5.13.1-fix_tdm_pid_file.patch
## [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box [RHEL/Fedora] ## [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box [RHEL/Fedora]
Patch1: tdebase-3.5.13.2-kdesu-noignorebutton.patch Patch12: tdebase-3.5.13.2-kdesu-noignorebutton.patch
## [kdebase/kdesktop] Modifies 'open terminal here' on desktop [RHEL/Fedora] ## [kdebase/applnk] Fix XDG menu to avoid KDE4 conflict
Patch2: kdebase-3.5.12-desktop-openterminalhere.patch Patch13: tdebase-3.5.13.2-fix_xdg_menu.patch
## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xinit/Xsession' [RHEL/Fedora]
Patch3: kdebase-3.5.13-genkdmconf_Xsession_location.patch
## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xdm/Xsession' [openSUSE]
Patch4: kdebase-3.5.13-genkdmconf_Xsession_location_xdm.patch
## [kdebase/startkde] Sets default Start Icon in 'kickerrc' [RHEL/Fedora]
Patch5: kdebase-3.5.13.1-startkde_icon.patch
## [kdebase/kdm/kfrontend] Allows to hide KDM menu button [RHEL/Fedora]
Patch6: kdebase-3.5.12-kdm_hide_menu_button.patch
## [kdebase/kdm] Fix PID file is 'tdm.pid' instead of 'kdm.pid' (needed for openSUSE)
Patch7: kdebase-3.5.13.1-fix_tdm_pid_file.patch
## [kdebase/kicker] Fixes for Kickoff menu
Patch8: tdebase-3.5.13.2-kickoff_default_favs.patch
## [kdebase/kcontrol] Adds FR translation for KCM ICC
Patch9: tdebase-3.5.13.2-displayconfig_translation.patch
Patch10: tdebase-3.5.13.2-kcm_xcursor_applytheme.patch
# Patches from Mandriva # Patches from Mandriva
Patch101: tdebase-3.5.13.2-vibrate_dialog.patch Patch101: tdebase-3.5.13.2-vibrate_dialog.patch
@ -107,21 +109,23 @@ Patch104: tdebase-3.5.13.2-kickoff_xdg_dirs.patch
Patch105: tdebase-3.5.13.2-suspend_unmount.patch Patch105: tdebase-3.5.13.2-suspend_unmount.patch
Patch106: tdebase-3.5.13.2-bookmark_global_copy.patch Patch106: tdebase-3.5.13.2-bookmark_global_copy.patch
# Experimental patches
Patch201: tdebase-3.5.13.2-kcm_xcursor_applytheme.patch
### Specific patches for RHEL4 (should not go upstream) ### Specific patches for RHEL4 (should not go upstream)
## [tdebase] Fix build on RHEL4, detect old libraries without pkg file ## [tdebase] Fix build on RHEL4, detect old libraries without pkg file
Patch201: kdebase-3.5.13-fix_lib_detection.patch Patch301: kdebase-3.5.13-fix_lib_detection.patch
## [tdebase] Do not build against DBUS-TQT, only DBUS and DBUS-QT ## [tdebase] Do not build against DBUS-TQT, only DBUS and DBUS-QT
Patch202: kdebase-3.5.13.2-build_without_dbustqt.patch Patch302: kdebase-3.5.13.2-build_without_dbustqt.patch
## [tdebase] Do not build against ConsoleKit ## [tdebase] Do not build against ConsoleKit
Patch203: kdebase-3.5.13-build_without_consolekit.patch Patch303: kdebase-3.5.13-build_without_consolekit.patch
## [tdebase] Add WITH_COMPOSITE option to CMakeLists.txt ## [tdebase] Add WITH_COMPOSITE option to CMakeLists.txt
Patch204: kdebase-3.5.13.2-add_disable_composite_option.patch Patch304: kdebase-3.5.13.2-add_disable_composite_option.patch
## [tdebase] Downgrade halbackend to support Hal 0.4 ## [tdebase] Downgrade halbackend to support Hal 0.4
Patch205: kdebase-3.5.13-support_hal_04.patch Patch305: kdebase-3.5.13-support_hal_04.patch
## [tdebase] Other(s) FTBFS ... ## [tdebase] Other(s) FTBFS ...
Patch206: kdebase-3.5.13-fix_rhel4_compilation.patch Patch306: kdebase-3.5.13-fix_rhel4_compilation.patch
### Distribution-specific settings ### ### Distribution-specific settings ###
@ -300,12 +304,12 @@ Requires: opensuse-manuals_en
%endif %endif
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: qt%{?_qt_suffix}-devel
BuildRequires: trinity-arts-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: make BuildRequires: make
BuildRequires: qt%{?_qt_suffix}-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: audiofile-devel BuildRequires: audiofile-devel
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
@ -421,10 +425,10 @@ BuildRequires: nas-devel
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
# Dbus bindings were rebuilt with Qt support # Dbus bindings were rebuilt with Qt support
BuildRequires: dbus-devel >= 0.22-12.EL.9p1 BuildRequires: dbus-devel >= 0.22-12.EL.9p1
Requires: dbus-qt Requires: dbus-qt >= 0.22-12.EL.9p1
%else %else
BuildRequires: trinity-dbus-tqt-devel BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
Requires: trinity-dbus-tqt >= %{version} Requires: trinity-dbus-tqt >= %{tde_version}
%endif %endif
%if 0%{?fedora} >= 17 %if 0%{?fedora} >= 17
@ -439,7 +443,7 @@ BuildRequires: %{_lib}jack-devel
BuildRequires: jack-audio-connection-kit-devel BuildRequires: jack-audio-connection-kit-devel
%endif %endif
# LIBART support # LIBART_LGPL support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} >= 5 %if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} >= 5
%define with_libart 1 %define with_libart 1
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
@ -542,9 +546,9 @@ Requires: trinity-libkonq = %{version}-%{release}
Requires: %{name}-libtqt3-integration = %{version}-%{release} Requires: %{name}-libtqt3-integration = %{version}-%{release}
Requires: %{name}-tdeio-smb-plugin = %{version}-%{release} Requires: %{name}-tdeio-smb-plugin = %{version}-%{release}
Requires: trinity-tqtinterface >= %{version} Requires: trinity-tqtinterface >= %{tde_version}
Requires: trinity-arts >= %{version} Requires: trinity-arts >= %{tde_version}
Requires: trinity-tdelibs >= %{version} Requires: trinity-tdelibs >= %{tde_version}
Requires: qt%{?_qt_suffix} Requires: qt%{?_qt_suffix}
Requires: openssl Requires: openssl
@ -681,7 +685,7 @@ Such as the desktop right-click-"Create New" list
%{tde_datadir}/locale/l10n/*/entry.desktop %{tde_datadir}/locale/l10n/*/entry.desktop
%{tde_datadir}/locale/l10n/*/flag.png %{tde_datadir}/locale/l10n/*/flag.png
%{tde_datadir}/sounds/pop.wav %{tde_datadir}/sounds/pop.wav
%{tde_datadir}/templates %{tde_datadir}/templates/
%post runtime-data-common %post runtime-data-common
for f in hicolor ; do for f in hicolor ; do
@ -781,8 +785,8 @@ Some random features:
%{tde_tdelibdir}/kate.la %{tde_tdelibdir}/kate.la
%{tde_tdelibdir}/kate.so %{tde_tdelibdir}/kate.so
%{tde_libdir}/libkateutils.so.* %{tde_libdir}/libkateutils.so.*
%{tde_libdir}/lib[kt]deinit_kate.la %{tde_libdir}/libkdeinit_kate.la
%{tde_libdir}/lib[kt]deinit_kate.so %{tde_libdir}/libkdeinit_kate.so
%{tde_tdeappdir}/kate.desktop %{tde_tdeappdir}/kate.desktop
%{tde_datadir}/apps/kate/ %{tde_datadir}/apps/kate/
%{tde_datadir}/apps/kconf_update/kate-2.4.upd %{tde_datadir}/apps/kconf_update/kate-2.4.upd
@ -848,8 +852,8 @@ Kwrite is a text editor for TDE.
%{tde_bindir}/kwrite %{tde_bindir}/kwrite
%{tde_tdelibdir}/kwrite.la %{tde_tdelibdir}/kwrite.la
%{tde_tdelibdir}/kwrite.so %{tde_tdelibdir}/kwrite.so
%{tde_libdir}/lib[kt]deinit_kwrite.la %{tde_libdir}/libkdeinit_kwrite.la
%{tde_libdir}/lib[kt]deinit_kwrite.so %{tde_libdir}/libkdeinit_kwrite.so
%{tde_tdeappdir}/kwrite.desktop %{tde_tdeappdir}/kwrite.desktop
%{tde_datadir}/apps/kwrite/kwriteui.rc %{tde_datadir}/apps/kwrite/kwriteui.rc
%{tde_datadir}/icons/hicolor/*/apps/kwrite.png %{tde_datadir}/icons/hicolor/*/apps/kwrite.png
@ -939,8 +943,6 @@ plugdev group.
%{tde_tdelibdir}/kcm_fontinst.so %{tde_tdelibdir}/kcm_fontinst.so
%{tde_tdelibdir}/kcm_fonts.la %{tde_tdelibdir}/kcm_fonts.la
%{tde_tdelibdir}/kcm_fonts.so %{tde_tdelibdir}/kcm_fonts.so
#%{tde_tdelibdir}/kcm_hwmanager.la
#%{tde_tdelibdir}/kcm_hwmanager.so
%{tde_tdelibdir}/kcm_icons.la %{tde_tdelibdir}/kcm_icons.la
%{tde_tdelibdir}/kcm_icons.so %{tde_tdelibdir}/kcm_icons.so
%{tde_tdelibdir}/kcm_info.la %{tde_tdelibdir}/kcm_info.la
@ -953,8 +955,8 @@ plugdev group.
%{tde_tdelibdir}/kcm_joystick.so %{tde_tdelibdir}/kcm_joystick.so
%{tde_tdelibdir}/kcm_kded.la %{tde_tdelibdir}/kcm_kded.la
%{tde_tdelibdir}/kcm_kded.so %{tde_tdelibdir}/kcm_kded.so
%{tde_tdelibdir}/kcm_[kt]dm.la %{tde_tdelibdir}/kcm_kdm.la
%{tde_tdelibdir}/kcm_[kt]dm.so %{tde_tdelibdir}/kcm_kdm.so
%{tde_tdelibdir}/kcm_kdnssd.so %{tde_tdelibdir}/kcm_kdnssd.so
%{tde_tdelibdir}/kcm_kdnssd.la %{tde_tdelibdir}/kcm_kdnssd.la
%{tde_tdelibdir}/kcm_keys.la %{tde_tdelibdir}/kcm_keys.la
@ -1017,10 +1019,10 @@ plugdev group.
%{tde_tdelibdir}/libkurisearchfilter.so %{tde_tdelibdir}/libkurisearchfilter.so
%{tde_tdelibdir}/liblocaldomainurifilter.la %{tde_tdelibdir}/liblocaldomainurifilter.la
%{tde_tdelibdir}/liblocaldomainurifilter.so %{tde_tdelibdir}/liblocaldomainurifilter.so
%{tde_libdir}/lib[kt]deinit_kaccess.la %{tde_libdir}/libkdeinit_kaccess.la
%{tde_libdir}/lib[kt]deinit_kaccess.so %{tde_libdir}/libkdeinit_kaccess.so
%{tde_libdir}/lib[kt]deinit_kcontrol.la %{tde_libdir}/libkdeinit_kcontrol.la
%{tde_libdir}/lib[kt]deinit_kcontrol.so %{tde_libdir}/libkdeinit_kcontrol.so
%{tde_libdir}/libkfontinst.so.* %{tde_libdir}/libkfontinst.so.*
%{tde_tdeappdir}/arts.desktop %{tde_tdeappdir}/arts.desktop
%{tde_tdeappdir}/background.desktop %{tde_tdeappdir}/background.desktop
@ -1062,7 +1064,7 @@ plugdev group.
%{tde_tdeappdir}/kcmusb.desktop %{tde_tdeappdir}/kcmusb.desktop
%{tde_tdeappdir}/kcmview1394.desktop %{tde_tdeappdir}/kcmview1394.desktop
%{tde_tdeappdir}/KControl.desktop %{tde_tdeappdir}/KControl.desktop
%{tde_tdeappdir}/[kt]dm.desktop %{tde_tdeappdir}/kdm.desktop
%{tde_tdeappdir}/keys.desktop %{tde_tdeappdir}/keys.desktop
%{tde_tdeappdir}/kfontview.desktop %{tde_tdeappdir}/kfontview.desktop
%{tde_tdeappdir}/khtml_behavior.desktop %{tde_tdeappdir}/khtml_behavior.desktop
@ -1193,7 +1195,7 @@ TDE applications, particularly those in the TDE base module.
%{tde_bindir}/krootbacking %{tde_bindir}/krootbacking
#%{tde_bindir}/tdeinit_phase1 #%{tde_bindir}/tdeinit_phase1
%if 0%{?with_tsak} %if 0%{?with_tsak}
%attr(4511,root,root) %{tde_bindir}/[kt]dmtsak %attr(4511,root,root) %{tde_bindir}/kdmtsak
%{tde_bindir}/tsak %{tde_bindir}/tsak
%endif %endif
%{tde_bindir}/kdebugdialog %{tde_bindir}/kdebugdialog
@ -1209,8 +1211,8 @@ TDE applications, particularly those in the TDE base module.
%{tde_bindir}/kcminit %{tde_bindir}/kcminit
%{tde_bindir}/kcminit_startup %{tde_bindir}/kcminit_startup
%{tde_bindir}/kdcop %{tde_bindir}/kdcop
%{tde_bindir}/[kt]desu %{tde_bindir}/kdesu
%attr(0755,root,root) %{tde_bindir}/[kt]desud %attr(0755,root,root) %{tde_bindir}/kdesud
%{tde_bindir}/kdialog %{tde_bindir}/kdialog
%{tde_bindir}/khotkeys %{tde_bindir}/khotkeys
%{tde_bindir}/knetattach %{tde_bindir}/knetattach
@ -1240,14 +1242,14 @@ TDE applications, particularly those in the TDE base module.
%{tde_tdelibdir}/khotkeys_arts.so %{tde_tdelibdir}/khotkeys_arts.so
%{tde_tdelibdir}/kxkb.la %{tde_tdelibdir}/kxkb.la
%{tde_tdelibdir}/kxkb.so %{tde_tdelibdir}/kxkb.so
%{tde_libdir}/lib[kt]deinit_kcminit.la %{tde_libdir}/libkdeinit_kcminit.la
%{tde_libdir}/lib[kt]deinit_kcminit.so %{tde_libdir}/libkdeinit_kcminit.so
%{tde_libdir}/lib[kt]deinit_kcminit_startup.la %{tde_libdir}/libkdeinit_kcminit_startup.la
%{tde_libdir}/lib[kt]deinit_kcminit_startup.so %{tde_libdir}/libkdeinit_kcminit_startup.so
%{tde_libdir}/lib[kt]deinit_khotkeys.la %{tde_libdir}/libkdeinit_khotkeys.la
%{tde_libdir}/lib[kt]deinit_khotkeys.so %{tde_libdir}/libkdeinit_khotkeys.so
%{tde_libdir}/lib[kt]deinit_kxkb.la %{tde_libdir}/libkdeinit_kxkb.la
%{tde_libdir}/lib[kt]deinit_kxkb.so %{tde_libdir}/libkdeinit_kxkb.so
%{tde_libdir}/libkhotkeys_shared.so.* %{tde_libdir}/libkhotkeys_shared.so.*
%{tde_tdeappdir}/keyboard.desktop %{tde_tdeappdir}/keyboard.desktop
%{tde_tdeappdir}/keyboard_layout.desktop %{tde_tdeappdir}/keyboard_layout.desktop
@ -1268,7 +1270,7 @@ TDE applications, particularly those in the TDE base module.
%endif %endif
%{tde_tdedocdir}/HTML/en/kdcop/ %{tde_tdedocdir}/HTML/en/kdcop/
%{tde_tdedocdir}/HTML/en/kdebugdialog// %{tde_tdedocdir}/HTML/en/kdebugdialog//
%{tde_tdedocdir}/HTML/en/[kt]desu/ %{tde_tdedocdir}/HTML/en/kdesu/
%{tde_tdedocdir}/HTML/en/knetattach/ %{tde_tdedocdir}/HTML/en/knetattach/
%{tde_tdedocdir}/HTML/en/kxkb/ %{tde_tdedocdir}/HTML/en/kxkb/
@ -1376,7 +1378,7 @@ needed for a basic TDE desktop installation.
%{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png %{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png
%{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png %{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png
%{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png %{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png
%{tde_datadir}/icons/crystalsvg/*/apps/[kt]dmconfig.png %{tde_datadir}/icons/crystalsvg/*/apps/kdmconfig.png
%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png %{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png
%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png %{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png
%{tde_datadir}/icons/crystalsvg/*/apps/kscreensaver.png %{tde_datadir}/icons/crystalsvg/*/apps/kscreensaver.png
@ -1576,17 +1578,11 @@ needed for a basic TDE desktop installation.
%{tde_datadir}/sounds/ %{tde_datadir}/sounds/
%{tde_datadir}/wallpapers/* %{tde_datadir}/wallpapers/*
%if "%{tde_prefix}" != "/usr" # XDG directories information
%{tde_prefix}/etc/xdg/menus/applications-merged/kde-essential.menu %{_sysconfdir}/xdg/menus/applications-merged/tde-essential.menu
%{tde_prefix}/etc/xdg/menus/kde-information.menu %{_sysconfdir}/xdg/menus/tde-information.menu
%{tde_prefix}/etc/xdg/menus/kde-screensavers.menu %{_sysconfdir}/xdg/menus/tde-screensavers.menu
%{tde_prefix}/etc/xdg/menus/kde-settings.menu %{_sysconfdir}/xdg/menus/tde-settings.menu
%else
%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu
%{_sysconfdir}/xdg/menus/kde-information.menu
%{_sysconfdir}/xdg/menus/kde-screensavers.menu
%{_sysconfdir}/xdg/menus/kde-settings.menu
%endif
%{tde_tdedocdir}/HTML/en/kcontrol/ %{tde_tdedocdir}/HTML/en/kcontrol/
%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ %exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/
@ -1796,7 +1792,6 @@ update-desktop-database %{tde_appdir} 2> /dev/null || :
%postun tdeio-plugins %postun tdeio-plugins
update-desktop-database %{tde_appdir} 2> /dev/null || : update-desktop-database %{tde_appdir} 2> /dev/null || :
########## ##########
%package -n trinity-kdepasswd %package -n trinity-kdepasswd
@ -1814,11 +1809,11 @@ system passwords.
%{tde_tdelibdir}/kcm_useraccount.so %{tde_tdelibdir}/kcm_useraccount.so
%{tde_tdeappdir}/kcm_useraccount.desktop %{tde_tdeappdir}/kcm_useraccount.desktop
%{tde_tdeappdir}/kdepasswd.desktop %{tde_tdeappdir}/kdepasswd.desktop
%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default1.png %exclude %{tde_datadir}/apps/kdm/pics/users/default1.png
%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default2.png %exclude %{tde_datadir}/apps/kdm/pics/users/default2.png
%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default3.png %exclude %{tde_datadir}/apps/kdm/pics/users/default3.png
%exclude %{tde_datadir}/apps/[kt]dm/pics/users/root1.png %exclude %{tde_datadir}/apps/kdm/pics/users/root1.png
%{tde_datadir}/apps/[kt]dm/pics/users/*.png %{tde_datadir}/apps/kdm/pics/users/*.png
%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg %{tde_datadir}/config.kcfg/kcm_useraccount.kcfg
%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg %{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg
@ -1845,7 +1840,7 @@ Installation of smbclient will make you able to use smb shared printers.
%files -n trinity-tdeprint %files -n trinity-tdeprint
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/[kt]deprintfax %{tde_bindir}/kdeprintfax
%{tde_bindir}/kjobviewer %{tde_bindir}/kjobviewer
%{tde_bindir}/kprinter %{tde_bindir}/kprinter
%{tde_tdelibdir}/kcm_printmgr.la %{tde_tdelibdir}/kcm_printmgr.la
@ -1856,19 +1851,19 @@ Installation of smbclient will make you able to use smb shared printers.
%{tde_tdelibdir}/kjobviewer.so %{tde_tdelibdir}/kjobviewer.so
%{tde_tdelibdir}/kprinter.la %{tde_tdelibdir}/kprinter.la
%{tde_tdelibdir}/kprinter.so %{tde_tdelibdir}/kprinter.so
%{tde_tdelibdir}/lib[kt]deprint_part.la %{tde_tdelibdir}/libkdeprint_part.la
%{tde_tdelibdir}/lib[kt]deprint_part.so %{tde_tdelibdir}/libkdeprint_part.so
%{tde_libdir}/lib[kt]deinit_kjobviewer.la %{tde_libdir}/libkdeinit_kjobviewer.la
%{tde_libdir}/lib[kt]deinit_kjobviewer.so %{tde_libdir}/libkdeinit_kjobviewer.so
%{tde_libdir}/lib[kt]deinit_kprinter.la %{tde_libdir}/libkdeinit_kprinter.la
%{tde_libdir}/lib[kt]deinit_kprinter.so %{tde_libdir}/libkdeinit_kprinter.so
%{tde_tdeappdir}/[kt]deprintfax.desktop %{tde_tdeappdir}/kdeprintfax.desktop
%{tde_tdeappdir}/[kt]jobviewer.desktop %{tde_tdeappdir}/kjobviewer.desktop
%{tde_tdeappdir}/printers.desktop %{tde_tdeappdir}/printers.desktop
%{tde_datadir}/apps/[kt]deprint/ %{tde_datadir}/apps/kdeprint/
%{tde_datadir}/apps/[kt]deprintfax/ %{tde_datadir}/apps/kdeprintfax/
%{tde_datadir}/apps/[kt]jobviewer/ %{tde_datadir}/apps/kjobviewer/
%{tde_datadir}/apps/[kt]deprint_part/kdeprint_part.rc %{tde_datadir}/apps/kdeprint_part/kdeprint_part.rc
%{tde_datadir}/icons/hicolor/*/apps/kdeprintfax.png %{tde_datadir}/icons/hicolor/*/apps/kdeprintfax.png
%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png %{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png
%{tde_datadir}/icons/hicolor/*/apps/printmgr.png %{tde_datadir}/icons/hicolor/*/apps/printmgr.png
@ -1885,7 +1880,7 @@ Installation of smbclient will make you able to use smb shared printers.
%{tde_datadir}/services/kdeprint_part.desktop %{tde_datadir}/services/kdeprint_part.desktop
%{tde_datadir}/services/print.protocol %{tde_datadir}/services/print.protocol
%{tde_datadir}/services/printdb.protocol %{tde_datadir}/services/printdb.protocol
%{tde_tdedocdir}/HTML/en/[kt]deprint/ %{tde_tdedocdir}/HTML/en/kdeprint/
%post -n trinity-tdeprint %post -n trinity-tdeprint
/sbin/ldconfig || : /sbin/ldconfig || :
@ -1932,8 +1927,8 @@ the TDE desktop.
%{tde_bindir}/kwebdesktop %{tde_bindir}/kwebdesktop
%{tde_tdelibdir}/kdesktop.la %{tde_tdelibdir}/kdesktop.la
%{tde_tdelibdir}/kdesktop.so %{tde_tdelibdir}/kdesktop.so
%{tde_libdir}/lib[kt]deinit_kdesktop.la %{tde_libdir}/libkdeinit_kdesktop.la
%{tde_libdir}/lib[kt]deinit_kdesktop.so %{tde_libdir}/libkdeinit_kdesktop.so
%{tde_datadir}/apps/kdesktop/ %{tde_datadir}/apps/kdesktop/
%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop %{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop
%{tde_datadir}/autostart/kdesktop.desktop %{tde_datadir}/autostart/kdesktop.desktop
@ -2024,24 +2019,24 @@ already. Most users won't need this.
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_tdelibdir}/kgreet_pam.la %{tde_tdelibdir}/kgreet_pam.la
%{tde_tdelibdir}/kgreet_pam.so %{tde_tdelibdir}/kgreet_pam.so
%{tde_bindir}/gen[kt]dmconf %{tde_bindir}/genkdmconf
%{tde_bindir}/[kt]dm %{tde_bindir}/kdm
%{tde_bindir}/[kt]dm_config %{tde_bindir}/kdm_config
%{tde_bindir}/[kt]dmctl %{tde_bindir}/kdmctl
%{tde_bindir}/[kt]dm_greet %{tde_bindir}/kdm_greet
%{tde_bindir}/krootimage %{tde_bindir}/krootimage
%{tde_datadir}/apps/[kt]dm/pics/kdelogo.png %{tde_datadir}/apps/kdm/pics/kdelogo.png
%{tde_datadir}/apps/[kt]dm/pics/kdelogo-crystal.png %{tde_datadir}/apps/kdm/pics/kdelogo-crystal.png
%{tde_datadir}/apps/[kt]dm/pics/shutdown.jpg %{tde_datadir}/apps/kdm/pics/shutdown.jpg
%{tde_datadir}/apps/[kt]dm/pics/users/default1.png %{tde_datadir}/apps/kdm/pics/users/default1.png
%{tde_datadir}/apps/[kt]dm/pics/users/default2.png %{tde_datadir}/apps/kdm/pics/users/default2.png
%{tde_datadir}/apps/[kt]dm/pics/users/default3.png %{tde_datadir}/apps/kdm/pics/users/default3.png
%{tde_datadir}/apps/[kt]dm/pics/users/root1.png %{tde_datadir}/apps/kdm/pics/users/root1.png
%{tde_datadir}/apps/[kt]dm/sessions/*.desktop %{tde_datadir}/apps/kdm/sessions/*.desktop
%{tde_datadir}/apps/[kt]dm/themes/ %{tde_datadir}/apps/kdm/themes/
%{tde_datadir}/config/kdm %{tde_datadir}/config/kdm
%{_sysconfdir}/trinity/[kt]dm/ %{_sysconfdir}/trinity/kdm/
%{tde_tdedocdir}/HTML/en/[kt]dm/ %{tde_tdedocdir}/HTML/en/kdm/
%if 0%{?suse_version} == 0 %if 0%{?suse_version} == 0
%{_sysconfdir}/pam.d/kdm-trinity %{_sysconfdir}/pam.d/kdm-trinity
%{_sysconfdir}/pam.d/kdm-trinity-np %{_sysconfdir}/pam.d/kdm-trinity-np
@ -2188,8 +2183,8 @@ documentation.
%{tde_bindir}/khelpcenter %{tde_bindir}/khelpcenter
%{tde_tdelibdir}/khelpcenter.la %{tde_tdelibdir}/khelpcenter.la
%{tde_tdelibdir}/khelpcenter.so %{tde_tdelibdir}/khelpcenter.so
%{tde_libdir}/lib[kt]deinit_khelpcenter.la %{tde_libdir}/libkdeinit_khelpcenter.la
%{tde_libdir}/lib[kt]deinit_khelpcenter.so %{tde_libdir}/libkdeinit_khelpcenter.so
%{tde_tdeappdir}/Help.desktop %{tde_tdeappdir}/Help.desktop
%{tde_datadir}/apps/khelpcenter/ %{tde_datadir}/apps/khelpcenter/
%{tde_datadir}/config.kcfg/khelpcenter.kcfg %{tde_datadir}/config.kcfg/khelpcenter.kcfg
@ -2247,8 +2242,8 @@ functionality.
%{tde_tdelibdir}/kickermenu_find.so %{tde_tdelibdir}/kickermenu_find.so
%{tde_tdelibdir}/kickermenu_kate.so %{tde_tdelibdir}/kickermenu_kate.so
%{tde_tdelibdir}/kickermenu_kate.la %{tde_tdelibdir}/kickermenu_kate.la
%{tde_tdelibdir}/kickermenu_[kt]deprint.la %{tde_tdelibdir}/kickermenu_kdeprint.la
%{tde_tdelibdir}/kickermenu_[kt]deprint.so %{tde_tdelibdir}/kickermenu_kdeprint.so
%{tde_tdelibdir}/kickermenu_konqueror.la %{tde_tdelibdir}/kickermenu_konqueror.la
%{tde_tdelibdir}/kickermenu_konqueror.so %{tde_tdelibdir}/kickermenu_konqueror.so
%{tde_tdelibdir}/kickermenu_konsole.la %{tde_tdelibdir}/kickermenu_konsole.la
@ -2287,12 +2282,12 @@ functionality.
%{tde_tdelibdir}/trash_panelapplet.la %{tde_tdelibdir}/trash_panelapplet.la
%{tde_tdelibdir}/trash_panelapplet.so %{tde_tdelibdir}/trash_panelapplet.so
%{tde_libdir}/libkasbar.so.* %{tde_libdir}/libkasbar.so.*
%{tde_libdir}/lib[kt]deinit_appletproxy.la %{tde_libdir}/libkdeinit_appletproxy.la
%{tde_libdir}/lib[kt]deinit_appletproxy.so %{tde_libdir}/libkdeinit_appletproxy.so
%{tde_libdir}/lib[kt]deinit_extensionproxy.la %{tde_libdir}/libkdeinit_extensionproxy.la
%{tde_libdir}/lib[kt]deinit_extensionproxy.so %{tde_libdir}/libkdeinit_extensionproxy.so
%{tde_libdir}/lib[kt]deinit_kicker.la %{tde_libdir}/libkdeinit_kicker.la
%{tde_libdir}/lib[kt]deinit_kicker.so %{tde_libdir}/libkdeinit_kicker.so
%{tde_libdir}/libkickermain.so.* %{tde_libdir}/libkickermain.so.*
%{tde_libdir}/libtaskbar.so.* %{tde_libdir}/libtaskbar.so.*
%{tde_libdir}/libtaskmanager.so.* %{tde_libdir}/libtaskmanager.so.*
@ -2400,8 +2395,8 @@ web browser if the clipboard contains a URL.
%{tde_tdelibdir}/klipper.so %{tde_tdelibdir}/klipper.so
%{tde_tdelibdir}/klipper_panelapplet.la %{tde_tdelibdir}/klipper_panelapplet.la
%{tde_tdelibdir}/klipper_panelapplet.so %{tde_tdelibdir}/klipper_panelapplet.so
%{tde_libdir}/lib[kt]deinit_klipper.la %{tde_libdir}/libkdeinit_klipper.la
%{tde_libdir}/lib[kt]deinit_klipper.so %{tde_libdir}/libkdeinit_klipper.so
%{tde_tdeappdir}/klipper.desktop %{tde_tdeappdir}/klipper.desktop
%{tde_datadir}/apps/kconf_update/klipper-1-2.pl %{tde_datadir}/apps/kconf_update/klipper-1-2.pl
%{tde_datadir}/apps/kconf_update/klipper-trinity1.sh %{tde_datadir}/apps/kconf_update/klipper-trinity1.sh
@ -2447,10 +2442,10 @@ structure.
%{tde_tdelibdir}/kcontroledit.so %{tde_tdelibdir}/kcontroledit.so
%{tde_tdelibdir}/kmenuedit.la %{tde_tdelibdir}/kmenuedit.la
%{tde_tdelibdir}/kmenuedit.so %{tde_tdelibdir}/kmenuedit.so
%{tde_libdir}/lib[kt]deinit_kcontroledit.la %{tde_libdir}/libkdeinit_kcontroledit.la
%{tde_libdir}/lib[kt]deinit_kcontroledit.so %{tde_libdir}/libkdeinit_kcontroledit.so
%{tde_libdir}/lib[kt]deinit_kmenuedit.la %{tde_libdir}/libkdeinit_kmenuedit.la
%{tde_libdir}/lib[kt]deinit_kmenuedit.so %{tde_libdir}/libkdeinit_kmenuedit.so
%{tde_tdeappdir}/kmenuedit.desktop %{tde_tdeappdir}/kmenuedit.desktop
%{tde_datadir}/applnk/System/kmenuedit.desktop %{tde_datadir}/applnk/System/kmenuedit.desktop
%{tde_datadir}/apps/kcontroledit/ %{tde_datadir}/apps/kcontroledit/
@ -2537,12 +2532,12 @@ ever launching another application.
%{tde_tdelibdir}/konqueror.so %{tde_tdelibdir}/konqueror.so
%{tde_tdelibdir}/libkhtmlkttsdplugin.la %{tde_tdelibdir}/libkhtmlkttsdplugin.la
%{tde_tdelibdir}/libkhtmlkttsdplugin.so %{tde_tdelibdir}/libkhtmlkttsdplugin.so
%{tde_libdir}/lib[kt]deinit_keditbookmarks.la %{tde_libdir}/libkdeinit_keditbookmarks.la
%{tde_libdir}/lib[kt]deinit_keditbookmarks.so %{tde_libdir}/libkdeinit_keditbookmarks.so
%{tde_libdir}/lib[kt]deinit_kfmclient.la %{tde_libdir}/libkdeinit_kfmclient.la
%{tde_libdir}/lib[kt]deinit_kfmclient.so %{tde_libdir}/libkdeinit_kfmclient.so
%{tde_libdir}/lib[kt]deinit_konqueror.la %{tde_libdir}/libkdeinit_konqueror.la
%{tde_libdir}/lib[kt]deinit_konqueror.so %{tde_libdir}/libkdeinit_konqueror.so
%{tde_libdir}/libkonqsidebarplugin.so.* %{tde_libdir}/libkonqsidebarplugin.so.*
%{tde_tdeappdir}/Home.desktop %{tde_tdeappdir}/Home.desktop
%{tde_tdeappdir}/kcmhistory.desktop %{tde_tdeappdir}/kcmhistory.desktop
@ -2684,7 +2679,7 @@ Requires: %{name}-data = %{version}-%{release}
%description -n trinity-konsole %description -n trinity-konsole
Konsole is an X terminal emulation which provides a command-line interface Konsole is an X terminal emulation which provides a command-line interface
(CLI) while using the graphical K Desktop Environment. Konsole helps to (CLI) while using the graphical Trinity Desktop Environment. Konsole helps to
better organize user's desktop by containing multiple sessions in a single better organize user's desktop by containing multiple sessions in a single
window (a less cluttered desktop). window (a less cluttered desktop).
@ -2708,8 +2703,8 @@ Using Konsole, a user can open:
%{tde_tdelibdir}/konsole.so %{tde_tdelibdir}/konsole.so
%{tde_tdelibdir}/libkonsolepart.la %{tde_tdelibdir}/libkonsolepart.la
%{tde_tdelibdir}/libkonsolepart.so %{tde_tdelibdir}/libkonsolepart.so
%{tde_libdir}/lib[kt]deinit_konsole.la %{tde_libdir}/libkdeinit_konsole.la
%{tde_libdir}/lib[kt]deinit_konsole.so %{tde_libdir}/libkdeinit_konsole.so
%{tde_tdeappdir}/konsole.desktop %{tde_tdeappdir}/konsole.desktop
%{tde_tdeappdir}/konsolesu.desktop %{tde_tdeappdir}/konsolesu.desktop
%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop %{tde_datadir}/applnk/.hidden/kcmkonsole.desktop
@ -2821,15 +2816,15 @@ Requires: %{name}-data = %{version}-%{release}
Requires: trinity-twin = %{version}-%{release} Requires: trinity-twin = %{version}-%{release}
%description -n trinity-ksmserver %description -n trinity-ksmserver
This package contains the KDE session manager. It is responsible for This package contains the TDE session manager. It is responsible for
restoring your TDE session on login. It is also needed to properly restoring your TDE session on login. It is also needed to properly
start a KDE session. It registers KDE with X display managers, and start a TDE session. It registers KDE with X display managers, and
provides the 'starttde' command, for starting an X session with KDE provides the 'starttde' command, for starting an X session with TDE
from the console. from the console.
If you are running TDE for the first time for a certain user, If you are running TDE for the first time for a certain user,
kpersonalizer is used to help with setup. If it is not present, kpersonalizer is used to help with setup. If it is not present,
KDE will start, but many good defaults will not be set. TDE will start, but many good defaults will not be set.
%files -n trinity-ksmserver %files -n trinity-ksmserver
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -2838,8 +2833,8 @@ KDE will start, but many good defaults will not be set.
%{tde_bindir}/migratekde3 %{tde_bindir}/migratekde3
%{tde_tdelibdir}/ksmserver.la %{tde_tdelibdir}/ksmserver.la
%{tde_tdelibdir}/ksmserver.so %{tde_tdelibdir}/ksmserver.so
%{tde_libdir}/lib[kt]deinit_ksmserver.la %{tde_libdir}/libkdeinit_ksmserver.la
%{tde_libdir}/lib[kt]deinit_ksmserver.so %{tde_libdir}/libkdeinit_ksmserver.so
%{tde_datadir}/apps/kconf_update/ksmserver.upd %{tde_datadir}/apps/kconf_update/ksmserver.upd
%{tde_datadir}/apps/kconf_update/move_session_config.sh %{tde_datadir}/apps/kconf_update/move_session_config.sh
%{tde_datadir}/apps/ksmserver/pics/shutdownkonq.png %{tde_datadir}/apps/ksmserver/pics/shutdownkonq.png
@ -2851,9 +2846,15 @@ KDE will start, but many good defaults will not be set.
%post -n trinity-ksmserver %post -n trinity-ksmserver
/sbin/ldconfig || : /sbin/ldconfig || :
%if 0%{?mdkversion} || 0%{?mgaversion}
fndSession
%endif
%postun -n trinity-ksmserver %postun -n trinity-ksmserver
/sbin/ldconfig || : /sbin/ldconfig || :
%if 0%{?mdkversion} || 0%{?mgaversion}
fndSession
%endif
########## ##########
@ -3049,45 +3050,45 @@ This package contains the default X window manager for TDE.
%files -n trinity-twin %files -n trinity-twin
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/kompmgr %{tde_bindir}/kompmgr
%{tde_bindir}/[kt]win %{tde_bindir}/kwin
%{tde_bindir}/[kt]win_killer_helper %{tde_bindir}/kwin_killer_helper
#%{tde_bindir}/[kt]win_resumer_helper #%{tde_bindir}/kwin_resumer_helper
%{tde_bindir}/[kt]win_rules_dialog %{tde_bindir}/kwin_rules_dialog
%{tde_libdir}/kconf_update_bin/[kt]win_update_default_rules %{tde_libdir}/kconf_update_bin/kwin_update_default_rules
%{tde_libdir}/kconf_update_bin/[kt]win_update_window_settings %{tde_libdir}/kconf_update_bin/kwin_update_window_settings
%{tde_tdelibdir}/kcm_[kt]win*.la %{tde_tdelibdir}/kcm_kwin*.la
%{tde_tdelibdir}/kcm_[kt]win*.so %{tde_tdelibdir}/kcm_kwin*.so
%{tde_tdelibdir}/[kt]win*.la %{tde_tdelibdir}/kwin*.la
%{tde_tdelibdir}/[kt]win*.so %{tde_tdelibdir}/kwin*.so
%{tde_libdir}/lib[kt]decorations.so.* %{tde_libdir}/libkdecorations.so.*
%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.la %{tde_libdir}/libkdeinit_kwin_rules_dialog.la
%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.so %{tde_libdir}/libkdeinit_kwin_rules_dialog.so
%{tde_libdir}/lib[kt]deinit_[kt]win.la %{tde_libdir}/libkdeinit_kwin.la
%{tde_libdir}/lib[kt]deinit_[kt]win.so %{tde_libdir}/libkdeinit_kwin.so
%{tde_tdeappdir}/showdesktop.desktop %{tde_tdeappdir}/showdesktop.desktop
%{tde_tdeappdir}/[kt]windecoration.desktop %{tde_tdeappdir}/kwindecoration.desktop
%{tde_tdeappdir}/[kt]winoptions.desktop %{tde_tdeappdir}/kwinoptions.desktop
%{tde_tdeappdir}/[kt]winrules.desktop %{tde_tdeappdir}/kwinrules.desktop
%{tde_datadir}/applnk/.hidden/[kt]winactions.desktop %{tde_datadir}/applnk/.hidden/kwinactions.desktop
%{tde_datadir}/applnk/.hidden/[kt]winadvanced.desktop %{tde_datadir}/applnk/.hidden/kwinadvanced.desktop
%{tde_datadir}/applnk/.hidden/[kt]winfocus.desktop %{tde_datadir}/applnk/.hidden/kwinfocus.desktop
%{tde_datadir}/applnk/.hidden/[kt]winmoving.desktop %{tde_datadir}/applnk/.hidden/kwinmoving.desktop
%{tde_datadir}/applnk/.hidden/[kt]wintranslucency.desktop %{tde_datadir}/applnk/.hidden/kwintranslucency.desktop
%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.pl %{tde_datadir}/apps/kconf_update/kwin3_plugin.pl
%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.upd %{tde_datadir}/apps/kconf_update/kwin3_plugin.upd
%{tde_datadir}/apps/kconf_update/[kt]win_focus1.sh %{tde_datadir}/apps/kconf_update/kwin_focus1.sh
%{tde_datadir}/apps/kconf_update/[kt]win_focus1.upd %{tde_datadir}/apps/kconf_update/kwin_focus1.upd
%{tde_datadir}/apps/kconf_update/[kt]win_focus2.sh %{tde_datadir}/apps/kconf_update/kwin_focus2.sh
%{tde_datadir}/apps/kconf_update/[kt]win_focus2.upd %{tde_datadir}/apps/kconf_update/kwin_focus2.upd
%{tde_datadir}/apps/kconf_update/[kt]win_fsp_workarounds_1.upd %{tde_datadir}/apps/kconf_update/kwin_fsp_workarounds_1.upd
%{tde_datadir}/apps/kconf_update/[kt]winiconify.upd %{tde_datadir}/apps/kconf_update/kwiniconify.upd
%{tde_datadir}/apps/kconf_update/[kt]winsticky.upd %{tde_datadir}/apps/kconf_update/kwinsticky.upd
%{tde_datadir}/apps/kconf_update/[kt]win.upd %{tde_datadir}/apps/kconf_update/kwin.upd
%{tde_datadir}/apps/kconf_update/[kt]winupdatewindowsettings.upd %{tde_datadir}/apps/kconf_update/kwinupdatewindowsettings.upd
%{tde_datadir}/apps/kconf_update/pluginlibFix.pl %{tde_datadir}/apps/kconf_update/pluginlibFix.pl
%{tde_datadir}/apps/[kt]win/ %{tde_datadir}/apps/kwin/
%{tde_datadir}/config.kcfg/[kt]win.kcfg %{tde_datadir}/config.kcfg/kwin.kcfg
%{tde_datadir}/icons/crystalsvg/*/apps/[kt]win.png %{tde_datadir}/icons/crystalsvg/*/apps/kwin.png
%{tde_tdedocdir}/HTML/en/kompmgr/ %{tde_tdedocdir}/HTML/en/kompmgr/
%post -n trinity-twin %post -n trinity-twin
@ -3118,7 +3119,7 @@ Requires: trinity-twin = %{version}-%{release}
%files -n trinity-twin-devel %files -n trinity-twin-devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_tdeincludedir}/[kt]win/ %{tde_tdeincludedir}/kwin/
%{tde_tdeincludedir}/kcommondecoration.h %{tde_tdeincludedir}/kcommondecoration.h
%{tde_tdeincludedir}/kdecoration.h %{tde_tdeincludedir}/kdecoration.h
%{tde_tdeincludedir}/kdecoration_p.h %{tde_tdeincludedir}/kdecoration_p.h
@ -3248,21 +3249,15 @@ Windows and Samba shares.
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .openterminalhere
%patch2 -p1 -b .startmenuicon
%patch3 -p1 -b .displayconfigtranslation
%patch4 -p1 -b .kickoffdefaultsfav
%patch5 -p1 -b .konsolewordseps
%patch1 -p1 -b .kdesu_no_ignore %patch11 -p1 -b .tdmpid
%patch2 -p1 -b .openterminalhere %patch12 -p1 -b .kdesunoignorebutton
%if 0%{?rhel} || 0%{?fedora} %patch13 -p1 -b .xdgmenu
%patch3 -p1 -b .Xsession
%endif
%if 0%{?suse_version}
%patch4 -p1 -b .Xsession
%endif
%patch5 -p1 -b .tdeicon
%patch6 -p1 -b .xtestsupport
%patch7 -p1 -b .pid
%patch8 -p1 -b .kickoff_default_favs
%patch9 -p1 -b .translation
%patch10 -p1 -b .kcmxcursor
%patch101 -p1 -b .vibrate_dialog %patch101 -p1 -b .vibrate_dialog
%patch102 -p1 -b .kcontrol_menu_entry %patch102 -p1 -b .kcontrol_menu_entry
@ -3271,14 +3266,16 @@ Windows and Samba shares.
%patch105 -p1 -b .suspend_unmount %patch105 -p1 -b .suspend_unmount
%patch106 -p1 -b .bookmark_global_copy %patch106 -p1 -b .bookmark_global_copy
%patch201 -p1 -b .kcmxcursor
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
%patch201 -p1 -b .libdetect %patch301 -p1 -b .libdetect
%patch202 -p1 -b .dbustqt %patch302 -p1 -b .dbustqt
%patch203 -p1 -b .consolekit %patch303 -p1 -b .consolekit
%patch204 -p1 -b .composite %patch304 -p1 -b .composite
#patch205 -p1 -b .hal04 #patch305 -p1 -b .hal04
%patch206 -p1 -b .rhel4 %patch306 -p1 -b .rhel4
%endif %endif
# Applies an optional distro-specific graphical theme # Applies an optional distro-specific graphical theme
@ -3307,17 +3304,22 @@ Windows and Samba shares.
%__sed -i "kdm/config.def" \ %__sed -i "kdm/config.def" \
-e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |" -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |"
# TDE default directory in 'startkde' script (KDEDIR) # TDE default directory and icon in startup script
%__sed -i "startkde" \
-e "s|/opt/trinity|%{tde_prefix}|g"
# TDE default start button icon
%__sed -i "startkde" \ %__sed -i "startkde" \
-e "s|/opt/trinity|%{tde_prefix}|g" \
-e "s|%%{tde_starticon}|%{tde_starticon}|g" -e "s|%%{tde_starticon}|%{tde_starticon}|g"
# Xsession script location may vary on some distro
%if 0%{?rhel} || 0%{?fedora}
%__sed -i "kdm/kfrontend/genkdmconf.c" -e "s|/etc/X11/Xsession|/etc/X11/xinit/Xsession|"
%endif
%if 0%{?suse_version}
%__sed -i "kdm/kfrontend/genkdmconf.c" -e "s|/etc/X11/Xsession|/etc/X11/xdm/Xsession|"
%endif
%build %build
unset QTDIR || : ; . /etc/profile.d/qt3.sh unset QTDIR; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
@ -3344,14 +3346,20 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DBIN_INSTALL_DIR="%{tde_bindir}" \ -DBIN_INSTALL_DIR="%{tde_bindir}" \
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \ -DLIB_INSTALL_DIR="%{tde_libdir}" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
\
-DWITH_SASL=ON \ -DWITH_SASL=ON \
-DWITH_LDAP=ON \ -DWITH_LDAP=ON \
-DWITH_SAMBA=ON \ -DWITH_SAMBA=ON \
@ -3458,12 +3466,6 @@ EOF
-e "s/^#*MinShowUID=.*/MinShowUID=500/" -e "s/^#*MinShowUID=.*/MinShowUID=500/"
%endif %endif
# Moves the XDG configuration files to TDE directory
%if "%{tde_prefix}" != "/usr"
%__mkdir_p "%{?buildroot}%{tde_prefix}/etc"
%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{tde_prefix}/etc"
%endif
# Symlinks 'usb.ids' (Use system-provided version, not TDE provided version) # Symlinks 'usb.ids' (Use system-provided version, not TDE provided version)
%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids" %__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids"
%if 0%{?suse_version} %if 0%{?suse_version}
@ -3490,7 +3492,7 @@ EOF
%__install -D -m 644 "%{SOURCE7}" "%{?buildroot}/usr/lib/systemd/system/tdm.service" %__install -D -m 644 "%{SOURCE7}" "%{?buildroot}/usr/lib/systemd/system/tdm.service"
%endif %endif
# Symlink KDM configuration # Symlink TDM configuration
%__mkdir_p "%{?buildroot}%{tde_datadir}/config" %__mkdir_p "%{?buildroot}%{tde_datadir}/config"
%__ln_s "%{_sysconfdir}/trinity/kdm" "%{?buildroot}%{tde_datadir}/config/kdm" %__ln_s "%{_sysconfdir}/trinity/kdm" "%{?buildroot}%{tde_datadir}/config/kdm"
@ -3510,5 +3512,10 @@ EOF
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
- Fix XDG menu
- Fix Mageia/Mandriva specific icons
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -3,7 +3,9 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables %define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -20,8 +22,8 @@
Name: trinity-tdegames Name: trinity-tdegames
Summary: Trinity Desktop Environment - Games Summary: Trinity Desktop Environment - Games
Version: 3.5.13.2 Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPLv2 License: GPLv2
Group: Amusements/Games Group: Amusements/Games
@ -38,11 +40,11 @@ Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
BuildRequires: libtool BuildRequires: libtool
BuildRequires: tqtinterface-devel >= %{version} BuildRequires: tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{version} BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdemultimedia-devel >= %{version} BuildRequires: trinity-tdemultimedia-devel >= %{tde_version}
BuildRequires: qt3-devel BuildRequires: qt3-devel >= 3.3.8.d
Obsoletes: trinity-kdegames < %{version}-%{release} Obsoletes: trinity-kdegames < %{version}-%{release}
Provides: trinity-kdegames = %{version}-%{release} Provides: trinity-kdegames = %{version}-%{release}
@ -1546,21 +1548,23 @@ if [ -d "/usr/X11R6" ]; then
fi fi
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \ --bindir=%{tde_bindir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--enable-new-ldflags \ \
--disable-dependency-tracking \ --disable-dependency-tracking \
--disable-rpath \ --disable-debug \
--enable-final \ --enable-new-ldflags \
--disable-debug \ --enable-final \
--disable-warnings \ --enable-closure \
--enable-closure \ --disable-rpath \
--disable-setgid \ \
--with-extra-includes=%{tde_includedir}/tqt --with-extra-includes=%{tde_includedir}/tqt \
\
--disable-setgid
# WTF hack for RHEL4 # WTF hack for RHEL4
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
@ -1576,28 +1580,14 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
# locale's
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 ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -3,7 +3,9 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables %define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -19,8 +21,9 @@
Name: trinity-tdegraphics Name: trinity-tdegraphics
Version: 3.5.13.2 Version: %{tde_version}
Release: 1%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Trinity Desktop Environment - Graphics Applications Summary: Trinity Desktop Environment - Graphics Applications
@ -33,9 +36,9 @@ URL: http://www.trinitydesktop.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
# TDE 3.5.13 # TDE
## RHEL / Fedora specific patches ## RHEL / Fedora specific patches
# [kdegraphics/kpdf/xpdf] Disable 'mkstemps' support for RHEL5 # [kdegraphics/kpdf/xpdf] Disable 'mkstemps' support for RHEL5
Patch3: kdegraphics-3.5.13-xpdf_disable_mkstemps.patch Patch3: kdegraphics-3.5.13-xpdf_disable_mkstemps.patch
@ -1228,7 +1231,7 @@ Requires: %{name}-libpoppler-tqt-devel = %{version}-%{release}
########## ##########
%prep %prep
%setup -q %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%if 0%{?rhel} && 0%{?rhel} <= 5 %if 0%{?rhel} && 0%{?rhel} <= 5
%patch3 -p1 -b .mkstemps %patch3 -p1 -b .mkstemps
@ -1262,13 +1265,19 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DBIN_INSTALL_DIR=%{tde_bindir} \ -DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
-DCMAKE_SKIP_RPATH="OFF" \ \
%{?with_t1lib:-DWITH_T1LIB=ON} \ %{?with_t1lib:-DWITH_T1LIB=ON} \
%{?with_paper:-DWITH_LIBPAPER=ON} \ %{?with_paper:-DWITH_LIBPAPER=ON} \
-DWITH_TIFF=ON \ -DWITH_TIFF=ON \
@ -1287,23 +1296,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build %__make install DESTDIR=%{buildroot} -C build
# locale's
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 ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
# rpmdocs # rpmdocs
for dir in k* ; do for dir in k* ; do
for file in AUTHORS ChangeLog README TODO ; do for file in AUTHORS ChangeLog README TODO ; do
@ -1320,5 +1312,8 @@ done
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -0,0 +1,976 @@
diff -Nuar trinity-tdelibs-3.5.13.2/kded.ORI/applications.menu trinity-tdelibs-3.5.13.2/kded/applications.menu
--- trinity-tdelibs-3.5.13.2/kded.ORI/applications.menu 2013-07-28 15:03:29.861478619 +0200
+++ trinity-tdelibs-3.5.13.2/kded/applications.menu 1970-01-01 01:00:00.000000000 +0100
@@ -1,472 +0,0 @@
-<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
- "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
-
-<Menu>
- <Name>Applications</Name>
- <Directory>kde-main.directory</Directory>
- <!-- Search the default locations -->
- <KDELegacyDirs/>
- <DefaultAppDirs/>
- <DefaultDirectoryDirs/>
- <DefaultLayout>
- <Merge type="menus"/>
- <Merge type="files"/>
- <Separator/>
- <Menuname>More</Menuname>
- </DefaultLayout>
- <Layout>
- <Merge type="menus"/>
- <Menuname>Applications</Menuname>
- <Merge type="files"/>
- </Layout>
-
- <Menu>
- <Name>Applications</Name>
- <Directory>kde-unknown.directory</Directory>
- <OnlyUnallocated/>
- <Include>
- <Not>
- <!-- Don't list non-KDE core applications -->
- <And>
- <Category>Core</Category>
- <Not><Category>KDE</Category></Not>
- </And>
- <!-- Don't list SUSE's YaST in here -->
- <Category>X-SuSE-YaST</Category>
- </Not>
- </Include>
- </Menu>
- <Menu>
- <Name>Development</Name>
- <Directory>kde-development.directory</Directory>
- <Menu>
- <Name>X-KDE-KDevelopIDE</Name>
- <Directory>kde-development-kdevelop.directory</Directory>
- <Include>
- <And>
- <Category>Development</Category>
- <Category>X-KDE-KDevelopIDE</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Translation</Name>
- <Directory>kde-development-translation.directory</Directory>
- <Include>
- <And>
- <Category>Development</Category>
- <Category>Translation</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Web Development</Name>
- <Directory>kde-development-webdevelopment.directory</Directory>
- <Include>
- <And>
- <Category>Development</Category>
- <Category>WebDevelopment</Category>
- </And>
- </Include>
- </Menu>
- <Include>
- <And>
- <Category>Development</Category>
- <Not><Category>X-KDE-KDevelopIDE</Category></Not>
- <Not><Category>Translation</Category></Not>
- <Not><Category>WebDevelopment</Category></Not>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Science</Name>
- <Directory>kde-science.directory</Directory>
- <Include>
- <And><!-- Include /any/ Science app which is not an Education app -->
- <Or>
- <Category>Astronomy</Category>
- <Category>Biology</Category>
- <Category>Chemistry</Category>
- <Category>Geology</Category>
- <Category>MedicalSoftware</Category>
- <Category>Physics</Category>
- <Category>Math</Category>
- <Category>Science</Category>
- </Or>
- <Not><Category>Education</Category></Not>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Edutainment</Name>
- <Directory>kde-edutainment.directory</Directory>
- <Menu>
- <Name>Languages</Name>
- <Directory>kde-edu-languages.directory</Directory>
- <Include>
- <And>
- <Category>Education</Category>
- <Or>
- <Category>Languages</Category>
- <Category>X-KDE-Edu-Language</Category>
- </Or>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Mathematics</Name>
- <Directory>kde-edu-mathematics.directory</Directory>
- <Include>
- <And>
- <Category>Education</Category>
- <Category>Math</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Miscellaneous</Name>
- <Directory>kde-edu-miscellaneous.directory</Directory>
- <Include>
- <And>
- <Category>Education</Category>
- <Not>
- <Category>Languages</Category>
- <Category>X-KDE-Edu-Language</Category>
- <Category>Math</Category>
- <Category>Science</Category>
- <Category>Teaching</Category>
- <Category>X-KDE-Edu-Teaching</Category>
- </Not>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Science</Name>
- <Directory>kde-edu-science.directory</Directory>
- <Include>
- <And>
- <Category>Education</Category>
- <Category>Science</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Tools</Name>
- <Directory>kde-edu-tools.directory</Directory>
- <Include>
- <And>
- <Category>Education</Category>
- <Or>
- <Category>Teaching</Category>
- <Category>X-KDE-Edu-Teaching</Category>
- </Or>
- </And>
- </Include>
- </Menu>
- </Menu>
- <Menu>
- <Name>Games</Name>
- <Directory>kde-games.directory</Directory>
- <Menu>
- <Name>Arcade</Name>
- <Directory>kde-games-arcade.directory</Directory>
- <Include>
- <And>
- <Category>Game</Category>
- <Category>ArcadeGame</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Board</Name>
- <Directory>kde-games-board.directory</Directory>
- <Include>
- <And>
- <Category>Game</Category>
- <Category>BoardGame</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Card</Name>
- <Directory>kde-games-card.directory</Directory>
- <Include>
- <And>
- <Category>Game</Category>
- <Category>CardGame</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Kidsgames</Name>
- <Directory>kde-games-kids.directory</Directory>
- <Include>
- <And>
- <Category>Game</Category>
- <Or>
- <Category>X-KDE-KidsGame</Category>
- <Category>KidsGame</Category>
- </Or>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>TacticStrategy</Name>
- <Directory>kde-games-strategy.directory</Directory>
- <Include>
- <And>
- <Category>Game</Category>
- <Category>StrategyGame</Category>
- </And>
- </Include>
- </Menu>
- <Include>
- <And>
- <Category>Game</Category>
- <Not>
- <Category>ArcadeGame</Category>
- <Category>BoardGame</Category>
- <Category>CardGame</Category>
- <Category>X-KDE-KidsGame</Category>
- <Category>KidsGame</Category>
- <Category>StrategyGame</Category>
- </Not>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Graphics</Name>
- <Directory>kde-graphics.directory</Directory>
- <Include>
- <And>
- <Category>Graphics</Category>
- <Not><Category>X-KDE-More</Category></Not>
- <Not><Filename>ooo-draw.desktop</Filename></Not>
- </And>
- </Include>
- <Menu>
- <Name>More</Name>
- <Directory>kde-more.directory</Directory>
- <Include>
- <And>
- <Category>Graphics</Category>
- <Category>X-KDE-More</Category>
- </And>
- </Include>
- </Menu>
- </Menu>
- <Menu>
- <Name>Internet</Name>
- <Directory>kde-internet.directory</Directory>
- <Include>
- <And>
- <Category>Network</Category>
- <Not><Category>X-KDE-More</Category></Not>
- </And>
- </Include>
- <Menu>
- <Name>Terminal</Name>
- <Directory>kde-internet-terminal.directory</Directory>
- </Menu>
- <Menu>
- <Name>More</Name>
- <Directory>kde-more.directory</Directory>
- <Include>
- <And>
- <Category>Network</Category>
- <Category>X-KDE-More</Category>
- </And>
- </Include>
- </Menu>
- </Menu>
- <Menu>
- <Name>Multimedia</Name>
- <Directory>kde-multimedia.directory</Directory>
- <Include>
- <And>
- <Category>AudioVideo</Category>
- <Not><Category>X-KDE-More</Category></Not>
- </And>
- </Include>
- <Menu>
- <Name>More</Name>
- <Directory>kde-more.directory</Directory>
- <Include>
- <And>
- <Category>AudioVideo</Category>
- <Category>X-KDE-More</Category>
- </And>
- </Include>
- </Menu>
- </Menu>
- <Menu>
- <Name>Office</Name>
- <Directory>kde-office.directory</Directory>
- <Layout>
- <Merge type="menus"/>
- <Merge type="files"/>
- <Separator/>
- <Menuname>More</Menuname>
- </Layout>
- <Include>
- <And>
- <Category>Office</Category>
- <Not><Category>X-KDE-More</Category></Not>
- </And>
- <Filename>ooo-draw.desktop</Filename>
- </Include>
- <Menu>
- <Name>More</Name>
- <Directory>kde-more.directory</Directory>
- <Include>
- <And>
- <Category>Office</Category>
- <Category>X-KDE-More</Category>
- </And>
- </Include>
- </Menu>
- </Menu>
- <Menu>
- <Name>Settingsmenu</Name>
- <Directory>kde-settingsmenu.directory</Directory>
- <Include>
- <Category>Settings</Category>
- </Include>
- </Menu>
- <Menu>
- <Name>System</Name>
- <Directory>kde-system.directory</Directory>
- <Include>
- <And>
- <Category>System</Category>
- <Not><Category>X-KDE-More</Category></Not>
- </And>
- </Include>
- <Menu>
- <Name>SuperUser</Name>
- <Directory>kde-system-su.directory</Directory>
- <Include>
- <And>
- <Category>X-KDE-System-su</Category>
- <Not><Category>X-KDE-More</Category></Not>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>More</Name>
- <Directory>kde-more.directory</Directory>
- <Include>
- <And>
- <Category>System</Category>
- <Category>X-KDE-More</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>ScreenSavers</Name>
- <Directory>kde-system-screensavers.directory</Directory>
- </Menu>
- <Menu>
- <Name>Terminal</Name>
- <Directory>kde-system-terminal.directory</Directory>
- </Menu>
- </Menu>
- <Menu>
- <Name>Utilities</Name>
- <Directory>kde-utilities.directory</Directory>
- <Include>
- <And>
- <Category>Utility</Category>
- <Not><Category>Accessibility</Category></Not>
- <Not><Category>X-KDE-Utilities-Desktop</Category></Not>
- <Not><Category>X-KDE-Utilities-Peripherals</Category></Not>
- <Not><Category>X-KDE-Utilities-PIM</Category></Not>
- <Not><Category>X-KDE-More</Category></Not>
- </And>
- </Include>
- <Menu>
- <Name>Accessibility</Name>
- <Directory>kde-utilities-accessibility.directory</Directory>
- <Include>
- <And>
- <Category>Utility</Category>
- <Category>Accessibility</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Desktop</Name>
- <Directory>kde-utilities-desktop.directory</Directory>
- <Include>
- <And>
- <Category>Utility</Category>
- <Category>X-KDE-Utilities-Desktop</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Editors</Name>
- <Directory>kde-editors.directory</Directory>
- <Include>
- <Category>TextEditor</Category>
- </Include>
- </Menu>
- <Menu>
- <Name>PIM</Name>
- <Directory>kde-utilities-pim.directory</Directory>
- <Include>
- <And>
- <Category>Utility</Category>
- <Category>X-KDE-Utilities-PIM</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Toys</Name>
- <Directory>kde-toys.directory</Directory>
- <Include>
- <Category>Amusement</Category>
- </Include>
- </Menu>
- <Menu>
- <Name>XUtilities</Name>
- <Directory>kde-utilities-xutils.directory</Directory>
- </Menu>
- <Menu>
- <Name>More</Name>
- <Directory>kde-more.directory</Directory>
- <Include>
- <And>
- <Category>Utility</Category>
- <Category>X-KDE-More</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>More</Name>
- <Directory>kde-more.directory</Directory>
- <Include>
- <And>
- <Category>Utility</Category>
- <Category>X-KDE-More</Category>
- </And>
- </Include>
- </Menu>
- </Menu>
- <Include>
- <And>
- <Category>KDE</Category>
- <Category>Core</Category>
- </And>
- </Include>
- <DefaultMergeDirs/>
-
- <Menu>
- <Name>Debian</Name>
- <Directory>debian.directory</Directory>
- <MergeFile>debian-menu.menu</MergeFile>
- </Menu>
-
- <MergeDir>applications-merged</MergeDir>
- <MergeFile>applications-kmenuedit.menu</MergeFile>
-</Menu>
diff -Nuar trinity-tdelibs-3.5.13.2/kded.ORI/CMakeLists.txt trinity-tdelibs-3.5.13.2/kded/CMakeLists.txt
--- trinity-tdelibs-3.5.13.2/kded.ORI/CMakeLists.txt 2013-07-28 15:03:29.861478619 +0200
+++ trinity-tdelibs-3.5.13.2/kded/CMakeLists.txt 2013-07-28 15:03:45.806126508 +0200
@@ -35,7 +35,7 @@
##### other data ################################
install( FILES kdedmodule.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
-install( FILES applications.menu DESTINATION ${XDG_MENU_INSTALL_DIR} )
+install( FILES tde-applications.menu DESTINATION ${XDG_MENU_INSTALL_DIR} )
install( FILES kded.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
diff -Nuar trinity-tdelibs-3.5.13.2/kded.ORI/kbuildsycoca.cpp trinity-tdelibs-3.5.13.2/kded/kbuildsycoca.cpp
--- trinity-tdelibs-3.5.13.2/kded.ORI/kbuildsycoca.cpp 2013-07-28 15:03:29.861478619 +0200
+++ trinity-tdelibs-3.5.13.2/kded/kbuildsycoca.cpp 2013-07-28 15:04:11.314563211 +0200
@@ -379,7 +379,7 @@
connect(g_vfolder, TQT_SIGNAL(newService(const TQString &, KService **)),
this, TQT_SLOT(slotCreateEntry(const TQString &, KService **)));
- VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu("applications.menu", true);
+ VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu("tde-applications.menu", true);
KServiceGroup *entry = g_bsgf->addNew("/", kdeMenu->directoryFile, 0, false);
entry->setLayoutInfo(kdeMenu->layoutList);
diff -Nuar trinity-tdelibs-3.5.13.2/kded.ORI/tde-applications.menu trinity-tdelibs-3.5.13.2/kded/tde-applications.menu
--- trinity-tdelibs-3.5.13.2/kded.ORI/tde-applications.menu 1970-01-01 01:00:00.000000000 +0100
+++ trinity-tdelibs-3.5.13.2/kded/tde-applications.menu 2013-06-07 19:23:04.000000000 +0200
@@ -0,0 +1,472 @@
+<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
+ "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
+
+<Menu>
+ <Name>Applications</Name>
+ <Directory>tde-main.directory</Directory>
+ <!-- Search the default locations -->
+ <KDELegacyDirs/>
+ <DefaultAppDirs/>
+ <DefaultDirectoryDirs/>
+ <DefaultLayout>
+ <Merge type="menus"/>
+ <Merge type="files"/>
+ <Separator/>
+ <Menuname>More</Menuname>
+ </DefaultLayout>
+ <Layout>
+ <Merge type="menus"/>
+ <Menuname>Applications</Menuname>
+ <Merge type="files"/>
+ </Layout>
+
+ <Menu>
+ <Name>Applications</Name>
+ <Directory>tde-unknown.directory</Directory>
+ <OnlyUnallocated/>
+ <Include>
+ <Not>
+ <!-- Don't list non-KDE core applications -->
+ <And>
+ <Category>Core</Category>
+ <Not><Category>KDE</Category></Not>
+ </And>
+ <!-- Don't list SUSE's YaST in here -->
+ <Category>X-SuSE-YaST</Category>
+ </Not>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Development</Name>
+ <Directory>tde-development.directory</Directory>
+ <Menu>
+ <Name>X-KDE-KDevelopIDE</Name>
+ <Directory>tde-development-kdevelop.directory</Directory>
+ <Include>
+ <And>
+ <Category>Development</Category>
+ <Category>X-KDE-KDevelopIDE</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Translation</Name>
+ <Directory>tde-development-translation.directory</Directory>
+ <Include>
+ <And>
+ <Category>Development</Category>
+ <Category>Translation</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Web Development</Name>
+ <Directory>tde-development-webdevelopment.directory</Directory>
+ <Include>
+ <And>
+ <Category>Development</Category>
+ <Category>WebDevelopment</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Include>
+ <And>
+ <Category>Development</Category>
+ <Not><Category>X-KDE-KDevelopIDE</Category></Not>
+ <Not><Category>Translation</Category></Not>
+ <Not><Category>WebDevelopment</Category></Not>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Science</Name>
+ <Directory>tde-science.directory</Directory>
+ <Include>
+ <And><!-- Include /any/ Science app which is not an Education app -->
+ <Or>
+ <Category>Astronomy</Category>
+ <Category>Biology</Category>
+ <Category>Chemistry</Category>
+ <Category>Geology</Category>
+ <Category>MedicalSoftware</Category>
+ <Category>Physics</Category>
+ <Category>Math</Category>
+ <Category>Science</Category>
+ </Or>
+ <Not><Category>Education</Category></Not>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Edutainment</Name>
+ <Directory>tde-edutainment.directory</Directory>
+ <Menu>
+ <Name>Languages</Name>
+ <Directory>tde-edu-languages.directory</Directory>
+ <Include>
+ <And>
+ <Category>Education</Category>
+ <Or>
+ <Category>Languages</Category>
+ <Category>X-KDE-Edu-Language</Category>
+ </Or>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Mathematics</Name>
+ <Directory>tde-edu-mathematics.directory</Directory>
+ <Include>
+ <And>
+ <Category>Education</Category>
+ <Category>Math</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Miscellaneous</Name>
+ <Directory>tde-edu-miscellaneous.directory</Directory>
+ <Include>
+ <And>
+ <Category>Education</Category>
+ <Not>
+ <Category>Languages</Category>
+ <Category>X-KDE-Edu-Language</Category>
+ <Category>Math</Category>
+ <Category>Science</Category>
+ <Category>Teaching</Category>
+ <Category>X-KDE-Edu-Teaching</Category>
+ </Not>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Science</Name>
+ <Directory>tde-edu-science.directory</Directory>
+ <Include>
+ <And>
+ <Category>Education</Category>
+ <Category>Science</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Tools</Name>
+ <Directory>tde-edu-tools.directory</Directory>
+ <Include>
+ <And>
+ <Category>Education</Category>
+ <Or>
+ <Category>Teaching</Category>
+ <Category>X-KDE-Edu-Teaching</Category>
+ </Or>
+ </And>
+ </Include>
+ </Menu>
+ </Menu>
+ <Menu>
+ <Name>Games</Name>
+ <Directory>tde-games.directory</Directory>
+ <Menu>
+ <Name>Arcade</Name>
+ <Directory>tde-games-arcade.directory</Directory>
+ <Include>
+ <And>
+ <Category>Game</Category>
+ <Category>ArcadeGame</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Board</Name>
+ <Directory>tde-games-board.directory</Directory>
+ <Include>
+ <And>
+ <Category>Game</Category>
+ <Category>BoardGame</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Card</Name>
+ <Directory>tde-games-card.directory</Directory>
+ <Include>
+ <And>
+ <Category>Game</Category>
+ <Category>CardGame</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Kidsgames</Name>
+ <Directory>tde-games-kids.directory</Directory>
+ <Include>
+ <And>
+ <Category>Game</Category>
+ <Or>
+ <Category>X-KDE-KidsGame</Category>
+ <Category>KidsGame</Category>
+ </Or>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>TacticStrategy</Name>
+ <Directory>tde-games-strategy.directory</Directory>
+ <Include>
+ <And>
+ <Category>Game</Category>
+ <Category>StrategyGame</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Include>
+ <And>
+ <Category>Game</Category>
+ <Not>
+ <Category>ArcadeGame</Category>
+ <Category>BoardGame</Category>
+ <Category>CardGame</Category>
+ <Category>X-KDE-KidsGame</Category>
+ <Category>KidsGame</Category>
+ <Category>StrategyGame</Category>
+ </Not>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Graphics</Name>
+ <Directory>tde-graphics.directory</Directory>
+ <Include>
+ <And>
+ <Category>Graphics</Category>
+ <Not><Category>X-KDE-More</Category></Not>
+ <Not><Filename>ooo-draw.desktop</Filename></Not>
+ </And>
+ </Include>
+ <Menu>
+ <Name>More</Name>
+ <Directory>tde-more.directory</Directory>
+ <Include>
+ <And>
+ <Category>Graphics</Category>
+ <Category>X-KDE-More</Category>
+ </And>
+ </Include>
+ </Menu>
+ </Menu>
+ <Menu>
+ <Name>Internet</Name>
+ <Directory>tde-internet.directory</Directory>
+ <Include>
+ <And>
+ <Category>Network</Category>
+ <Not><Category>X-KDE-More</Category></Not>
+ </And>
+ </Include>
+ <Menu>
+ <Name>Terminal</Name>
+ <Directory>tde-internet-terminal.directory</Directory>
+ </Menu>
+ <Menu>
+ <Name>More</Name>
+ <Directory>tde-more.directory</Directory>
+ <Include>
+ <And>
+ <Category>Network</Category>
+ <Category>X-KDE-More</Category>
+ </And>
+ </Include>
+ </Menu>
+ </Menu>
+ <Menu>
+ <Name>Multimedia</Name>
+ <Directory>tde-multimedia.directory</Directory>
+ <Include>
+ <And>
+ <Category>AudioVideo</Category>
+ <Not><Category>X-KDE-More</Category></Not>
+ </And>
+ </Include>
+ <Menu>
+ <Name>More</Name>
+ <Directory>tde-more.directory</Directory>
+ <Include>
+ <And>
+ <Category>AudioVideo</Category>
+ <Category>X-KDE-More</Category>
+ </And>
+ </Include>
+ </Menu>
+ </Menu>
+ <Menu>
+ <Name>Office</Name>
+ <Directory>tde-office.directory</Directory>
+ <Layout>
+ <Merge type="menus"/>
+ <Merge type="files"/>
+ <Separator/>
+ <Menuname>More</Menuname>
+ </Layout>
+ <Include>
+ <And>
+ <Category>Office</Category>
+ <Not><Category>X-KDE-More</Category></Not>
+ </And>
+ <Filename>ooo-draw.desktop</Filename>
+ </Include>
+ <Menu>
+ <Name>More</Name>
+ <Directory>tde-more.directory</Directory>
+ <Include>
+ <And>
+ <Category>Office</Category>
+ <Category>X-KDE-More</Category>
+ </And>
+ </Include>
+ </Menu>
+ </Menu>
+ <Menu>
+ <Name>Settingsmenu</Name>
+ <Directory>tde-settingsmenu.directory</Directory>
+ <Include>
+ <Category>Settings</Category>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>System</Name>
+ <Directory>tde-system.directory</Directory>
+ <Include>
+ <And>
+ <Category>System</Category>
+ <Not><Category>X-KDE-More</Category></Not>
+ </And>
+ </Include>
+ <Menu>
+ <Name>SuperUser</Name>
+ <Directory>tde-system-su.directory</Directory>
+ <Include>
+ <And>
+ <Category>X-KDE-System-su</Category>
+ <Not><Category>X-KDE-More</Category></Not>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>More</Name>
+ <Directory>tde-more.directory</Directory>
+ <Include>
+ <And>
+ <Category>System</Category>
+ <Category>X-KDE-More</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>ScreenSavers</Name>
+ <Directory>tde-system-screensavers.directory</Directory>
+ </Menu>
+ <Menu>
+ <Name>Terminal</Name>
+ <Directory>tde-system-terminal.directory</Directory>
+ </Menu>
+ </Menu>
+ <Menu>
+ <Name>Utilities</Name>
+ <Directory>tde-utilities.directory</Directory>
+ <Include>
+ <And>
+ <Category>Utility</Category>
+ <Not><Category>Accessibility</Category></Not>
+ <Not><Category>X-KDE-Utilities-Desktop</Category></Not>
+ <Not><Category>X-KDE-Utilities-Peripherals</Category></Not>
+ <Not><Category>X-KDE-Utilities-PIM</Category></Not>
+ <Not><Category>X-KDE-More</Category></Not>
+ </And>
+ </Include>
+ <Menu>
+ <Name>Accessibility</Name>
+ <Directory>tde-utilities-accessibility.directory</Directory>
+ <Include>
+ <And>
+ <Category>Utility</Category>
+ <Category>Accessibility</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Desktop</Name>
+ <Directory>tde-utilities-desktop.directory</Directory>
+ <Include>
+ <And>
+ <Category>Utility</Category>
+ <Category>X-KDE-Utilities-Desktop</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Editors</Name>
+ <Directory>tde-editors.directory</Directory>
+ <Include>
+ <Category>TextEditor</Category>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>PIM</Name>
+ <Directory>tde-utilities-pim.directory</Directory>
+ <Include>
+ <And>
+ <Category>Utility</Category>
+ <Category>X-KDE-Utilities-PIM</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Toys</Name>
+ <Directory>tde-toys.directory</Directory>
+ <Include>
+ <Category>Amusement</Category>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>XUtilities</Name>
+ <Directory>tde-utilities-xutils.directory</Directory>
+ </Menu>
+ <Menu>
+ <Name>More</Name>
+ <Directory>tde-more.directory</Directory>
+ <Include>
+ <And>
+ <Category>Utility</Category>
+ <Category>X-KDE-More</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>More</Name>
+ <Directory>tde-more.directory</Directory>
+ <Include>
+ <And>
+ <Category>Utility</Category>
+ <Category>X-KDE-More</Category>
+ </And>
+ </Include>
+ </Menu>
+ </Menu>
+ <Include>
+ <And>
+ <Category>KDE</Category>
+ <Category>Core</Category>
+ </And>
+ </Include>
+ <DefaultMergeDirs/>
+
+ <Menu>
+ <Name>Debian</Name>
+ <Directory>debian.directory</Directory>
+ <MergeFile>debian-menu.menu</MergeFile>
+ </Menu>
+
+ <MergeDir>applications-merged</MergeDir>
+ <MergeFile>applications-kmenuedit.menu</MergeFile>
+</Menu>

@ -3,7 +3,9 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific variables %define tde_version 3.5.13.2
# TDE specific variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -17,8 +19,8 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-tdelibs Name: trinity-tdelibs
Version: 3.5.13.2 Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: TDE Libraries Summary: TDE Libraries
Group: Environment/Libraries Group: Environment/Libraries
@ -31,9 +33,12 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
# Fix categories in T-menu
Patch1: tdelibs-3.5.13.2-fix_xdg_menu.patch
Patch1: tdelibs-3.5.13.2-xdg_dirs_set_path.patch # Patches from Mandriva
Patch2: tdelibs-3.5.13.2-cups_by_default.patch Patch101: tdelibs-3.5.13.2-xdg_dirs_set_path.patch
Patch102: tdelibs-3.5.13.2-cups_by_default.patch
Obsoletes: tdelibs < %{version}-%{release} Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release} Provides: tdelibs = %{version}-%{release}
@ -45,13 +50,12 @@ Provides: trinity-kdelibs-apidocs = %{version}-%{release}
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: libtool BuildRequires: libtool
BuildRequires: qt3-devel BuildRequires: qt3-devel >= 3.3.8.d
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{version} BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: krb5-devel BuildRequires: krb5-devel
BuildRequires: libxslt-devel BuildRequires: libxslt-devel
BuildRequires: cups-devel BuildRequires: cups-devel
BuildRequires: libart_lgpl-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
@ -61,6 +65,9 @@ BuildRequires: glib2-devel
# LUA support are not ready yet # LUA support are not ready yet
#BuildRequires: lua-devel #BuildRequires: lua-devel
# LIBART_LGPL support
BuildRequires: libart_lgpl-devel
# ASPELL support # ASPELL support
BuildRequires: aspell BuildRequires: aspell
BuildRequires: aspell-devel BuildRequires: aspell-devel
@ -124,7 +131,7 @@ BuildRequires: jasper-devel
# AVAHI support # AVAHI support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} %if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_avahi 1 %define with_avahi 1
BuildRequires: trinity-avahi-tqt-devel >= %{version} BuildRequires: trinity-avahi-tqt-devel >= %{tde_version}
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}avahi-client-devel BuildRequires: %{_lib}avahi-client-devel
Requires: %{_lib}avahi-client3 Requires: %{_lib}avahi-client3
@ -189,9 +196,21 @@ BuildRequires: xz-devel
%endif %endif
%endif %endif
Requires: trinity-tqtinterface >= %{version} # Certificates support
Requires: trinity-arts >= %{version} %if 0%{?rhel} || 0%{?fedora}
%define cacert %{_sysconfdir}/ssl/certs/ca-certificates.crt
Requires: ca-certificates
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
%define cacert %{_sysconfdir}/ssl/certs/ca-bundle.crt
Requires: openssl
%endif
# Trinity dependencies
Requires: qt3 >= 3.3.8.d Requires: qt3 >= 3.3.8.d
Requires: trinity-tqtinterface >= %{tde_version}
Requires: trinity-arts >= %{tde_version}
%description %description
Libraries for the Trinity Desktop Environment: Libraries for the Trinity Desktop Environment:
@ -231,6 +250,7 @@ kimgio (image manipulation).
%{tde_bindir}/kdeinit_shutdown %{tde_bindir}/kdeinit_shutdown
%{tde_bindir}/kdeinit_wrapper %{tde_bindir}/kdeinit_wrapper
%{tde_bindir}/kdesu_stub %{tde_bindir}/kdesu_stub
%{tde_bindir}/kdetcompmgr
%{tde_bindir}/kdontchangethehostname %{tde_bindir}/kdontchangethehostname
%{tde_bindir}/kdostartupconfig %{tde_bindir}/kdostartupconfig
%{tde_bindir}/kfile %{tde_bindir}/kfile
@ -259,10 +279,14 @@ kimgio (image manipulation).
%{tde_bindir}/start_kdeinit %{tde_bindir}/start_kdeinit
%{tde_bindir}/start_kdeinit_wrapper %{tde_bindir}/start_kdeinit_wrapper
%attr(4755,root,root) %{tde_bindir}/kgrantpty %attr(4755,root,root) %{tde_bindir}/kgrantpty
%{tde_bindir}/checkXML
%{tde_bindir}/ksvgtopng
%{tde_bindir}/kunittestmodrunner
%{tde_bindir}/preparetips
%{tde_tdelibdir}/* %{tde_tdelibdir}/*
%{tde_libdir}/lib*.so.* %{tde_libdir}/lib*.so.*
%{tde_libdir}/lib[kt]deinit_*.la %{tde_libdir}/libkdeinit_*.la
%{tde_libdir}/lib[kt]deinit_*.so %{tde_libdir}/libkdeinit_*.so
%{tde_datadir}/applications/kde/*.desktop %{tde_datadir}/applications/kde/*.desktop
%{tde_datadir}/autostart/kab2kabc.desktop %{tde_datadir}/autostart/kab2kabc.desktop
%{tde_datadir}/applnk/kio_iso.desktop %{tde_datadir}/applnk/kio_iso.desktop
@ -270,48 +294,19 @@ kimgio (image manipulation).
%exclude %{tde_datadir}/apps/ksgmltools2/ %exclude %{tde_datadir}/apps/ksgmltools2/
%config(noreplace) %{tde_datadir}/config/* %config(noreplace) %{tde_datadir}/config/*
%{tde_datadir}/emoticons/* %{tde_datadir}/emoticons/*
%{tde_datadir}/icons/crystalsvg/
%{tde_datadir}/icons/default.kde %{tde_datadir}/icons/default.kde
%{_sysconfdir}/alternatives/default.kde %{tde_datadir}/icons/hicolor/index.theme
%{tde_datadir}/locale/all_languages
%{tde_datadir}/mimelnk/magic %{tde_datadir}/mimelnk/magic
%{tde_datadir}/mimelnk/*/*.desktop %{tde_datadir}/mimelnk/*/*.desktop
%{tde_datadir}/services/* %{tde_datadir}/services/*
%{tde_datadir}/servicetypes/* %{tde_datadir}/servicetypes/*
%{tde_datadir}/icons/crystalsvg/
%{tde_tdedocdir}/HTML/en/kspell/
# remove conflicts with kdelibs-4
%if "%{?tde_prefix}" != "/usr"
%{tde_bindir}/checkXML
%{tde_bindir}/ksvgtopng
%{tde_bindir}/kunittestmodrunner
%{tde_bindir}/preparetips
%{tde_datadir}/icons/hicolor/index.theme
%{tde_datadir}/locale/all_languages
%{tde_tdedocdir}/HTML/en/common/* %{tde_tdedocdir}/HTML/en/common/*
%{_sysconfdir}/ld.so.conf.d/trinity.conf %{tde_tdedocdir}/HTML/en/kspell/
%else
%exclude %{tde_bindir}/checkXML
%exclude %{tde_bindir}/ksvgtopng
%exclude %{tde_bindir}/kunittestmodrunner
%exclude %{tde_bindir}/preparetips
%exclude %{tde_datadir}/config/colors
%exclude %{tde_datadir}/config/kdebug.areas
%exclude %{tde_datadir}/config/kdebugrc
%exclude %{tde_datadir}/config/ksslcalist
%exclude %{tde_datadir}/config/ui/ui_standards.rc
%exclude %{tde_datadir}/icons/hicolor/index.theme
%exclude %{tde_datadir}/locale/all_languages
%exclude %{tde_tdedocdir}/HTML/en/common/*
%endif
# Avoid conflict with 'redhat-menus' package
%if "%{tde_prefix}" == "/usr"
%{_sysconfdir}/xdg/menus/kde-applications.menu
%else
%{tde_prefix}/etc/xdg/menus/kde-applications.menu
%endif
# New in TDE 3.5.13 %{_sysconfdir}/xdg/menus/tde-applications.menu
%{tde_bindir}/kdetcompmgr %{_sysconfdir}/ld.so.conf.d/trinity.conf
%pre %pre
# TDE Bug #1074 # TDE Bug #1074
@ -321,19 +316,6 @@ fi
%post %post
/sbin/ldconfig || : /sbin/ldconfig || :
# Sets default theme as 'crystalsvg'
update-alternatives --install \
%{tde_datadir}/icons/default.kde \
default.kde \
%{tde_datadir}/icons/crystalsvg \
10 || :
%preun
if [ $1 -eq 0 ]; then
update-alternatives --remove \
default.kde \
%{tde_datadir}/icons/crystalsvg || :
fi
%postun %postun
/sbin/ldconfig || : /sbin/ldconfig || :
@ -364,11 +346,9 @@ applications for TDE.
%{tde_libdir}/*.la %{tde_libdir}/*.la
%{tde_libdir}/*.so %{tde_libdir}/*.so
%{tde_libdir}/*.a %{tde_libdir}/*.a
%exclude %{tde_libdir}/lib[kt]deinit_*.la %exclude %{tde_libdir}/libkdeinit_*.la
%exclude %{tde_libdir}/lib[kt]deinit_*.so %exclude %{tde_libdir}/libkdeinit_*.so
%{tde_datadir}/cmake/kdelibs.cmake
# New in TDE 3.5.13
%{tde_datadir}/cmake/[kt]delibs.cmake
%post devel %post devel
/sbin/ldconfig || : /sbin/ldconfig || :
@ -386,12 +366,13 @@ applications for TDE.
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .xdg_path %patch1 -p1 -b .xdg
%patch2 -p1 -b .cups_by_default %patch101 -p1 -b .xdg_path
%patch102 -p1 -b .cups_by_default
%build %build
unset QTDIR || : ; . /etc/profile.d/qt3.sh unset QTDIR; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}" export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
@ -412,6 +393,12 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DBIN_INSTALL_DIR="%{tde_bindir}" \ -DBIN_INSTALL_DIR="%{tde_bindir}" \
-DDOC_INSTALL_DIR="%{tde_docdir}" \ -DDOC_INSTALL_DIR="%{tde_docdir}" \
@ -419,7 +406,8 @@ cd build
-DLIB_INSTALL_DIR="%{tde_libdir}" \ -DLIB_INSTALL_DIR="%{tde_libdir}" \
-DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
-DCMAKE_SKIP_RPATH=OFF \ \
-DWITH_ALL_OPTIONS=ON \
-DWITH_ARTS=ON \ -DWITH_ARTS=ON \
-DWITH_ALSA=ON \ -DWITH_ALSA=ON \
-DWITH_LIBART=ON \ -DWITH_LIBART=ON \
@ -434,9 +422,9 @@ cd build
%{?with_avahi:-DWITH_AVAHI=ON} \ %{?with_avahi:-DWITH_AVAHI=ON} \
%{?!with_pcre:-DWITH_PCRE=OFF} \ %{?!with_pcre:-DWITH_PCRE=OFF} \
%{?!with_inotify:-DWITH_INOTIFY=OFF} \ %{?!with_inotify:-DWITH_INOTIFY=OFF} \
%{?!with_gamin:-DWITH_GAMIN=OFF} %{?with_gamin:-DWITH_GAMIN=ON} \ %{?!with_gamin:-DWITH_GAMIN=OFF} \
-DWITH_SUDO_KDESU_BACKEND=OFF \ -DWITH_SUDO_KDESU_BACKEND=OFF \
%{?with_lzma:-DWITH_LZMA=ON} %{?!with_lzma:-DWITH_LZMA=OFF} \ %{?!with_lzma:-DWITH_LZMA=OFF} \
-DWITH_ASPELL=ON \ -DWITH_ASPELL=ON \
%{?with_hspell:-DWITH_HSPELL=ON} \ %{?with_hspell:-DWITH_HSPELL=ON} \
.. ..
@ -455,27 +443,21 @@ cat <<EOF >"%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf"
EOF EOF
%endif %endif
# Moves the XDG configuration files to TDE directory # Use system-wide CA certificate
%if "%{tde_prefix}" != "/usr" %if "%{?cacert}" != ""
%__install -p -D -m644 \ %__rm -f "%{?buildroot}%{tde_datadir}/apps/kssl/ca-bundle.crt"
"%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \ %__ln_s "%{cacert}" "%{?buildroot}%{tde_datadir}/apps/kssl/ca-bundle.crt"
"%{?buildroot}%{tde_prefix}/etc/xdg/menus/kde-applications.menu"
%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
%else
%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu"
%endif %endif
# Makes 'default.kde' theme an alternative with 'crystalsvg-updated'
%__rm -f "%{?buildroot}%{tde_datadir}/icons/default.kde"
%__ln_s "%{_sysconfdir}/alternatives/default.kde" "%{?buildroot}%{tde_datadir}/icons/default.kde"
%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives"
%__ln_s "%{tde_datadir}/icons/crystalsvg" "%{?buildroot}%{_sysconfdir}/alternatives/default.kde"
%clean %clean
%__rm -rf "%{?buildroot}" %__rm -rf "%{?buildroot}"
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
- Fix XDG menu
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -0,0 +1,250 @@
diff -Nuar trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/kde-multimedia-music.directory trinity-tdemultimedia-3.5.13.2/kappfinder-data/kde-multimedia-music.directory
--- trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/kde-multimedia-music.directory 2013-07-28 16:37:31.827222470 +0200
+++ trinity-tdemultimedia-3.5.13.2/kappfinder-data/kde-multimedia-music.directory 1970-01-01 01:00:00.000000000 +0100
@@ -1,89 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Music
-Name[br]=Sonerezh
-Name[bs]=Muzika
-Name[ca]=Música
-Name[da]=Musik
-Name[el]=Μουσική
-Name[eo]=Muziko
-Name[es]=Musica
-Name[et]=Muusika
-Name[eu]=Musika
-Name[fa]=موسیقی
-Name[fi]=Musiikki
-Name[fr]=Musique
-Name[ga]=Ceol
-Name[gl]=Música
-Name[he]=מוזיקה
-Name[hu]=Zene
-Name[is]=Tónlist
-Name[it]=Musica
-Name[ja]=音楽
-Name[km]=តន្ត្រី
-Name[lt]=Muzika
-Name[nb]=Musikk
-Name[ne]=सङ्गित
-Name[nl]=Muziek
-Name[nn]=Musikk
-Name[pa]=ਸੰਗੀਤ
-Name[pl]=Muzyka
-Name[pt]=Música
-Name[pt_BR]=Música
-Name[sk]=Hudba
-Name[sl]=Glasba
-Name[sr]=Музика
-Name[sr@Latn]=Muzika
-Name[sv]=Musik
-Name[tr]=Müzik
-Name[uk]=Музика
-Name[zh_CN]=音乐
-Name[zh_HK]=音樂
-GenericName=Professional Audio
-GenericName[bg]=Професионално аудио
-GenericName[bs]=Profesionalni audio
-GenericName[ca]=Àudio professional
-GenericName[cs]=Profesionální zvuk
-GenericName[da]=Professionel lyd
-GenericName[el]=Επαγγελματικός ήχος
-GenericName[es]=Audio profesional
-GenericName[et]=Professionaalne audio
-GenericName[eu]=Audio profesionala
-GenericName[fa]=صوتی حرفه‌ای
-GenericName[fi]=Ammattilaisääni
-GenericName[fr]=Audio professionnel
-GenericName[ga]=Fuaim Phroifisiúnta
-GenericName[gl]=Son Profesional
-GenericName[he]=שמע מקצועי
-GenericName[hu]=Professzinonális minőségű hanganyag
-GenericName[is]=Atvinnumannahljóð
-GenericName[it]=Audio professionale
-GenericName[ja]=プロフェッショナルオーディオ
-GenericName[kk]=Кәсіпқой Аудио
-GenericName[km]=អូឌីយ៉ូ​ឯកទេស
-GenericName[ko]=전문가 오디오
-GenericName[lt]=Profesionalus audio
-GenericName[mk]=Професионално аудио
-GenericName[nb]=Profesjonell lyd
-GenericName[nds]=Profeschonell Klang
-GenericName[ne]=पेशागत अडियो
-GenericName[nl]=Professionele audio
-GenericName[nn]=Profesjonell lydhandsaming
-GenericName[pa]=ਵਪਾਰਕ ਆਡੀਓ
-GenericName[pl]=Profesjonalne audio
-GenericName[pt]=Áudio Profissional
-GenericName[pt_BR]=Áudio Profissional
-GenericName[ru]=Профессиональное аудио
-GenericName[sk]=Profesionálne audio
-GenericName[sl]=Profesionalni zvok
-GenericName[sr]=Професионални звук
-GenericName[sr@Latn]=Profesionalni zvuk
-GenericName[sv]=Professionellt ljud
-GenericName[th]=โปรแกรมจัดการเสียงสำหรับมืออาชีพ
-GenericName[tr]=Profesyonel Ses
-GenericName[uk]=Професійне аудіо
-GenericName[zh_CN]=专业音频
-GenericName[zh_HK]=專業音效
-GenericName[zh_TW]=專業音效
-Icon=package
-
diff -Nuar trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/kde-multimedia-music.menu trinity-tdemultimedia-3.5.13.2/kappfinder-data/kde-multimedia-music.menu
--- trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/kde-multimedia-music.menu 2013-07-28 16:37:31.827222470 +0200
+++ trinity-tdemultimedia-3.5.13.2/kappfinder-data/kde-multimedia-music.menu 1970-01-01 01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
- <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
- "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
-
-<Menu>
-<Name>Applications</Name>
-<Menu>
- <Name>Multimedia</Name>
- <Exclude>
- <Category>Music</Category>
- </Exclude>
- <Menu>
- <Name>Jack and More</Name>
- <Directory>kde-multimedia-music.directory</Directory>
- <Include>
- <And>
- <Category>Music</Category>
- </And>
- </Include>
- </Menu>
-</Menu>
-</Menu>
diff -Nuar trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/Makefile.am trinity-tdemultimedia-3.5.13.2/kappfinder-data/Makefile.am
--- trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/Makefile.am 2013-07-28 16:37:31.827222470 +0200
+++ trinity-tdemultimedia-3.5.13.2/kappfinder-data/Makefile.am 2013-07-28 16:38:07.202464444 +0200
@@ -22,8 +22,8 @@
EXTRA_DIST = $(kappfinder_multimedia_data_DATA)
-xdg_directory_DATA = kde-multimedia-music.directory
+xdg_directory_DATA = tde-multimedia-music.directory
-xdg_mergedmenu_DATA = kde-multimedia-music.menu
+xdg_mergedmenu_DATA = tde-multimedia-music.menu
xdg_mergedmenudir = $(xdg_menudir)/applications-merged
diff -Nuar trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/tde-multimedia-music.directory trinity-tdemultimedia-3.5.13.2/kappfinder-data/tde-multimedia-music.directory
--- trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/tde-multimedia-music.directory 1970-01-01 01:00:00.000000000 +0100
+++ trinity-tdemultimedia-3.5.13.2/kappfinder-data/tde-multimedia-music.directory 2013-06-07 19:26:15.000000000 +0200
@@ -0,0 +1,89 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Music
+Name[br]=Sonerezh
+Name[bs]=Muzika
+Name[ca]=Música
+Name[da]=Musik
+Name[el]=Μουσική
+Name[eo]=Muziko
+Name[es]=Musica
+Name[et]=Muusika
+Name[eu]=Musika
+Name[fa]=موسیقی
+Name[fi]=Musiikki
+Name[fr]=Musique
+Name[ga]=Ceol
+Name[gl]=Música
+Name[he]=מוזיקה
+Name[hu]=Zene
+Name[is]=Tónlist
+Name[it]=Musica
+Name[ja]=音楽
+Name[km]=តន្ត្រី
+Name[lt]=Muzika
+Name[nb]=Musikk
+Name[ne]=सङ्गित
+Name[nl]=Muziek
+Name[nn]=Musikk
+Name[pa]=ਸੰਗੀਤ
+Name[pl]=Muzyka
+Name[pt]=Música
+Name[pt_BR]=Música
+Name[sk]=Hudba
+Name[sl]=Glasba
+Name[sr]=Музика
+Name[sr@Latn]=Muzika
+Name[sv]=Musik
+Name[tr]=Müzik
+Name[uk]=Музика
+Name[zh_CN]=音乐
+Name[zh_HK]=音樂
+GenericName=Professional Audio
+GenericName[bg]=Професионално аудио
+GenericName[bs]=Profesionalni audio
+GenericName[ca]=Àudio professional
+GenericName[cs]=Profesionální zvuk
+GenericName[da]=Professionel lyd
+GenericName[el]=Επαγγελματικός ήχος
+GenericName[es]=Audio profesional
+GenericName[et]=Professionaalne audio
+GenericName[eu]=Audio profesionala
+GenericName[fa]=صوتی حرفه‌ای
+GenericName[fi]=Ammattilaisääni
+GenericName[fr]=Audio professionnel
+GenericName[ga]=Fuaim Phroifisiúnta
+GenericName[gl]=Son Profesional
+GenericName[he]=שמע מקצועי
+GenericName[hu]=Professzinonális minőségű hanganyag
+GenericName[is]=Atvinnumannahljóð
+GenericName[it]=Audio professionale
+GenericName[ja]=プロフェッショナルオーディオ
+GenericName[kk]=Кәсіпқой Аудио
+GenericName[km]=អូឌីយ៉ូ​ឯកទេស
+GenericName[ko]=전문가 오디오
+GenericName[lt]=Profesionalus audio
+GenericName[mk]=Професионално аудио
+GenericName[nb]=Profesjonell lyd
+GenericName[nds]=Profeschonell Klang
+GenericName[ne]=पेशागत अडियो
+GenericName[nl]=Professionele audio
+GenericName[nn]=Profesjonell lydhandsaming
+GenericName[pa]=ਵਪਾਰਕ ਆਡੀਓ
+GenericName[pl]=Profesjonalne audio
+GenericName[pt]=Áudio Profissional
+GenericName[pt_BR]=Áudio Profissional
+GenericName[ru]=Профессиональное аудио
+GenericName[sk]=Profesionálne audio
+GenericName[sl]=Profesionalni zvok
+GenericName[sr]=Професионални звук
+GenericName[sr@Latn]=Profesionalni zvuk
+GenericName[sv]=Professionellt ljud
+GenericName[th]=โปรแกรมจัดการเสียงสำหรับมืออาชีพ
+GenericName[tr]=Profesyonel Ses
+GenericName[uk]=Професійне аудіо
+GenericName[zh_CN]=专业音频
+GenericName[zh_HK]=專業音效
+GenericName[zh_TW]=專業音效
+Icon=package
+
diff -Nuar trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/tde-multimedia-music.menu trinity-tdemultimedia-3.5.13.2/kappfinder-data/tde-multimedia-music.menu
--- trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/tde-multimedia-music.menu 1970-01-01 01:00:00.000000000 +0100
+++ trinity-tdemultimedia-3.5.13.2/kappfinder-data/tde-multimedia-music.menu 2013-07-28 16:38:14.396310283 +0200
@@ -0,0 +1,21 @@
+ <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
+ "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
+
+<Menu>
+<Name>Applications</Name>
+<Menu>
+ <Name>Multimedia</Name>
+ <Exclude>
+ <Category>Music</Category>
+ </Exclude>
+ <Menu>
+ <Name>Jack and More</Name>
+ <Directory>tde-multimedia-music.directory</Directory>
+ <Include>
+ <And>
+ <Category>Music</Category>
+ </And>
+ </Include>
+ </Menu>
+</Menu>
+</Menu>

@ -3,7 +3,9 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables %define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -25,8 +27,8 @@
Name: trinity-tdemultimedia Name: trinity-tdemultimedia
Summary: Multimedia applications for the Trinity Desktop Environment (TDE) Summary: Multimedia applications for the Trinity Desktop Environment (TDE)
Version: 3.5.13.2 Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
License: GPLv2 License: GPLv2
Group: Applications/Multimedia Group: Applications/Multimedia
@ -39,8 +41,8 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Patch0: tdemultimedia-3.5.13.2-ftbfs.patch Patch0: tdemultimedia-3.5.13.2-ftbfs.patch
Patch1: tdemultimedia-3.5.13.2-fix_xdg_menu.patch
Obsoletes: trinity-kdemultimedia < %{version}-%{release} Obsoletes: trinity-kdemultimedia < %{version}-%{release}
Provides: trinity-kdemultimedia = %{version}-%{release} Provides: trinity-kdemultimedia = %{version}-%{release}
@ -53,17 +55,15 @@ Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release}
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
BuildRequires: qt3-devel BuildRequires: qt3-devel >= 3.3.8.d
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{version} BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
%if "%{?_with_akode}" != "" %if "%{?_with_akode}" != ""
BuildRequires: trinity-akode-devel BuildRequires: trinity-akode-devel
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
BuildRequires: trinity-akode-libmad BuildRequires: trinity-akode-libmad
%endif %endif
%endif
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: zlib-devel BuildRequires: zlib-devel
@ -567,8 +567,8 @@ This package provides data on multimedia applications for kappfinder.
%files kappfinder-data %files kappfinder-data
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_datadir}/apps/kappfinder/* %{tde_datadir}/apps/kappfinder/*
%{tde_datadir}/desktop-directories/[kt]de-multimedia-music.directory %{tde_datadir}/desktop-directories/tde-multimedia-music.directory
%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu %{_sysconfdir}/xdg/menus/applications-merged/tde-multimedia-music.menu
########## ##########
@ -671,8 +671,8 @@ This package includes TDE's dockable sound mixer applet.
%{tde_tdelibdir}/kmix_panelapplet.so %{tde_tdelibdir}/kmix_panelapplet.so
%{tde_tdelibdir}/kmixctrl.la %{tde_tdelibdir}/kmixctrl.la
%{tde_tdelibdir}/kmixctrl.so %{tde_tdelibdir}/kmixctrl.so
%{tde_libdir}/lib[kt]deinit_kmix.so %{tde_libdir}/libkdeinit_kmix.so
%{tde_libdir}/lib[kt]deinit_kmixctrl.so %{tde_libdir}/libkdeinit_kmixctrl.so
%{tde_tdeappdir}/kmix.desktop %{tde_tdeappdir}/kmix.desktop
%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop %{tde_datadir}/apps/kicker/applets/kmixapplet.desktop
%{tde_datadir}/apps/kmix/ %{tde_datadir}/apps/kmix/
@ -725,7 +725,7 @@ This is a sound recording utility for Trinity.
%{tde_tdelibdir}/libkrecexport_ogg.so %{tde_tdelibdir}/libkrecexport_ogg.so
%{tde_tdelibdir}/libkrecexport_wave.la %{tde_tdelibdir}/libkrecexport_wave.la
%{tde_tdelibdir}/libkrecexport_wave.so %{tde_tdelibdir}/libkrecexport_wave.so
%{tde_libdir}/lib[kt]deinit_krec.so %{tde_libdir}/libkdeinit_krec.so
%{tde_tdeappdir}/krec.desktop %{tde_tdeappdir}/krec.desktop
%{tde_datadir}/apps/krec/ %{tde_datadir}/apps/krec/
%{tde_datadir}/icons/hicolor/*/apps/krec.png %{tde_datadir}/icons/hicolor/*/apps/krec.png
@ -1020,7 +1020,7 @@ formats supported by your installation of aRts (including aRts plugins).
%{tde_tdelibdir}/noatunsimple.so %{tde_tdelibdir}/noatunsimple.so
%{tde_libdir}/libartseffects.la %{tde_libdir}/libartseffects.la
%{tde_libdir}/libartseffects.so %{tde_libdir}/libartseffects.so
%{tde_libdir}/lib[kt]deinit_noatun.so %{tde_libdir}/libkdeinit_noatun.so
%{tde_libdir}/libnoatun.so.* %{tde_libdir}/libnoatun.so.*
%{tde_libdir}/libnoatunarts.la %{tde_libdir}/libnoatunarts.la
%{tde_libdir}/libnoatunarts.so %{tde_libdir}/libnoatunarts.so
@ -1105,10 +1105,10 @@ noatun plugins.
%{tde_libdir}/libaudiocdplugins.so %{tde_libdir}/libaudiocdplugins.so
%{tde_libdir}/libkcddb.la %{tde_libdir}/libkcddb.la
%{tde_libdir}/libkcddb.so %{tde_libdir}/libkcddb.so
%{tde_libdir}/lib[kt]deinit_kmix.la %{tde_libdir}/libkdeinit_kmix.la
%{tde_libdir}/lib[kt]deinit_kmixctrl.la %{tde_libdir}/libkdeinit_kmixctrl.la
%{tde_libdir}/lib[kt]deinit_krec.la %{tde_libdir}/libkdeinit_krec.la
%{tde_libdir}/lib[kt]deinit_noatun.la %{tde_libdir}/libkdeinit_noatun.la
%{tde_libdir}/libkmidlib.la %{tde_libdir}/libkmidlib.la
%{tde_libdir}/libkmidlib.so %{tde_libdir}/libkmidlib.so
%{tde_libdir}/libmpeg.la %{tde_libdir}/libmpeg.la
@ -1139,8 +1139,8 @@ noatun plugins.
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch0 -p1 -b .ftbfs %patch0 -p1 -b .ftbfs
%patch1 -p1 -b .xdgmenu
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -1168,31 +1168,33 @@ if [ -d "/usr/X11R6" ]; then
fi fi
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \ --bindir=%{tde_bindir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--enable-new-ldflags \ \
--disable-dependency-tracking \ --disable-dependency-tracking \
--with-cdparanoia \ --disable-debug \
--with-flac \ --enable-new-ldflags \
--with-theora \ --enable-final \
--with-vorbis \ --enable-closure \
--with-alsa \ --disable-rpath \
--with-gstreamer \ \
--with-lame \ --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \
--disable-debug \ \
--disable-warnings \ --with-cdparanoia \
--enable-final \ --with-flac \
--disable-rpath \ --with-theora \
--with-vorbis \
--with-alsa \
--with-gstreamer \
--with-lame \
%{?_with_akode} %{!?_with_akode:--without-akode} \ %{?_with_akode} %{!?_with_akode:--without-akode} \
%{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \
%{?_with_taglib} %{!?_with_taglib:--without-taglib} \ %{?_with_taglib} %{!?_with_taglib:--without-taglib} \
%{?with_xine:--with-xine} %{!?with_xine:--without-xine} \ %{?with_xine:--with-xine} %{!?with_xine:--without-xine}
--with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \
--enable-closure
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -1205,35 +1207,16 @@ export PATH="%{tde_bindir}:${PATH}"
# don't make these world-writeable # don't make these world-writeable
chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/* chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/*
# locale's
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 ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
# Moves the XDG configuration files to TDE directory
%__install -p -D -m644 \
"%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/kde-multimedia-music.menu" \
"%{?buildroot}%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu"
%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-3
- Rebuild with NDEBUG option
- Fix XDG menu
* Mon Jun 17 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2 * Mon Jun 17 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Enable "LAME" support - Enable "LAME" support

@ -6,7 +6,9 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables %define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -32,8 +34,8 @@
%endif %endif
Name: trinity-tdenetwork Name: trinity-tdenetwork
Version: 3.5.13.2 Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
Summary: Trinity Desktop Environment - Network Applications Summary: Trinity Desktop Environment - Network Applications
Vendor: Trinity Project Vendor: Trinity Project
@ -49,8 +51,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Source1: kppp.pamd Source1: kppp.pamd
Source2: ktalk Source2: ktalk
Source4: lisarc
Source5: lisa.redhat
# RedHat/Fedora legacy patches # RedHat/Fedora legacy patches
Patch3: kdenetwork-3.5.8-kppp.patch Patch3: kdenetwork-3.5.8-kppp.patch
@ -65,12 +65,17 @@ Patch1: kdenetwork-3.5.13-missing_ldflags.patch
Patch201: kdenetwork-3.5.13.1-fix_rhel4_libraries.patch Patch201: kdenetwork-3.5.13.1-fix_rhel4_libraries.patch
Patch202: tdenetwork-3.5.13.2-fix_conflicting_definitions.patch Patch202: tdenetwork-3.5.13.2-fix_conflicting_definitions.patch
BuildRequires: cmake >= 2.8
BuildRequires: gettext BuildRequires: gettext
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{version}
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{version}
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: openssl-devel BuildRequires: openssl-devel
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: sqlite3-devel
%else
BuildRequires: sqlite-devel BuildRequires: sqlite-devel
%endif
BuildRequires: gnutls-devel BuildRequires: gnutls-devel
# GADU support # GADU support
@ -86,6 +91,10 @@ BuildRequires: libXtst-devel
BuildRequires: libXxf86vm-devel BuildRequires: libXxf86vm-devel
%endif %endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
BuildRequires: libxtst-devel
%endif
# Wifi support # Wifi support
%if "%{?_with_wifi:1}" == "1" %if "%{?_with_wifi:1}" == "1"
%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 %if 0%{?fedora} >= 6 || 0%{?rhel} >= 5
@ -148,9 +157,9 @@ BuildRequires: meanwhile-devel
%endif %endif
# ORTP support # ORTP support
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 #%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildRequires: ortp-devel #BuildRequires: ortp-devel
%endif #%endif
# SPEEX support # SPEEX support
%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} %if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion}
@ -252,12 +261,12 @@ update-desktop-database 2> /dev/null || :
%package devel %package devel
Summary: Development files for the Trinity network module Summary: Development files for the Trinity network module
Group: Development/Libraries Group: Development/Libraries
Requires: trinity-tdenetwork = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: trinity-kdict = %{version}-%{release} Requires: trinity-kdict = %{version}-%{release}
Requires: trinity-kopete = %{version}-%{release} Requires: trinity-kopete = %{version}-%{release}
Requires: trinity-ksirc = %{version}-%{release} Requires: trinity-ksirc = %{version}-%{release}
Requires: trinity-librss = %{version}-%{release} Requires: trinity-librss = %{version}-%{release}
Requires: trinity-tdelibs-devel Requires: trinity-tdelibs-devel >= %{tde_version}
Obsoletes: trinity-kdenetwork-devel < %{version}-%{release} Obsoletes: trinity-kdenetwork-devel < %{version}-%{release}
Provides: trinity-kdenetwork-devel = %{version}-%{release} Provides: trinity-kdenetwork-devel = %{version}-%{release}
@ -775,11 +784,11 @@ Servers using RDP.
%{tde_bindir}/krdc %{tde_bindir}/krdc
%{tde_tdeappdir}/krdc.desktop %{tde_tdeappdir}/krdc.desktop
%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop %{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop
%{tde_datadir}/apps/krdc %{tde_datadir}/apps/krdc/
%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png %{tde_datadir}/icons/crystalsvg/*/apps/krdc.png
%{tde_datadir}/services/rdp.protocol %{tde_datadir}/services/rdp.protocol
%{tde_datadir}/services/vnc.protocol %{tde_datadir}/services/vnc.protocol
%{tde_tdedocdir}/HTML/en/krdc %{tde_tdedocdir}/HTML/en/krdc/
%post -n trinity-krdc %post -n trinity-krdc
for f in crystalsvg ; do for f in crystalsvg ; do
@ -825,7 +834,7 @@ task.
%{tde_datadir}/services/kinetd_krfb.desktop %{tde_datadir}/services/kinetd_krfb.desktop
%{tde_datadir}/services/kinetd_krfb_httpd.desktop %{tde_datadir}/services/kinetd_krfb_httpd.desktop
%{tde_datadir}/servicetypes/kinetdmodule.desktop %{tde_datadir}/servicetypes/kinetdmodule.desktop
%{tde_tdedocdir}/HTML/en/krfb %{tde_tdedocdir}/HTML/en/krfb/
%post -n trinity-krfb %post -n trinity-krfb
for f in crystalsvg locolor ; do for f in crystalsvg locolor ; do
@ -983,13 +992,6 @@ automatically when needed.
%package -n trinity-lisa %package -n trinity-lisa
Summary: LAN information server for Trinity Summary: LAN information server for Trinity
Group: Applications/Internet Group: Applications/Internet
%if 0%{?suse_version}
Requires(preun): aaa_base
Requires(post): aaa_base
%else
Requires(preun): chkconfig
Requires(post): chkconfig
%endif
%description -n trinity-lisa %description -n trinity-lisa
LISa is intended to provide TDE with a kind of "network neighborhood" LISa is intended to provide TDE with a kind of "network neighborhood"
@ -997,8 +999,6 @@ but relying only on the TCP/IP protocol.
%files -n trinity-lisa %files -n trinity-lisa
%defattr(-,root,root,-) %defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/lisarc*
%config(noreplace) %{_initrddir}/lisa
%{tde_tdelibdir}/kcm_lanbrowser.la %{tde_tdelibdir}/kcm_lanbrowser.la
%{tde_tdelibdir}/kcm_lanbrowser.so %{tde_tdelibdir}/kcm_lanbrowser.so
%{tde_tdelibdir}/kio_lan.la %{tde_tdelibdir}/kio_lan.la
@ -1018,20 +1018,15 @@ but relying only on the TCP/IP protocol.
%{tde_bindir}/reslisa %{tde_bindir}/reslisa
%post -n trinity-lisa %post -n trinity-lisa
/sbin/chkconfig --add lisa ||:
update-desktop-database 2> /dev/null || : update-desktop-database 2> /dev/null || :
%postun -n trinity-lisa %postun -n trinity-lisa
if [ $1 -eq 0 ]; then
/sbin/service lisa stop > /dev/null 2>&1 ||:
/sbin/chkconfig --del lisa ||:
fi
update-desktop-database 2> /dev/null || : update-desktop-database 2> /dev/null || :
########## ##########
%package -n trinity-kdnssd %package -n trinity-kdnssd
Summary: Zeroconf support for KDE Summary: Zeroconf support for TDE
Group: Applications/Internet Group: Applications/Internet
%description -n trinity-kdnssd %description -n trinity-kdnssd
@ -1101,10 +1096,17 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DBIN_INSTALL_DIR=%{tde_bindir} \ -DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
\
-DWITH_JINGLE=ON \ -DWITH_JINGLE=ON \
%{?with_speex:-DWITH_SPEEX=ON} \ %{?with_speex:-DWITH_SPEEX=ON} \
-DWITH_WEBCAM=ON \ -DWITH_WEBCAM=ON \
@ -1128,33 +1130,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build %__make install DESTDIR=%{buildroot} -C build
## 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
# Show only in KDE, FIXME, need to re-evaluate these -- Rex
for i in fileshare kcmkrfb kcmktalkd kcmwifi krfb kppp kppplogview \
kwifimanager kget knewsticker ksirc kdict ; do
if [ -f %{buildroot}%{tde_tdeappdir}/$i.desktop ] ; then
echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop
fi
done
%if 0%{?with_consolehelper} %if 0%{?with_consolehelper}
# Run kppp through consolehelper, and rename it to 'kppp3' # Run kppp through consolehelper, and rename it to 'kppp3'
%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 %__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3
@ -1177,15 +1152,6 @@ EOF
# ktalk # ktalk
%__install -p -m 0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xinetd.d/ktalk %__install -p -m 0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xinetd.d/ktalk
# Add lisa startup script
%__install -p -m 0644 -D %{SOURCE4} %{buildroot}%{_sysconfdir}/lisarc
%__install -p -m 0755 -D %{SOURCE5} %{buildroot}%{_initrddir}/lisa
# RHEL 5: Avoids conflict with 'kdenetwork'
%if 0%{?rhel} == 5
%__mv -f %{buildroot}%{_sysconfdir}/lisarc %{buildroot}%{_sysconfdir}/lisarc.tde
%endif
# Avoids conflict with trinity-kvirc # Avoids conflict with trinity-kvirc
%__mv -f %{buildroot}%{tde_datadir}/services/irc.protocol %{buildroot}%{tde_datadir}/apps/kopete/ %__mv -f %{buildroot}%{tde_datadir}/services/irc.protocol %{buildroot}%{tde_datadir}/apps/kopete/
@ -1195,5 +1161,9 @@ EOF
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
- Disable 'lisa' service
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -3,8 +3,9 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables %define tde_version 3.5.13.2
BuildRequires: cmake >= 2.8
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -29,8 +30,8 @@ BuildRequires: gnokii-devel
Name: trinity-tdepim Name: trinity-tdepim
Version: 3.5.13.2 Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Group: Applications/Productivity Group: Applications/Productivity
@ -47,12 +48,13 @@ Patch14: kdepim-3.5.13-missing_ldflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{version} BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-libcaldav-devel BuildRequires: trinity-libcaldav-devel
BuildRequires: trinity-libcarddav-devel BuildRequires: trinity-libcarddav-devel
BuildRequires: cmake >= 2.8
BuildRequires: gpgme-devel BuildRequires: gpgme-devel
BuildRequires: libgpg-error-devel BuildRequires: libgpg-error-devel
BuildRequires: flex BuildRequires: flex
@ -2187,6 +2189,11 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch14 -p1 -b .ldflags %patch14 -p1 -b .ldflags
# Fix 'ical2vcal' contains '/bin/perl' instead of '/usr/bin/perl'
if [ -x /usr/bin/perl ]; then
%__sed -i "korganizer/ical2vcal.in" -e "s|@PERL@|/usr/bin/perl|"
fi
%build %build
unset QTDIR || : ; . /etc/profile.d/qt3.sh unset QTDIR || : ; . /etc/profile.d/qt3.sh
@ -2206,12 +2213,18 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DBIN_INSTALL_DIR=%{tde_bindir} \ -DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \ \
-DWITH_ARTS=ON \ -DWITH_ARTS=ON \
-DWITH_SASL=ON \ -DWITH_SASL=ON \
-DWITH_NEWDISTRLISTS=ON \ -DWITH_NEWDISTRLISTS=ON \
@ -2247,5 +2260,8 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -3,7 +3,9 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables %define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -18,9 +20,9 @@
Name: trinity-tdesdk Name: trinity-tdesdk
Summary: The KDE Software Development Kit (SDK) Summary: The Trinity Software Development Kit (SDK)
Version: 3.5.13.2 Version: %{tde_version}
Release: 1%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPLv2 License: GPLv2
Group: User Interface/Desktops Group: User Interface/Desktops
@ -31,7 +33,7 @@ Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: libtool BuildRequires: libtool
@ -1060,7 +1062,7 @@ Provides: trinity-kdesdk-devel = %{version}-%{release}
%prep %prep
%setup -q %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%build %build
@ -1081,13 +1083,19 @@ cd build
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DBIN_INSTALL_DIR=%{tde_bindir} \ -DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \
-DMAN_INSTALL_DIR=%{tde_mandir} \ -DMAN_INSTALL_DIR=%{tde_mandir} \
-DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \ \
-DWITH_DBSEARCHENGINE=ON \ -DWITH_DBSEARCHENGINE=ON \
-DWITH_KCAL=ON \ -DWITH_KCAL=ON \
-DBUILD_ALL=ON \ -DBUILD_ALL=ON \
@ -1145,12 +1153,15 @@ fi
# Removes useless stuff # Removes useless stuff
%__rm -f %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/debianrules %__rm -f %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/debianrules
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -3,7 +3,9 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables %define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -19,8 +21,8 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-tdeutils Name: trinity-tdeutils
Version: 3.5.13.2 Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: TDE Utilities Summary: TDE Utilities
Group: Applications/System Group: Applications/System
@ -989,6 +991,12 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DBIN_INSTALL_DIR="%{tde_bindir}" \ -DBIN_INSTALL_DIR="%{tde_bindir}" \
-DDOC_INSTALL_DIR="%{tde_docdir}" \ -DDOC_INSTALL_DIR="%{tde_docdir}" \
@ -996,7 +1004,7 @@ cd build
-DLIB_INSTALL_DIR="%{tde_libdir}" \ -DLIB_INSTALL_DIR="%{tde_libdir}" \
-DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
-DCMAKE_SKIP_RPATH=OFF \ \
-DWITH_DPMS=ON \ -DWITH_DPMS=ON \
%{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \ %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \
-DWITH_ASUS=ON \ -DWITH_ASUS=ON \
@ -1021,31 +1029,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot} -C build %__make install DESTDIR=%{?buildroot} -C build
## 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
pushd $lang_dir/kcontrol
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common
done
popd
fi
done
fi
%if 0%{?build_klaptopdaemon} %if 0%{?build_klaptopdaemon}
### Use consolehelper for 'klaptop_acpi_helper' ### Use consolehelper for 'klaptop_acpi_helper'
%if 0%{?with_consolehelper} %if 0%{?with_consolehelper}
@ -1068,7 +1051,7 @@ fi
%else %else
# Klaptop's documentation is installed even if we did not build it ... # Klaptop's documentation is installed even if we did not build the program ...
%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/ %__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/
%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/ %__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/
%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/laptop/ %__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/laptop/
@ -1082,5 +1065,8 @@ fi
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -0,0 +1,30 @@
diff -Nuar trinity-tdevelop-3.5.13.2.ORI/CMakeLists.txt trinity-tdevelop-3.5.13.2/CMakeLists.txt
--- trinity-tdevelop-3.5.13.2.ORI/CMakeLists.txt 2013-07-28 16:47:38.143269451 +0200
+++ trinity-tdevelop-3.5.13.2/CMakeLists.txt 2013-07-28 16:48:05.207700906 +0200
@@ -142,7 +142,7 @@
DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES
- kde-development-kdevelop.directory
+ tde-development-kdevelop.directory
DESTINATION ${XDG_DIRECTORY_INSTALL_DIR} )
install( FILES
diff -Nuar trinity-tdevelop-3.5.13.2.ORI/kde-development-kdevelop.directory trinity-tdevelop-3.5.13.2/kde-development-kdevelop.directory
--- trinity-tdevelop-3.5.13.2.ORI/kde-development-kdevelop.directory 2013-07-28 16:47:38.101270333 +0200
+++ trinity-tdevelop-3.5.13.2/kde-development-kdevelop.directory 1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=KDevelop
-Name[ne]=केडीई विकास
-Icon=kdevelop
diff -Nuar trinity-tdevelop-3.5.13.2.ORI/tde-development-kdevelop.directory trinity-tdevelop-3.5.13.2/tde-development-kdevelop.directory
--- trinity-tdevelop-3.5.13.2.ORI/tde-development-kdevelop.directory 1970-01-01 01:00:00.000000000 +0100
+++ trinity-tdevelop-3.5.13.2/tde-development-kdevelop.directory 2013-06-07 19:41:29.000000000 +0200
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=KDevelop
+Name[ne]=केडीई विकास
+Icon=kdevelop

@ -3,7 +3,9 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables %define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -19,8 +21,8 @@
Name: trinity-tdevelop Name: trinity-tdevelop
Summary: Integrated Development Environment for C++/C Summary: Integrated Development Environment for C++/C
Version: 3.5.13.2 Version: %{tde_version}
Release: 1%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPLv2 License: GPLv2
Group: Development/Tools Group: Development/Tools
@ -32,17 +34,17 @@ URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2 Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2
# [c_cpp_ref] Fix library directories detection # [c_cpp_ref] Fix library directories detection
Patch1: c_cpp_reference-2.0.2-config.patch Patch1: c_cpp_reference-2.0.2-config.patch
# [kdevelop] fix FTBFS # [kdevelop] fix FTBFS
Patch2: kdevelop-3.5.13-kdevdesigner-ftbfs.patch Patch2: kdevelop-3.5.13-kdevdesigner-ftbfs.patch
# [kdevelop] Fix XDG menu
Patch3: tdevelop-3.5.13.2-fix_xdg_menu.patch
# [c_cpp_ref] Fix installation of 'asm' files # [c_cpp_ref] Fix installation of 'asm' files
Patch4: c_cpp_reference-2.0.2-install.patch Patch4: c_cpp_reference-2.0.2-install.patch
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
@ -51,13 +53,13 @@ Requires: make
Requires: perl Requires: perl
Requires: flex >= 2.5.4 Requires: flex >= 2.5.4
%if 0%{?rhel} || 0%{?fedora} %if 0%{?rhel} || 0%{?fedora}
Requires: qt3-designer Requires: qt3-designer >= 3.3.8.d
%endif %endif
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
Requires: %{_lib}qt3-devel Requires: %{_lib}qt3-devel >= 3.3.8.d
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
Requires: qt3-devel Requires: qt3-devel >= 3.3.8.d
%endif %endif
Requires: gettext Requires: gettext
Requires: ctags Requires: ctags
@ -71,7 +73,7 @@ BuildRequires: trinity-tdesdk-devel >= %{version}
BuildRequires: db4-devel BuildRequires: db4-devel
%endif %endif
BuildRequires: flex BuildRequires: flex
# FIXME: No CVS support in KDevelop? This is going to suck... # FIXME: No CVS support in tdevelop? This is going to suck...
# Requires kdesdk3. # Requires kdesdk3.
BuildRequires: subversion-devel BuildRequires: subversion-devel
BuildRequires: neon-devel BuildRequires: neon-devel
@ -444,7 +446,7 @@ individual needs.
%{tde_datadir}/apps/kio_pydoc/kde_pydoc.py* %{tde_datadir}/apps/kio_pydoc/kde_pydoc.py*
%{tde_datadir}/config/kdevassistantrc %{tde_datadir}/config/kdevassistantrc
%{tde_datadir}/config/kdeveloprc %{tde_datadir}/config/kdeveloprc
%{tde_datadir}/desktop-directories/kde-development-kdevelop.directory %{tde_datadir}/desktop-directories/tde-development-kdevelop.directory
%{tde_tdedocdir}/HTML/en/kdevelop/ %{tde_tdedocdir}/HTML/en/kdevelop/
%{tde_libdir}/libd.so.0 %{tde_libdir}/libd.so.0
%{tde_libdir}/libd.so.0.0.0 %{tde_libdir}/libd.so.0.0.0
@ -503,7 +505,7 @@ Provides: trinity-kdevelop-devel = %{version}-%{release}
%package libs %package libs
Summary: %{name} runtime libraries Summary: %{name} runtime libraries
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: trinity-kdelibs Requires: trinity-tdelibs >= %{tde_version}
# include to be paranoid, installing libs-only is still mostly untested -- Rex # include to be paranoid, installing libs-only is still mostly untested -- Rex
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -566,6 +568,7 @@ Provides: trinity-kdevelop-libs = %{version}-%{release}
%setup -q -a1 %setup -q -a1
%patch1 -p0 -b .config %patch1 -p0 -b .config
%patch2 -p1 %patch2 -p1
%patch3 -p1 -b .xdgmenu
%patch4 -p1 %patch4 -p1
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
@ -583,7 +586,7 @@ Provides: trinity-kdevelop-libs = %{version}-%{release}
%build %build
unset QTDIR || : ; . /etc/profile.d/qt3.sh unset QTDIR; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
@ -614,11 +617,17 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DBIN_INSTALL_DIR=%{tde_bindir} \ -DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \ \
-DWITH_BUILDTOOL_ALL=ON \ -DWITH_BUILDTOOL_ALL=ON \
-DWITH_LANGUAGE_ALL=ON \ -DWITH_LANGUAGE_ALL=ON \
-DWITH_VCS_ALL=OFF \ -DWITH_VCS_ALL=OFF \
@ -642,5 +651,8 @@ cd ..
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

Loading…
Cancel
Save