RPM Packaging: update packages for 3.5.13.2 under Fedora 19

pull/3/head
François Andriot 11 years ago
parent 9e497b5b5e
commit 3981ced036

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp abakus %define tde_pkg abakus
%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,10 +22,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: Calculator for TDE Summary: Calculator for TDE
Version: 0.91 Version: 0.91
Release: 5%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -36,12 +37,14 @@ 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 >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: bison BuildRequires: bison
@ -59,14 +62,13 @@ has the user-friendly menu options of a normal TDE application.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%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"
# Do not build against any "/usr" installed KDE # Do not build against any "/usr" installed KDE
export KDEDIR="%{tde_prefix}" export KDEDIR="%{tde_prefix}"
@ -82,6 +84,13 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DBUILD_ALL=ON \ -DBUILD_ALL=ON \
@ -119,7 +128,10 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%{tde_datadir}/applnk/Utilities/abakus.desktop %{tde_datadir}/applnk/Utilities/abakus.desktop
%changelog %changelog
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.91-6
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.91-5
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2
* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.91-4 * Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.91-4

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp adept %define tde_pkg adept
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: Package management suite for Trinity Summary: Package management suite for Trinity
Version: 2.1.3 Version: 2.1.3
Release: 1%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,11 +39,11 @@ URL: http://lpnotfr.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}-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
Requires: %{name}-manager = %{version}-%{release} Requires: %{name}-manager = %{version}-%{release}
@ -88,7 +89,7 @@ Besides these basic functions the following features are provided:
* Edit the list of used repositories (sources.list) * Edit the list of used repositories (sources.list)
* Configure packages through the debconf system * Configure packages through the debconf system
Please also install libtqt-perl if you want the KDE Debconf frontend Please also install libtqt-perl if you want the TDE Debconf frontend
to function. to function.
########## ##########
@ -100,7 +101,7 @@ Summary: simple user interface for application management (for Trinity)
%description installer %description installer
Adept Installer presents a list of applications available through the Adept Installer presents a list of applications available through the
Advanced Package Tool (APT). An application is considered a package Advanced Package Tool (APT). An application is considered a package
that contains a .desktop file for use with KDE, GNOME or other that contains a .desktop file for use with TDE, GNOME or other
desktop environment. desktop environment.
########## ##########
@ -145,13 +146,7 @@ by external applications.
########## ##########
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -161,7 +156,6 @@ by external applications.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -172,7 +166,6 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--disable-rpath \ --disable-rpath \
--with-extra-includes=%{tde_includedir}/tqt \
--enable-closure --enable-closure
%__make %{?_smp_mflags} -C adept %__make %{?_smp_mflags} -C adept
@ -183,7 +176,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
%find_lang adept %find_lang %{tde_pkg}
%clean %clean

@ -26,7 +26,7 @@
Name: trinity-%{tde_pkg} Name: trinity-%{tde_pkg}
Summary: Media player Summary: Media player
Version: 1.4.10 Version: 1.4.10
Release: %{?!preversion:10}%{?preversion:9_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:11}%{?preversion:10_%{preversion}}%{?dist}%{?_variant}
Group: Applications/Multimedia Group: Applications/Multimedia
License: GPLv2+ License: GPLv2+
@ -40,8 +40,11 @@ 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 >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: trinity-konqueror-devel >= %{tde_version} BuildRequires: trinity-konqueror-devel >= %{tde_version}
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
@ -51,10 +54,12 @@ BuildRequires: gettext
BuildRequires: pcre-devel BuildRequires: pcre-devel
BuildRequires: taglib-devel BuildRequires: taglib-devel
# LIBTOOL
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
@ -76,7 +81,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 >= %{tde_version} BuildRequires: trinity-dbus-tqt-devel >= 1:0.63
%endif %endif
# IFP support # IFP support
@ -184,7 +189,7 @@ Amarok is a multimedia player with:
- compatible with the .m3u and .pls formats for playlists - compatible with the .m3u and .pls formats for playlists
- nice GUI, integrates into the TDE look, but with a unique touch - nice GUI, integrates into the TDE look, but with a unique touch
%files -f amarok.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING AUTHORS ChangeLog README %doc COPYING AUTHORS ChangeLog README
%{tde_bindir}/amarok %{tde_bindir}/amarok
@ -353,8 +358,6 @@ use any of xmms' visualisation plugins with Amarok.
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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}"
# Do not build against any "/usr" installed KDE # Do not build against any "/usr" installed KDE
export KDEDIR=%{tde_prefix} export KDEDIR=%{tde_prefix}
@ -370,17 +373,17 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="-DNDEBUG" \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \ -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} \
-DQT_LIBRARY_DIRS="${QTLIB:-${QTDIR}/%{_lib}}" \
\ \
%{?with_libvisual:-DWITH_LIBVISUAL=ON} \ %{?with_libvisual:-DWITH_LIBVISUAL=ON} \
-DWITH_KONQSIDEBAR=ON \ -DWITH_KONQSIDEBAR=ON \
@ -430,6 +433,9 @@ done
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.10-11
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.10-10 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.10-10
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -26,7 +26,7 @@
Name: trinity-%{tde_pkg} 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: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -41,6 +41,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-tdepim-devel >= %{tde_version} BuildRequires: trinity-tdepim-devel >= %{tde_version}
@ -66,12 +67,6 @@ baskets to HTML.
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -82,6 +77,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} \
@ -89,10 +85,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--disable-rpath \ \
--disable-dependency-tracking \
--disable-debug \ --disable-debug \
--with-extra-includes=%{tde_includedir}/tqt \ --enable-new-ldflags \
--disable-static --disable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -114,6 +113,7 @@ for f in crystalsvg ; do
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done done
/sbin/ldconfig /sbin/ldconfig
update-desktop-database %{tde_tdeappdir} -q &> /dev/null
%postun %postun
for f in crystalsvg ; do for f in crystalsvg ; do
@ -121,6 +121,7 @@ for f in crystalsvg ; do
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done done
/sbin/ldconfig /sbin/ldconfig
update-desktop-database %{tde_tdeappdir} -q &> /dev/null
%files -f %{tde_pkg}.lang %files -f %{tde_pkg}.lang
@ -159,6 +160,9 @@ done
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.3.1-6
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.3.1-5 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.3.1-5
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define kdecomp bibletime %define tde_pkg bibletime
%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,10 +23,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: A bible study tool for Trinity Summary: A bible study tool for Trinity
Version: 1.6.6.0 Version: 1.6.6.0
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -37,13 +38,14 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
# Requires: clucene # Requires: clucene
@ -72,13 +74,7 @@ texts, write own notes, save, print etc.).
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -88,7 +84,6 @@ texts, write own notes, save, print etc.).
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -97,8 +92,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
# Not SMP safe ! # Not SMP safe !
%__make -C bibletime/frontend %__make -C bibletime/frontend
@ -124,12 +124,12 @@ export PATH="%{tde_bindir}:${PATH}"
%post %post
touch --no-create %{tde_datadir}/icons/hicolor || : 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 || :
/sbin/ldconfig || : update-desktop-database %{tde_datadir}/applications -q &> /dev/null
%postun %postun
touch --no-create %{tde_datadir}/icons/hicolor || : 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 || :
/sbin/ldconfig || : update-desktop-database %{tde_datadir}/applications -q &> /dev/null
%files %files
@ -143,6 +143,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.6.0-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.6.0-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.6.0-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -26,7 +26,7 @@
Name: trinity-%{tde_pkg} Name: trinity-%{tde_pkg}
Summary: digital photo management application for TDE [Trinity] Summary: digital photo management application for TDE [Trinity]
Version: 0.9.6 Version: 0.9.6
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -44,20 +44,24 @@ Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: digikam-3.5.13.2-fix_png12_support.patch Patch1: digikam-3.5.13.2-fix_png12_support.patch
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-libkexiv2-devel >= %{tde_version} BuildRequires: desktop-file-utils
BuildRequires: trinity-libkdcraw-devel >= %{tde_version}
BuildRequires: trinity-libkipi-devel >= %{tde_version} BuildRequires: trinity-libkexiv2-devel
BuildRequires: trinity-libkdcraw-devel
BuildRequires: trinity-libkipi-devel
BuildRequires: libtiff-devel
BuildRequires: gettext
# GPHOTO2 support
%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
BuildRequires: libgphoto2-devel BuildRequires: libgphoto2-devel
%endif %endif
BuildRequires: libtiff-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
# JASPER support # JASPER support
%if 0%{?suse_version} %if 0%{?suse_version}
@ -77,9 +81,9 @@ BuildRequires: libexiv2-devel
BuildRequires: exiv2-devel BuildRequires: exiv2-devel
%endif %endif
Requires: trinity-libkexiv2 >= %{tde_version} Requires: trinity-libkexiv2
Requires: trinity-libkdcraw >= %{tde_version} Requires: trinity-libkdcraw
Requires: trinity-libkipi >= %{tde_version} Requires: trinity-libkipi
%description %description
An easy to use and powerful digital photo management An easy to use and powerful digital photo management
@ -105,7 +109,7 @@ 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}-%{release}
%description devel %description devel
%{summary} %{summary}
@ -122,12 +126,6 @@ Requires: %{name} = %{version}
%patch1 -p1 -b .png12 %patch1 -p1 -b .png12
%endif %endif
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -136,7 +134,6 @@ Requires: %{name} = %{version}
%build %build
unset QTDIR || : ; source /etc/profile.d/qt3.sh unset QTDIR || : ; source /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_tdeincludedir}"
export KDEDIR="%{tde_prefix}" export KDEDIR="%{tde_prefix}"
%configure \ %configure \
@ -153,9 +150,7 @@ export KDEDIR="%{tde_prefix}"
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \ --enable-final \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath
\
--with-extra-includes=%{tde_tdeincludedir}/tqt
%__make %{?_smp_mflags} || %__make %__make %{?_smp_mflags} || %__make
@ -319,6 +314,9 @@ update-desktop-database %{tde_appdir} 2> /dev/null || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.6-7
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.6-6 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.6-6
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define kdecomp dolphin %define tde_pkg dolphin
%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,10 +23,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: File manager for TDE focusing on usability Summary: File manager for TDE focusing on usability
Version: 0.9.2 Version: 0.9.2
Release: 7%{?dist}%{?_variant} Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -37,12 +38,14 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
@ -58,13 +61,7 @@ interface for the task of file management.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -74,7 +71,6 @@ interface for the task of file management.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -84,8 +80,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -95,33 +96,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop'
sed -i "%{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop" \
-e "/^Name\[pa\].*/d"
desktop-file-install --vendor "" \
--delete-original \
--dir %{buildroot}%{tde_datadir}/applications/ \
%{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop
## 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
# Makes 'media_safelyremove.desktop' an alternative # Makes 'media_safelyremove.desktop' an alternative
%__mv -f %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin %__mv -f %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin
@ -131,11 +105,13 @@ fi
%find_lang d3lphin %find_lang d3lphin
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%post %post
update-desktop-database %{tde_tdeappdir} -q &> /dev/null
touch --no-create %{tde_datadir}/icons/hicolor || : 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 || :
update-alternatives --install \ update-alternatives --install \
@ -152,6 +128,7 @@ if [ $1 -eq 0 ]; then
fi fi
%postun %postun
update-desktop-database %{tde_tdeappdir} -q &> /dev/null
touch --no-create %{tde_datadir}/icons/hicolor || : 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 || :
@ -160,7 +137,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING TODO %doc AUTHORS ChangeLog COPYING TODO
%{tde_bindir}/d3lphin %{tde_bindir}/d3lphin
%{tde_datadir}/applications/d3lphin.desktop %{tde_tdeappdir}/d3lphin.desktop
%{tde_datadir}/apps/d3lphin/ %{tde_datadir}/apps/d3lphin/
%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png %{tde_datadir}/icons/hicolor/*/apps/d3lphin.png
%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/ %lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/
@ -168,6 +145,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.2-8
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.2-7 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.2-7
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -26,7 +26,7 @@
Name: trinity-%{tde_pkg} Name: trinity-%{tde_pkg}
Summary: Graphical disk usage display Summary: Graphical disk usage display
Version: 1.0 Version: 1.0
Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -41,6 +41,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -61,12 +62,6 @@ directories on your computer.
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -91,9 +86,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \ --enable-final \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath
\
--with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -144,6 +137,9 @@ done
%lang(sv) %{tde_tdedocdir}/HTML/sv/filelight/ %lang(sv) %{tde_tdedocdir}/HTML/sv/filelight/
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-8
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-7 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-7
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define kdecomp gtk-qt-engine %define tde_pkg gtk-qt-engine
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: theme engine using Qt for GTK+ 2.x and Trinity Summary: theme engine using Qt for GTK+ 2.x and Trinity
Version: 0.8 Version: 0.8
Release: 5%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,15 +39,17 @@ 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%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: gtk-qt-engine.rc.sh Source1: gtk-qt-engine.rc.sh
Source2: gtkrc-2.0-kde4 Source2: gtkrc-2.0-kde4
Source3: gtkrc-2.0-kde-kde4 Source3: gtkrc-2.0-kde-kde4
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
@ -68,18 +71,6 @@ a way to configure it from within KControl.
%prep %prep
%setup -q -n %{name}-3.5.13.2%{?preversion:~%{preversion}} %setup -q -n %{name}-3.5.13.2%{?preversion:~%{preversion}}
# Renames the '.po' files
for f in po/*/*.po; do
pushd ${f%/*}
mv -f *.po gtk-qt-engine.po
popd
done
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "CMakeLists.txt" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g"
%build %build
unset QTDIR || : ; . /etc/profile.d/qt3.sh unset QTDIR || : ; . /etc/profile.d/qt3.sh
@ -92,6 +83,13 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DDATA_INSTALL_DIR=%{tde_datadir} \ -DDATA_INSTALL_DIR=%{tde_datadir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \
@ -106,19 +104,19 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build %__make install DESTDIR=%{buildroot} -C build
%find_lang %{kdecomp} %find_lang gtkqtengine
# Adds TDE's specific GTKRC # Adds TDE's specific GTKRC
%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh %__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh
%__install -D -m 644 %{SOURCE2} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 %__install -D -m 644 %{SOURCE2} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4
%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 %__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%files -f gtkqtengine.lang
%files -f %{kdecomp}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO %doc AUTHORS ChangeLog COPYING NEWS README TODO
%{tde_tdelibdir}/kcm_kcmgtk.la %{tde_tdelibdir}/kcm_kcmgtk.la
@ -134,6 +132,9 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.8-6
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8-5 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.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 gwenview-i18n %define tde_pkg gwenview-i18n
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: Gwenview is an image viewer for KDE. Summary: Gwenview is an image viewer for TDE.
Version: 1.4.2 Version: 1.4.2
Release: 2%{?dist}%{?_variant} Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -40,14 +41,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
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 >= 1:1.5.10
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
# EXIV2 support # EXIV2 support
@ -86,13 +88,7 @@ KIPI image framework.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -114,9 +110,13 @@ export KDEDIR="%{tde_prefix}"
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--disable-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -126,33 +126,13 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
## File lists ## File lists
%find_lang gwenview %find_lang gwenview
# 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/*" >> gwenview.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
# Removes useless files (-devel ?) # Removes useless files (-devel ?)
%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so %__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -164,6 +144,7 @@ for f in crystalsvg hicolor ; do
done done
/sbin/ldconfig /sbin/ldconfig
%postun %postun
for f in crystalsvg hicolor ; do for f in crystalsvg hicolor ; do
touch --no-create %{tde_datadir}/icons/${f} || : touch --no-create %{tde_datadir}/icons/${f} || :
@ -171,11 +152,27 @@ for f in crystalsvg hicolor ; do
done done
/sbin/ldconfig /sbin/ldconfig
%files -f gwenview.lang %files -f gwenview.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING TODO %doc AUTHORS ChangeLog COPYING TODO
%lang(da) %{tde_tdedocdir}/HTML/da/gwenview/
%lang(de) %{tde_tdedocdir}/HTML/de/gwenview/
%lang(et) %{tde_tdedocdir}/HTML/et/gwenview/
%lang(fr) %{tde_tdedocdir}/HTML/fr/gwenview/
%lang(it) %{tde_tdedocdir}/HTML/it/gwenview/
%lang(nl) %{tde_tdedocdir}/HTML/nl/gwenview/
%lang(pl) %{tde_tdedocdir}/HTML/pl/gwenview/
%lang(pt) %{tde_tdedocdir}/HTML/pt/gwenview/
%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/gwenview/
%lang(ru) %{tde_tdedocdir}/HTML/ru/gwenview/
%lang(sv) %{tde_tdedocdir}/HTML/sv/gwenview/
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.2-3
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.2-2 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.2-2
- 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 gwenview %define tde_pkg gwenview
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: Gwenview is an image viewer for KDE. Summary: Gwenview is an image viewer for TDE.
Version: 1.4.2 Version: 1.4.2
Release: 10%{?dist}%{?_variant} Release: %{?!preversion:11}%{?preversion:10_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,14 +39,14 @@ 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 >= %{tde_version}
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-arts-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
BuildRequires: gettext BuildRequires: gettext
# EXIV2 support # EXIV2 support
@ -84,13 +85,7 @@ KIPI image framework.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -111,9 +106,13 @@ 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 \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -123,29 +122,10 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__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
# Removes useless files (-devel ?) # Removes useless files (-devel ?)
%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so %__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -157,6 +137,7 @@ for f in crystalsvg hicolor ; do
done done
/sbin/ldconfig /sbin/ldconfig
%postun %postun
for f in crystalsvg hicolor ; do for f in crystalsvg hicolor ; do
touch --no-create %{tde_datadir}/icons/${f} || : touch --no-create %{tde_datadir}/icons/${f} || :
@ -164,6 +145,7 @@ for f in crystalsvg hicolor ; do
done done
/sbin/ldconfig /sbin/ldconfig
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING %doc AUTHORS COPYING
@ -208,6 +190,9 @@ done
%lang(en) %{tde_tdedocdir}/HTML/en/gwenview/ %lang(en) %{tde_tdedocdir}/HTML/en/gwenview/
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.2-11
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.2-10 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.2-10
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2
@ -232,7 +217,7 @@ done
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-4 * Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-4
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-3 * Wed Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-3
- Import to GIT - Import to GIT
* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-2 * Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-2

@ -1,9 +1,13 @@
# Default version for this component
%define tde_pkg k3n-i18n
%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,7 +27,7 @@
Name: trinity-k3b-i18n Name: trinity-k3b-i18n
Summary: Locale files for K3B Summary: Locale files for K3B
Version: 1.0.5 Version: 1.0.5
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
@ -42,10 +46,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Group: Applications/Archiving Group: Applications/Archiving
License: GPLv2+ License: GPLv2+
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
Requires(post): coreutils Requires(post): coreutils
@ -61,114 +69,264 @@ steps of the burning process the beginner may find comfort in the
automatic settings and the reasonable k3b defaults which allow a quick automatic settings and the reasonable k3b defaults which allow a quick
start. start.
%package da ##########
%package Danish
Group: Applications/Archiving Group: Applications/Archiving
Requires: trinity-k3b Requires: trinity-k3b
Summary: Danish (da) translations for K3B [Trinity] Summary: Danish (da) translations for K3B [Trinity]
%description da
Obsoletes: trinity-k3b-i18n-da < %{version}-%{release}
Provides: trinity-k3b-i18n-da = %{version}-%{release}
%description Danish
This package contains the Danish translations for K3B. This package contains the Danish translations for K3B.
%package de %files Danish
%defattr(-,root,root,-)
%lang(da) %{tde_tdedocdir}/HTML/da/k3b
%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/*.mo
##########
%package German
Group: Applications/Archiving Group: Applications/Archiving
Requires: trinity-k3b Requires: trinity-k3b
Summary: German (de) translations for K3B [Trinity] Summary: German (de) translations for K3B [Trinity]
%description de
Obsoletes: trinity-k3b-i18n-de < %{version}-%{release}
Provides: trinity-k3b-i18n-de = %{version}-%{release}
%description German
This package contains the German translations for K3B. This package contains the German translations for K3B.
%package el %files German
%defattr(-,root,root,-)
%lang(de) %{tde_tdedocdir}/HTML/de/k3b
%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo
##########
%package Greek
Group: Applications/Archiving Group: Applications/Archiving
Requires: trinity-k3b >= %{version} Requires: trinity-k3b >= %{version}
Summary: Greek (el) translations for K3B [Trinity] Summary: Greek (el) translations for K3B [Trinity]
%description el
Obsoletes: trinity-k3b-i18n-el < %{version}-%{release}
Provides: trinity-k3b-i18n-el = %{version}-%{release}
%description Greek
This package contains the greek translations for K3B. This package contains the greek translations for K3B.
%package es %files Greek
%defattr(-,root,root,-)
#%lang(el) %{tde_tdedocdir}/HTML/el/k3b
%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/*.mo
##########
%package Spanish
Group: Applications/Archiving Group: Applications/Archiving
Requires: trinity-k3b Requires: trinity-k3b
Summary: Spanish (es) translations for K3B [Trinity] Summary: Spanish (es) translations for K3B [Trinity]
%description es
Obsoletes: trinity-k3b-i18n-es < %{version}-%{release}
Provides: trinity-k3b-i18n-es = %{version}-%{release}
%description Spanish
This package contains the Spanish translations for K3B. This package contains the Spanish translations for K3B.
%package et %files Spanish
%defattr(-,root,root,-)
%lang(es) %{tde_tdedocdir}/HTML/es/k3b
%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/*.mo
##########
%package Estonian
Group: Applications/Archiving Group: Applications/Archiving
Requires: trinity-k3b Requires: trinity-k3b
Summary: Estonian (et) translations for K3B [Trinity] Summary: Estonian (et) translations for K3B [Trinity]
%description et
Obsoletes: trinity-k3b-i18n-et < %{version}-%{release}
Provides: trinity-k3b-i18n-et = %{version}-%{release}
%description Estonian
This package contains the Estonian translations for K3B. This package contains the Estonian translations for K3B.
%package fr %files Estonian
%defattr(-,root,root,-)
%lang(et) %{tde_tdedocdir}/HTML/et/k3b
%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/*.mo
##########
%package French
Group: Applications/Archiving Group: Applications/Archiving
Requires: trinity-k3b Requires: trinity-k3b
Summary: French (fr) translations for K3B [Trinity] Summary: French (fr) translations for K3B [Trinity]
%description fr
Obsoletes: trinity-k3b-i18n-fr < %{version}-%{release}
Provides: trinity-k3b-i18n-fr = %{version}-%{release}
%description French
This package contains the French translations for K3B. This package contains the French translations for K3B.
%package it %files French
%defattr(-,root,root,-)
%lang(fr) %{tde_tdedocdir}/HTML/fr/k3b
%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/*.mo
##########
%package Italian
Group: Applications/Archiving Group: Applications/Archiving
Requires: trinity-k3b Requires: trinity-k3b
Summary: Italian (it) translations for K3B [Trinity] Summary: Italian (it) translations for K3B [Trinity]
%description it
Obsoletes: trinity-k3b-i18n-it < %{version}-%{release}
Provides: trinity-k3b-i18n-it = %{version}-%{release}
%description Italian
This package contains the Italian translations for K3B. This package contains the Italian translations for K3B.
%package nl %files Italian
%defattr(-,root,root,-)
%lang(it) %{tde_tdedocdir}/HTML/it/k3b
%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/*.mo
##########
%package Dutch
Group: Applications/Archiving Group: Applications/Archiving
Requires: trinity-k3b Requires: trinity-k3b
Summary: Dutch (nl) translations for K3B [Trinity] Summary: Dutch (nl) translations for K3B [Trinity]
%description nl
Obsoletes: trinity-k3b-i18n-nl < %{version}-%{release}
Provides: trinity-k3b-i18n-nl = %{version}-%{release}
%description Dutch
This package contains the Dutch translations for K3B. This package contains the Dutch translations for K3B.
%package pl %files Dutch
%defattr(-,root,root,-)
%lang(nl) %{tde_tdedocdir}/HTML/nl/k3b
%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo
##########
%package Polish
Group: Applications/Archiving Group: Applications/Archiving
Requires: trinity-k3b Requires: trinity-k3b
Summary: Polish (pl) translations for K3B [Trinity] Summary: Polish (pl) translations for K3B [Trinity]
%description pl
Obsoletes: trinity-k3b-i18n-pl < %{version}-%{release}
Provides: trinity-k3b-i18n-pl = %{version}-%{release}
%description Polish
This package contains the Polish translations for K3B. This package contains the Polish translations for K3B.
%package pt %files Polish
%defattr(-,root,root,-)
%lang(pl) %{tde_tdedocdir}/HTML/pl/k3b
%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/*.mo
##########
%package Portuguese
Group: Applications/Archiving Group: Applications/Archiving
Requires: trinity-k3b Requires: trinity-k3b
Summary: Portuguese (pt) translations for K3B [Trinity] Summary: Portuguese (pt) translations for K3B [Trinity]
%description pt
Obsoletes: trinity-k3b-i18n-pt < %{version}-%{release}
Provides: trinity-k3b-i18n-pt = %{version}-%{release}
%description Portuguese
This package contains the Portuguese translations for K3B. This package contains the Portuguese translations for K3B.
%package ptbr %files Portuguese
%defattr(-,root,root,-)
%lang(pt) %{tde_tdedocdir}/HTML/pt/k3b
%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo
##########
%package Brazil
Group: Applications/Archiving Group: Applications/Archiving
Requires: trinity-k3b Requires: trinity-k3b
Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity] Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity]
%description ptbr
Obsoletes: trinity-k3b-i18n-pt_BR < %{version}-%{release}
Provides: trinity-k3b-i18n-pt_BR = %{version}-%{release}
Obsoletes: trinity-k3b-i18n-ptbr < %{version}-%{release}
Provides: trinity-k3b-i18n-ptbr = %{version}-%{release}
%description Brazil
This package contains the Brazilian Portuguese translations for K3B. This package contains the Brazilian Portuguese translations for K3B.
%package ru %files Brazil
%defattr(-,root,root,-)
%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/k3b
%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/*.mo
##########
%package Russian
Group: Applications/Archiving Group: Applications/Archiving
Requires: trinity-k3b Requires: trinity-k3b
Summary: Russian (ru) translations for K3B [Trinity] Summary: Russian (ru) translations for K3B [Trinity]
%description ru
Obsoletes: trinity-k3b-i18n-ru < %{version}-%{release}
Provides: trinity-k3b-i18n-ru = %{version}-%{release}
%description Russian
This package contains the Russian translations for K3B. This package contains the Russian translations for K3B.
%package sv %files Russian
%defattr(-,root,root,-)
%lang(ru) %{tde_tdedocdir}/HTML/ru/k3b
%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo
##########
%package Swedish
Group: Applications/Archiving Group: Applications/Archiving
Requires: trinity-k3b Requires: trinity-k3b
Summary: Swedish (sv) translations for K3B [Trinity] Summary: Swedish (sv) translations for K3B [Trinity]
%description sv
Obsoletes: trinity-k3b-i18n-sv < %{version}-%{release}
Provides: trinity-k3b-i18n-sv = %{version}-%{release}
%description Swedish
This package contains the Swedish translations for K3B. This package contains the Swedish translations for K3B.
%package uk %files Swedish
%defattr(-,root,root,-)
%lang(sv) %{tde_tdedocdir}/HTML/sv/k3b
%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/*.mo
##########
%package Ukrainian
Group: Applications/Archiving Group: Applications/Archiving
Requires: trinity-k3b Requires: trinity-k3b
Summary: Ukrainian (uk) translations for K3B [Trinity] Summary: Ukrainian (uk) translations for K3B [Trinity]
%description uk
This package contains the Ukrainian translations for K3B.
Obsoletes: trinity-k3b-i18n-uk < %{version}-%{release}
Provides: trinity-k3b-i18n-uk = %{version}-%{release}
%prep %description Ukrainian
%setup -q -n %{name}-3.5.13.2 This package contains the Ukrainian translations for K3B.
%files Ukrainian
%defattr(-,root,root,-)
%lang(uk) %{tde_tdedocdir}/HTML/uk/k3b
%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/*.mo
# Ugly hack to modify TQT include directory inside autoconf files. ##########
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/acinclude.m4.in" \ %prep
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -178,7 +336,6 @@ This package contains the Ukrainian translations for K3B.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
./configure \ ./configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -189,12 +346,17 @@ 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 \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
%install %install
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
@ -245,79 +407,10 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%files da
%defattr(-,root,root,-)
%lang(da) %{tde_tdedocdir}/HTML/da/k3b
%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/*.mo
%files de
%defattr(-,root,root,-)
%lang(de) %{tde_tdedocdir}/HTML/de/k3b
%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo
%files el
%defattr(-,root,root,-)
#%lang(el) %{tde_tdedocdir}/HTML/el/k3b
%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/*.mo
%files es
%defattr(-,root,root,-)
%lang(es) %{tde_tdedocdir}/HTML/es/k3b
%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/*.mo
%files et
%defattr(-,root,root,-)
%lang(et) %{tde_tdedocdir}/HTML/et/k3b
%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/*.mo
%files fr
%defattr(-,root,root,-)
%lang(fr) %{tde_tdedocdir}/HTML/fr/k3b
%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/*.mo
%files it
%defattr(-,root,root,-)
%lang(it) %{tde_tdedocdir}/HTML/it/k3b
%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/*.mo
%files nl
%defattr(-,root,root,-)
%lang(nl) %{tde_tdedocdir}/HTML/nl/k3b
%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo
%files pl
%defattr(-,root,root,-)
%lang(pl) %{tde_tdedocdir}/HTML/pl/k3b
%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/*.mo
%files pt
%defattr(-,root,root,-)
%lang(pt) %{tde_tdedocdir}/HTML/pt/k3b
%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo
%files ptbr
%defattr(-,root,root,-)
%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/k3b
%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/*.mo
%files ru
%defattr(-,root,root,-)
%lang(ru) %{tde_tdedocdir}/HTML/ru/k3b
%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo
%files sv
%defattr(-,root,root,-)
%lang(sv) %{tde_tdedocdir}/HTML/sv/k3b
%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/*.mo
%files uk
%defattr(-,root,root,-)
%lang(uk) %{tde_tdedocdir}/HTML/uk/k3b
%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/*.mo
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-3
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,9 +1,13 @@
# Default version for this component
%define tde_pkg k3b
%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
@ -20,10 +24,11 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-k3b Name: trinity-%{tde_pkg}
Summary: CD/DVD burning application Summary: CD/DVD burning application
Version: 3.5.13.2 Epoch: 1
Release: 1%{?dist}%{?_variant} Version: 1.0.5
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
@ -35,7 +40,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Group: Applications/Archiving Group: Applications/Archiving
License: GPLv2+ License: GPLv2+
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source2: k3brc Source2: k3brc
# Legacy RedHat / Fedora patches # Legacy RedHat / Fedora patches
@ -44,10 +49,12 @@ Patch4: k3b-1.0.4-manualbufsize.patch
# RHEL6: Fix K3B icon # RHEL6: Fix K3B icon
Patch106: trinity-k3b-icons.patch Patch106: trinity-k3b-icons.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-arts-devel >= 1:1.5.10
BuildRequires: trinity-arts-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
BuildRequires: audiofile-devel BuildRequires: audiofile-devel
BuildRequires: hal-devel BuildRequires: hal-devel
@ -61,8 +68,8 @@ BuildRequires: zlib-devel
Requires(post): coreutils Requires(post): coreutils
Requires(postun): coreutils Requires(postun): coreutils
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-common = %{version}-%{release} Requires: %{name}-common = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: cdrecord mkisofs Requires: cdrecord mkisofs
Requires: dvd+rw-tools Requires: dvd+rw-tools
@ -77,10 +84,10 @@ Requires: cdrdao
%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 >= 1:0.63
Requires: trinity-dbus-tqt >= %{version} Requires: trinity-dbus-tqt >= 1:0.63
%endif %endif
# SNDFILE support # SNDFILE support
@ -209,7 +216,7 @@ start.
%package common %package common
Summary: Common files of %{name} Summary: Common files of %{name}
Group: Applications/Archiving Group: Applications/Archiving
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion}
BuildArch: noarch BuildArch: noarch
%endif %endif
@ -259,7 +266,7 @@ update-desktop-database %{tde_appdir} -q &> /dev/null
%package libs %package libs
Summary: Runtime libraries for %{name} Summary: Runtime libraries for %{name}
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description libs %description libs
%{summary}. %{summary}.
@ -282,7 +289,7 @@ Requires: %{name} = %{version}-%{release}
%package devel %package devel
Summary: Files for the development of applications which will use %{name} Summary: Files for the development of applications which will use %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel %description devel
%{summary}. %{summary}.
@ -305,7 +312,7 @@ Requires: %{name}-libs = %{version}-%{release}
%package plugin-mad %package plugin-mad
Summary: The MAD plugin for K3B Summary: The MAD plugin for K3B
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description plugin-mad %description plugin-mad
%{summary}. %{summary}.
@ -327,7 +334,7 @@ and Layer III a.k.a. MP3) are fully implemented.
%package plugin-lame %package plugin-lame
Summary: The LAME plugin for K3B Summary: The LAME plugin for K3B
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description plugin-lame %description plugin-lame
%{summary}. %{summary}.
@ -349,7 +356,7 @@ This package is in tainted, as MP3 encoding is covered by software patents.
%package plugin-ffmpeg %package plugin-ffmpeg
Summary: The FFMPEG plugin for K3B Summary: The FFMPEG plugin for K3B
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description plugin-ffmpeg %description plugin-ffmpeg
%{summary}. %{summary}.
@ -373,19 +380,12 @@ and a generic audio and video file converter.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# set in k3brc too # set in k3brc too
%patch4 -p1 -b .manualbufsize %patch4 -p1 -b .manualbufsize
%patch106 -p1 -b .desktopfile %patch106 -p1 -b .desktopfile
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -394,7 +394,6 @@ and a generic audio and video file converter.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
# FFMPEG trick ... # FFMPEG trick ...
@ -402,6 +401,7 @@ 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: extra-includes is required to find arts headers
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \
@ -410,10 +410,17 @@ fi
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--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-rpath \
--enable-gcc-hidden-visibility \
\
--with-extra-includes=%{tde_includedir} \
\
--with-k3bsetup=no \ --with-k3bsetup=no \
--without-cdrecord-suid-root \ --without-cdrecord-suid-root \
--with-oggvorbis \ --with-oggvorbis \
@ -427,8 +434,7 @@ fi
%{?with_libmad:--with-libmad} %{?!with_libmad:--without-libmad} \ %{?with_libmad:--with-libmad} %{?!with_libmad:--without-libmad} \
--with-musepack \ --with-musepack \
--without-resmgr \ --without-resmgr \
--with-hal \ --with-hal
--with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}
# Strange behaviour on RHEL4 ... # Strange behaviour on RHEL4 ...
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
@ -449,15 +455,15 @@ export PATH="%{tde_bindir}:${PATH}"
# remove the .la files # remove the .la files
%__rm -f %{buildroot}%{tde_libdir}/libk3b*.la %__rm -f %{buildroot}%{tde_libdir}/libk3b*.la
# remove i18n for Plattdeutsch (Low Saxon)
#%__rm -fr %{buildroot}%{tde_datadir}/locale/nds
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1:1.0.5-1
- Build for Fedora 19
* 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

@ -27,7 +27,7 @@
Name: trinity-%{tde_pkg} 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: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -47,20 +47,22 @@ Patch3: k9copy-3.5.13.2-use_external_dvdread.patch
Patch4: k9copy-3.5.13.2-avcodec.patch Patch4: k9copy-3.5.13.2-avcodec.patch
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
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
to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R). to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R).
This is the Trinity version This is the Trinity version.
%if 0%{?suse_version} || 0%{?pclinuxos} %if 0%{?suse_version} || 0%{?pclinuxos}
@ -78,12 +80,6 @@ This is the Trinity version
# Removes internal dvdread headers # Removes internal dvdread headers
%__rm -rf dvdread %__rm -rf dvdread
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -92,7 +88,6 @@ This is the Trinity version
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
# FFMPEG ... # FFMPEG ...
if [ -d /usr/include/ffmpeg ]; then if [ -d /usr/include/ffmpeg ]; then
@ -112,9 +107,7 @@ fi
--disable-final \ --disable-final \
--enable-new-ldflags \ --enable-new-ldflags \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \
\ \
--enable-k3bdevices --enable-k3bdevices
@ -156,6 +149,9 @@ update-desktop-database %{tde_appdir} &> /dev/null
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.3-6
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.3-5 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.3-5
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -7,7 +7,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
@ -27,7 +27,7 @@
Name: trinity-%{tde_pkg} 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: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Multimedia Group: Applications/Multimedia
@ -45,6 +45,7 @@ Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -78,12 +79,6 @@ when a page containing a supported media format is loaded.
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .nspr %patch1 -p1 -b .nspr
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -92,7 +87,6 @@ when a page containing a supported media format is loaded.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{_libdir}/mozilla \ --prefix=%{_libdir}/mozilla \
@ -102,7 +96,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \ --enable-final \
--enable-closure \ --enable-closure \
--disable-rpath --enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -136,6 +130,9 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.3.1-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.3.1-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.3.1-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -26,7 +26,7 @@ Name: trinity-%{tde_pkg}
Summary: Xine-based media player Summary: Xine-based media player
Version: 0.8.8 Version: 0.8.8
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Multimedia Group: Applications/Multimedia
@ -36,7 +36,12 @@ 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-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
# VORBIS support # VORBIS support
@ -51,7 +56,7 @@ BuildRequires: libcdda-devel
BuildRequires: cdparanoia BuildRequires: cdparanoia
BuildRequires: cdparanoia-devel BuildRequires: cdparanoia-devel
%endif %endif
%if 0%{?suse_version} >= 1220 %if 0%{?suse_version} >= 1220 || 0%{?fedora} >= 19
BuildRequires: libcdio-paranoia-devel BuildRequires: libcdio-paranoia-devel
%endif %endif
@ -64,7 +69,7 @@ BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel BuildRequires: xorg-x11-devel
%endif %endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 %if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
BuildRequires: libXext-devel BuildRequires: libXext-devel
BuildRequires: libXtst-devel BuildRequires: libXtst-devel
BuildRequires: libXinerama-devel BuildRequires: libXinerama-devel
@ -76,15 +81,15 @@ BuildRequires: libxcb-devel
# GSTREAMER support # GSTREAMER support
%if 0%{?rhel} >= 5 || 0%{?suse_version} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?rhel} >= 5 || 0%{?suse_version} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_gstreamer 1 %define with_gstreamer 1
BuildRequires: gstreamer-devel
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-0_10-plugins-base-devel BuildRequires: gstreamer-0_10-plugins-base-devel
%endif %endif
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
BuildRequires: gstreamer-devel BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-devel BuildRequires: gstreamer-plugins-devel
%endif %endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: gstreamer-plugins-base-devel >= 0.10 BuildRequires: gstreamer-plugins-base-devel >= 0.10
%endif %endif
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
@ -109,10 +114,10 @@ BuildRequires: lame-devel
%endif %endif
# WTF support # WTF support
%if 0%{?pclinuxos} == 0 %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: kernel-headers BuildRequires: kernel-headers
%endif %endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: glibc-kernheaders BuildRequires: glibc-kernheaders
%endif %endif
@ -212,12 +217,6 @@ Requires: %{name} = %{version}-%{release}
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -225,7 +224,6 @@ Requires: %{name} = %{version}-%{release}
%build %build
unset QTDIR || : ; source /etc/profile.d/qt3.sh unset QTDIR || : ; source /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export KDEDIR=%{tde_prefix} export KDEDIR=%{tde_prefix}
%configure \ %configure \
@ -242,9 +240,7 @@ export KDEDIR=%{tde_prefix}
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \ --enable-final \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \
\ \
--with-xinerama \ --with-xinerama \
--with-gstreamer \ --with-gstreamer \
@ -275,6 +271,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.8-6
- Build for Fedora 19
* 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 katapult %define tde_pkg katapult
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: Faster access to applications, bookmarks, and other items. Summary: Faster access to applications, bookmarks, and other items.
Version: 0.3.2.1 Version: 0.3.2.1
Release: 6%{?dist}%{?_variant} Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,14 +39,15 @@ 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 >= %{tde_version}
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= 1:1.5.10
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
Katapult is an application for TDE, designed to allow faster access to Katapult is an application for TDE, designed to allow faster access to
applications, bookmarks, and other items. It is plugin-based, so it can applications, bookmarks, and other items. It is plugin-based, so it can
@ -60,13 +62,7 @@ inspired by Quicksilver for OS X.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -76,7 +72,6 @@ inspired by Quicksilver for OS X.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -85,9 +80,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -97,7 +96,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}
# Removes useless files (-devel ?) # Removes useless files (-devel ?)
%__rm -f %{?buildroot}%{tde_libdir}/*.so %__rm -f %{?buildroot}%{tde_libdir}/*.so
@ -124,7 +123,7 @@ done
update-desktop-database %{tde_appdir} &> /dev/null update-desktop-database %{tde_appdir} &> /dev/null
%files -f %{kdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING %doc AUTHORS COPYING
%{tde_bindir}/katapult %{tde_bindir}/katapult
@ -177,6 +176,9 @@ update-desktop-database %{tde_appdir} &> /dev/null
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-7
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-6 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-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 kdecomp kbarcode %define tde_pkg kbarcode
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: barcode and label printing application for Trinity Summary: barcode and label printing application for Trinity
Version: 2.0.6 Version: 2.0.6
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,13 +39,15 @@ URL: http://www.kbarcode.net
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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
@ -58,7 +61,7 @@ batch import of data for batch printing labels (directly from the delivery
note), thousands of predefined labels, database management tools and note), thousands of predefined labels, database management tools and
translations in many languages. Even printing more than 10.000 labels in one translations in many languages. Even printing more than 10.000 labels in one
go is no problem for KBarcode. Data for printing can be imported from several go is no problem for KBarcode. Data for printing can be imported from several
different data sources, including SQL databases, CSV files and the KDE address different data sources, including SQL databases, CSV files and the TDE address
book. book.
Additionally it is a simple barcode generator (similar to the old xbarcode you Additionally it is a simple barcode generator (similar to the old xbarcode you
@ -74,13 +77,7 @@ to use them in another application.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -99,8 +96,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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/pcre --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
\
--with-extra-includes=%{_includedir}/pcre
# SMP safe ! # SMP safe !
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -112,7 +116,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
%find_lang %{kdecomp} || touch %{kdecomp}.lang %find_lang %{tde_pkg}
@ -131,7 +135,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 %{kdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO %doc AUTHORS ChangeLog COPYING NEWS README TODO
%{tde_bindir}/kbarcode %{tde_bindir}/kbarcode
@ -153,6 +157,9 @@ update-desktop-database %{tde_appdir} &> /dev/null
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.6-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.6-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.6-3
- 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 kbfx %define tde_pkg kbfx
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: an alternative to K-Menu for KDE [Trinity] Summary: an alternative to K-Menu for TDE [Trinity]
Version: 0.4.9.3.1 Version: 0.4.9.3.1
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,14 +39,16 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%description %description
KBFX is an alternative to the classical K-Menu button and its menu. KBFX is an alternative to the classical K-Menu button and its menu.
It improves the user experience by enabling him to set a bigger (and thus more It improves the user experience by enabling him to set a bigger (and thus more
@ -63,7 +66,7 @@ Homepage: http://www.kbfx.org
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Fix TDE executable path in 'CMakeLists.txt' ... # Fix TDE executable path in 'CMakeLists.txt' ...
%__sed -i "CMakeLists.txt" \ %__sed -i "CMakeLists.txt" \
@ -75,7 +78,6 @@ Homepage: http://www.kbfx.org
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_tdeincludedir}:%{tde_includedir}/tqt"
# Shitty hack for RHEL4 ... # Shitty hack for RHEL4 ...
if [ -d "/usr/X11R6" ]; then if [ -d "/usr/X11R6" ]; then
@ -90,6 +92,13 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DDATA_INSTALL_DIR=%{tde_datadir}/apps \ -DDATA_INSTALL_DIR=%{tde_datadir}/apps \
@ -97,6 +106,7 @@ cd build
-DXDG_APPS_INSTALL_DIR=%{tde_tdeappdir} \ -DXDG_APPS_INSTALL_DIR=%{tde_tdeappdir} \
-DDOC_INSTALL_DIR=%{tde_tdedocdir} \ -DDOC_INSTALL_DIR=%{tde_tdedocdir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \
\
-DUSE_STRIGI=OFF \ -DUSE_STRIGI=OFF \
-DUSE_MENUDRAKE=OFF \ -DUSE_MENUDRAKE=OFF \
-DBUILD_DOC=ON \ -DBUILD_DOC=ON \
@ -165,6 +175,9 @@ update-desktop-database %{tde_appdir} &> /dev/null
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.9.3.1-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.9.3.1-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.9.3.1-3
- 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 kbookreader %define tde_pkg kbookreader
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: eBook reader for Trinity. Summary: eBook reader for Trinity.
Version: 0.2.0 Version: 0.2.0
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,13 +39,13 @@ 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-arts-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= 1:1.5.10
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
@ -59,13 +60,7 @@ within the Trinity Desktop Environment.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -75,7 +70,6 @@ within the Trinity Desktop Environment.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -84,9 +78,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -97,26 +95,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__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
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -129,6 +107,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
touch --no-create %{tde_datadir}/icons/hicolor || : 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 %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING %doc AUTHORS COPYING
@ -141,9 +120,10 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%{tde_datadir}/icons/hicolor/*/apps/bookreader.png %{tde_datadir}/icons/hicolor/*/apps/bookreader.png
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.2.0-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.2.0-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.2.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 kdecomp kchmviewer %define tde_pkg kchmviewer
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: CHM viewer for Trinity Summary: CHM viewer for Trinity
Version: 3.1.2 Version: 3.1.2
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,17 +39,19 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%description %description
KchmViewer is a chm (MS HTML help file format) viewer, written in C++. KchmViewer is a chm (MS HTML help file format) viewer, written in C++.
Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget
library, and does not depend on KDE or GNOME. However, it may be compiled library, and does not depend on TDE or GNOME. However, it may be compiled
with full Trinity support, including Trinity widgets and KIO/KHTML. with full Trinity support, including Trinity widgets and KIO/KHTML.
The main advantage of KchmViewer is non-English language support. Unlike The main advantage of KchmViewer is non-English language support. Unlike
@ -72,13 +75,7 @@ support. Correctly detects and shows encoding of any valid chm file.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -88,13 +85,13 @@ support. Correctly detects and shows encoding of any valid chm file.
%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 LDFLAGS="-L%{tde_libdir} -I%{_includedir}"
# Specific path for RHEL4 # Specific path for RHEL4
if [ -d /usr/X11R6 ]; then if [ -d /usr/X11R6 ]; then
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
fi fi
# Warning: --enable-final causes FTBFS !
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \
@ -102,12 +99,16 @@ fi
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--disable-rpath \ \
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-final \
--enable-closure \
--enable-rpath \
\
--with-x \ --with-x \
--with-kde \ --with-kde
--with-extra-includes=%{_includedir}/tqt \
--enable-closure
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -117,7 +118,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}
# Removes useless files # Removes useless files
%__rm -f %{?buildroot}%{tde_libdir}/*.a %__rm -f %{?buildroot}%{tde_libdir}/*.a
@ -135,7 +136,7 @@ touch --no-create %{tde_datadir}/icons/crystalsvg || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
%files -f %{kdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc ChangeLog COPYING FAQ README %doc ChangeLog COPYING FAQ README
%{tde_bindir}/kchmviewer %{tde_bindir}/kchmviewer
@ -147,6 +148,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.1.2-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.1.2-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.1.2-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 kchmviewer %define tde_pkg kchmviewer
%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
@ -26,7 +27,7 @@
Name: trinity-kcmautostart Name: trinity-kcmautostart
Summary: Manage applications automatic startup. Summary: Manage applications automatic startup.
Version: 1.0 Version: 1.0
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -49,14 +50,15 @@ Patch3: kcmautostart-3.5.13-fix_crash_on_exit.patch
# [kcmautostart] Fix french translation # [kcmautostart] Fix french translation
Patch4: kcmautostart-3.5.13-fix_fr_translation.patch Patch4: kcmautostart-3.5.13-fix_fr_translation.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 >= 1:1.5.10
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: gcc-c++ BuildRequires: gcc-c++
Requires: trinity-kdebase Requires: trinity-tdebase >= %{tde_version}
%description %description
%{summary} %{summary}
@ -73,10 +75,7 @@ Requires: trinity-kdebase
%patch3 -p1 -b .crash_on_exit %patch3 -p1 -b .crash_on_exit
%patch4 -p1 -b .fr_translation %patch4 -p1 -b .fr_translation
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \ %__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
@ -87,7 +86,6 @@ Requires: trinity-kdebase
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -96,9 +94,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--disable-static --disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -110,6 +112,7 @@ export PATH="%{tde_bindir}:${PATH}"
%find_lang autostart %find_lang autostart
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -124,6 +127,9 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-4
- Build for Fedora 19
* Sat Jan 19 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-3 * Sat Jan 19 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-3
- 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 kcpuload %define tde_pkg kcpuload
%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
@ -15,7 +16,7 @@
%define tde_mandir %{tde_datadir}/man %define tde_mandir %{tde_datadir}/man
%define tde_appdir %{tde_datadir}/applications %define tde_appdir %{tde_datadir}/applications
%define tde_tdeappdir %{tde_appdir}/kde %define tde_tdeappdir %{tde_appdir}/tde
%define tde_tdedocdir %{tde_docdir}/tde %define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity %define tde_tdelibdir %{tde_libdir}/trinity
@ -23,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: a CPU meter for Kicker [Trinity] Summary: a CPU meter for Kicker [Trinity]
Version: 2.00 Version: 2.00
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,12 +39,14 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
@ -62,13 +65,7 @@ KCPULoad has support for SMP and separate user/system loads.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -78,7 +75,6 @@ KCPULoad has support for SMP and separate user/system loads.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -87,8 +83,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -127,6 +128,9 @@ done
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 2.00-5
- Initial release for TDE 3.5.13.1
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.00-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.00-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -28,7 +28,7 @@ Name: trinity-%{tde_pkg}
Summary: a DBUS notification service [Trinity] Summary: a DBUS notification service [Trinity]
Version: 0.1 Version: 0.1
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -45,10 +45,11 @@ Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: kdbusnotification-3.5.13.2-fix_utf8.patch Patch1: kdbusnotification-3.5.13.2-fix_utf8.patch
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} 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}
@ -71,12 +72,6 @@ DBUS notifications via unobtrusive, easily dismissed passive popups.
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -100,9 +95,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \ --enable-final \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath
\
--with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -127,6 +120,9 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-6
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-5 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-5
- Fix UTF8 messages - Fix UTF8 messages

@ -16,7 +16,7 @@
%define tde_mandir %{tde_datadir}/man %define tde_mandir %{tde_datadir}/man
%define tde_appdir %{tde_datadir}/applications %define tde_appdir %{tde_datadir}/applications
%define tde_tdeappdir %{tde_appdir}/kde %define tde_tdeappdir %{tde_appdir}/tde
%define tde_tdedocdir %{tde_docdir}/tde %define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity %define tde_tdelibdir %{tde_libdir}/trinity
@ -27,7 +27,7 @@
Name: trinity-%{tde_pkg} 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: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -42,11 +42,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%description %description
Shows the differences line by line and character by character (!). Shows the differences line by line and character by character (!).
Provides an automatic merge-facility and Provides an automatic merge-facility and
@ -63,12 +64,6 @@ Unicode & UTF-8 support
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -77,7 +72,6 @@ Unicode & UTF-8 support
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -93,9 +87,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \ --enable-final \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath
\
--with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -106,10 +98,12 @@ export PATH="%{tde_bindir}:${PATH}"
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
# Unwanted files # Unwanted files
# These are not HTML files but weird files in wrong place ??
%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/kdiff3/ %__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/kdiff3/
%find_lang %{tde_pkg} %find_lang %{tde_pkg}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -147,6 +141,9 @@ done
%{tde_tdelibdir}/libkdiff3plugin.so %{tde_tdelibdir}/libkdiff3plugin.so
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.91-8
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.91-7 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.91-7
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp kdirstat %define tde_pkg kdirstat
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: graphical disk usage display with cleanup facilities [Trinity] Summary: graphical disk usage display with cleanup facilities [Trinity]
Version: 2.4.4 Version: 2.4.4
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,17 +39,19 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
%description %description
KDirStat (KDE Directory Statistics) is a small utility program that sums KDirStat (TDE Directory Statistics) is a small utility program that sums
up disk usage for directory trees, very much like the Unix 'du' command. up disk usage for directory trees, very much like the Unix 'du' command.
It displays the disk space used up by a directory tree, both numerically It displays the disk space used up by a directory tree, both numerically
and graphically. It is network transparent (i.e., you can use it to sum and graphically. It is network transparent (i.e., you can use it to sum
@ -64,13 +67,7 @@ own cleanup actions.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -80,7 +77,6 @@ own cleanup actions.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -90,8 +86,13 @@ 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 \ \
--with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
# SMP safe ! # SMP safe !
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -102,9 +103,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
%find_lang %{tde_pkg}
%find_lang %{tdecomp}
%clean %clean
@ -124,7 +123,7 @@ for f in hicolor locolor; do
done done
%files -f %{tdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/kdirstat %{tde_bindir}/kdirstat
%{tde_datadir}/applnk/Utilities/kdirstat.desktop %{tde_datadir}/applnk/Utilities/kdirstat.desktop
@ -137,6 +136,9 @@ done
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 2.4.4-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.4.4-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.4.4-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 keep %define tde_pkg keep
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: backup system for KDE [Trinity] Summary: backup system for TDE [Trinity]
Version: 0.4.0 Version: 0.4.0
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,12 +39,14 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
Requires: rdiff-backup Requires: rdiff-backup
@ -61,13 +64,7 @@ Homepage: http://jr.falleri.free.fr/keep
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -87,8 +84,13 @@ 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 \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -98,7 +100,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}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -115,7 +117,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,-)
%{tde_bindir}/keep %{tde_bindir}/keep
%{tde_tdelibdir}/kded_keep.la %{tde_tdelibdir}/kded_keep.la
@ -129,6 +131,9 @@ update-desktop-database %{tde_appdir} &> /dev/null
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.0-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.0-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.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 kgtk-qt3 %define tde_pkg kgtk-qt3
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: Use KDE dialogs in Gtk apps Summary: Use TDE dialogs in Gtk apps
Version: 0.10.2 Version: 0.10.2
Release: 5%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,12 +39,14 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
@ -52,7 +55,7 @@ This is an LD_PRELOAD hack that allows most GTK
applications to use Trinity's file dialogs when run under Trinity. applications to use Trinity's file dialogs when run under Trinity.
The Gtk file chooser functions have been overridden to communicate The Gtk file chooser functions have been overridden to communicate
with this KDE module/application. with this TDE module/application.
This package includes the kqt3-wrapper This package includes the kqt3-wrapper
@ -63,24 +66,13 @@ This package includes the kqt3-wrapper
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
find . -name CMakeLists.txt -exec sed -i {} \
-e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \
-e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \
-e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \
\;
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir} -L${QTLIB} -lX11"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}"
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%__mkdir_p build %__mkdir_p build
cd build cd build
@ -88,17 +80,24 @@ cd build
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-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" \ \
-DBUILD_ALL=ON \ -DBUILD_ALL=ON \
.. ..
# SMP safe ! # SMP safe !
%__make %{?_smp_mflags} %__make %{?_smp_mflags} || %__make
%install %install
@ -131,6 +130,9 @@ echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload"
%{tde_datadir}/kgtk/preload %{tde_datadir}/kgtk/preload
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.10.2-6
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.10.2-5 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.10.2-5
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -27,7 +27,7 @@
Name: trinity-%{tde_pkg} Name: trinity-%{tde_pkg}
Summary: TDE Integrated LaTeX Environment [Trinity] Summary: TDE Integrated LaTeX Environment [Trinity]
Version: 2.0.2 Version: 2.0.2
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Publishing Group: Applications/Publishing
@ -42,9 +42,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
Obsoletes: %{name}-i18n-ar Obsoletes: %{name}-i18n-ar
@ -116,12 +118,6 @@ Kile can support large projects consisting of several smaller files.
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -130,7 +126,6 @@ Kile can support large projects consisting of several smaller files.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -146,9 +141,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \ --enable-final \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath
\
--with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -204,6 +197,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-7
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-6 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-6
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp kima %define tde_pkg kima
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: kicker monitoring applet [Trinity] Summary: kicker monitoring applet [Trinity]
Version: 0.7.3.2 Version: 0.7.3.2
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,12 +39,14 @@ URL: http://www.elliptique.net/~ken/kima/
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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
# HAL support # HAL support
@ -66,13 +69,7 @@ panel.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -82,7 +79,6 @@ panel.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -98,9 +94,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \ --enable-final \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath
\
--with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir}
# SMP safe ! # SMP safe !
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -112,7 +106,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
%find_lang %{tdecomp} %find_lang %{tde_pkg}
@ -120,7 +114,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%files -f %{tdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO %doc AUTHORS ChangeLog COPYING NEWS README TODO
%{tde_tdelibdir}/libkima.la %{tde_tdelibdir}/libkima.la
@ -130,6 +124,9 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.7.3.2-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7.3.2-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7.3.2-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -26,7 +26,7 @@
Name: trinity-%{tde_pkg} Name: trinity-%{tde_pkg}
Version: 1.0 Version: 1.0
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
Summary: tool to configure the TDE kiosk framework Summary: tool to configure the TDE kiosk framework
License: GPLv2+ License: GPLv2+
@ -40,8 +40,13 @@ URL: http://www.trinitydesktop.org/
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.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: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: gettext
%description %description
@ -58,12 +63,6 @@ groups of users.
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -72,8 +71,6 @@ groups of users.
%build %build
unset QTDIR || : ; source /etc/profile.d/qt3.sh unset QTDIR || : ; source /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -89,9 +86,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \ --enable-final \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath
\
--with-extra-includes=%{tde_includedir}/tqt \
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -133,6 +128,9 @@ update-desktop-database >& /dev/null ||:
%{tde_datadir}/apps/kiosktool/kiosktoolui.rc %{tde_datadir}/apps/kiosktool/kiosktoolui.rc
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-6
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-5 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-5
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -27,7 +27,7 @@
Name: trinity-%{tde_pkg} Name: trinity-%{tde_pkg}
Summary: media player for Trinity Summary: media player for Trinity
Version: 0.10.0c Version: 0.10.0c
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Multimedia Group: Applications/Multimedia
@ -42,6 +42,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -87,7 +88,7 @@ BuildRequires: xorg-x11-devel
BuildRequires: xorg-x11-libXv-devel BuildRequires: xorg-x11-libXv-devel
%endif %endif
Requires: %{name}-base Requires: %{name}-base = %{version}-%{release}
%description %description
A basic audio/video viewer application for Trinity. A basic audio/video viewer application for Trinity.
@ -116,7 +117,8 @@ Core files needed for KMPlayer.
%package konq-plugins %package konq-plugins
Group: Applications/Multimedia Group: Applications/Multimedia
Requires: trinity-kmplayer-base, trinity-kdebase Requires: %{name}-base = %{version}-%{release}
Requires: trinity-tdebase >= %{tde_version}
Summary: KMPlayer plugin for KHTML/Konqueror [Trinity] Summary: KMPlayer plugin for KHTML/Konqueror [Trinity]
%description konq-plugins %description konq-plugins
@ -143,12 +145,6 @@ Documention for KMPlayer, a basic audio/video viewer application for TDE.
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -157,7 +153,6 @@ Documention for KMPlayer, a basic audio/video viewer application for TDE.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
%configure \ %configure \
@ -174,11 +169,9 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \ --enable-final \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath
\
--with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags} || %__make %__make %{?_smp_mflags}
%install %install
@ -257,6 +250,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-6
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-5 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-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 tdecomp kmyfirewall %define tde_pkg kmyfirewall
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: iptables based firewall configuration tool for KDE [Trinity] Summary: iptables based firewall configuration tool for TDE [Trinity]
Version: 1.1.1 Version: 1.1.1
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,11 +39,12 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -73,13 +75,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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -89,7 +85,6 @@ Requires: %{name} = %{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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -99,9 +94,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -197,6 +196,9 @@ done
%{tde_libdir}/libkmfwidgets.so %{tde_libdir}/libkmfwidgets.so
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.1.1-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.1.1-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.1.1-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -41,7 +41,7 @@ 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: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -66,7 +66,7 @@ Patch4: kmymoney-3.5.13-missing_ldflags.patch
Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -74,12 +74,6 @@ BuildRequires: desktop-file-utils
BuildRequires: recode BuildRequires: recode
BuildRequires: libofx-devel BuildRequires: libofx-devel
# PDF support
%if 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion}
%define with_pdf 1
BuildRequires: html2ps
%endif
# OPENSP support # OPENSP support
%if 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?mdkversion}
%if 0%{?mgaversion} || 0%{?pclinuxos} %if 0%{?mgaversion} || 0%{?pclinuxos}
@ -136,18 +130,12 @@ This package contains development files needed for KMyMoney plugins.
%patch5 -p1 -b .qtpluginsdir %patch5 -p1 -b .qtpluginsdir
%endif %endif
%if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013 %if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013 || 0%{?fedora} >= 19
%__cp /usr/share/automake-1.13/test-driver admin/ %__cp /usr/share/automake-1.13/test-driver admin/
%endif %endif
%__install -m644 %{SOURCE1} kmymoney2/widgets/ %__install -m644 %{SOURCE1} kmymoney2/widgets/
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -156,7 +144,6 @@ This package contains development files needed for KMyMoney plugins.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
export KDEDIR="%{tde_prefix}" export KDEDIR="%{tde_prefix}"
@ -170,7 +157,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 ! # Warning: --enable-final causes FTBFS
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \
@ -185,11 +172,9 @@ grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po
--enable-new-ldflags \ --enable-new-ldflags \
--disable-final \ --disable-final \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath \
\ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-pdf-docs \
\
%{?with_pdf:--enable-pdf-docs} %{?!with_pdf:--disable-pdf-docs} \
--enable-ofxplugin \ --enable-ofxplugin \
--enable-ofxbanking \ --enable-ofxbanking \
--enable-qtdesigner \ --enable-qtdesigner \
@ -280,6 +265,9 @@ done
%{qt3pluginsdir}/designer/libkmymoney.so %{qt3pluginsdir}/designer/libkmymoney.so
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-6
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-5 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-5
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp knemo %define tde_pkg knemo
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: network interfaces monitor for the Trinity systray Summary: network interfaces monitor for the Trinity systray
Version: 0.4.8 Version: 0.4.8
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,12 +39,14 @@ URL: http://beta.smileaf.org/projects
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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
%if 0%{?fedora} >= 18 %if 0%{?fedora} >= 18
@ -70,13 +73,7 @@ Homepage: http://extragear.kde.org/apps/knemo/
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -96,8 +93,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -137,6 +139,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.8-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.8-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.8-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 knetload %define tde_pkg knetload
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: a network meter for Kicker [Trinity] Summary: a network meter for Kicker [Trinity]
Version: 2.3 Version: 2.3
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,17 +39,19 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
%description %description
KNetLoad is a small network meter for Kicker (the KDE panel). It shows KNetLoad is a small network meter for Kicker (the TDE panel). It shows
a recent history of network usage in the form of two configurable a recent history of network usage in the form of two configurable
diagrams in the system tray, one for incoming and one for outgoing diagrams in the system tray, one for incoming and one for outgoing
data. These diagrams have settings for colours and various different data. These diagrams have settings for colours and various different
@ -63,13 +66,7 @@ KNetLoad can monitor just about any network device.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -79,7 +76,6 @@ KNetLoad can monitor just about any network device.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -89,8 +85,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
# SMP safe ! # SMP safe !
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -101,7 +102,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}
@ -124,7 +125,7 @@ for f in crystalsvg locolor ; do
done done
%files -f %{tdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/knetload %{tde_bindir}/knetload
%{tde_tdeappdir}/knetload.desktop %{tde_tdeappdir}/knetload.desktop
@ -134,6 +135,9 @@ done
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 2.3-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.3-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.3-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 knetstats %define tde_pkg knetstats
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: network interfaces monitor for the Trinity systray Summary: network interfaces monitor for the Trinity systray
Version: 1.6.1 Version: 1.6.1
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,17 +39,19 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
%description %description
A simple KDE network monitor that show rx/tx LEDs of any A simple TDE network monitor that show rx/tx LEDs of any
network interface on a system tray icon network interface on a system tray icon
@ -58,13 +61,7 @@ network interface on a system tray icon
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -74,7 +71,6 @@ network interface on a system tray icon
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -84,8 +80,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
# SMP safe ! # SMP safe !
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -96,7 +97,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}
@ -115,7 +116,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}/knetstats %{tde_bindir}/knetstats
%{tde_tdeappdir}/knetstats.desktop %{tde_tdeappdir}/knetstats.desktop
@ -125,6 +126,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.1-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.1-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.1-3
- 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 knights %define tde_pkg knights
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: A chess interface for the K Desktop Environment [Trinity] Summary: A chess interface for the K Desktop Environment [Trinity]
Version: 0.6 Version: 0.6
Release: 5%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Amusements/Games Group: Amusements/Games
@ -38,12 +39,14 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
Requires: gnuchess Requires: gnuchess
@ -69,13 +72,7 @@ Here's a quick list of Knights' key features:
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -85,8 +82,8 @@ Here's a quick list of Knights' key features:
%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 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} \
@ -95,8 +92,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -106,7 +108,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}
@ -121,7 +124,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}/knights %{tde_bindir}/knights
%{tde_datadir}/applnk/Games/Board/knights.desktop %{tde_datadir}/applnk/Games/Board/knights.desktop
@ -132,6 +135,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.6-6
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.6-5 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.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 tdecomp knowit %define tde_pkg knowit
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: Tool for managing notes [Trinity] Summary: Tool for managing notes [Trinity]
Version: 0.10 Version: 0.10
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,19 +39,21 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
%description %description
KnowIt is a tool for managing notes which are organized in KnowIt is a tool for managing notes which are organized in
tree-like hierarchy. It is similar to TuxCards, tree-like hierarchy. It is similar to TuxCards,
but KDE-based, and requires Trinity. but TDE-based, and requires Trinity.
%if 0%{?suse_version} || 0%{?pclinuxos} %if 0%{?suse_version} || 0%{?pclinuxos}
@ -59,13 +62,7 @@ but KDE-based, and requires 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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -77,6 +74,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} \
@ -85,8 +83,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-final \
--enable-closure \
--enable-rpath
# SMP safe ! # SMP safe !
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -102,7 +105,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -r %{buildroot}%{tde_datadir}/applnk %__rm -r %{buildroot}%{tde_datadir}/applnk
%find_lang %{tdecomp} %find_lang %{tde_pkg}
@ -121,7 +124,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}/knowit %{tde_bindir}/knowit
%{tde_tdeappdir}/knowit.desktop %{tde_tdeappdir}/knowit.desktop
@ -135,6 +138,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.10-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.10-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.10-3
- 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 knutclient %define tde_pkg knutclient
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: A KDE GUI that displays UPS statistics from NUT's upsd [Trinity] Summary: A TDE GUI that displays UPS statistics from NUT's upsd [Trinity]
Version: 0.9.5 Version: 0.9.5
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,12 +39,13 @@ URL: http://www.knut.noveradsl.cz/knutclient/
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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -60,13 +62,7 @@ stations using an UPS.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -76,7 +72,6 @@ stations using an UPS.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -86,9 +81,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -98,7 +97,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}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -117,7 +116,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 ChangeLog COPYING NEWS README TODO %doc AUTHORS ChangeLog COPYING NEWS README TODO
%{tde_bindir}/knutclient %{tde_bindir}/knutclient
@ -130,6 +129,9 @@ done
%{tde_datadir}/icons/locolor/*/apps/*.png %{tde_datadir}/icons/locolor/*/apps/*.png
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.5-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.5-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.5-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,9 +1,13 @@
# Default version for this component
%define tde_pkg koffice-i18n
%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
@ -20,15 +24,15 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
# Builds all supported languages (not unsupported ones) # Builds all supported languages (not unsupported ones)
%if "%{?KDE_LANGS}" == "" %if "%{?TDE_LANGS}" == ""
%define KDE_LANGS bg ca cs da de el en_GB es et fi fr hu it ja km lv ms nb nds ne nl pl pt pt_BR ru sk sl sr sv tr uk zh_CN zh_TW %define TDE_LANGS bg ca cs da de el en_GB es et fi fr hu it ja km lv ms nb nds ne nl pl pt pt_BR ru sk sl sr sv tr uk zh_CN zh_TW
%endif %endif
Name: trinity-koffice-i18n Name: trinity-%{tde_pkg}
Summary: Internationalization support for Trinity Summary: Internationalization support for Trinity
Version: 1.6.3 Version: 1.6.3
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
@ -47,13 +51,17 @@ BuildArch: noarch
%define __spec_install_post %{nil} %define __spec_install_post %{nil}
AutoReq: no AutoReq: no
Source0: %{name}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: findutils BuildRequires: findutils
BuildRequires: gettext BuildRequires: gettext
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
BuildRequires: trinity-arts-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
%description %description
%{summary}. %{summary}.
@ -537,13 +545,7 @@ Provides: %{name}-tz_TW = %{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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -555,7 +557,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export kde_htmldir="%{tde_tdedocdir}/HTML" export kde_htmldir="%{tde_tdedocdir}/HTML"
for l in %{KDE_LANGS}; do for l in %{TDE_LANGS}; do
for f in koffice-i18n-${l}/; do for f in koffice-i18n-${l}/; do
if [ -d "${f}" ]; then if [ -d "${f}" ]; then
pushd ${f} pushd ${f}
@ -575,7 +577,7 @@ done
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
for l in %{KDE_LANGS}; do for l in %{TDE_LANGS}; do
for f in koffice-i18n-${l}/; do for f in koffice-i18n-${l}/; do
if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then
%__make install DESTDIR="%{?buildroot}" -C "${f}" %__make install DESTDIR="%{?buildroot}" -C "${f}"
@ -622,61 +624,61 @@ find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w af <<< '%{TDE_LANGS}' )" != ""
%files Afrikaans %files Afrikaans
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(af) %{tde_datadir}/locale/af/* %lang(af) %{tde_datadir}/locale/af/*
%endif %endif
%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ar <<< '%{TDE_LANGS}' )" != ""
%files Arabic %files Arabic
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ar) %{tde_datadir}/locale/ar/* %lang(ar) %{tde_datadir}/locale/ar/*
%endif %endif
%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w az <<< '%{TDE_LANGS}' )" != ""
%files Azerbaijani %files Azerbaijani
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(az) %{tde_datadir}/locale/az/* %lang(az) %{tde_datadir}/locale/az/*
%endif %endif
%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w be <<< '%{TDE_LANGS}' )" != ""
%files Belarusian %files Belarusian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(be) %{tde_datadir}/locale/be/* %lang(be) %{tde_datadir}/locale/be/*
%endif %endif
%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w bg <<< '%{TDE_LANGS}' )" != ""
%files Bulgarian %files Bulgarian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(bg) %{tde_datadir}/locale/bg/* %lang(bg) %{tde_datadir}/locale/bg/*
%endif %endif
%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w bn <<< '%{TDE_LANGS}' )" != ""
%files Bengali %files Bengali
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(bn) %{tde_datadir}/locale/bn/* %lang(bn) %{tde_datadir}/locale/bn/*
%endif %endif
%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w bo <<< '%{TDE_LANGS}' )" != ""
%files Tibetan %files Tibetan
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(bo) %{tde_datadir}/locale/bo/* %lang(bo) %{tde_datadir}/locale/bo/*
%endif %endif
%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w br <<< '%{TDE_LANGS}' )" != ""
%files Breton %files Breton
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(br) %{tde_datadir}/locale/br/* %lang(br) %{tde_datadir}/locale/br/*
%endif %endif
%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w bs <<< '%{TDE_LANGS}' )" != ""
%files Bosnian %files Bosnian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(bs) %{tde_datadir}/locale/bs/* %lang(bs) %{tde_datadir}/locale/bs/*
%endif %endif
%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ca <<< '%{TDE_LANGS}' )" != ""
%files Catalan %files Catalan
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ca) %{tde_datadir}/locale/ca/* %lang(ca) %{tde_datadir}/locale/ca/*
@ -684,27 +686,27 @@ find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
%lang(ca) %{tde_datadir}/apps/koffice/autocorrect/ca.xml %lang(ca) %{tde_datadir}/apps/koffice/autocorrect/ca.xml
%endif %endif
%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w cs <<< '%{TDE_LANGS}' )" != ""
%files Czech %files Czech
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(cs) %{tde_datadir}/locale/cs/* %lang(cs) %{tde_datadir}/locale/cs/*
%lang(cs) %{tde_datadir}/apps/koffice/autocorrect/cs.xml %lang(cs) %{tde_datadir}/apps/koffice/autocorrect/cs.xml
%endif %endif
%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w cy <<< '%{TDE_LANGS}' )" != ""
%files Welsh %files Welsh
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(cy) %{tde_datadir}/locale/cy/* %lang(cy) %{tde_datadir}/locale/cy/*
%endif %endif
%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w da <<< '%{TDE_LANGS}' )" != ""
%files Danish %files Danish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(da) %{tde_datadir}/locale/da/* %lang(da) %{tde_datadir}/locale/da/*
%lang(da) %{tde_tdedocdir}/HTML/da/ %lang(da) %{tde_tdedocdir}/HTML/da/
%endif %endif
%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w de <<< '%{TDE_LANGS}' )" != ""
%files German %files German
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(de) %{tde_datadir}/locale/de/* %lang(de) %{tde_datadir}/locale/de/*
@ -712,26 +714,26 @@ find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
%lang(de) %{tde_datadir}/apps/koffice/autocorrect/de.xml %lang(de) %{tde_datadir}/apps/koffice/autocorrect/de.xml
%endif %endif
%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w el <<< '%{TDE_LANGS}' )" != ""
%files Greek %files Greek
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(el) %{tde_datadir}/locale/el/* %lang(el) %{tde_datadir}/locale/el/*
%endif %endif
%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w en_GB <<< '%{TDE_LANGS}' )" != ""
%files British %files British
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(en_GB) %{tde_datadir}/locale/en_GB/* %lang(en_GB) %{tde_datadir}/locale/en_GB/*
%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/ %lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/
%endif %endif
%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w eo <<< '%{TDE_LANGS}' )" != ""
%files Esperanto %files Esperanto
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(eo) %{tde_datadir}/locale/eo/* %lang(eo) %{tde_datadir}/locale/eo/*
%endif %endif
%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w es <<< '%{TDE_LANGS}' )" != ""
%files Spanish %files Spanish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(es) %{tde_datadir}/locale/es/* %lang(es) %{tde_datadir}/locale/es/*
@ -739,38 +741,38 @@ find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
%lang(es) %{tde_datadir}/apps/koffice/autocorrect/es.xml %lang(es) %{tde_datadir}/apps/koffice/autocorrect/es.xml
%endif %endif
%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w et <<< '%{TDE_LANGS}' )" != ""
%files Estonian %files Estonian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(et) %{tde_datadir}/locale/et/* %lang(et) %{tde_datadir}/locale/et/*
%lang(et) %{tde_tdedocdir}/HTML/et/ %lang(et) %{tde_tdedocdir}/HTML/et/
%endif %endif
%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w eu <<< '%{TDE_LANGS}' )" != ""
%files Basque %files Basque
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(eu) %{tde_datadir}/locale/eu/* %lang(eu) %{tde_datadir}/locale/eu/*
%endif %endif
%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fa <<< '%{TDE_LANGS}' )" != ""
%files Farsi %files Farsi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fa) %{tde_datadir}/locale/fa/* %lang(fa) %{tde_datadir}/locale/fa/*
%endif %endif
%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fi <<< '%{TDE_LANGS}' )" != ""
%files Finnish %files Finnish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fi) %{tde_datadir}/locale/fi/* %lang(fi) %{tde_datadir}/locale/fi/*
%endif %endif
%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fo <<< '%{TDE_LANGS}' )" != ""
%files Faroese %files Faroese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fo) %{tde_datadir}/locale/fo/* %lang(fo) %{tde_datadir}/locale/fo/*
%endif %endif
%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fr <<< '%{TDE_LANGS}' )" != ""
%files French %files French
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fr) %{tde_datadir}/locale/fr/* %lang(fr) %{tde_datadir}/locale/fr/*
@ -778,62 +780,62 @@ find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
%lang(fr) %{tde_datadir}/apps/koffice/autocorrect/fr.xml %lang(fr) %{tde_datadir}/apps/koffice/autocorrect/fr.xml
%endif %endif
%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fy <<< '%{TDE_LANGS}' )" != ""
%files Frisian %files Frisian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fy) %{tde_datadir}/locale/fy/* %lang(fy) %{tde_datadir}/locale/fy/*
%endif %endif
%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ga <<< '%{TDE_LANGS}' )" != ""
%files Irish %files Irish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ga) %{tde_datadir}/locale/ga/* %lang(ga) %{tde_datadir}/locale/ga/*
%endif %endif
%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w gl <<< '%{TDE_LANGS}' )" != ""
%files Galician %files Galician
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(gl) %{tde_datadir}/locale/gl/* %lang(gl) %{tde_datadir}/locale/gl/*
%endif %endif
%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w he <<< '%{TDE_LANGS}' )" != ""
%files Hebrew %files Hebrew
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(he) %{tde_datadir}/locale/he/* %lang(he) %{tde_datadir}/locale/he/*
%endif %endif
%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w hi <<< '%{TDE_LANGS}' )" != ""
%files Hindi %files Hindi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(hi) %{tde_datadir}/locale/hi/* %lang(hi) %{tde_datadir}/locale/hi/*
%endif %endif
%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w hr <<< '%{TDE_LANGS}' )" != ""
%files Croatian %files Croatian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(hr) %{tde_datadir}/locale/hr/* %lang(hr) %{tde_datadir}/locale/hr/*
%endif %endif
%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w hu <<< '%{TDE_LANGS}' )" != ""
%files Hungarian %files Hungarian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(hu) %{tde_datadir}/locale/hu/* %lang(hu) %{tde_datadir}/locale/hu/*
%lang(hu) %{tde_datadir}/apps/koffice/autocorrect/hu.xml %lang(hu) %{tde_datadir}/apps/koffice/autocorrect/hu.xml
%endif %endif
%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w id <<< '%{TDE_LANGS}' )" != ""
%files Indonesian %files Indonesian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(id) %{tde_datadir}/locale/id/* %lang(id) %{tde_datadir}/locale/id/*
%endif %endif
%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w is <<< '%{TDE_LANGS}' )" != ""
%files Icelandic %files Icelandic
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(is) %{tde_datadir}/locale/is/* %lang(is) %{tde_datadir}/locale/is/*
%endif %endif
%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w it <<< '%{TDE_LANGS}' )" != ""
%files Italian %files Italian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(it) %{tde_datadir}/locale/it/* %lang(it) %{tde_datadir}/locale/it/*
@ -841,149 +843,149 @@ find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
%lang(it) %{tde_datadir}/apps/koffice/autocorrect/it.xml %lang(it) %{tde_datadir}/apps/koffice/autocorrect/it.xml
%endif %endif
%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ja <<< '%{TDE_LANGS}' )" != ""
%files Japanese %files Japanese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ja) %{tde_datadir}/locale/ja/* %lang(ja) %{tde_datadir}/locale/ja/*
%endif %endif
%if "%( grep -w km <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w km <<< '%{TDE_LANGS}' )" != ""
%files Khmer %files Khmer
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(km) %{tde_datadir}/locale/km/* %lang(km) %{tde_datadir}/locale/km/*
%endif %endif
%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ko <<< '%{TDE_LANGS}' )" != ""
%files Korean %files Korean
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ko) %{tde_datadir}/locale/ko/* %lang(ko) %{tde_datadir}/locale/ko/*
%endif %endif
%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ku <<< '%{TDE_LANGS}' )" != ""
%files Kurdish %files Kurdish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ku) %{tde_datadir}/locale/ku/* %lang(ku) %{tde_datadir}/locale/ku/*
%endif %endif
%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w lao <<< '%{TDE_LANGS}' )" != ""
%files Lao %files Lao
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(lo) %{tde_datadir}/locale/lo/* %lang(lo) %{tde_datadir}/locale/lo/*
%endif %endif
%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w lt <<< '%{TDE_LANGS}' )" != ""
%files Lithuanian %files Lithuanian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(lt) %{tde_datadir}/locale/lt/* %lang(lt) %{tde_datadir}/locale/lt/*
%endif %endif
%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w lv <<< '%{TDE_LANGS}' )" != ""
%files Latvian %files Latvian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(lv) %{tde_datadir}/locale/lv/* %lang(lv) %{tde_datadir}/locale/lv/*
%endif %endif
%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w mi <<< '%{TDE_LANGS}' )" != ""
%files Maori %files Maori
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(mi) %{tde_datadir}/locale/mi/* %lang(mi) %{tde_datadir}/locale/mi/*
%endif %endif
%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w mk <<< '%{TDE_LANGS}' )" != ""
%files Macedonian %files Macedonian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(mk) %{tde_datadir}/locale/mk/* %lang(mk) %{tde_datadir}/locale/mk/*
%endif %endif
%if "%( grep -w ms <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ms <<< '%{TDE_LANGS}' )" != ""
%files Malay %files Malay
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ms) %{tde_datadir}/locale/ms/* %lang(ms) %{tde_datadir}/locale/ms/*
%endif %endif
%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w mt <<< '%{TDE_LANGS}' )" != ""
%files Maltese %files Maltese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(mt) %{tde_datadir}/locale/mt/* %lang(mt) %{tde_datadir}/locale/mt/*
%endif %endif
%if "%( grep -w nds <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w nds <<< '%{TDE_LANGS}' )" != ""
%files LowSaxon %files LowSaxon
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(nds) %{tde_datadir}/locale/nds/* %lang(nds) %{tde_datadir}/locale/nds/*
%endif %endif
%if "%( grep -w ne <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ne <<< '%{TDE_LANGS}' )" != ""
%files Nepali %files Nepali
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ne) %{tde_datadir}/locale/ne/* %lang(ne) %{tde_datadir}/locale/ne/*
%endif %endif
%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w nl <<< '%{TDE_LANGS}' )" != ""
%files Dutch %files Dutch
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(nl) %{tde_datadir}/locale/nl/* %lang(nl) %{tde_datadir}/locale/nl/*
%lang(nl) %{tde_tdedocdir}/HTML/nl/ %lang(nl) %{tde_tdedocdir}/HTML/nl/
%endif %endif
%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w nb <<< '%{TDE_LANGS}' )" != ""
%files Norwegian %files Norwegian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(nb) %{tde_datadir}/locale/nb/* %lang(nb) %{tde_datadir}/locale/nb/*
%endif %endif
%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w nn <<< '%{TDE_LANGS}' )" != ""
%files Norwegian-Nynorsk %files Norwegian-Nynorsk
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(nn) %{tde_datadir}/locale/nn/* %lang(nn) %{tde_datadir}/locale/nn/*
%endif %endif
%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w oc <<< '%{TDE_LANGS}' )" != ""
%files Occitan %files Occitan
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(oc) %{tde_datadir}/locale/oc/* %lang(oc) %{tde_datadir}/locale/oc/*
%endif %endif
%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w pa <<< '%{TDE_LANGS}' )" != ""
%files Punjabi %files Punjabi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(pa) %{tde_datadir}/locale/pa/* %lang(pa) %{tde_datadir}/locale/pa/*
%endif %endif
%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w pl <<< '%{TDE_LANGS}' )" != ""
%files Polish %files Polish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(pl) %{tde_datadir}/locale/pl/* %lang(pl) %{tde_datadir}/locale/pl/*
%endif %endif
%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w pt <<< '%{TDE_LANGS}' )" != ""
%files Portuguese %files Portuguese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(pt) %{tde_datadir}/locale/pt/* %lang(pt) %{tde_datadir}/locale/pt/*
%lang(pt) %{tde_tdedocdir}/HTML/pt/ %lang(pt) %{tde_tdedocdir}/HTML/pt/
%endif %endif
%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w pt_BR <<< '%{TDE_LANGS}' )" != ""
%files Brazil %files Brazil
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(pt_BR) %{tde_datadir}/locale/pt_BR/* %lang(pt_BR) %{tde_datadir}/locale/pt_BR/*
%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/ %lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/
%endif %endif
%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ro <<< '%{TDE_LANGS}' )" != ""
%files Romanian %files Romanian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ro) %{tde_datadir}/locale/ro/* %lang(ro) %{tde_datadir}/locale/ro/*
%endif %endif
%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ru <<< '%{TDE_LANGS}' )" != ""
%files Russian %files Russian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ru) %{tde_datadir}/locale/ru/* %lang(ru) %{tde_datadir}/locale/ru/*
%lang(ru) %{tde_tdedocdir}/HTML/ru/ %lang(ru) %{tde_tdedocdir}/HTML/ru/
%endif %endif
%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w sk <<< '%{TDE_LANGS}' )" != ""
%files Slovak %files Slovak
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(sk) %{tde_datadir}/locale/sk/* %lang(sk) %{tde_datadir}/locale/sk/*
@ -991,93 +993,96 @@ find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
%lang(sk) %{tde_datadir}/apps/koffice/autocorrect/sk.xml %lang(sk) %{tde_datadir}/apps/koffice/autocorrect/sk.xml
%endif %endif
%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w sl <<< '%{TDE_LANGS}' )" != ""
%files Slovenian %files Slovenian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(sl) %{tde_datadir}/locale/sl/* %lang(sl) %{tde_datadir}/locale/sl/*
%lang(sl) %{tde_tdedocdir}/HTML/sl/ %lang(sl) %{tde_tdedocdir}/HTML/sl/
%endif %endif
%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w sr <<< '%{TDE_LANGS}' )" != ""
%files Serbian %files Serbian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(sr) %{tde_datadir}/locale/sr/* %lang(sr) %{tde_datadir}/locale/sr/*
%endif %endif
%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w sv <<< '%{TDE_LANGS}' )" != ""
%files Swedish %files Swedish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(sv) %{tde_datadir}/locale/sv/* %lang(sv) %{tde_datadir}/locale/sv/*
%lang(sv) %{tde_tdedocdir}/HTML/sv/ %lang(sv) %{tde_tdedocdir}/HTML/sv/
%endif %endif
%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ta <<< '%{TDE_LANGS}' )" != ""
%files Tamil %files Tamil
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ta) %{tde_datadir}/locale/ta/* %lang(ta) %{tde_datadir}/locale/ta/*
%endif %endif
%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w tg <<< '%{TDE_LANGS}' )" != ""
%files Tajik %files Tajik
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(tg) %{tde_datadir}/locale/tg/* %lang(tg) %{tde_datadir}/locale/tg/*
%endif %endif
%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w th <<< '%{TDE_LANGS}' )" != ""
%files Thai %files Thai
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(th) %{tde_datadir}/locale/th/* %lang(th) %{tde_datadir}/locale/th/*
%endif %endif
%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w tr <<< '%{TDE_LANGS}' )" != ""
%files Turkish %files Turkish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(tr) %{tde_datadir}/locale/tr/* %lang(tr) %{tde_datadir}/locale/tr/*
%endif %endif
%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w uk <<< '%{TDE_LANGS}' )" != ""
%files Ukrainian %files Ukrainian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(uk) %{tde_datadir}/locale/uk/* %lang(uk) %{tde_datadir}/locale/uk/*
%endif %endif
%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ven <<< '%{TDE_LANGS}' )" != ""
%files Venda %files Venda
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ven) %{tde_datadir}/locale/ven/* %lang(ven) %{tde_datadir}/locale/ven/*
%endif %endif
%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w vi <<< '%{TDE_LANGS}' )" != ""
%files Vietnamese %files Vietnamese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(vi) %{tde_datadir}/locale/vi/* %lang(vi) %{tde_datadir}/locale/vi/*
%endif %endif
%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w wa <<< '%{TDE_LANGS}' )" != ""
%files Walloon %files Walloon
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(wa) %{tde_datadir}/locale/wa/* %lang(wa) %{tde_datadir}/locale/wa/*
%endif %endif
%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w xh <<< '%{TDE_LANGS}' )" != ""
%files Xhosa %files Xhosa
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(xh) %{tde_datadir}/locale/xh/* %lang(xh) %{tde_datadir}/locale/xh/*
%endif %endif
%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w zh_CN <<< '%{TDE_LANGS}' )" != ""
%files Chinese %files Chinese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(zh_CN) %{tde_datadir}/locale/zh_CN/* %lang(zh_CN) %{tde_datadir}/locale/zh_CN/*
%endif %endif
%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w zh_TW <<< '%{TDE_LANGS}' )" != ""
%files Chinese-Big5 %files Chinese-Big5
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(zh_TW) %{tde_datadir}/locale/zh_TW/* %lang(zh_TW) %{tde_datadir}/locale/zh_TW/*
%endif %endif
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.3-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.3-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.3-3
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -41,7 +41,7 @@
Name: trinity-%{tde_pkg} Name: trinity-%{tde_pkg}
Summary: An integrated office suite Summary: An integrated office suite
Version: 1.6.3 Version: 1.6.3
Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:9}%{?preversion:8_%{preversion}}%{?dist}%{?_variant}
Group: Applications/Productivity Group: Applications/Productivity
License: GPLv2+ License: GPLv2+
@ -55,9 +55,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: koffice-3.5.13.2-fix_kformula_ftbfs.patch
# BuildRequires: world-devel ;) # BuildRequires: world-devel ;)
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: trinity-tdegraphics-devel >= %{tde_version} BuildRequires: trinity-tdegraphics-devel >= %{tde_version}
BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel >= %{tde_version} BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel >= %{tde_version}
BuildRequires: automake libtool BuildRequires: automake libtool
@ -72,7 +78,6 @@ 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: perl BuildRequires: perl
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: aspell-devel BuildRequires: aspell-devel
@ -140,6 +145,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: postgresql-devel
BuildRequires: libpqxx-devel BuildRequires: libpqxx-devel
%endif %endif
Obsoletes: trinity-libpqxx Obsoletes: trinity-libpqxx
@ -230,7 +236,6 @@ 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}
%description core %description core
%{summary}. %{summary}.
@ -1055,8 +1060,9 @@ This package is part of the TDE Office Suite.
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .ftbfs
%if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013 %if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013 || 0%{?fedora} >= 19
%__cp /usr/share/automake-1.13/test-driver admin/ %__cp /usr/share/automake-1.13/test-driver admin/
%endif %endif
@ -1066,12 +1072,6 @@ This package is part of the TDE Office Suite.
-e 's|dejavu sans|dejavu lgc sans|' \ -e 's|dejavu sans|dejavu lgc sans|' \
lib/kformula/{contextstyle,fontstyle,symboltable}.cc lib/kformula/{contextstyle,fontstyle,symboltable}.cc
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -1080,7 +1080,6 @@ This package is part of the TDE Office Suite.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
export KDEDIR="%{tde_prefix}" export KDEDIR="%{tde_prefix}"
@ -1097,26 +1096,34 @@ export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux"
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--disable-rpath --disable-dependency-tracking \ \
--disable-dependency-tracking \
--disable-debug \ --disable-debug \
--enable-new-ldflags \ --enable-new-ldflags \
--disable-debug --disable-warnings \
--with-pic --enable-shared --disable-static \
--with-extra-libs=%{tde_libdir} \
--enable-final \ --enable-final \
--with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/arts \
--enable-closure \ --enable-closure \
--enable-rpath \
\
--with-extra-libs=%{tde_libdir} \
--with-extra-includes=%{tde_includedir}/arts \
\
--disable-kexi-macros \ --disable-kexi-macros \
%{?with_kross:--enable-scripting} %{!?with_kross:--disable-scripting} \ %{?with_kross:--enable-scripting} %{!?with_kross:--disable-scripting} \
%{?with_postgresql:--enable-pgsql} %{!?with_postgresql:--disable-pgsql} \ %{?with_postgresql:--enable-pgsql} %{!?with_postgresql:--disable-pgsql} \
%__make %{?_smp_mflags} %__make %{?_smp_mflags} || %__make
%install %install
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
# Moves menu elements to XDG folder
desktop-file-install \
--dir=%{buildroot}%{tde_tdeappdir} \
--vendor="" \
--delete-original \
%{buildroot}%{tde_datadir}/applnk/Office/*.desktop
# Replace absolute symlinks with relative ones # Replace absolute symlinks with relative ones
pushd %{buildroot}%{tde_tdedocdir}/HTML pushd %{buildroot}%{tde_tdedocdir}/HTML
@ -1131,20 +1138,6 @@ for lang in *; do
done done
popd popd
desktop-file-install \
--dir=%{buildroot}%{tde_tdeappdir} \
--vendor="" \
--delete-original \
%{buildroot}%{tde_datadir}/applnk/Office/*.desktop
## Hack-in NoDisplay=True (http://bugzilla.redhat.com/245061)
## until http://bugzilla.redhat.com/245190 is fixed
%if 0%{?rhel} || 0%{?fedora}
for desktop_file in %{buildroot}%{tde_datadir}/applnk/.hidden/*.desktop ; do
grep "^NoDisplay=" ${desktop_file} || \
echo "NoDisplay=True" >> ${desktop_file}
done
%endif
## unpackaged files ## unpackaged files
# fonts # fonts
@ -1174,6 +1167,9 @@ rm -f %{buildroot}%{tde_libdir}/libkugar*.so
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.3-9
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.3-7 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.3-7
- 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 konversation %define tde_pkg konversation
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: user friendly Internet Relay Chat (IRC) client for KDE [Trinity] Summary: user friendly Internet Relay Chat (IRC) client for TDE [Trinity]
Version: 1.1 Version: 1.1
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,13 +39,14 @@ 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 >= 1:1.5.10
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: libxslt-devel BuildRequires: libxslt-devel
@ -90,13 +92,7 @@ and experienced users alike will appreciate its many features:
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -106,7 +102,6 @@ and experienced users alike will appreciate its many features:
%build %build
unset QTDIR || : ; source /etc/profile.d/qt3.sh unset QTDIR || : ; source /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -116,9 +111,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -128,7 +127,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}
@ -143,7 +143,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,-)
%doc AUTHORS COPYING %doc AUTHORS COPYING
%{tde_bindir}/konversation %{tde_bindir}/konversation
@ -177,6 +177,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.1-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.1-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.1-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 kopete-otr %define tde_pkg kopete-otr
%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
@ -11,7 +12,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
@ -28,10 +29,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: Off-The-Record encryption for Kopete [Trinity] Summary: Off-The-Record encryption for Kopete [Trinity]
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
@ -43,16 +44,18 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdenetwork-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: trinity-tdenetwork-devel >= %{tde_version}
# Kopete is provided by kdenetwork # Kopete is provided by kdenetwork
Requires: trinity-kopete >= 3.5.13.2 Requires: trinity-kopete >= %{tde_version}
%if 0%{?suse_version} >= 1230 %if 0%{?suse_version} >= 1230
BuildRequires: libotr2-devel BuildRequires: libotr2-devel
%else %else
@ -60,7 +63,7 @@ BuildRequires: libotr-devel
%endif %endif
%description %description
This plugin enables Off-The-Record encryption for the KDE instant This plugin enables Off-The-Record encryption for the TDE instant
messenger Kopete. Using this plugin you can encrypt chatsessions to other messenger Kopete. Using this plugin you can encrypt chatsessions to other
users with IM-Cients supporting the OTR encryption method. users with IM-Cients supporting the OTR encryption method.
@ -71,13 +74,7 @@ users with IM-Cients supporting the OTR encryption method.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -87,7 +84,6 @@ users with IM-Cients supporting the OTR encryption method.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -97,12 +93,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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-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}
@ -113,6 +114,7 @@ export PATH="%{tde_bindir}:${PATH}"
%find_lang kopete_otr %find_lang kopete_otr
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -147,6 +149,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-5
- Build for Fedora 19
* 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 kpicosim %define tde_pkg kpicosim
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: IDE and simulator for the Xilinx PicoBlaze-3 [Trinity] Summary: IDE and simulator for the Xilinx PicoBlaze-3 [Trinity]
Version: 0.6a Version: 0.6a
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,18 +39,20 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
%description %description
kpicosim is a development environment for the Xilinx kpicosim is a development environment for the Xilinx
PicoBlaze-3 soft-core processor for the KDE Desktop (Linux). PicoBlaze-3 soft-core processor for the TDE Desktop (Linux).
The environment has an editor with syntax highlighting, compiler, The environment has an editor with syntax highlighting, compiler,
simulator and export functions to VHDL, HEX and MEM files. simulator and export functions to VHDL, HEX and MEM files.
@ -60,13 +63,7 @@ simulator and export functions to VHDL, HEX and MEM 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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -78,6 +75,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} \
@ -86,8 +84,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-final \
--enable-closure \
--enable-rpath
# SMP safe ! # SMP safe !
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -99,10 +102,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
%find_lang %{tdecomp} || touch %{tdecomp}.lang
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -116,7 +115,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
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README %doc AUTHORS ChangeLog COPYING NEWS README
%{tde_bindir}/kpicosim %{tde_bindir}/kpicosim
@ -128,6 +127,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.6a-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.6a-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.6a-3
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -27,7 +27,7 @@
Name: trinity-%{tde_pkg} 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: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -43,11 +43,12 @@ Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} 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-tdepim-devel >= %{tde_version} BuildRequires: trinity-tdepim-devel >= %{tde_version}
@ -66,12 +67,6 @@ and synchronize the built-in applications with their TDE counterparts.
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -80,7 +75,6 @@ and synchronize the built-in applications with their TDE counterparts.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -96,9 +90,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \ --enable-final \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath
\
--with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir}
# SMP safe ! # SMP safe !
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -182,6 +174,9 @@ done
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-6
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-5 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-5
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -1,13 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp kpowersave %define tde_pkg kpowersave
%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,9 +24,9 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Version: 0.7.3 Version: 0.7.3
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
Summary: HAL based power management applet for Trinityfiles or directories. Summary: HAL based power management applet for Trinityfiles or directories.
License: GPLv2+ License: GPLv2+
@ -39,15 +39,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}-%{tdeversion}%{?preversion:~%{preversion}}.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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: hal-devel BuildRequires: hal-devel
BuildRequires: trinity-dbus-tqt-devel BuildRequires: trinity-dbus-tqt-devel >= 1:0.63
%description %description
@ -87,12 +89,11 @@ settings for:
%prep %prep
%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%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"
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
@ -101,12 +102,21 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=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" \ \
-DBUILD_ALL=ON \
.. ..
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -151,6 +161,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%{tde_datadir}/config/kpowersaverc %{tde_datadir}/config/kpowersaverc
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.7.3-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7.3-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7.3-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 krename %define tde_pkg krename
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: A TDE batch file renaming utility. Summary: A TDE batch file renaming utility.
Version: 3.0.14 Version: 3.0.14
Release: 6%{?dist}%{?_variant} Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,13 +39,15 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%description %description
KRename is a powerful batch renamer for TDE. It allows you to easily rename hundreds or KRename is a powerful batch renamer for TDE. It allows you to easily rename hundreds or
even more files in one go. The filenames can be created by parts of the original filename, even more files in one go. The filenames can be created by parts of the original filename,
@ -57,13 +60,7 @@ or Exif informations of an image.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -73,7 +70,6 @@ or Exif informations of an image.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -83,9 +79,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -95,7 +95,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}
%clean %clean
@ -116,7 +116,7 @@ for f in hicolor locolor ; do
done done
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}/krename %{tde_bindir}/krename
@ -130,6 +130,9 @@ update-desktop-database %{tde_appdir} &> /dev/null
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.0.14-7
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.0.14-6 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.0.14-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 krusader %define tde_pkg krusader
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: twin-panel (commander-style) file manager for KDE (and other desktops) Summary: twin-panel (commander-style) file manager for TDE (and other desktops)
Version: 1.90.0 Version: 1.90.0
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,14 +39,18 @@ 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 Patch0: krusader-3.5.13.2-ftbfs.patch
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdebindings-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: trinity-tdebindings-devel >= %{tde_version}
%description %description
Krusader is a simple, easy, powerful, twin-panel (commander-style) file Krusader is a simple, easy, powerful, twin-panel (commander-style) file
@ -73,13 +78,8 @@ great on your desktop.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch0 -p1 -b .ftbfs
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -89,8 +89,8 @@ great on your desktop.
%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 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} \
@ -99,8 +99,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -110,7 +115,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}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -131,7 +136,7 @@ for f in crystalsvg locolor ; do
done done
%files -f %{tdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING FAQ README TODO %doc AUTHORS COPYING FAQ README TODO
%{tde_bindir}/krusader %{tde_bindir}/krusader
@ -152,6 +157,9 @@ done
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.90.0-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.90.0-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.90.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 ksplash-engine-moodin %define tde_pkg ksplash-engine-moodin
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: fading splash screen engine for Trinity Summary: fading splash screen engine for Trinity
Version: 0.4.2 Version: 0.4.2
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,12 +39,14 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
@ -71,13 +74,7 @@ Homepage: http://moodwrod.com
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -87,7 +84,6 @@ Homepage: http://moodwrod.com
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -97,8 +93,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -123,6 +124,9 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.2-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.2-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.2-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 ksquirrel %define tde_pkg ksquirrel
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: Powerful Trinity image viewer Summary: Powerful Trinity image viewer
Version: 0.8.0 Version: 0.8.0
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Amusements/Games Group: Amusements/Games
@ -38,14 +39,15 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: gettext
BuildRequires: trinity-libkipi-devel BuildRequires: trinity-libkipi-devel
BuildRequires: trinity-libksquirrel-devel BuildRequires: trinity-libksquirrel-devel
#BuildRequires: libkexif-devel #BuildRequires: libkexif-devel
@ -55,7 +57,7 @@ KSquirrel is an image viewer for TDE with disk navigator, file tree,
multiple directory view, thumbnails, extended thumbnails, dynamic multiple directory view, thumbnails, extended thumbnails, dynamic
format support, DCOP interface, KEXIF and KIPI plugins support. format support, DCOP interface, KEXIF and KIPI plugins support.
KSquirrel is a fast and convenient image viewer for KDE featuring KSquirrel is a fast and convenient image viewer for TDE featuring
OpenGL and dynamic format support. OpenGL and dynamic format support.
@ -65,13 +67,7 @@ OpenGL and dynamic format 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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -81,13 +77,13 @@ OpenGL and dynamic format support.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
# Specific path for RHEL4 # Specific path for RHEL4
if [ -d /usr/X11R6 ]; then if [ -d /usr/X11R6 ]; then
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
fi fi
# Warning: --enable-final causes FTBFS
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \
@ -96,8 +92,13 @@ fi
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--disable-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--disable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -107,7 +108,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}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -124,7 +125,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,-)
%doc AUTHORS ChangeLog COPYING LICENSE LICENSE.GFDL LICENSE.LGPL README TODO %doc AUTHORS ChangeLog COPYING LICENSE LICENSE.GFDL LICENSE.LGPL README TODO
%{tde_bindir}/ksquirrel %{tde_bindir}/ksquirrel
@ -148,6 +149,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%{tde_mandir}/man1/ksquirrel.1 %{tde_mandir}/man1/ksquirrel.1
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.0-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.0-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.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 kstreamripper %define tde_pkg kstreamripper
%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,11 +24,11 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: TDE frontend for streamripper Summary: TDE frontend for streamripper
Version: 0.3.4 Version: 0.3.4
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -39,13 +40,14 @@ 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 >= 1:1.5.10
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: scons BuildRequires: scons
@ -62,17 +64,14 @@ you with managing/ripping your preferred streams.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__sed -i kde.py \ %__sed -i kde.py \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|include/kde|include/tde|g" -e "s|include/kde|include/tde|g"
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
scons -Q -j4 \ scons -Q -j4 \
qtlibs=${QTLIB:-${QTDIR}/%{_lib}} qtlibs=${QTLIB:-${QTDIR}/%{_lib}}
@ -84,31 +83,10 @@ export PATH="%{tde_bindir}:${PATH}"
%__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
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/kstreamripper %{tde_bindir}/kstreamripper
@ -119,6 +97,9 @@ fi
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.4-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.4-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.4-3
- 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 ksystemlog %define tde_pkg ksystemlog
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: system log viewer tool for Trinity Summary: system log viewer tool for Trinity
Version: 0.3.2 Version: 0.3.2
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
@ -38,12 +39,13 @@ URL: http://ksystemlog.forum-software.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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -62,13 +64,7 @@ quickly see problems occuring on their server.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -78,7 +74,6 @@ quickly see problems occuring on their server.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -88,9 +83,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -126,6 +125,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.2-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.2-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.2-3
- 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 ktechlab %define tde_pkg ktechlab
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: circuit simulator for microcontrollers and electronics [Trinity] Summary: circuit simulator for microcontrollers and electronics [Trinity]
Version: 0.3 Version: 0.3
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,12 +39,16 @@ 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 Patch0: ktechlab-3.5.13.2-ftbfs.patch
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
@ -61,13 +66,8 @@ Homepage: http://ktechlab.org/
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch0 -p1 -b .ftbfs
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -77,8 +77,8 @@ Homepage: http://ktechlab.org/
%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 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} \
@ -87,8 +87,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--disable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -98,7 +103,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}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -113,7 +118,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}/ktechlab %{tde_bindir}/ktechlab
%{tde_bindir}/microbe %{tde_bindir}/microbe
@ -130,6 +135,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.3-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3-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 ktorrent %define tde_pkg ktorrent
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: BitTorrent client for Trinity Summary: BitTorrent client for Trinity
Version: 2.2.8 Version: 2.2.8
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,15 +39,32 @@ URL: http://ktorrent.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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
# AVAHI support
# Disabled on RHEL4 and RHEL5
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
%define with_avahi 1
BuildRequires: trinity-avahi-tqt-devel
Requires: trinity-avahi-tqt
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}avahi-client-devel
Requires: %{_lib}avahi-client3
%else
BuildRequires: avahi-devel
Requires: avahi
%endif
%endif
%description %description
KTorrent is a BitTorrent program for Trinity. Its features include speed capping KTorrent is a BitTorrent program for Trinity. Its features include speed capping
@ -61,13 +79,7 @@ enabling background downloading.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -77,7 +89,6 @@ enabling background downloading.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix="%{tde_prefix}" \ --prefix="%{tde_prefix}" \
@ -87,8 +98,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-rpath \ \
--with-extra-includes="%{tde_includedir}/tqt" --disable-dependency-tracking \
--disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath \
\
%{?!with_avahi:--without-avahi}
# Not SMP safe ! # Not SMP safe !
@ -100,7 +118,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}
# Unwanted files # Unwanted files
%__rm -f "%{?buildroot}%{tde_libdir}/libktorrent.so" %__rm -f "%{?buildroot}%{tde_libdir}/libktorrent.so"
@ -123,7 +141,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,-)
%{tde_bindir}/ktcachecheck %{tde_bindir}/ktcachecheck
%{tde_bindir}/ktorrent %{tde_bindir}/ktorrent
@ -162,8 +180,16 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%{tde_datadir}/services/*.desktop %{tde_datadir}/services/*.desktop
%{tde_datadir}/servicetypes/ktorrentplugin.desktop %{tde_datadir}/servicetypes/ktorrentplugin.desktop
%if 0%{?with_avahi}
%{tde_tdelibdir}/ktzeroconfplugin.la
%{tde_tdelibdir}/ktzeroconfplugin.so
%endif
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 2.2.8-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.2.8-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.2.8-3
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -27,7 +27,7 @@
Name: trinity-%{tde_pkg} Name: trinity-%{tde_pkg}
Summary: Quick picture viewer for TDE Summary: Quick picture viewer for TDE
Version: 0.8.13 Version: 0.8.13
Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -41,6 +41,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -66,12 +67,6 @@ Clicking on an image shows the image in its normal size.
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -80,7 +75,6 @@ Clicking on an image shows the image in its normal size.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -93,12 +87,10 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
\ \
--disable-dependency-tracking \ --disable-dependency-tracking \
--disable-debug \ --disable-debug \
--enable-new-ldflags \
--enable-final \ --enable-final \
--enable-new-ldflags \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath
\
--with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -126,18 +118,21 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING %doc AUTHORS COPYING
%{tde_bindir}/* %{tde_bindir}/kuickshow
%{tde_datadir}/applications/*/*.desktop %{tde_datadir}/applications/*/*.desktop
%{tde_datadir}/apps/*/ %{tde_datadir}/apps/kuickshow/
%{tde_datadir}/icons/hicolor/*/*/* %{tde_datadir}/icons/hicolor/*/*/*
%{tde_libdir}/lib[kt]deinit_%{tde_pkg}.so %{tde_libdir}/libkdeinit_%{tde_pkg}.so
%{tde_libdir}/*.la %{tde_libdir}/*.la
%{tde_tdelibdir}/*.so %{tde_tdelibdir}/*.so
%{tde_tdelibdir}/*.la %{tde_tdelibdir}/*.la
%{tde_tdedocdir}/HTML/en/*/ %{tde_tdedocdir}/HTML/en/kuickshow/
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.13-8
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.13-7 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.13-7
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -1,14 +1,15 @@
# REMOVE KDELIBS4-DEVEL before building !!!! # REMOVE KDELIBS4-DEVEL before building !!!!
# Default version for this component # Default version for this component
%define tdecomp kvirc %define tde_pkg kvirc
%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
@ -25,10 +26,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: Trinity based next generation IRC client with module support Summary: Trinity based next generation IRC client with module support
Version: 3.4.0 Version: 3.4.0
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -40,17 +41,20 @@ URL: http://kvirc.net/
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
# [kvirc] Modules do not install in correct folder [RHEL/Fedora] # [kvirc] Modules do not install in correct folder [RHEL/Fedora]
Patch0: kvirc-3.5.13.2-fix_ftbfs.patch Patch0: kvirc-3.5.13.2-fix_ftbfs.patch
# [kvirc] FTBFS because of missing link libraries [Bug #991] # [kvirc] FTBFS because of missing link libraries [Bug #991]
Patch1: kvirc-3.5.13-ftbfs.patch Patch1: kvirc-3.5.13-ftbfs.patch
Patch2: kvirc-14.0.0-install_directory.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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
Requires: %{name}-data = %{version}-%{release} Requires: %{name}-data = %{version}-%{release}
@ -58,8 +62,8 @@ Requires: %{name}-data = %{version}-%{release}
%description %description
A highly configurable graphical IRC client with an MDI interface, A highly configurable graphical IRC client with an MDI interface,
built-in scripting language, support for IRC DCC, drag & drop file built-in scripting language, support for IRC DCC, drag & drop file
browsing, and much more. KVIrc uses the KDE widget set, can be extended browsing, and much more. KVIrc uses the TDE widget set, can be extended
using its own scripting language, integrates with KDE, and supports using its own scripting language, integrates with TDE, and supports
custom plugins. custom plugins.
If you are a developer and you want to write a custom module for KVIrc, If you are a developer and you want to write a custom module for KVIrc,
@ -78,8 +82,8 @@ within KVIrc in its internal help format. Unless you want to use KVIrc only
as a very simple IRC client you are likely to want to write scripts to as a very simple IRC client you are likely to want to write scripts to
tailor KVIrc to your needs. tailor KVIrc to your needs.
KVIrc is a graphical IRC client based on the KDE widget set which integrates KVIrc is a graphical IRC client based on the TDE widget set which integrates
with the K Desktop Environment version 3. with the Trinity Desktop Environment version 3.
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
@ -90,7 +94,7 @@ Requires: %{name} = %{version}-%{release}
This package contains KVIrc libraries and include files you need if you This package contains KVIrc libraries and include files you need if you
want to develop plugins for KVIrc. want to develop plugins for KVIrc.
KVIrc is a graphical IRC client based on the KDE widget set which integrates KVIrc is a graphical IRC client based on the TDE widget set which integrates
with the K Desktop Environment version 3. with the K Desktop Environment version 3.
@ -100,15 +104,10 @@ with the K Desktop Environment version 3.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1 -b .installdir
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
# Hardcoded absolute PATH to KDEDIR in source code ! That sucks ! # Hardcoded absolute PATH to KDEDIR in source code ! That sucks !
%__sed -i "src/kvirc/kernel/kvi_app_fs.cpp" \ %__sed -i "src/kvirc/kernel/kvi_app_fs.cpp" \
@ -124,7 +123,6 @@ with the K Desktop Environment version 3.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export KDEDIR=%{tde_prefix} export KDEDIR=%{tde_prefix}
%configure \ %configure \
@ -135,18 +133,22 @@ export KDEDIR=%{tde_prefix}
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--disable-rpath \ \
--with-fno-rtti --with-aa-fonts --with-big-channels \ --disable-dependency-tracking \
--enable-perl --with-pic --enable-wall \ --disable-debug \
--enable-wall \
\
--with-pic \
\
--with-big-channels \
--enable-perl \
--with-ix86-asm \ --with-ix86-asm \
--with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} \
--with-kde-services-dir=%{tde_datadir}/services \ --with-kde-services-dir=%{tde_datadir}/services \
--with-kde-library-dir=%{tde_libdir} \ --with-kde-library-dir=%{tde_libdir} \
--with-kde-include-dir=%{tde_tdeincludedir} \ --with-kde-include-dir=%{tde_tdeincludedir} \
--with-qt-library-dir=${QTLIB:-${QTDIR}/%{_lib}} \ --with-qt-library-dir=${QTLIB:-${QTDIR}/%{_lib}} \
--with-qt-include-dir=${QTINC:-${QTDIR}/include} \ --with-qt-include-dir=${QTINC:-${QTDIR}/include} \
--with-qt-moc=${QTDIR}/bin/moc \ --with-qt-moc=${QTDIR}/bin/moc
--enable-closure
# Symbolic links must exist prior to parallel building # Symbolic links must exist prior to parallel building
%__make symlinks -C src/kvilib/build %__make symlinks -C src/kvilib/build
@ -162,8 +164,9 @@ export PATH="%{tde_bindir}:${PATH}"
# Debian maintainer has renamed 'COPYING' file to 'EULA', so we do the same ... # Debian maintainer has renamed 'COPYING' file to 'EULA', so we do the same ...
%__mv \ %__mv \
%{?buildroot}%{tde_datadir}/kvirc/3.4/license/COPYING \ %{?buildroot}%{tde_libdir}/kvirc/3.4/license/COPYING \
%{?buildroot}%{tde_datadir}/kvirc/3.4/license/EULA %{?buildroot}%{tde_libdir}/kvirc/3.4/license/EULA
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -185,18 +188,18 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%doc ChangeLog FAQ README TODO %doc ChangeLog FAQ README TODO
%{tde_bindir}/kvirc %{tde_bindir}/kvirc
%{tde_libdir}/*.so.* %{tde_libdir}/*.so.*
#%{tde_libdir}/kvirc/*/modules/*.so %{tde_libdir}/kvirc/*/modules/*.so
%files data %files data
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/kvi_run_netscape %{tde_bindir}/kvi_run_netscape
%{tde_bindir}/kvi_search_help %{tde_bindir}/kvi_search_help
#%{tde_libdir}/kvirc/*/modules/caps/ %{tde_libdir}/kvirc/
%{tde_datadir}/applnk/Internet/kvirc.desktop %{tde_datadir}/applnk/Internet/kvirc.desktop
%{tde_datadir}/icons/hicolor/*/*/*.png %{tde_datadir}/icons/hicolor/*/*/*.png
%{tde_datadir}/icons/hicolor/*/*/*.svgz %{tde_datadir}/icons/hicolor/*/*/*.svgz
%{tde_datadir}/icons/hicolor/*/*/*.xpm %{tde_datadir}/icons/hicolor/*/*/*.xpm
%{tde_datadir}/kvirc #%{tde_datadir}/kvirc
%{tde_datadir}/mimelnk/text/*.desktop %{tde_datadir}/mimelnk/text/*.desktop
%{tde_datadir}/services/*.protocol %{tde_datadir}/services/*.protocol
%{tde_mandir}/man1/kvirc.1 %{tde_mandir}/man1/kvirc.1
@ -211,6 +214,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.4.0-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.4.0-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.4.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 kvkbd %define tde_pkg kvkbd
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: Virtual keyboard for KDE [Trinity] Summary: Virtual keyboard for TDE [Trinity]
Version: 0.4.8 Version: 0.4.8
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
@ -38,16 +39,17 @@ URL: http://pan4os.info/main/index.php
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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%description %description
Virtual keyboard for KDE for use with accessibility. Application contains Virtual keyboard for TDE for use with accessibility. Application contains
a systray widget as well as a dockwidget. a systray widget as well as a dockwidget.
@ -57,13 +59,7 @@ a systray widget as well as a dockwidget.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -83,9 +79,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -120,6 +120,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.8-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.8-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.8-3
- 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 piklab %define tde_pkg piklab
%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,10 +24,10 @@
%define _docdir %{tde_tdedocdir} %define _docdir %{tde_tdedocdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: IDE for PIC-microcontroller development [Trinity] Summary: IDE for PIC-microcontroller development [Trinity]
Version: 0.15.2 Version: 0.15.2
Release: 5%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,14 +39,15 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: gettext
BuildRequires: readline-devel BuildRequires: readline-devel
%description %description
@ -64,13 +66,7 @@ are supported. A command-line programmer and debugger are also available.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -80,8 +76,8 @@ are supported. A command-line programmer and debugger are also available.
%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 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} \
@ -90,8 +86,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--disable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -104,7 +105,7 @@ export PATH="%{tde_bindir}:${PATH}"
# Incorrect extension on manpage # Incorrect extension on manpage
%__mv -f %{buildroot}%{tde_mandir}/man1/piklab.1x %{buildroot}%{tde_mandir}/man1/piklab.1 %__mv -f %{buildroot}%{tde_mandir}/man1/piklab.1x %{buildroot}%{tde_mandir}/man1/piklab.1
%find_lang %{tdecomp} %find_lang %{tde_pkg}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -121,7 +122,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}/piklab %{tde_bindir}/piklab
%{tde_bindir}/piklab-coff %{tde_bindir}/piklab-coff
@ -143,6 +144,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.15.2-6
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.15.2-5 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.15.2-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 tdecomp potracegui %define tde_pkg potracegui
%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,10 +24,10 @@
%define _docdir %{tde_tdedocdir} %define _docdir %{tde_tdedocdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: KDE frontend for potrace [Trinity] Summary: TDE frontend for potrace [Trinity]
Version: 1.3 Version: 1.3
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Multimedia Group: Applications/Multimedia
@ -38,17 +39,18 @@ URL: http://potracegui.sourceforge.net
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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%description %description
A KDE interface for the commandline tracing tools potrace and/or autotrace. It A TDE interface for the commandline tracing tools potrace and/or autotrace. It
supports drag and drop as well as all image types recognized by KDE, which are supports drag and drop as well as all image types recognized by TDE, which are
a lot more than the 4 recognized by the potrace commandline tool. Loading of a lot more than the 4 recognized by the potrace commandline tool. Loading of
remote files (web, ftp, ...) is also supported. remote files (web, ftp, ...) is also supported.
@ -59,13 +61,7 @@ remote files (web, ftp, ...) is also supported.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -75,7 +71,6 @@ remote files (web, ftp, ...) is also supported.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -85,9 +80,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -126,6 +125,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.3-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.3-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.3-3
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -30,7 +30,7 @@
Name: trinity-%{tde_pkg} 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: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Multimedia Group: Applications/Multimedia
@ -45,11 +45,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} 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: liblo-devel BuildRequires: liblo-devel
BuildRequires: fontconfig-devel BuildRequires: fontconfig-devel
@ -121,17 +122,13 @@ This package provides the data files necessary for running Rosegarden
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Hard-coded path to TQT binaries spotted !!!
%__sed -i CMakeLists.txt \
-e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \
-e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g"
%build %build
unset QTDIR && . %{_sysconfdir}/profile.d/qt3.sh unset QTDIR && . %{_sysconfdir}/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}"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_tdeincludedir}"
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%__mkdir_p build %__mkdir_p build
@ -139,13 +136,12 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="-DNDEBUG" \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH="OFF" \ -DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \ -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} \
@ -159,6 +155,8 @@ cd build
%{?with_lirc:-DWANT_LIRC=ON} %{?!with_lirc:-DWANT_LIRC=OFF} \ %{?with_lirc:-DWANT_LIRC=ON} %{?!with_lirc:-DWANT_LIRC=OFF} \
-DWANT_PCH=OFF \ -DWANT_PCH=OFF \
-DWANT_TEST=OFF \ -DWANT_TEST=OFF \
-DWANT_DEBUG=OFF \
-DWANT_FULLDBG=OFF \
-DBUILD_ALL=ON \ -DBUILD_ALL=ON \
.. ..
@ -221,6 +219,9 @@ done
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.7.0-6
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.7.0-5 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.7.0-5
- Rebuild with NDEBUG option - Rebuild with NDEBUG option
@ -230,7 +231,7 @@ done
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.7.0-3 * Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.7.0-3
- Initial release for TDE 3.5.13.1 - Initial release for TDE 3.5.13.1
* Sun Apr 06 2012 Francois Andriot <francois.andriot@free.fr> - 1.7.0-2 * Fri Apr 06 2012 Francois Andriot <francois.andriot@free.fr> - 1.7.0-2
- Updated to build with gcc 4.7. [Commit #15276f36] - Updated to build with gcc 4.7. [Commit #15276f36]
- Enables JACK support - Enables JACK support

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp smartcardauth %define tde_pkg smartcardauth
%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,10 +24,10 @@
%define _docdir %{tde_tdedocdir} %define _docdir %{tde_tdedocdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: SmartCard Login and LUKS Decrypt, Setup Utility Summary: SmartCard Login and LUKS Decrypt, Setup Utility
Version: 1.0 Version: 1.0
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
@ -38,11 +39,12 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
#BuildRequires: perl-PAR-Packer #BuildRequires: perl-PAR-Packer
@ -77,21 +79,14 @@ in addition to the PKCS certificate functionality
%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
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "src/Makefile" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|/usr/include/qt3|${QTINC}|g"
%__sed -i "Makefile" \ %__sed -i "Makefile" \
-e "s|/usr/lib/perl5/Chipcard|/usr/lib64/perl5/vendor_perl/Chipcard|g" -e "s|/usr/lib/perl5/Chipcard|%{_libdir}/perl5/vendor_perl/Chipcard|g"
%build %build
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
./build_ckpasswd ./build_ckpasswd
@ -146,6 +141,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-3
- 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 smb4k %define tde_pkg smb4k
%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,10 +24,10 @@
%define _docdir %{tde_tdedocdir} %define _docdir %{tde_tdedocdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: A Samba (SMB) share advanced browser for Trinity Summary: A Samba (SMB) share advanced browser for Trinity
Version: 0.9.4 Version: 0.9.4
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,23 +39,24 @@ 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 >= 1:1.5.10
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
%description %description
Smb4K is a SMB (Windows) share browser for KDE. It uses the Samba software Smb4K is a SMB (Windows) share browser for TDE. It uses the Samba software
suite to access the SMB shares of the local network neighborhood. Its purpose suite to access the SMB shares of the local network neighborhood. Its purpose
is to provide a program that's easy to use and has as many features as is to provide a program that's easy to use and has as many features as
possible. possible.
%files -f %{tdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/smb4k %{tde_bindir}/smb4k
%{tde_bindir}/smb4k_cat %{tde_bindir}/smb4k_cat
@ -129,13 +131,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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -145,7 +141,6 @@ Requires: %{name} = %{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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export KDEDIR="%{tde_prefix}" export KDEDIR="%{tde_prefix}"
@ -157,9 +152,13 @@ export KDEDIR="%{tde_prefix}"
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--disable-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
# SMP safe ! # SMP safe !
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -170,7 +169,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}
%clean %clean
@ -178,6 +177,9 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.4-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.4-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.4-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 soundkonverter %define tde_pkg soundkonverter
%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,10 +24,10 @@
%define _docdir %{tde_tdedocdir} %define _docdir %{tde_tdedocdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: audio converter frontend for Trinity Summary: audio converter frontend for Trinity
Version: 0.3.8 Version: 0.3.8
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Application/Multimedia Group: Application/Multimedia
@ -38,11 +39,12 @@ URL: http://potracegui.sourceforge.net
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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -83,13 +85,7 @@ See the 'soundkonverter-trinity' package for more information.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -99,7 +95,6 @@ See the 'soundkonverter-trinity' package for more information.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -109,9 +104,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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt:/usr/include/cdda \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath \
\
--with-extra-includes=/usr/include/cdda
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -121,7 +122,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}
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -138,7 +139,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,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO %doc AUTHORS ChangeLog COPYING NEWS README TODO
%{tde_bindir}/soundkonverter %{tde_bindir}/soundkonverter
@ -173,6 +174,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.8-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.8-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.8-3
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,3 +1,7 @@
# Default version for this component
%define tde_pkg tde-guidance
%define tde_version 3.5.13.2
# REMOVE KDELIBS4-DEVEL before building !!!! # REMOVE KDELIBS4-DEVEL before building !!!!
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
@ -7,7 +11,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
@ -25,10 +29,10 @@
%define __arch_install_post %{nil} %define __arch_install_post %{nil}
Name: trinity-tde-guidance Name: trinity-%{tde_pkg}
Summary: A collection of system administration tools for Trinity Summary: A collection of system administration tools for Trinity
Version: 0.8.0svn20080103 Version: 0.8.0svn20080103
Release: 6%{?dist}%{?_variant} Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -40,18 +44,18 @@ URL: http://www.simonzone.com/software/guidance
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: trinity-tde-guidance-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
# [tde-guidance] Work around mountconfig incorrectly handling LABEL tag # [tde-guidance] Work around mountconfig incorrectly handling LABEL tag
# This resolves Bug 1545 # This resolves Bug 1545
# Add ext4 support # Add ext4 support
Patch1: tde-guidance-3.5.13.2-fix_mountconfig.patch Patch1: tde-guidance-3.5.13.2-fix_mountconfig.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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: trinity-pytdeextensions BuildRequires: trinity-pytdeextensions
BuildRequires: trinity-libpythonize0-devel BuildRequires: trinity-libpythonize0-devel
@ -87,7 +91,6 @@ BuildRequires: PyQt-devel
Requires: PyQt Requires: PyQt
%endif %endif
Requires: trinity-python-trinity Requires: trinity-python-trinity
Requires: trinity-pytdeextensions Requires: trinity-pytdeextensions
Requires: %{name}-backends = %{version}-%{release} Requires: %{name}-backends = %{version}-%{release}
@ -97,10 +100,8 @@ Requires: hwdata
%endif %endif
%if "%{tde_prefix}" == "/usr" # POWERMANAGER support (requires HAL)
Conflicts: guidance-power-manager %define with_powermanager 1
Conflicts: kde-guidance-powermanager
%endif
Obsoletes: trinity-guidance < %{version}-%{release} Obsoletes: trinity-guidance < %{version}-%{release}
Provides: trinity-guidance = %{version}-%{release} Provides: trinity-guidance = %{version}-%{release}
@ -116,7 +117,62 @@ look after your system:
These tools are available in Trinity Control Center, System Settings These tools are available in Trinity Control Center, System Settings
or can be run as standalone applications. or can be run as standalone applications.
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING README TODO
#%{tde_bindir}/displayconfig
#%{tde_bindir}/displayconfig-restore
%{tde_bindir}/grubconfig
%{tde_bindir}/mountconfig
%{tde_bindir}/serviceconfig
%{tde_bindir}/userconfig
%{tde_bindir}/wineconfig
%attr(0644,root,root) %{tde_tdelibdir}/*.so
%attr(0644,root,root) %{tde_tdelibdir}/*.la
%{tde_datadir}/apps/guidance/
%{tde_tdeappdir}/*.desktop
%{tde_datadir}/icons/crystalsvg/*/*/*.png
%{tde_datadir}/icons/crystalsvg/*/*/*.svg
%{python_sitearch}/%{name}/SMBShareSelectDialog.py*
%{python_sitearch}/%{name}/SimpleCommandRunner.py*
%{python_sitearch}/%{name}/fuser.py*
%{python_sitearch}/%{name}/fuser_ui.py*
%{python_sitearch}/%{name}/grubconfig.py*
%{python_sitearch}/%{name}/ktimerdialog.py*
%{python_sitearch}/%{name}/mountconfig.py*
%{python_sitearch}/%{name}/servertestdialog.py*
%{python_sitearch}/%{name}/serviceconfig.py*
%{python_sitearch}/%{name}/sizeview.py*
%{python_sitearch}/%{name}/unixauthdb.py*
%{python_sitearch}/%{name}/userconfig.py*
%{python_sitearch}/%{name}/wineconfig.py*
%{tde_tdedocdir}/HTML/en/guidance/
# Files from backends
%exclude %{tde_datadir}/apps/guidance/vesamodes
%exclude %{tde_datadir}/apps/guidance/extramodes
%exclude %{tde_datadir}/apps/guidance/widescreenmodes
%exclude %{tde_datadir}/apps/guidance/Cards+
%exclude %{tde_datadir}/apps/guidance/pcitable
%exclude %{tde_datadir}/apps/guidance/MonitorsDB
# Files from powermanager
%exclude %{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png
%exclude %{tde_datadir}/apps/guidance/pics/ac-adapter.png
%exclude %{tde_datadir}/apps/guidance/pics/battery*.png
%exclude %{tde_datadir}/apps/guidance/pics/processor.png
%post
touch --no-create %{tde_datadir}/icons/crystalsvg || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
/sbin/ldconfig || :
%postun
touch --no-create %{tde_datadir}/icons/crystalsvg || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
/sbin/ldconfig || :
##########
%package backends %package backends
Group: Applications/Utilities Group: Applications/Utilities
@ -133,42 +189,105 @@ Provides: trinity-guidance-backends = %{version}-%{release}
This package contains the platform neutral backends used in the This package contains the platform neutral backends used in the
Guidance configuration tools. Guidance configuration tools.
%files backends
%defattr(-,root,root,-)
%{python_sitearch}/%{name}/MicroHAL.py*
%{python_sitearch}/%{name}/ScanPCI.py*
%{python_sitearch}/%{name}/infimport.py*
%{python_sitearch}/%{name}/displayconfigabstraction.py*
%{python_sitearch}/%{name}/displayconfig-hwprobe.py*
%{python_sitearch}/%{name}/displayconfig-restore.py*
%{python_sitearch}/%{name}/drivedetect.py*
%{python_sitearch}/%{name}/execwithcapture.py*
%{python_sitearch}/%{name}/wineread.py*
%{python_sitearch}/%{name}/winewrite.py*
%{python_sitearch}/%{name}/xf86misc.py*
%{python_sitearch}/%{name}/xorgconfig.py*
%{python_sitearch}/ixf86misc.so
%{tde_datadir}/apps/guidance/vesamodes
%{tde_datadir}/apps/guidance/extramodes
%{tde_datadir}/apps/guidance/widescreenmodes
%{tde_datadir}/apps/guidance/Cards+
%{tde_datadir}/apps/guidance/pcitable
%{tde_datadir}/apps/guidance/MonitorsDB
##########
%if 0%{?with_powermanager}
%package powermanager %package powermanager
Group: Applications/Utilities Group: Applications/Utilities
Summary: HAL based power manager applet [Trinity] Summary: HAL based power manager applet [Trinity]
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: hal
Obsoletes: trinity-guidance-powermanager < %{version}-%{release} Obsoletes: trinity-guidance-powermanager < %{version}-%{release}
Provides: trinity-guidance-powermanager = %{version}-%{release} Provides: trinity-guidance-powermanager = %{version}-%{release}
%if "%{tde_prefix}" == "/usr"
Conflicts: guidance-power-manager
Conflicts: kde-guidance-powermanager
%endif
%description powermanager %description powermanager
A power management applet to indicate battery levels and perform hibernate or A power management applet to indicate battery levels and perform hibernate or
suspend using HAL. suspend using HAL.
%files powermanager
%defattr(-,root,root,-)
%{tde_bindir}/guidance-power-manager
%{python_sitearch}/%{name}/MicroHAL.py*
%{python_sitearch}/%{name}/guidance-power-manager.py*
%{python_sitearch}/%{name}/powermanage.py*
%{python_sitearch}/%{name}/gpmhelper.py*
%{python_sitearch}/%{name}/powermanager_ui.py*
%{python_sitearch}/%{name}/guidance_power_manager_ui.py*
%{python_sitearch}/%{name}/notify.py*
%{python_sitearch}/%{name}/tooltip.py*
%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png
%{tde_datadir}/apps/guidance/pics/ac-adapter.png
%{tde_datadir}/apps/guidance/pics/battery*.png
%{tde_datadir}/apps/guidance/pics/processor.png
%{tde_datadir}/autostart/guidance-power-manager.desktop
%post powermanager
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%postun powermanager
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%endif
##########
%if 0%{?suse_version} || 0%{?pclinuxos} %if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package %debug_package
%endif %endif
##########
%prep %prep
%setup -q -n trinity-tde-guidance-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .mountconfig %patch1 -p1 -b .mountconfig
%if 0%{?rhel} || 0%{?mgaversion} || 0%{?mdkversion}
%__sed -i "userconfig/unixauthdb.py" \
-e "s|self.first_uid = .*|self.first_uid = 500|" \
-e "s|self.first_gid = .*|self.first_gid = 500|"
%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 PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export KDEDIR=%{tde_prefix} export KDEDIR=%{tde_prefix}
# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia # Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia
export PYTHONDONTWRITEBYTECODE= export PYTHONDONTWRITEBYTECODE=
# Ugly hack for building Guidance in a non-standard python directory
export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}"
# FTBFS on PCLOS ... # FTBFS on PCLOS ...
export CXXFLAGS="${RPM_OPT_FLAGS} -I%{tde_tdeincludedir} -I%{tde_includedir}" export CXXFLAGS="${RPM_OPT_FLAGS} -I%{tde_tdeincludedir} -I%{tde_includedir}"
@ -184,7 +303,6 @@ fi
%install %install
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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}"
# For RHEL4 only # For RHEL4 only
@ -220,7 +338,7 @@ done
%{buildroot}%{tde_datadir}/icons/crystalsvg/16x16/apps/wineconfig.png %{buildroot}%{tde_datadir}/icons/crystalsvg/16x16/apps/wineconfig.png
# fix binary-or-shlib-defines-rpath # fix binary-or-shlib-defines-rpath
chrpath -d %{buildroot}%{tde_tdelibdir}/kcm_*.so chrpath -r %{tde_libdir} %{buildroot}%{tde_tdelibdir}/kcm_*.so
# fix executable-not-elf-or-script # fix executable-not-elf-or-script
%__chmod 0644 %{buildroot}%{tde_datadir}/apps/guidance/pics/kdewinewizard.png %__chmod 0644 %{buildroot}%{tde_datadir}/apps/guidance/pics/kdewinewizard.png
@ -245,7 +363,7 @@ chrpath -d %{buildroot}%{tde_tdelibdir}/kcm_*.so
%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/fuser.py %__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/fuser.py
%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/grubconfig.py %__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/grubconfig.py
%__mv -f %{buildroot}%{tde_datadir}/applications/kde/displayconfig.desktop %{buildroot}%{tde_datadir}/applications/kde/guidance-displayconfig.desktop %__mv -f %{buildroot}%{tde_tdeappdir}/displayconfig.desktop %{buildroot}%{tde_tdeappdir}/guidance-displayconfig.desktop
##### BACKENDS INSTALLATION ##### BACKENDS INSTALLATION
# install displayconfig-hwprobe.py script # install displayconfig-hwprobe.py script
@ -261,7 +379,7 @@ chrpath -d %{buildroot}%{tde_tdelibdir}/kcm_*.so
%__ln_s -f /usr/share/hwdata/MonitorsDB %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB %__ln_s -f /usr/share/hwdata/MonitorsDB %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB
%endif %endif
%if 0%{?with_powermanager}
##### POWERMANAGER INSTALLATION ##### POWERMANAGER INSTALLATION
# install icon to right place # install icon to right place
%__install -D -p -m0644 kde/powermanager/pics/battery-charging-100.png \ %__install -D -p -m0644 kde/powermanager/pics/battery-charging-100.png \
@ -290,6 +408,15 @@ chmod +x %{buildroot}%{tde_bindir}/guidance-power-manager
chmod 0755 %{buildroot}%{python_sitearch}/%{name}/powermanage.py chmod 0755 %{buildroot}%{python_sitearch}/%{name}/powermanage.py
chmod 0755 %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py chmod 0755 %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py
%else
%__rm -f %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py*
%__rm -f %{buildroot}%{python_sitearch}/%{name}/guidance-power-manager.py*
%__rm -f %{buildroot}%{python_sitearch}/%{name}/guidance_power_manager_ui.py*
%__rm -f %{buildroot}%{python_sitearch}/%{name}/powermanage.py*
%__rm -f %{buildroot}%{python_sitearch}/%{name}/powermanager_ui.py*
%endif
# Replace all '#!' calls to python with /usr/bin/python # Replace all '#!' calls to python with /usr/bin/python
# and make them executable # and make them executable
@ -320,114 +447,10 @@ find %{buildroot}%{tde_libdir} -name "*.a" -exec rm -f {} \;
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%post
touch --no-create %{tde_datadir}/icons/crystalsvg || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
/sbin/ldconfig || :
%postun
touch --no-create %{tde_datadir}/icons/crystalsvg || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
/sbin/ldconfig || :
%post powermanager
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%postun powermanager
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING README TODO
#%{tde_bindir}/displayconfig
#%{tde_bindir}/displayconfig-restore
%{tde_bindir}/grubconfig
%{tde_bindir}/mountconfig
%{tde_bindir}/serviceconfig
%{tde_bindir}/userconfig
%{tde_bindir}/wineconfig
%attr(0644,root,root) %{tde_tdelibdir}/*.so
%attr(0644,root,root) %{tde_tdelibdir}/*.la
%{tde_datadir}/apps/guidance/
%{tde_datadir}/applications/kde/*.desktop
%{tde_datadir}/icons/crystalsvg/*/*/*.png
%{tde_datadir}/icons/crystalsvg/*/*/*.svg
%{python_sitearch}/%{name}/SMBShareSelectDialog.py*
%{python_sitearch}/%{name}/SimpleCommandRunner.py*
%{python_sitearch}/%{name}/fuser.py*
%{python_sitearch}/%{name}/fuser_ui.py*
%{python_sitearch}/%{name}/grubconfig.py*
%{python_sitearch}/%{name}/ktimerdialog.py*
%{python_sitearch}/%{name}/mountconfig.py*
%{python_sitearch}/%{name}/servertestdialog.py*
%{python_sitearch}/%{name}/serviceconfig.py*
%{python_sitearch}/%{name}/sizeview.py*
%{python_sitearch}/%{name}/unixauthdb.py*
%{python_sitearch}/%{name}/userconfig.py*
%{python_sitearch}/%{name}/wineconfig.py*
%{tde_tdedocdir}/HTML/en/guidance/
# Files from backends
%exclude %{tde_datadir}/apps/guidance/vesamodes
%exclude %{tde_datadir}/apps/guidance/extramodes
%exclude %{tde_datadir}/apps/guidance/widescreenmodes
%exclude %{tde_datadir}/apps/guidance/Cards+
%exclude %{tde_datadir}/apps/guidance/pcitable
%exclude %{tde_datadir}/apps/guidance/MonitorsDB
# Files from powermanager
%exclude %{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png
%exclude %{tde_datadir}/apps/guidance/pics/ac-adapter.png
%exclude %{tde_datadir}/apps/guidance/pics/battery*.png
%exclude %{tde_datadir}/apps/guidance/pics/processor.png
%files backends
%defattr(-,root,root,-)
%{python_sitearch}/%{name}/MicroHAL.py*
%{python_sitearch}/%{name}/ScanPCI.py*
%{python_sitearch}/%{name}/infimport.py*
%{python_sitearch}/%{name}/displayconfigabstraction.py*
%{python_sitearch}/%{name}/displayconfig-hwprobe.py*
%{python_sitearch}/%{name}/displayconfig-restore.py*
%{python_sitearch}/%{name}/drivedetect.py*
%{python_sitearch}/%{name}/execwithcapture.py*
%{python_sitearch}/%{name}/wineread.py*
%{python_sitearch}/%{name}/winewrite.py*
%{python_sitearch}/%{name}/xf86misc.py*
%{python_sitearch}/%{name}/xorgconfig.py*
%{python_sitearch}/ixf86misc.so
%{tde_datadir}/apps/guidance/vesamodes
%{tde_datadir}/apps/guidance/extramodes
%{tde_datadir}/apps/guidance/widescreenmodes
%{tde_datadir}/apps/guidance/Cards+
%{tde_datadir}/apps/guidance/pcitable
%{tde_datadir}/apps/guidance/MonitorsDB
%files powermanager
%defattr(-,root,root,-)
%{tde_bindir}/guidance-power-manager
%{python_sitearch}/%{name}/MicroHAL.py*
%{python_sitearch}/%{name}/guidance-power-manager.py*
%{python_sitearch}/%{name}/powermanage.py*
%{python_sitearch}/%{name}/gpmhelper.py*
%{python_sitearch}/%{name}/powermanager_ui.py*
%{python_sitearch}/%{name}/guidance_power_manager_ui.py*
%{python_sitearch}/%{name}/notify.py*
%{python_sitearch}/%{name}/tooltip.py*
%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png
%{tde_datadir}/apps/guidance/pics/ac-adapter.png
%{tde_datadir}/apps/guidance/pics/battery*.png
%{tde_datadir}/apps/guidance/pics/processor.png
%{tde_datadir}/autostart/guidance-power-manager.desktop
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-9
- Build for Fedora 19
* Thu Jun 27 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-6 * Thu Jun 27 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-6
- Work around mountconfig incorrectly handling LABEL tag - Work around mountconfig incorrectly handling LABEL tag

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp tde-style-lipstik %define tde_pkg tde-style-lipstik
%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
@ -26,7 +27,7 @@
Name: trinity-tde-style-lipstik Name: trinity-tde-style-lipstik
Summary: Lipstik style for TDE Summary: Lipstik style for TDE
Version: 2.2.3 Version: 2.2.3
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,18 +39,18 @@ 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: trinity-%{tdecomp}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Obsoletes: trinity-kde-style-lipstik < %{version}-%{release} Obsoletes: trinity-kde-style-lipstik < %{version}-%{release}
Provides: trinity-kde-style-lipstik = %{version}-%{release} Provides: trinity-kde-style-lipstik = %{version}-%{release}
Obsoletes: trinity-style-lipstik < %{version}-%{release} Obsoletes: trinity-style-lipstik < %{version}-%{release}
Provides: trinity-style-lipstik = %{version}-%{release} Provides: trinity-style-lipstik = %{version}-%{release}
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext
%description %description
@ -65,13 +66,7 @@ Lipstik also provides Lipstik-color-schemes
%prep %prep
%setup -q -n trinity-%{tdecomp}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -81,7 +76,6 @@ Lipstik also provides Lipstik-color-schemes
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -89,8 +83,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--disable-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -120,6 +119,9 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 2.2.3-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.2.3-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.2.3-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,13 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp tde-style-qtcurve %define tde_pkg tde-style-qtcurve
%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
@ -27,7 +27,7 @@
Name: trinity-tde-style-qtcurve Name: trinity-tde-style-qtcurve
Summary: This is a set of widget styles for Trinity based apps Summary: This is a set of widget styles for Trinity based apps
Version: 0.55.2 Version: 0.55.2
Release: 5%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -39,12 +39,14 @@ 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
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
Obsoletes: trinity-kde-style-qtcurve < %{version}-%{release} Obsoletes: trinity-kde-style-qtcurve < %{version}-%{release}
@ -66,21 +68,13 @@ gtk2-engines-qtcurve.
%prep %prep
%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "CMakeLists.txt" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \
-e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g"
%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:${PKG_CONFIG_PATH}"
export KDEDIR="%{tde_prefix}" export KDEDIR="%{tde_prefix}"
export CXXFLAGS="-I${QTINC} -I%{tde_tdeincludedir} ${CXXFLAGS}" export CXXFLAGS="-I${QTINC} -I%{tde_tdeincludedir} ${CXXFLAGS}"
@ -103,11 +97,18 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-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" \ \
-DTDE_INCLUDE_DIR=%{tde_tdeincludedir} \ -DTDE_INCLUDE_DIR=%{tde_tdeincludedir} \
-DQTC_QT_ONLY=false \ -DQTC_QT_ONLY=false \
-DQTC_STYLE_SUPPORT=true \ -DQTC_STYLE_SUPPORT=true \
@ -143,6 +144,9 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.55.2-6
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.55.2-5 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.55.2-5
- 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 tde-systemsettings %define tde_pkg tde-systemsettings
%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"
@ -8,7 +9,7 @@
%define tde_sysconfdir %{tde_prefix}/etc %define tde_sysconfdir %{tde_prefix}/etc
%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
@ -28,7 +29,7 @@
Name: trinity-tde-systemsettings Name: trinity-tde-systemsettings
Summary: easy to use control centre for TDE Summary: easy to use control centre for TDE
Version: 0.0svn20070312 Version: 0.0svn20070312
Release: 7%{?dist}%{?_variant} Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -40,7 +41,7 @@ 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: trinity-%{tdecomp}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: kde-settings-laptops.directory Source1: kde-settings-laptops.directory
Provides: trinity-kde-systemsettings = %{version}-%{release} Provides: trinity-kde-systemsettings = %{version}-%{release}
@ -48,9 +49,10 @@ Obsoletes: trinity-kde-systemsettings < %{version}-%{release}
Provides: trinity-systemsettings = %{version}-%{release} Provides: trinity-systemsettings = %{version}-%{release}
Obsoletes: trinity-systemsettings < %{version}-%{release} Obsoletes: trinity-systemsettings < %{version}-%{release}
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
Requires: trinity-guidance Requires: trinity-guidance
@ -66,13 +68,7 @@ Control Centre with an improved user interface.
%prep %prep
%setup -q -n trinity-%{tdecomp}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -82,7 +78,6 @@ Control Centre with an improved user interface.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export KDEDIR="%{tde_prefix}" export KDEDIR="%{tde_prefix}"
%configure \ %configure \
@ -92,9 +87,13 @@ export KDEDIR="%{tde_prefix}"
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--sysconfdir=%{tde_sysconfdir} \ --sysconfdir=%{tde_sysconfdir} \
--disable-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -118,12 +117,12 @@ export PATH="%{tde_bindir}:${PATH}"
%post %post
touch --no-create %{tde_datadir}/icons/crystalsvg || : touch --no-create %{tde_datadir}/icons/crystalsvg || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
xdg-user-dirs-update update-desktop-database %{tde_tdeappdir} -q &> /dev/null
%postun %postun
touch --no-create %{tde_datadir}/icons/crystalsvg || : touch --no-create %{tde_datadir}/icons/crystalsvg || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
xdg-user-dirs-update update-desktop-database %{tde_tdeappdir} -q &> /dev/null
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -145,6 +144,9 @@ xdg-user-dirs-update
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-8
- Build for Fedora 19
* Sat Jun 29 2013 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-7 * Sat Jun 29 2013 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-7
- Rebuild - Rebuild

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp tdeio-apt %define tde_pkg tdeio-apt
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: An apt-cache ioslave for Trinity Summary: An apt-cache ioslave for Trinity
Version: 0.13.2 Version: 0.13.2
Release: 1%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,11 +39,14 @@ URL: http://lpnotfr.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}-3.5.13.2.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 Patch1: tdeio-apt-14.0.0-ftbfs.patch
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -62,13 +66,8 @@ browsing the packages easier. It provides:
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .ftbfs
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -78,7 +77,6 @@ browsing the packages easier. It provides:
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -88,9 +86,13 @@ 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 \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -122,6 +124,9 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.13.2-2
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.13.2-1 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.13.2-1
- 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 tdeio-locate %define tde_pkg tdeio-locate
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: kio-slave for the locate command [Trinity] Summary: kio-slave for the locate command [Trinity]
Version: 0.4.5 Version: 0.4.5
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,11 +39,12 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
@ -51,7 +53,7 @@ Obsoletes: trinity-kio-locate < %{version}-%{release}
Provides: trinity-kio-locate = %{version}-%{release} Provides: trinity-kio-locate = %{version}-%{release}
%description %description
Adds support for the "locate:" and "locater:" Adds support for the "locate" and "locater:"
protocols to Konqueror and other TDE applications. protocols to Konqueror and other TDE applications.
This enables you to perform locate searches as you This enables you to perform locate searches as you
@ -65,42 +67,33 @@ as a directory.
%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 SCONS files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/kde.py" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g"
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}"
# Shitty hack for RHEL4 ...
if [ -d "/usr/X11R6" ]; then
export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
fi
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%__mkdir_p build %__mkdir_p build
cd build cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-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" \ \
-DBUILD_ALL=ON \ -DBUILD_ALL=ON \
.. ..
@ -132,6 +125,9 @@ export PATH="%{tde_bindir}:${PATH}"
%{tde_datadir}/services/searchproviders/locate.desktop %{tde_datadir}/services/searchproviders/locate.desktop
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.5-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.5-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.5-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 tdeio-umountwrapper %define tde_pkg tdeio-umountwrapper
%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,35 +24,36 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: progress dialog for safely removing devices in Trinity. Summary: progress dialog for safely removing devices in Trinity.
Version: 0.2 Version: 0.2
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://frode.kde.no/misc/kio_umountwrapper/ URL: http://frode.kde.no/misc/tdeio_umountwrapper/
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: media_safelyremove.desktop Source1: media_safelyremove.desktop_tdeio
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
Obsoletes: trinity-kio-umountwrapper < %{version}-%{release} Obsoletes: trinity-kio-umountwrapper < %{version}-%{release}
Provides: trinity-kio-umountwrapper = %{version}-%{release} Provides: trinity-kio-umountwrapper = %{version}-%{release}
%description %description
Wrapper around kio_media_mountwrapper. Wrapper around tdeio_media_mountwrapper.
Provides a progress dialog for Safely Removing of devices in Trinity. Provides a progress dialog for Safely Removing of devices in Trinity.
@ -62,13 +64,7 @@ Provides a progress dialog for Safely Removing of devices in 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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -78,7 +74,6 @@ Provides a progress dialog for Safely Removing of devices in Trinity.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -88,9 +83,13 @@ 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 \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -101,7 +100,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper %__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper
#%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper
%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper %__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper
@ -117,7 +115,6 @@ for f in konqueror d3lphin; do
20 20
done done
%postun %postun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
for f in konqueror d3lphin; do for f in konqueror d3lphin; do
@ -132,10 +129,12 @@ fi
%doc AUTHORS ChangeLog COPYING NEWS README TODO %doc AUTHORS ChangeLog COPYING NEWS README TODO
%{tde_bindir}/kio_umountwrapper %{tde_bindir}/kio_umountwrapper
%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper
#%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper
%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.2.5-6
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.2-5 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.2-5
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,13 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp tderadio %define tde_pkg tderadio
%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
@ -27,10 +27,10 @@
%define with_lirc 1 %define with_lirc 1
%endif %endif
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: Comfortable Radio Application for KDE [Trinity] Summary: Comfortable Radio Application for TDE [Trinity]
Version: 0.1.1.1 Version: 0.1.1.1
Release: 6%{?dist}%{?_variant} Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -42,15 +42,15 @@ 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
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: gettext
BuildRequires: libsndfile-devel BuildRequires: libsndfile-devel
%{?with_lirc:BuildRequires: lirc-devel} %{?with_lirc:BuildRequires: lirc-devel}
@ -96,13 +96,7 @@ of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome.
%prep %prep
%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -113,7 +107,6 @@ of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -123,8 +116,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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath \
\
%{?with_lirc:--enable-lirc} %{?!with_lirc:--disable-lirc} \ %{?with_lirc:--enable-lirc} %{?!with_lirc:--disable-lirc} \
--enable-v4l2 \ --enable-v4l2 \
--enable-lame \ --enable-lame \
@ -175,6 +174,9 @@ update-desktop-database %{tde_appdir} -q &> /dev/null ||:
%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo %lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-7
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-6 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-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 tdesudo %define tde_pkg tdesudo
%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,11 +24,11 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: sudo frontend for Trinity Summary: sudo frontend for Trinity
Version: 2.5.1 Version: 2.5.1
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -39,12 +40,12 @@ 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-arts-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= 1:1.5.10
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: trinity-kdesudo < %{version}-%{release} Obsoletes: trinity-kdesudo < %{version}-%{release}
@ -63,13 +64,7 @@ It allows you to run programs as another user by entering your password.
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -79,15 +74,21 @@ It allows you to run programs as another user by entering your password.
%build %build
unset QTDIR || : ; source /etc/profile.d/qt3.sh unset QTDIR || : ; source /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%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} \
--docdir=%{tde_docdir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--disable-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -97,28 +98,9 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__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 kdesudo %find_lang kdesudo
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -131,6 +113,9 @@ fi
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 2.5.1-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.5.1-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.5.1-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -27,7 +27,7 @@
Name: trinity-%{tde_pkg} Name: trinity-%{tde_pkg}
Summary: subversion client with tight TDE integration [Trinity] Summary: subversion client with tight TDE integration [Trinity]
Version: 1.0.4 Version: 1.0.4
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -42,10 +42,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: subversion-devel BuildRequires: subversion-devel
Requires: %{name}-tdeio-plugins = %{version}-%{release} Requires: %{name}-tdeio-plugins = %{version}-%{release}
@ -111,18 +111,6 @@ This package is part of tdesvn-trinity.
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
find . -name CMakeLists.txt -exec %__sed -i {} \
-e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \
-e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \
-e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \
\;
# More ugly hack to add TQT include directory in CMakeLists.txt
%__sed -i CMakeLists.txt \
-e "s,^\(INCLUDE_DIRECTORIES (\)$,\1\n%{tde_includedir}/tqt,"
# Moves HTML files to the correect location # Moves HTML files to the correect location
find . -name "*.cmake" -exec %__sed -i {} \ find . -name "*.cmake" -exec %__sed -i {} \
-e "s,/doc/HTML,/doc/tde/HTML,g" \ -e "s,/doc/HTML,/doc/tde/HTML,g" \
@ -132,8 +120,6 @@ find . -name "*.cmake" -exec %__sed -i {} \
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}"
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
@ -142,10 +128,11 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="-DNDEBUG" \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \
\ \
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
@ -156,6 +143,9 @@ 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} \
\
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
.. ..
# SMP safe ! # SMP safe !
@ -180,7 +170,7 @@ 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} %find_lang kdesvn
%clean %clean
@ -277,6 +267,9 @@ fi
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.4-7
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.4-6 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.4-6
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp tdmtheme %define tde_pkg tdmtheme
%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,10 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: theme manager for TDM [Trinity] Summary: theme manager for TDM [Trinity]
Version: 1.2.2 Version: 1.2.2
Release: 5%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,16 +39,14 @@ URL: http://beta.smileaf.org/projects
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
# [tdmtheme] Fix tdmtheme crash. This resolves Bug 1544 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
Patch1: tdmtheme-3.5.13.2-fix_segv.patch BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
Obsoletes: trinity-kdmtheme < %{version}-%{release} Obsoletes: trinity-kdmtheme < %{version}-%{release}
@ -66,14 +65,7 @@ that allows you to easily install, remove and change your KDM themes.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .segv
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -83,7 +75,6 @@ that allows you to easily install, remove and change your KDM themes.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -93,8 +84,13 @@ 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 \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -126,6 +122,9 @@ update-desktop-database %{tde_appdir} &> /dev/null
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.2-6
- Build for Fedora 19
* Thu Jun 27 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.2-5 * Thu Jun 27 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.2-5
- Fix tdmtheme crash. This resolves Bug 1544 - Fix tdmtheme crash. This resolves Bug 1544

@ -27,7 +27,7 @@
Name: trinity-%{tde_pkg} 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: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -45,9 +45,11 @@ Patch1: tellico-3.5.13.2-videodev.patch
Patch2: tellico-3.5.13.2-ftbfs.patch Patch2: tellico-3.5.13.2-ftbfs.patch
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
@ -138,12 +140,6 @@ if [ -r /usr/include/libv4l1-videodev.h ]; then
fi fi
%patch2 -p1 -b .ftbfs %patch2 -p1 -b .ftbfs
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -166,12 +162,10 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
\ \
--disable-dependency-tracking \ --disable-dependency-tracking \
--disable-debug \ --disable-debug \
--enable-new-ldflags \
--disable-final \ --disable-final \
--enable-new-ldflags \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \
\ \
--enable-webcam --enable-webcam
@ -187,9 +181,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__install -D -c -p -m 644 icons/tellico.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/apps/tellico.svg %__install -D -c -p -m 644 icons/tellico.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/apps/tellico.svg
%__install -D -c -p -m 644 icons/tellico_mime.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/mimetypes/application-x-tellico.svg %__install -D -c -p -m 644 icons/tellico_mime.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/mimetypes/application-x-tellico.svg
# Remove dead symlink from French translation
%__rm %{?buildroot}%{tde_tdedocdir}/HTML/fr/tellico/common
%find_lang %{tde_pkg} %find_lang %{tde_pkg}
@ -244,6 +235,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-7
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-6 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-6
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp twin-style-crystal %define tde_pkg twin-style-crystal
%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,10 +24,10 @@
%define _docdir %{tde_tdedocdir} %define _docdir %{tde_tdedocdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: Semi transparant window decoration for Trinity. Summary: Semi transparant window decoration for Trinity.
Version: 1.0.5 Version: 1.0.5
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,12 +39,14 @@ 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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
Obsoletes: trinity-kwin-style-crystal < %{version}-%{release} Obsoletes: trinity-kwin-style-crystal < %{version}-%{release}
@ -65,13 +68,7 @@ And it is of course nice to look at. Upstream says:
%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.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -81,7 +78,6 @@ And it is of course nice to look at. Upstream says:
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -91,8 +87,13 @@ 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 \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -119,6 +120,9 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-3
- 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 wlassistant %define tde_pkg wlassistant
%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,10 +24,10 @@
%define _docdir %{tde_tdedocdir} %define _docdir %{tde_tdedocdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: User friendly KDE frontend for wireless network connection [Trinity] Summary: User friendly TDE frontend for wireless network connection [Trinity]
Version: 0.5.7 Version: 0.5.7
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,12 +39,14 @@ URL: http://wlassistant.sourceforge.net/
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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
BuildRequires: python BuildRequires: python
@ -63,14 +66,13 @@ remembered so next time the user won't have to enter them again.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
# Shitty hack for RHEL4 ... # Shitty hack for RHEL4 ...
if [ -d "/usr/X11R6" ]; then if [ -d "/usr/X11R6" ]; then
@ -85,10 +87,18 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-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} \
\
-DBUILD_ALL=on \ -DBUILD_ALL=on \
.. ..
@ -133,6 +143,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.5.7-4
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.5.7-3 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.5.7-3
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -1,13 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp yakuake %define tde_pkg yakuake
%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,10 +24,10 @@
%define _docdir %{tde_tdedocdir} %define _docdir %{tde_tdedocdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. Summary: Yakuake is a Quake-style terminal emulator based on TDE Konsole technology.
Version: 2.8.1 Version: 2.8.1
Release: 5%{?dist}%{?_variant} Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -39,15 +39,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}-%{tdeversion}%{?preversion:~%{preversion}}.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-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%description %description
Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. Yakuake is a Quake-style terminal emulator based on TDE Konsole technology.
%if 0%{?suse_version} || 0%{?pclinuxos} %if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package %debug_package
@ -55,13 +57,7 @@ Yakuake is a Quake-style terminal emulator based on KDE Konsole technology.
%prep %prep
%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -71,7 +67,6 @@ Yakuake is a Quake-style terminal emulator based on KDE Konsole technology.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -81,9 +76,13 @@ 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-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--enable-closure --disable-debug \
--enable-final \
--enable-new-ldflags \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -118,6 +117,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%{tde_datadir}/config.kcfg/*.kcfg %{tde_datadir}/config.kcfg/*.kcfg
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 2.8.1-6
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.8.1-5 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.8.1-5
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -15,8 +15,9 @@
%define _docdir %{tde_datadir}/doc %define _docdir %{tde_datadir}/doc
Name: trinity-arts Name: trinity-arts
Version: %{tde_version} Epoch: 1
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} Version: 1.5.10
Release: %{?!preversion:1}%{?preversion:0_%{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
@ -28,7 +29,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}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: kcmartsrc-pulseaudio Source1: kcmartsrc-pulseaudio
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
@ -89,10 +90,7 @@ BuildRequires: libmad-devel
%define with_pulseaudio 1 %define with_pulseaudio 1
%endif %endif
# TDE 3.5.13 specific building variables Requires: trinity-tqtinterface >= %{tde_version}
BuildRequires: cmake >= 2.8
Requires: trinity-tqtinterface >= %{version}
Requires: audiofile Requires: audiofile
%if "%{?tde_prefix}" == "/usr" %if "%{?tde_prefix}" == "/usr"
@ -141,7 +139,7 @@ playing a wave file with some effects.
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: %{name} - Development files Summary: %{name} - Development files
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%if "%{?tde_prefix}" == "/usr" %if "%{?tde_prefix}" == "/usr"
Obsoletes: arts-devel Obsoletes: arts-devel
%endif %endif
@ -174,7 +172,7 @@ Development files for %{name}
%package config-pulseaudio %package config-pulseaudio
Group: System Environment/Daemons Group: System Environment/Daemons
Summary: %{name} - Default configuration file for Pulseaudio Summary: %{name} - Default configuration file for Pulseaudio
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description config-pulseaudio %description config-pulseaudio
%{summary} %{summary}
@ -195,7 +193,7 @@ Requires: %{name} = %{version}-%{release}
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%build %build
@ -208,11 +206,12 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
cd build cd build
%endif %endif
%cmake .. \ %cmake \
-DCMAKE_BUILD_TYPE="" \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="-DNDEBUG" \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \
\ \
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
@ -226,7 +225,8 @@ cd build
-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} \
..
%__make %{?_smp_mflags} || %__make %__make %{?_smp_mflags} || %__make
@ -246,6 +246,9 @@ cd build
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1:1.5.10-1
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -1,18 +1,13 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # TDE specific building variables
%if "%{?tde_prefix}" != "/usr" %define tde_version 3.5.13.2
%define _variant .opt %define tde_prefix /usr
%endif
# TDE 3.5.13 specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_includedir %{tde_prefix}/include %define tde_includedir %{tde_prefix}/include
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_libdir %{tde_prefix}/%{_lib} %define tde_libdir %{tde_prefix}/%{_lib}
Name: trinity-avahi-tqt Name: trinity-avahi-tqt
Version: 3.5.13.2 Epoch: 1
Version: 0.6.30
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Avahi TQT Interface Summary: Avahi TQT Interface
@ -25,43 +20,42 @@ 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}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: cmake >= 2.8 BuildRequires: qt3-devel >= 3.3.8d
BuildRequires: qt3-devel BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: tqtinterface-devel >= 3.5.13.1
BuildRequires: gettext-devel BuildRequires: gettext-devel
BuildRequires: libtool BuildRequires: libtool
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: dbus-1-devel BuildRequires: dbus-1-devel
%else %endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: dbus-devel BuildRequires: dbus-devel
%endif %endif
# AVAHI support
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}avahi-client-devel BuildRequires: %{_lib}avahi-client-devel
%if 0%{?pclinuxos}
BuildRequires: libexpat-devel
%else
# On Mageia 2, package is 'lib64expat1-devel', but on Mandriva, 'lib64expat-devel'
BuildRequires: %{_lib}expat%{?mgaversion:1}-devel
%endif
Provides: %{_lib}avahi-qt3 Provides: %{_lib}avahi-qt3
%else %endif
%if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora}
BuildRequires: avahi-devel BuildRequires: avahi-devel
%if 0%{?suse_version} %endif
BuildRequires: libexpat-devel
%else # EXPAT support
%if 0%{?rhel} || 0%{?fedora}
BuildRequires: expat-devel BuildRequires: expat-devel
%endif %endif
%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libexpat-devel
%endif %endif
Requires: qt3 Requires: qt3 >= 3.3.8d
Requires: trinity-tqtinterface >= 3.5.13 Requires: trinity-tqtinterface >= %{tde_version}
Obsoletes: avahi-tqt < %{version}-%{release} Obsoletes: avahi-tqt < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: avahi-tqt = %{version}-%{release} Provides: avahi-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
%description %description
@ -69,16 +63,16 @@ Avahi TQT Interface
%package devel %package devel
Requires: %{name}
Summary: %{name} - Development files Summary: %{name} - Development files
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
Provides: %{_lib}avahi-qt3-devel Provides: %{_lib}avahi-qt3-devel
%endif %endif
Obsoletes: avahi-tqt-devel < %{version}-%{release} Obsoletes: avahi-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: avahi-tqt-devel = %{version}-%{release} Provides: avahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel %description devel
Development files for %{name} Development files for %{name}
@ -90,45 +84,32 @@ Development files for %{name}
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
./autogen.sh
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "acinclude.m4" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "./ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "./ltmain.sh"
# Removes stale libtool stuff
%__rm -f common/libtool.m4 common/ltoptions.m4 common/lt~obsolete.m4 common/ltsugar.m4 common/ltversion.m4
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir} -I%{tde_includedir}/tqt"
export CXXFLAGS="${CXXFLAGS} ${LDFLAGS}"
./autogen.sh
%configure \ %configure \
--exec-prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--docdir=%{tde_docdir} \
--includedir=%{tde_includedir} \ --includedir=%{tde_includedir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
\
--disable-static \
--disable-dependency-tracking \
\
--enable-compat-libdns_sd \ --enable-compat-libdns_sd \
--with-systemdsystemunitdir=/lib/systemd/system \ --with-systemdsystemunitdir=/lib/systemd/system
MOC_QT3=%{tde_bindir}/moc-tqt
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
%install %install
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot} %__make install DESTDIR=%{?buildroot}
# Removes '.a' file
%__rm -f %{?buildroot}%{tde_libdir}/libavahi-tqt.a
%clean %clean
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}

@ -1,21 +1,20 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # TDE specific building variables
%if "%{?tde_prefix}" != "/usr" %define tde_version 3.5.13.2
%define _variant .opt %define tde_prefix /usr
%endif
%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}
Name: trinity-dbus-1-tqt Name: trinity-dbus-1-tqt
Version: 3.5.13.2 Epoch: 1
Version: 0.9
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Dbus TQT Interface Summary: Dbus TQT Interface
Group: System Environment/Libraries Group: System Environment/Libraries
Obsoletes: dbus-1-tqt < %{version}-%{release} Obsoletes: dbus-1-tqt < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: dbus-1-tqt = %{version}-%{release} Provides: dbus-1-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
@ -23,7 +22,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}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%if 0%{?suse_version} %if 0%{?suse_version}
@ -31,36 +30,63 @@ BuildRequires: dbus-1-devel
%else %else
BuildRequires: dbus-devel BuildRequires: dbus-devel
%endif %endif
BuildRequires: trinity-tqtinterface-devel >= %{version}
# TDE 3.5.13 specific building variables
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: qt3-devel BuildRequires: qt3-devel >= 3.3.8d
Requires: qt3 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
Requires: qt3 >= 3.3.8d
%description %description
Dbus TQT Interface Dbus TQT Interface
%post
/sbin/ldconfig || :
%postun
/sbin/ldconfig || :
%files
%defattr(-,root,root,-)
%{tde_bindir}/dbusxml2qt3
%{tde_libdir}/libdbus-1-tqt.so.0
%{tde_libdir}/libdbus-1-tqt.so.0.0.0
##########
%package devel %package devel
Requires: %{name} Requires: %{name}
Summary: %{name} - Development files Summary: %{name} - Development files
Group: Development/Libraries Group: Development/Libraries
Obsoletes: dbus-1-tqt-devel < %{version}-%{release} Obsoletes: dbus-1-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: dbus-1-tqt-devel = %{version}-%{release} Provides: dbus-1-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel %description devel
Development files for %{name} Development files for %{name}
%post devel
/sbin/ldconfig || :
%postun devel
/sbin/ldconfig || :
%files devel
%defattr(-,root,root,-)
%{tde_includedir}/*.h
%{tde_libdir}/libdbus-1-tqt.so
%{tde_libdir}/libdbus-1-tqt.la
%{tde_libdir}/pkgconfig/*.pc
##########
%if 0%{?suse_version} || 0%{?pclinuxos} %if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package %debug_package
%endif %endif
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%build %build
@ -73,6 +99,12 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DBIN_INSTALL_DIR=%{tde_bindir} \ -DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_includedir} \ -DINCLUDE_INSTALL_DIR=%{tde_includedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \
@ -85,34 +117,14 @@ cd build
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot} -C build %__make install DESTDIR=%{?buildroot} -C build
%clean %clean
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%post
/sbin/ldconfig || :
%postun
/sbin/ldconfig || :
%post devel
/sbin/ldconfig || :
%postun devel
/sbin/ldconfig || :
%files
%defattr(-,root,root,-)
%{tde_bindir}/dbusxml2qt3
%{tde_libdir}/libdbus-1-tqt.so.0
%{tde_libdir}/libdbus-1-tqt.so.0.0.0
%files devel
%defattr(-,root,root,-)
%{tde_includedir}/*.h
%{tde_libdir}/libdbus-1-tqt.so
%{tde_libdir}/libdbus-1-tqt.la
%{tde_libdir}/pkgconfig/*.pc
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1:0.9-1
- Build for Fedora 19
* 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

@ -1,13 +1,12 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # TDE specific building variables
%if "%{?tde_prefix}" != "/usr" %define tde_version 3.5.13.2
%define _variant .opt %define tde_prefix /usr
%endif
%define tde_includedir %{tde_prefix}/include %define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib} %define tde_libdir %{tde_prefix}/%{_lib}
Name: trinity-dbus-tqt Name: trinity-dbus-tqt
Version: 3.5.13.2 Epoch: 1
Version: 0.63
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Dbus TQT Interface Summary: Dbus TQT Interface
@ -19,7 +18,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}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
# [dbus-tqt] Fix build on RHEL 4 # [dbus-tqt] Fix build on RHEL 4
Patch1: dbus-tqt-3.5.13-fix_old_dbus_types.patch Patch1: dbus-tqt-3.5.13-fix_old_dbus_types.patch
@ -32,31 +31,55 @@ BuildRequires: dbus-devel
%endif %endif
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{version}
# TDE 3.5.13 specific building variables
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: qt3-devel BuildRequires: qt3-devel >= 3.3.8d
Requires: qt3 >= 3.3.8d
Requires: qt3 Obsoletes: dbus-tqt < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: dbus-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: dbus-tqt < %{version}-%{release}
Provides: dbus-tqt = %{version}-%{release}
%description %description
Dbus TQT Interface Dbus TQT Interface
%post
/sbin/ldconfig || :
%postun
/sbin/ldconfig || :
%files
%defattr(-,root,root,-)
%{tde_libdir}/libdbus-tqt-1.so.0
%{tde_libdir}/libdbus-tqt-1.so.0.0.0
##########
%package devel %package devel
Requires: %{name} Requires: %{name}
Summary: %{name} - Development files Summary: %{name} - Development files
Group: Development/Libraries Group: Development/Libraries
Obsoletes: dbus-tqt-devel < %{version}-%{release} Obsoletes: dbus-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: dbus-tqt-devel = %{version}-%{release} Provides: dbus-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel %description devel
Development files for %{name} Development files for %{name}
%post devel
/sbin/ldconfig || :
%postun devel
/sbin/ldconfig || :
%files devel
%defattr(-,root,root,-)
%{tde_includedir}/dbus-1.0/*
%{tde_libdir}/libdbus-tqt-1.so
%{tde_libdir}/libdbus-tqt-1.la
%{tde_libdir}/pkgconfig/dbus-tqt.pc
##########
%if 0%{?suse_version} || 0%{?pclinuxos} %if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package %debug_package
@ -64,7 +87,7 @@ Development files for %{name}
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
%patch1 -p1 -b .dbustypes %patch1 -p1 -b .dbustypes
@ -85,6 +108,12 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DINCLUDE_INSTALL_DIR=%{tde_includedir} \ -DINCLUDE_INSTALL_DIR=%{tde_includedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \
.. ..
@ -96,33 +125,14 @@ cd build
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot} -C build %__make install DESTDIR=%{?buildroot} -C build
%clean %clean
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%post
/sbin/ldconfig || :
%postun
/sbin/ldconfig || :
%post devel
/sbin/ldconfig || :
%postun devel
/sbin/ldconfig || :
%files
%defattr(-,root,root,-)
%{tde_libdir}/libdbus-tqt-1.so.0
%{tde_libdir}/libdbus-tqt-1.so.0.0.0
%files devel
%defattr(-,root,root,-)
%{tde_includedir}/dbus-1.0/*
%{tde_libdir}/libdbus-tqt-1.so
%{tde_libdir}/libdbus-tqt-1.la
%{tde_libdir}/pkgconfig/dbus-tqt.pc
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1:0.63-1
- Build for Fedora 19
* 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,6 +3,8 @@
%define _variant .opt %define _variant .opt
%endif %endif
%define tde_version 3.5.13.2
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include %define tde_includedir %{tde_prefix}/include
@ -10,7 +12,7 @@
Name: trinity-libcaldav Name: trinity-libcaldav
Version: 0.6.5 Version: 0.6.5
Release: 3%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
Vendor: Trinity Project Vendor: Trinity Project
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
@ -60,6 +62,7 @@ easy to integrate CalDAV support into any PIM application.
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Obsoletes: libcaldav-devel < %{version}-%{release} Obsoletes: libcaldav-devel < %{version}-%{release}
Provides: libcaldav-devel = %{version}-%{release} Provides: libcaldav-devel = %{version}-%{release}
@ -74,44 +77,50 @@ Provides: libcaldav-devel = %{version}-%{release}
%prep %prep
%setup -q -n libcaldav-%{version} %setup -q -n libcaldav-%{version}
%patch1 -p1 -b .dir %patch1 -p1 -b .dir
autoreconf --force --install --symlink
%build %build
# CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5 # CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5
export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${CFLAGS}" export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${RPM_OPT_FLAGS}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
if [ -d /usr/evolution28 ]; then if [ -d /usr/evolution28 ]; then
export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}"
fi fi
autoreconf --force --install --symlink
%configure \ %configure \
--docdir=%{tde_docdir}/libcaldav \ --docdir=%{tde_docdir}/libcaldav \
--includedir=%{tde_includedir} \ --includedir=%{tde_includedir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
\
--disable-dependency-tracking
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
%install %install
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
# Unwanted files
%__rm -f %{buildroot}%{tde_libdir}/*.a %__rm -f %{buildroot}%{tde_libdir}/*.a
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_libdir}/*.so.* %{tde_libdir}/libcaldav.so.*
%{tde_docdir}/libcaldav/ %{tde_docdir}/libcaldav/
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_includedir}/caldav.h %{tde_includedir}/caldav.h
%{tde_libdir}/*.la %{tde_libdir}/libcaldav.la
%{tde_libdir}/*.so %{tde_libdir}/libcaldav.so
%{tde_libdir}/pkgconfig/libcaldav.pc %{tde_libdir}/pkgconfig/libcaldav.pc
%post %post
@ -128,7 +137,10 @@ autoreconf --force --install --symlink
%Changelog %Changelog
* Sun Jul 28 2012 Francois Andriot <francois.andriot@free.fr> - 0.6.5-3 * Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.6.5-4
- Build for Fedora 19
* Sat Jul 28 2012 Francois Andriot <francois.andriot@free.fr> - 0.6.5-3
- Renames to 'trinity-libcaldav' - Renames to 'trinity-libcaldav'
- Build on MGA2 - Build on MGA2

@ -0,0 +1,146 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
%define tde_version 3.5.13.2
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
Name: trinity-libcarddav
Version: 0.6.2
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
Vendor: Trinity Project
URL: http://www.trinitydesktop.org/
Packager: Francois Andriot <francois.andriot@free.fr>
License: GPL
Group: System Environment/Libraries
Summary: A portable CardDAV client implementation originally developed for the Trinity PIM suite.
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: libcarddav_0.6.2-2debian2.tar.gz
# [libcarddav] Fix messy installation directories
Patch1: libcarddav-0.6.5-fix_installation.patch
# CURL support
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
BuildRequires: libcurl-devel
%else
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}curl-devel
%else
# Specific CURL version for TDE on RHEL 5 (and older)
BuildRequires: trinity-libcurl-devel
%endif
%endif
%if 0%{?rhel} == 4
BuildRequires: evolution28-gtk2-devel
%else
BuildRequires: glib2-devel
BuildRequires: gtk2-devel
%endif
BuildRequires: make
Obsoletes: libcarddav < %{version}-%{release}
Provides: libcarddav = %{version}-%{release}
%description
Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite.
It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards.
Build dependencies are minimal, requiring only libcurl.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: libcarddav-devel < %{version}-%{release}
Provides: libcarddav-devel = %{version}-%{release}
%description devel
%{summary}
%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif
%prep
%setup -q -n libcarddav-%{version}
%patch1 -p1 -b .dir
autoreconf --force --install --symlink
%build
unset QTDIR; . /etc/profile.d/qt3.sh
# CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5
export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${RPM_OPT_FLAGS}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
# RHEL4 stuff
if [ -d /usr/evolution28 ]; then
export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}"
fi
%configure \
--includedir=%{tde_includedir} \
--libdir=%{tde_libdir} \
\
--disable-dependency-tracking
%__make %{?_smp_mflags}
%install
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} LIBTOOL=$(which libtool)
%__rm -f %{buildroot}%{tde_libdir}/libcarddav.a
%clean
%__rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{tde_libdir}/libcarddav.so.*
%files devel
%defattr(-,root,root,-)
%{tde_includedir}/carddav.h
%{tde_libdir}/libcarddav.la
%{tde_libdir}/libcarddav.so
%{tde_libdir}/pkgconfig/libcarddav.pc
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%post devel
/sbin/ldconfig
%postun devel
/sbin/ldconfig
%Changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.6.2-4
- Build for Fedora 19
* Sat Jul 28 2012 Francois Andriot <francois.andriot@free.fr> - 0.6.2-3
- Renames to 'trinity-libcaldav'
- Build on MGA2
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.6.2-2debian2 .1
- Initial release for RHEL 6, RHEL 5, and Fedora 15

@ -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}
@ -14,7 +16,7 @@
Name: trinity-tqca-tls Name: trinity-tqca-tls
Version: 1.0 Version: 1.0
Release: 2%{?dist}%{?_variant} Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
Summary: TLS plugin for the TQt Cryptographic Architecture Summary: TLS plugin for the TQt Cryptographic Architecture
License: LGPLv2+ License: LGPLv2+
@ -36,7 +38,7 @@ Patch2: qca-tls-1.0-ossl10.patch
Patch10: tqca-tls-qt3.patch Patch10: tqca-tls-qt3.patch
BuildRequires: qt3-devel >= 3.3.8.d BuildRequires: qt3-devel >= 3.3.8.d
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tqca-devel >= 1.0 BuildRequires: trinity-tqca-devel >= 1.0
BuildRequires: openssl-devel >= 0.9.8 BuildRequires: openssl-devel >= 0.9.8
@ -99,6 +101,9 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-3
- Build for Fedora 19
* Thu Jun 27 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-2 * Thu Jun 27 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-2
- Renames TQCA to QCA in source code - Renames TQCA to QCA in source code

@ -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}
@ -15,7 +17,7 @@
Name: trinity-tqca Name: trinity-tqca
Version: 1.0 Version: 1.0
Release: 2%{?dist}%{?_variant} Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
Summary: TQt Cryptographic Architecture Summary: TQt Cryptographic Architecture
@ -31,11 +33,12 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: tqca-master.tar.gz Source0: tqca-master.tar.gz
Patch0: qca-1.0-mach.patch Patch0: qca-1.0-mach.patch
Patch1: tqca-1.0-fix_qt3_detection.patch Patch1: tqca-1.0-fix_qt3_detection.patch
BuildRequires: qt3-devel >= 3.3.8.d BuildRequires: qt3-devel >= 3.3.8.d
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
%description %description
Taking a hint from the similarly-named Java Cryptography Architecture, Taking a hint from the similarly-named Java Cryptography Architecture,
@ -124,6 +127,9 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-3
- Build for Fedora 19
* Thu Jun 27 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-2 * Thu Jun 27 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-2
- Renames TQCA to QCA in source code - Renames TQCA to QCA in source code

@ -1,20 +1,14 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # TDE specific building variables
%if "%{?tde_prefix}" != "/usr" %define tde_version 3.5.13.2
%define _variant .opt %define tde_prefix /usr
%define cmake_modules_dir %{tde_prefix}/share/cmake
%else
%define cmake_modules_dir %{_datadir}/cmake/Modules
%endif
# TQT include files may conflict with QT4 includes, so we move them to a subdirectory.
# Later compiled Trinity products should be aware of that !
%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}
%define cmake_modules_dir %{_datadir}/cmake/Modules
Name: trinity-tqtinterface Name: trinity-tqtinterface
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: Trinity QT Interface Summary: Trinity QT Interface
Group: System Environment/Libraries Group: System Environment/Libraries
@ -27,7 +21,6 @@ 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
# TDE 3.5.13 specific building variables
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: qt3-devel >= 3.3.8d BuildRequires: qt3-devel >= 3.3.8d
Requires: qt3 >= 3.3.8d Requires: qt3 >= 3.3.8d
@ -60,11 +53,39 @@ Provides: tqtinterface = %{version}-%{release}
%description %description
Trinity QT Interface Trinity QT Interface
%post
/sbin/ldconfig || :
%postun
/sbin/ldconfig || :
%files
%defattr(-,root,root,-)
%{tde_bindir}/convert_qt_tqt1
%{tde_bindir}/convert_qt_tqt2
%{tde_bindir}/convert_qt_tqt3
%{tde_bindir}/dcopidl-tqt
%{tde_bindir}/dcopidl2cpp-tqt
%{tde_bindir}/dcopidlng-tqt
%{tde_bindir}/mcopidl-tqt
%{tde_bindir}/moc-tqt
%{tde_bindir}/tmoc
%{tde_bindir}/tqt-replace
%{tde_bindir}/tqt-replace-stream
%{tde_bindir}/uic-tqt
%{tde_libdir}/libtqassistantclient.so.4
%{tde_libdir}/libtqassistantclient.so.4.2.0
%{tde_libdir}/libtqt.so.4
%{tde_libdir}/libtqt.so.4.2.0
##########
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: %{name} - Development files Summary: %{name} - Development files
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: qt3-devel Requires: qt3-devel >= 3.3.8d
Obsoletes: tqtinterface-devel < %{version}-%{release} Obsoletes: tqtinterface-devel < %{version}-%{release}
Provides: tqtinterface-devel = %{version}-%{release} Provides: tqtinterface-devel = %{version}-%{release}
@ -72,6 +93,24 @@ Provides: tqtinterface-devel = %{version}-%{release}
%description devel %description devel
Development files for %{name} Development files for %{name}
%post devel
/sbin/ldconfig || :
%postun devel
/sbin/ldconfig || :
%files devel
%defattr(-,root,root,-)
%{tde_includedir}/tqt/
%{tde_libdir}/libtqassistantclient.la
%{tde_libdir}/libtqassistantclient.so
%{tde_libdir}/libtqt.la
%{tde_libdir}/libtqt.so
%{tde_libdir}/pkgconfig/tqt.pc
%{cmake_modules_dir}/*.cmake
##########
%if 0%{?suse_version} || 0%{?pclinuxos} %if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package %debug_package
%endif %endif
@ -92,14 +131,25 @@ cd build
# another directory than QT3_PREFIX. (E.g. Mageia 2, Mandriva ...) # another directory than QT3_PREFIX. (E.g. Mageia 2, Mandriva ...)
# Otherwise, it defaults to ${QTDIR}/lib ! # Otherwise, it defaults to ${QTDIR}/lib !
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DQT_PREFIX_DIR=${QTDIR} \ -DQT_PREFIX_DIR=${QTDIR} \
-DQT_VERSION=3 \ -DQT_VERSION=3 \
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ -DQT_LIBRARY_DIR="${QTLIB:-${QTDIR}/%{_lib}}" \
\
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
-DINCLUDE_INSTALL_DIR=%{tde_includedir}/tqt \ -DINCLUDE_INSTALL_DIR=%{tde_includedir}/tqt \
-DLIB_INSTALL_DIR=%{tde_libdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \
-DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \
-DBIN_INSTALL_DIR=%{tde_bindir} \ -DBIN_INSTALL_DIR=%{tde_bindir} \
-DQT_LIBRARY_DIR=${QTLIB:-${QTDIR}/%{_lib}} \ \
-DWITH_QT3="ON" \
-DBUILD_ALL="ON" \
-DUSE_QT3="ON" \
.. ..
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -107,7 +157,6 @@ cd build
%install %install
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%__mkdir_p %{?buildroot}%{_includedir}
%__make install DESTDIR=%{?buildroot} -C build %__make install DESTDIR=%{?buildroot} -C build
# RHEL 5: add newline at end of include files to avoid warnings # RHEL 5: add newline at end of include files to avoid warnings
@ -123,35 +172,14 @@ for i in cmake/modules/*.cmake; do
%__install -m 644 $i %{?buildroot}%{cmake_modules_dir} %__install -m 644 $i %{?buildroot}%{cmake_modules_dir}
done done
%clean %clean
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%post
/sbin/ldconfig || :
%postun
/sbin/ldconfig || :
%post devel
/sbin/ldconfig || :
%postun devel
/sbin/ldconfig || :
%files
%defattr(-,root,root,-)
%{tde_bindir}/*
%{tde_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%{tde_includedir}/tqt
%{tde_libdir}/*.so
%{tde_libdir}/*.la
%{tde_libdir}/pkgconfig/*.pc
%{cmake_modules_dir}/*.cmake
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Build for Fedora 19
* 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

@ -21,12 +21,13 @@
Summary: Audio-decoding framework Summary: Audio-decoding framework
Name: trinity-akode Name: trinity-akode
Version: 2.0.2 Version: 2.0.2
Release: 4%{?dist}%{?_variant} Release: 5%{?dist}%{?_variant}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
#URL: http://carewolf.com/akode/ #URL: http://carewolf.com/akode/
URL: http://www.kde-apps.org/content/show.php?content=30375 URL: http://www.kde-apps.org/content/show.php?content=30375
Source0: akode-2.0.2.tar.bz2 Source0: akode-2.0.2.tar.bz2
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
@ -39,11 +40,10 @@ Patch2: akode-2.0.2-multilib.patch
Patch3: akode-2.0.2-flac113-portable.patch Patch3: akode-2.0.2-flac113-portable.patch
Patch4: akode-2.0.2-gcc43.patch Patch4: akode-2.0.2-gcc43.patch
# New patch for Fedora 16 / TDE 3.5.13 # New patches
Patch10: akode-autotools.patch Patch10: akode-autotools.patch
Patch11: akode-2.0.2-fix_ffmpeg_include.patch Patch11: akode-2.0.2-fix_ffmpeg_include.patch
# FLAC support # FLAC support
%define _with_flac --with-flac %define _with_flac --with-flac
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
@ -117,6 +117,8 @@ aKode currently has the following decoder plugins:
aKode also has the following audio outputs: aKode also has the following audio outputs:
* alsa: Outputs to ALSA (dmix is recommended). * alsa: Outputs to ALSA (dmix is recommended).
* jack
* pulseaudio
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -144,7 +146,12 @@ aKode also has the following audio outputs:
Summary: Headers for developing programs that will use %{name} Summary: Headers for developing programs that will use %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%{?_with_jack:Requires: %{name}-jack = %{version}-%{release}}
%{?_with_pulseaudio:Requires: %{name}-pulseaudio = %{version}-%{release}}
%{?_with_libsamplerate:Requires: %{name}-libsamplerate = %{version}-%{release}}
%{?_with_libmad:Requires: %{name}-libmad = %{version}-%{release}}
Requires: pkgconfig Requires: pkgconfig
%description devel %description devel
%{summary}. %{summary}.
@ -284,12 +291,6 @@ Requires: %{name} = %{version}-%{release}
%patch10 -p1 -b .autotools %patch10 -p1 -b .autotools
%patch11 -p1 -b .ffmpeg %patch11 -p1 -b .ffmpeg
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f admin/Makefile.common cvs %__make -f admin/Makefile.common cvs
@ -300,9 +301,14 @@ Requires: %{name} = %{version}-%{release}
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--includedir=%{tde_includedir} \ --includedir=%{tde_includedir} \
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--disable-static \ \
--enable-shared \ --disable-dependency-tracking \
--disable-debug --disable-warnings --disable-dependency-tracking \ --disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
\
--without-libltdl \ --without-libltdl \
--with-alsa \ --with-alsa \
--with-oss \ --with-oss \
@ -313,10 +319,7 @@ Requires: %{name} = %{version}-%{release}
--with-speex \ --with-speex \
--with-vorbis \ --with-vorbis \
--without-ffmpeg \ --without-ffmpeg \
%{?_with_libmad} %{!?_with_libmad:--without-libmad} \ %{?_with_libmad} %{!?_with_libmad:--without-libmad}
--enable-closure \
--enable-new-ldflags \
--enable-final
%__make %{?_smp_mflags} LIBTOOL=$(which libtool) %__make %{?_smp_mflags} LIBTOOL=$(which libtool)
@ -339,6 +342,9 @@ done
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-5
- Build for Fedora 19
* Sat Jan 19 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-4 * Sat Jan 19 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -7,7 +7,7 @@
Name: trinity-desktop Name: trinity-desktop
Version: 3.5.13.2 Version: 3.5.13.2
Release: 1%{?dist}%{?_variant} Release: 2%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Meta-package to install TDE Summary: Meta-package to install TDE
Group: User Interface/Desktops Group: User Interface/Desktops
@ -114,6 +114,8 @@ Requires: trinity-filelight
Requires: trinity-gwenview Requires: trinity-gwenview
Requires: trinity-gwenview-i18n Requires: trinity-gwenview-i18n
Requires: trinity-k3b Requires: trinity-k3b
Requires: trinity-kaffeine
Requires: trinity-kaffeine-mozilla
Requires: trinity-katapult Requires: trinity-katapult
Requires: trinity-kbarcode Requires: trinity-kbarcode
Requires: trinity-kbfx Requires: trinity-kbfx
@ -198,10 +200,8 @@ Requires: trinity-knetworkmanager
# RHEL 4 # RHEL 4
%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} %if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
# HAL is too old # HAL is mandatory for these apps, but too old
Requires: trinity-kima Requires: trinity-kima
Requires: trinity-kaffeine
Requires: trinity-kaffeine-mozilla
Requires: trinity-kmplayer Requires: trinity-kmplayer
# No OTR support # No OTR support
Requires: trinity-kopete-otr Requires: trinity-kopete-otr
@ -350,6 +350,9 @@ Summary: Default wallpaper for Trinity
%endif %endif
%changelog %changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Update for RHEL4
* 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
- Update to version 3.5.13.2 - Update to version 3.5.13.2
- Add GPG signing key - Add GPG signing key

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define kdecomp libkdcraw %define tde_pkg libkdcraw
%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,11 +23,12 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: Raw picture decoding C++ library (runtime) [Trinity] Summary: Raw picture decoding C++ library (runtime) [Trinity]
Version: 3.5.13.2 Epoch: 1
Release: 1%{?dist}%{?_variant} Version: 0.1.9
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Environment/Libraries Group: Environment/Libraries
@ -38,11 +40,11 @@ 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}-%{version}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: liblcms-devel BuildRequires: liblcms-devel
@ -71,7 +73,7 @@ libkdcraw contains the library of libkdcraw.
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: RAW picture decoding C++ library (development) [Trinity] Summary: RAW picture decoding C++ library (development) [Trinity]
Requires: %{name} = %{version} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel %description devel
Libkdcraw is a C++ interface around dcraw binary program used to Libkdcraw is a C++ interface around dcraw binary program used to
@ -86,13 +88,7 @@ library documentation is available on kdcraw.h header file.
%prep %prep
%setup -q %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -102,7 +98,6 @@ library documentation is available on kdcraw.h header file.
%build %build
unset QTDIR || : ; source /etc/profile.d/qt3.sh unset QTDIR || : ; source /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -110,8 +105,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--disable-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -121,7 +121,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}
# RHEL4: pkgconfig files do not support 'URL' keyword . # RHEL4: pkgconfig files do not support 'URL' keyword .
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
@ -154,7 +154,7 @@ done
/sbin/ldconfig || : /sbin/ldconfig || :
%files -f %{kdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_libdir}/libkdcraw.so.4 %{tde_libdir}/libkdcraw.so.4
%{tde_libdir}/libkdcraw.so.4.0.3 %{tde_libdir}/libkdcraw.so.4.0.3
@ -168,5 +168,8 @@ done
%{tde_libdir}/pkgconfig/libkdcraw.pc %{tde_libdir}/pkgconfig/libkdcraw.pc
%Changelog %Changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1:0.1.9-1
- Build for Fedora 19
* 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

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define kdecomp libkexiv2 %define tde_pkg libkexiv2
%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,11 +23,12 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] Summary: Qt like interface for the libexiv2 library (runtime) [Trinity]
Version: 3.5.13.2 Epoch: 1
Release: 1%{?dist}%{?_variant} Version: 0.1.7
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Environment/Libraries Group: Environment/Libraries
@ -38,11 +40,11 @@ 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}-%{version}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
@ -73,7 +75,7 @@ Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata.
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: Qt like interface for the libexiv2 library (development) [Trinity] Summary: Qt like interface for the libexiv2 library (development) [Trinity]
Requires: %{name} = %{version} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel %description devel
libkexif2-devel contains development files and documentation for libkexiv2 libkexif2-devel contains development files and documentation for libkexiv2
@ -87,13 +89,7 @@ Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata.
%prep %prep
%setup -q %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -110,8 +106,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--exec-prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--disable-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -157,5 +158,8 @@ export PATH="%{tde_bindir}:${PATH}"
%Changelog %Changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.1.7-1
- Build for Fedora 19
* 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

@ -1,13 +1,13 @@
# Default version for this component # Default version for this component
%define tdecomp libkipi %define tde_pkg libkipi
%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
@ -15,7 +15,6 @@
%define tde_libdir %{tde_prefix}/%{_lib} %define tde_libdir %{tde_prefix}/%{_lib}
%define tde_mandir %{tde_datadir}/man %define tde_mandir %{tde_datadir}/man
%define tde_tdeappdir %{tde_datadir}/applications/kde
%define tde_tdedocdir %{tde_docdir}/tde %define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity %define tde_tdelibdir %{tde_libdir}/trinity
@ -23,11 +22,12 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{tdecomp} Name: trinity-%{tde_pkg}
Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity] Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity]
Version: 3.5.13.2 Epoch: 1
Release: 1%{?dist}%{?_variant} Version: 0.1.5
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Environment/Libraries Group: Environment/Libraries
@ -39,11 +39,11 @@ 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}-%{version}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: liblcms-devel BuildRequires: liblcms-devel
@ -75,7 +75,7 @@ Homepage: http://www.kipi-plugins.org/
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: library for apps that want to use kipi-plugins (development version) [Trinity] Summary: library for apps that want to use kipi-plugins (development version) [Trinity]
Requires: %{name} = %{version} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel %description devel
Libkipi is a library Libkipi is a library
@ -93,13 +93,7 @@ Homepage: http://www.kipi-plugins.org/
%prep %prep
%setup -q %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -109,7 +103,6 @@ Homepage: http://www.kipi-plugins.org/
%build %build
unset QTDIR || : ; source /etc/profile.d/qt3.sh unset QTDIR || : ; source /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \ %configure \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
@ -117,8 +110,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--disable-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -128,7 +126,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}
%clean %clean
@ -156,7 +154,7 @@ done
/sbin/ldconfig || : /sbin/ldconfig || :
%files -f %{tdecomp}.lang %files -f %{tde_pkg}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_libdir}/libkipi.so.0 %{tde_libdir}/libkipi.so.0
%{tde_libdir}/libkipi.so.0.1.1 %{tde_libdir}/libkipi.so.0.1.1
@ -172,5 +170,8 @@ done
%{tde_libdir}/pkgconfig/libkipi.pc %{tde_libdir}/pkgconfig/libkipi.pc
%Changelog %Changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.1.5-1
- Build for Fedora 19
* 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

@ -1,12 +1,13 @@
# Default version for this component # Default version for this component
%define kdecomp libksquirrel %define tde_pkg libksquirrel
%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
@ -15,7 +16,6 @@
%define tde_mandir %{tde_datadir}/man %define tde_mandir %{tde_datadir}/man
%define tde_appdir %{tde_datadir}/applications %define tde_appdir %{tde_datadir}/applications
%define tde_tdeappdir %{tde_appdir}/kde
%define tde_tdedocdir %{tde_docdir}/tde %define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity %define tde_tdelibdir %{tde_libdir}/trinity
@ -23,10 +23,11 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-%{kdecomp} Name: trinity-%{tde_pkg}
Summary: Trinity image viewer Summary: Trinity image viewer
Version: 3.5.13.2 Epoch: 1
Release: 1%{?dist}%{?_variant} Version: 0.8.0
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Environment/Libraries Group: Environment/Libraries
@ -38,12 +39,12 @@ 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}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch0: libksquirrel-3.5.13-detect_netpbm.patch Patch0: libksquirrel-3.5.13-detect_netpbm.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 >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
@ -78,6 +79,9 @@ BuildRequires: xmedcon-devel
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
BuildRequires: librsvg2 BuildRequires: librsvg2
%endif %endif
%if 0%{?fedora}
BuildRequires: librsvg2-tools
%endif
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: librsvg BuildRequires: librsvg
%endif %endif
@ -128,7 +132,7 @@ Runtime libraries for KSquirrel.
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: Trinity image viewer Summary: Trinity image viewer
Requires: %{name} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel %description devel
Development libraries for KSquirrel. Development libraries for KSquirrel.
@ -137,7 +141,7 @@ Development libraries for KSquirrel.
%package tools %package tools
Summary: Trinity image viewer Summary: Trinity image viewer
Group: Environment/Libraries Group: Environment/Libraries
Requires: %{name} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description tools %description tools
Tools for KSquirrel. Tools for KSquirrel.
@ -149,15 +153,9 @@ Tools for KSquirrel.
%prep %prep
%setup -q %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch0 -p1 -b .netpbm %patch0 -p1 -b .netpbm
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -176,8 +174,14 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--includedir=%{tde_includedir} \ --includedir=%{tde_includedir} \
--disable-rpath \ \
--with-extra-includes=%{tde_includedir}/tqt \ --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
\
%{?with_djvu:--enable-djvu} %{?with_djvu:--enable-djvu}
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -199,6 +203,12 @@ export PATH="%{tde_bindir}:${PATH}"
%postun %postun
/sbin/ldconfig || : /sbin/ldconfig || :
%post devel
/sbin/ldconfig || :
%postun devel
/sbin/ldconfig || :
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -498,5 +508,8 @@ export PATH="%{tde_bindir}:${PATH}"
%Changelog %Changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.0-1
- Build for Fedora 19
* 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

@ -1,11 +1,13 @@
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%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,11 +24,10 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
Name: trinity-pytdeextensions Name: trinity-pytdeextensions
Summary: Python packages to support TDE applications (scripts) [Trinity] Summary: Python packages to support TDE applications (scripts) [Trinity]
Version: 0.4.0 Version: 0.4.0
Release: 4%{?dist}%{?_variant} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Group: Applications/Utilities Group: Applications/Utilities
@ -38,9 +39,7 @@ URL: http://www.simonzone.com/software/pykdeextensions
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
# [pykdeextensions] Fix hardcoded path to Guidance python libraries [Bug #999] # [pykdeextensions] Fix hardcoded path to Guidance python libraries [Bug #999]
@ -48,9 +47,9 @@ Patch2: pykdeextensions-3.5.13.2-fix_extra_module_dir.patch
# [pykdeextensions] Fix include directory search location # [pykdeextensions] Fix include directory search location
Patch5: pykdeextensions-3.5.13.2-fix_include_dir.patch Patch5: pykdeextensions-3.5.13.2-fix_include_dir.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 >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
@ -73,20 +72,40 @@ Provides: trinity-pykdeextensions = %{version}-%{release}
%description %description
PyKDE Extensions is a collection of software and Python packages PyTDE Extensions is a collection of software and Python packages
to support the creation and installation of KDE applications. to support the creation and installation of TDE applications.
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{tde_datadir}/apps/pykdeextensions/
%{tde_tdedocdir}/HTML/en/pykdeextensions/
%{python_sitearch}/*
##########
%package -n trinity-libpythonize0 %package -n trinity-libpythonize0
Summary: Python packages to support KDE applications (library) [Trinity] Summary: Python packages to support KDE applications (library) [Trinity]
Group: Environment/Libraries Group: Environment/Libraries
%description -n trinity-libpythonize0 %description -n trinity-libpythonize0
PyKDE Extensions is a collection of software and Python packages PyTDE Extensions is a collection of software and Python packages
to support the creation and installation of KDE applications. to support the creation and installation of KDE applications.
This package contains the libpythonize library files. This package contains the libpythonize library files.
%post -n trinity-libpythonize0
/sbin/ldconfig
%postun -n trinity-libpythonize0
/sbin/ldconfig
%files -n trinity-libpythonize0
%defattr(-,root,root,-)
%{tde_libdir}/libpythonize.so.*
##########
%package -n trinity-libpythonize0-devel %package -n trinity-libpythonize0-devel
Summary: Python packages to support KDE applications (development) [Trinity] Summary: Python packages to support KDE applications (development) [Trinity]
@ -94,19 +113,46 @@ Group: Development/Libraries
Requires: trinity-libpythonize0 = %{version}-%{release} Requires: trinity-libpythonize0 = %{version}-%{release}
%description -n trinity-libpythonize0-devel %description -n trinity-libpythonize0-devel
PyKDE Extensions is a collection of software and Python packages PyTDE Extensions is a collection of software and Python packages
to support the creation and installation of KDE applications. to support the creation and installation of TDE applications.
This package contains the libpythonize development files. This package contains the libpythonize development files.
%post -n trinity-libpythonize0-devel
/sbin/ldconfig
%postun -n trinity-libpythonize0-devel
/sbin/ldconfig
%files -n trinity-libpythonize0-devel
%defattr(-,root,root,-)
%{tde_tdeincludedir}/*.h
%{tde_libdir}/libpythonize.la
%{tde_libdir}/libpythonize.so
##########
%package devel
Summary: Meta-package to install all pytdeextensions development files
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
Requires: trinity-libpythonize0-devel = %{version}-%{release}
%description devel
%{summary}
%files devel
##########
%if 0%{?suse_version} || 0%{?pclinuxos} %if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package %debug_package
%endif %endif
##########
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch2 -p1 -b .extramodule %patch2 -p1 -b .extramodule
%patch5 -p1 -b .incdir %patch5 -p1 -b .incdir
@ -118,13 +164,12 @@ for f in src/*.py; do
-e "s|/usr/lib/pyshared/python\*|%{python_sitearch}|g" \ -e "s|/usr/lib/pyshared/python\*|%{python_sitearch}|g" \
-e "s|'pykde-dir=',None,|'pykde-dir=','%{python_sitearch}',|g" \ -e "s|'pykde-dir=',None,|'pykde-dir=','%{python_sitearch}',|g" \
-e "s|self.pykde_dir = None|self.pykde_dir = \"%{python_sitearch}\"|g" \ -e "s|self.pykde_dir = None|self.pykde_dir = \"%{python_sitearch}\"|g" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|%{tde_includedir}/kde|%{tde_tdeincludedir}|g" \ -e "s|%{tde_includedir}/kde|%{tde_tdeincludedir}|g" \
-e 's|"/kde"|"/tde"|' -e 's|"/kde"|"/tde"|'
done done
# Do not look for 'libpython2.x.so' (from -devel) package. # Do not look for 'libpython2.x.so' (from -devel) package.
# Instead look for runtime library. # Instead look for versioned runtime library.
LIBPYTHON="$(readlink %{_libdir}/libpython2.*.so)" LIBPYTHON="$(readlink %{_libdir}/libpython2.*.so)"
if [ -f "%{_libdir}/${LIBPYTHON}" ]; then if [ -f "%{_libdir}/${LIBPYTHON}" ]; then
%__sed -i "src/kdedistutils.py" \ %__sed -i "src/kdedistutils.py" \
@ -140,9 +185,7 @@ fi
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt
export KDEDIR="%{tde_prefix}"
%__mkdir_p build %__mkdir_p build
./setup.py build_libpythonize ./setup.py build_libpythonize
@ -161,7 +204,8 @@ export PYTHONDONTWRITEBYTECODE=
--root=%{buildroot} \ --root=%{buildroot} \
--prefix=%{tde_prefix} \ --prefix=%{tde_prefix} \
--install-clib=%{tde_libdir} \ --install-clib=%{tde_libdir} \
--install-cheaders=%{tde_tdeincludedir} --install-cheaders=%{tde_tdeincludedir} \
-v
# Removes BUILDROOT directory reference in installed files # Removes BUILDROOT directory reference in installed files
for f in \ for f in \
@ -184,42 +228,15 @@ done
# Fix permissions on include files # Fix permissions on include files
%__chmod 644 %{?buildroot}%{tde_tdeincludedir}/*.h %__chmod 644 %{?buildroot}%{tde_tdeincludedir}/*.h
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%post -n trinity-libpythonize0
/sbin/ldconfig
%postun -n trinity-libpythonize0
/sbin/ldconfig
%post -n trinity-libpythonize0-devel
/sbin/ldconfig
%postun -n trinity-libpythonize0-devel
/sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{tde_datadir}/apps/pykdeextensions
%{tde_tdedocdir}/HTML/en/pykdeextensions
%{python_sitearch}/*
%files -n trinity-libpythonize0
%defattr(-,root,root,-)
%{tde_libdir}/libpythonize.so.*
%files -n trinity-libpythonize0-devel
%defattr(-,root,root,-)
%{tde_tdeincludedir}/*.h
%{tde_libdir}/libpythonize.la
%{tde_libdir}/libpythonize.so
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.0-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.0-4 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.0-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2

@ -4,8 +4,9 @@
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
%define tde_version 3.5.13.2
# 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
@ -27,50 +28,59 @@
Name: trinity-python-trinity Name: trinity-python-trinity
Summary: Trinity bindings for Python [Trinity] Summary: Trinity bindings for Python [Trinity]
Version: 3.16.3 Version: 3.16.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.simonzone.com/software/pykdeextensions #URL: http://www.simonzone.com/software/pykdeextensions
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
# Fix include subdirectory 'tde' instead of 'kde' # Fix include subdirectory 'tde' instead of 'kde'
Patch1: python-trinity-3.5.13.2-fix_tde_includedir.patch Patch1: python-trinity-3.5.13.2-fix_tde_includedir.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 >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
# PYTHON support
BuildRequires: python BuildRequires: python
%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 %if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
# RHEL 4/5 comes with old version, so we brought ours ... # RHEL 4/5 comes with old version, so we brought ours ...
BuildRequires: trinity-sip-devel
BuildRequires: trinity-PyQt-devel BuildRequires: trinity-PyQt-devel
%endif %endif
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: python-sip
BuildRequires: python-qt BuildRequires: python-qt
%endif %endif
%if 0%{?rhel} >= 6 || 0%{?fedora} %if 0%{?rhel} >= 6 || 0%{?fedora}
BuildRequires: sip-devel
BuildRequires: PyQt-devel BuildRequires: PyQt-devel
%endif %endif
%if 0%{?suse_version}
BuildRequires: trinity-PyQt-devel
%endif
# SIP support
%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
# RHEL 4/5 comes with old version, so we brought ours ...
BuildRequires: trinity-sip-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: python-sip
%endif
%if 0%{?rhel} >= 6 || 0%{?fedora}
BuildRequires: sip-devel
%endif
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: python-sip-devel BuildRequires: python-sip-devel
BuildRequires: trinity-PyQt-devel
%endif %endif
Obsoletes: python-trinity < %{version}-%{release} Obsoletes: python-trinity < %{version}-%{release}
@ -91,7 +101,7 @@ Obsoletes: python-trinity-devel < %{version}-%{release}
Provides: python-trinity-devel = %{version}-%{release} Provides: python-trinity-devel = %{version}-%{release}
%description devel %description devel
Development .sip files with definitions of PyKDE classes. They Development .sip files with definitions of PyTDE classes. They
are needed to build PyTDE, but also as building blocks of other are needed to build PyTDE, but also as building blocks of other
packages based on them. packages based on them.
The package also contains kdepyuic, a wrapper script around PyQt's The package also contains kdepyuic, a wrapper script around PyQt's
@ -99,14 +109,14 @@ user interface compiler.
%package doc %package doc
Summary: Documentation and examples for PyKDE [Trinity] Summary: Documentation and examples for PyTDE [Trinity]
Group: Development/Libraries Group: Development/Libraries
Obsoletes: python-trinity-doc < %{version}-%{release} Obsoletes: python-trinity-doc < %{version}-%{release}
Provides: python-trinity-doc = %{version}-%{release} Provides: python-trinity-doc = %{version}-%{release}
%description doc %description doc
General documentation and examples for PyKDE providing programming General documentation and examples for PyTDE providing programming
tips and working code you can use to learn from. tips and working code you can use to learn from.
@ -116,24 +126,17 @@ tips and working code you can use to learn from.
%prep %prep
%setup -q -n %{name}-3.5.13.2 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .inc %patch1 -p1 -b .inc
# Hack to get TQT include files under /opt
%__sed -i "configure.py" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g"
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export LD_RUN_PATH="%{tde_libdir}"
export KDEDIR=%{tde_prefix} export KDEDIR=%{tde_prefix}
#export LDFLAGS="${LDFLAGS} -lpython2.7"
export DH_OPTIONS export DH_OPTIONS
export QMAKESPEC=$(QTDIR)/mkspecs/linux-g++
export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt
@ -189,7 +192,10 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.6.13-5
- Build for Fedora 19
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.16.3-4
- Initial release for TDE 3.5.13.2 - Initial release for TDE 3.5.13.2
* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 3.16.3-3 * Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 3.16.3-3

@ -1,9 +1,13 @@
# Default version for this component
%define tde_pkg tde-i18n
%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
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
@ -14,15 +18,15 @@ BuildRequires: autoconf automake libtool m4
%define tde_tdedocdir %{tde_docdir}/tde %define tde_tdedocdir %{tde_docdir}/tde
# Builds all supported languages (not unsupported ones) # Builds all supported languages (not unsupported ones)
%if "%{?KDE_LANGS}" == "" %if "%{?TDE_LANGS}" == ""
%define KDE_LANGS ar bg bn ca cs da de el en_GB es et fi fr he hi hu is it ja lt nl nb nn pa pl pt pt_BR ro ru sk sl sr sv ta tr uk zh_CN zh_TW %define TDE_LANGS ar bg bn ca cs da de el en_GB es et fi fr he hi hu is it ja lt nl nb nn pa pl pt pt_BR ro ru sk sl sr sv ta tr uk zh_CN zh_TW
%endif %endif
Name: trinity-i18n Name: trinity-%{tde_pkg}
Summary: Internationalization support for Trinity Summary: Internationalization support for Trinity
Version: 3.5.13.2 Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
@ -41,7 +45,7 @@ BuildArch: noarch
%define __spec_install_post %{nil} %define __spec_install_post %{nil}
AutoReq: no AutoReq: no
Source0: trinity-tde-i18n-%{version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
# TDE 3.5.12: Translate 'kdesu' message was modified in 'kdebase' package # TDE 3.5.12: Translate 'kdesu' message was modified in 'kdebase' package
Patch0: kde-i18n-kdesu.patch Patch0: kde-i18n-kdesu.patch
@ -60,8 +64,8 @@ Patch4: trinity-tde-i18n-fr-3.5.13.2-updates.patch
BuildRequires: findutils BuildRequires: findutils
BuildRequires: gettext BuildRequires: gettext
BuildRequires: trinity-arts-devel >= 3.5.13.2 BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 BuildRequires: trinity-tdelibs-devel >= %{tde_version}
%description %description
%{summary}. %{summary}.
@ -689,7 +693,7 @@ Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release}
%prep %prep
%setup -q -n trinity-tde-i18n-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Patches for French translations # Patches for French translations
pushd tde-i18n-fr pushd tde-i18n-fr
@ -704,12 +708,6 @@ pushd tde-i18n-zh_TW
zcat %{PATCH3} | patch -p1 || : zcat %{PATCH3} | patch -p1 || :
popd popd
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -717,12 +715,12 @@ popd
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export KDEDIR=%{tde_prefix} export KDEDIR=%{tde_prefix}
export kde_htmldir="%{tde_tdedocdir}/HTML" export kde_htmldir="%{tde_tdedocdir}/HTML"
for l in %{KDE_LANGS}; do (
for l in %{TDE_LANGS}; do
for f in tde-i18n-${l}/; do for f in tde-i18n-${l}/; do
if [ -d "${f}" ]; then if [ -d "${f}" ]; then
pushd ${f} pushd ${f}
@ -740,14 +738,21 @@ for l in %{KDE_LANGS}; do
fi fi
done done
done done
) 2>&1 | tee /tmp/rpmbuild.$$
if grep -q Error /tmp/rpmbuild.$$; then
echo Error while building. See '/tmp/rpmbuild.$$'
exit 1
fi
wait wait
rm -f /tmp/rpmbuild.$$
%install %install
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
for l in %{KDE_LANGS}; do for l in %{TDE_LANGS}; do
for f in tde-i18n-${l}/; do for f in tde-i18n-${l}/; do
if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then
%__make install DESTDIR="%{?buildroot}" -C "${f}" %__make install DESTDIR="%{?buildroot}" -C "${f}"
@ -805,444 +810,444 @@ find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w af <<< '%{TDE_LANGS}' )" != ""
%files Afrikaans %files Afrikaans
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(af) %{tde_datadir}/locale/af/* %lang(af) %{tde_datadir}/locale/af/*
%lang(af) %{tde_tdedocdir}/HTML/af/ %lang(af) %{tde_tdedocdir}/HTML/af/
%endif %endif
%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ar <<< '%{TDE_LANGS}' )" != ""
%files Arabic %files Arabic
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ar) %{tde_datadir}/locale/ar/* %lang(ar) %{tde_datadir}/locale/ar/*
%endif %endif
%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w az <<< '%{TDE_LANGS}' )" != ""
%files Azerbaijani %files Azerbaijani
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(az) %{tde_datadir}/locale/az/* %lang(az) %{tde_datadir}/locale/az/*
%endif %endif
%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w be <<< '%{TDE_LANGS}' )" != ""
%files Belarusian %files Belarusian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(be) %{tde_datadir}/locale/be/* %lang(be) %{tde_datadir}/locale/be/*
%endif %endif
%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w bg <<< '%{TDE_LANGS}' )" != ""
%files Bulgarian %files Bulgarian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(bg) %{tde_datadir}/locale/bg/* %lang(bg) %{tde_datadir}/locale/bg/*
%endif %endif
%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w bn <<< '%{TDE_LANGS}' )" != ""
%files Bengali %files Bengali
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(bn) %{tde_datadir}/locale/bn/* %lang(bn) %{tde_datadir}/locale/bn/*
%endif %endif
%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w bo <<< '%{TDE_LANGS}' )" != ""
%files Tibetan %files Tibetan
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(bo) %{tde_datadir}/locale/bo/* %lang(bo) %{tde_datadir}/locale/bo/*
%endif %endif
%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w br <<< '%{TDE_LANGS}' )" != ""
%files Breton %files Breton
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(br) %{tde_datadir}/locale/br/* %lang(br) %{tde_datadir}/locale/br/*
%endif %endif
%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w bs <<< '%{TDE_LANGS}' )" != ""
%files Bosnian %files Bosnian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(bs) %{tde_datadir}/locale/bs/* %lang(bs) %{tde_datadir}/locale/bs/*
%endif %endif
%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ca <<< '%{TDE_LANGS}' )" != ""
%files Catalan %files Catalan
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ca) %{tde_datadir}/locale/ca/* %lang(ca) %{tde_datadir}/locale/ca/*
%lang(ca) %{tde_tdedocdir}/HTML/ca/ %lang(ca) %{tde_tdedocdir}/HTML/ca/
%endif %endif
%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w cs <<< '%{TDE_LANGS}' )" != ""
%files Czech %files Czech
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(cs) %{tde_datadir}/locale/cs/* %lang(cs) %{tde_datadir}/locale/cs/*
%lang(cs) %{tde_tdedocdir}/HTML/cs/ %lang(cs) %{tde_tdedocdir}/HTML/cs/
%endif %endif
%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w cy <<< '%{TDE_LANGS}' )" != ""
%files Welsh %files Welsh
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(cy) %{tde_datadir}/locale/cy/* %lang(cy) %{tde_datadir}/locale/cy/*
%endif %endif
%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w da <<< '%{TDE_LANGS}' )" != ""
%files Danish %files Danish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(da) %{tde_datadir}/locale/da/* %lang(da) %{tde_datadir}/locale/da/*
%lang(da) %{tde_tdedocdir}/HTML/da/ %lang(da) %{tde_tdedocdir}/HTML/da/
%endif %endif
%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w de <<< '%{TDE_LANGS}' )" != ""
%files German %files German
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(de) %{tde_datadir}/locale/de/* %lang(de) %{tde_datadir}/locale/de/*
%lang(de) %{tde_tdedocdir}/HTML/de/ %lang(de) %{tde_tdedocdir}/HTML/de/
%endif %endif
%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w el <<< '%{TDE_LANGS}' )" != ""
%files Greek %files Greek
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(el) %{tde_datadir}/locale/el/* %lang(el) %{tde_datadir}/locale/el/*
%endif %endif
%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w en_GB <<< '%{TDE_LANGS}' )" != ""
%files British %files British
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(en_GB) %{tde_datadir}/locale/en_GB/* %lang(en_GB) %{tde_datadir}/locale/en_GB/*
%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/ %lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/
%endif %endif
%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w eo <<< '%{TDE_LANGS}' )" != ""
%files Esperanto %files Esperanto
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(eo) %{tde_datadir}/locale/eo/* %lang(eo) %{tde_datadir}/locale/eo/*
%endif %endif
%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w es <<< '%{TDE_LANGS}' )" != ""
%files Spanish %files Spanish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(es) %{tde_datadir}/locale/es/* %lang(es) %{tde_datadir}/locale/es/*
%lang(es) %{tde_tdedocdir}/HTML/es/ %lang(es) %{tde_tdedocdir}/HTML/es/
%endif %endif
%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w et <<< '%{TDE_LANGS}' )" != ""
%files Estonian %files Estonian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(et) %{tde_datadir}/locale/et/* %lang(et) %{tde_datadir}/locale/et/*
%lang(et) %{tde_tdedocdir}/HTML/et/ %lang(et) %{tde_tdedocdir}/HTML/et/
%endif %endif
%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w eu <<< '%{TDE_LANGS}' )" != ""
%files Basque %files Basque
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(eu) %{tde_datadir}/locale/eu/* %lang(eu) %{tde_datadir}/locale/eu/*
%endif %endif
%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fa <<< '%{TDE_LANGS}' )" != ""
%files Farsi %files Farsi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fa) %{tde_datadir}/locale/fa/* %lang(fa) %{tde_datadir}/locale/fa/*
%endif %endif
%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fi <<< '%{TDE_LANGS}' )" != ""
%files Finnish %files Finnish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fi) %{tde_datadir}/locale/fi/* %lang(fi) %{tde_datadir}/locale/fi/*
%lang(fi) %{tde_tdedocdir}/HTML/fi/ %lang(fi) %{tde_tdedocdir}/HTML/fi/
%endif %endif
%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fo <<< '%{TDE_LANGS}' )" != ""
%files Faroese %files Faroese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fo) %{tde_datadir}/locale/fo/* %lang(fo) %{tde_datadir}/locale/fo/*
%endif %endif
%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fr <<< '%{TDE_LANGS}' )" != ""
%files French %files French
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fr) %{tde_datadir}/locale/fr/* %lang(fr) %{tde_datadir}/locale/fr/*
%lang(fr) %{tde_tdedocdir}/HTML/fr/ %lang(fr) %{tde_tdedocdir}/HTML/fr/
%endif %endif
%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fy <<< '%{TDE_LANGS}' )" != ""
%files Frisian %files Frisian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fy) %{tde_datadir}/locale/fy/* %lang(fy) %{tde_datadir}/locale/fy/*
%endif %endif
%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ga <<< '%{TDE_LANGS}' )" != ""
%files Irish %files Irish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ga) %{tde_datadir}/locale/ga/* %lang(ga) %{tde_datadir}/locale/ga/*
%endif %endif
%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w gl <<< '%{TDE_LANGS}' )" != ""
%files Galician %files Galician
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(gl) %{tde_datadir}/locale/gl/* %lang(gl) %{tde_datadir}/locale/gl/*
%endif %endif
%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w he <<< '%{TDE_LANGS}' )" != ""
%files Hebrew %files Hebrew
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(he) %{tde_datadir}/locale/he/* %lang(he) %{tde_datadir}/locale/he/*
%lang(he) %{tde_tdedocdir}/HTML/he/ %lang(he) %{tde_tdedocdir}/HTML/he/
%endif %endif
%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w hi <<< '%{TDE_LANGS}' )" != ""
%files Hindi %files Hindi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(hi) %{tde_datadir}/locale/hi/* %lang(hi) %{tde_datadir}/locale/hi/*
%endif %endif
%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w hr <<< '%{TDE_LANGS}' )" != ""
%files Croatian %files Croatian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(hr) %{tde_datadir}/locale/hr/* %lang(hr) %{tde_datadir}/locale/hr/*
%lang(hr) %{tde_tdedocdir}/HTML/hr/ %lang(hr) %{tde_tdedocdir}/HTML/hr/
%endif %endif
%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w hu <<< '%{TDE_LANGS}' )" != ""
%files Hungarian %files Hungarian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(hu) %{tde_datadir}/locale/hu/* %lang(hu) %{tde_datadir}/locale/hu/*
%lang(hu) %{tde_tdedocdir}/HTML/hu/ %lang(hu) %{tde_tdedocdir}/HTML/hu/
%endif %endif
%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w id <<< '%{TDE_LANGS}' )" != ""
%files Indonesian %files Indonesian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(id) %{tde_datadir}/locale/id/* %lang(id) %{tde_datadir}/locale/id/*
%lang(id) %{tde_tdedocdir}/HTML/id/ %lang(id) %{tde_tdedocdir}/HTML/id/
%endif %endif
%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w is <<< '%{TDE_LANGS}' )" != ""
%files Icelandic %files Icelandic
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(is) %{tde_datadir}/locale/is/* %lang(is) %{tde_datadir}/locale/is/*
%endif %endif
%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w it <<< '%{TDE_LANGS}' )" != ""
%files Italian %files Italian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(it) %{tde_datadir}/locale/it/* %lang(it) %{tde_datadir}/locale/it/*
%lang(it) %{tde_tdedocdir}/HTML/it/ %lang(it) %{tde_tdedocdir}/HTML/it/
%endif %endif
%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ja <<< '%{TDE_LANGS}' )" != ""
%files Japanese %files Japanese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ja) %{tde_datadir}/locale/ja/* %lang(ja) %{tde_datadir}/locale/ja/*
%lang(ja) %{tde_tdedocdir}/HTML/ja/ %lang(ja) %{tde_tdedocdir}/HTML/ja/
%endif %endif
%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ko <<< '%{TDE_LANGS}' )" != ""
%files Korean %files Korean
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ko) %{tde_datadir}/locale/ko/* %lang(ko) %{tde_datadir}/locale/ko/*
%lang(ko) %{tde_tdedocdir}/HTML/ko/ %lang(ko) %{tde_tdedocdir}/HTML/ko/
%endif %endif
%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ku <<< '%{TDE_LANGS}' )" != ""
%files Kurdish %files Kurdish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ku) %{tde_datadir}/locale/ku/* %lang(ku) %{tde_datadir}/locale/ku/*
%lang(ku) %{tde_tdedocdir}/HTML/ku/ %lang(ku) %{tde_tdedocdir}/HTML/ku/
%endif %endif
%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w lao <<< '%{TDE_LANGS}' )" != ""
%files Lao %files Lao
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(lo) %{tde_datadir}/locale/lo/* %lang(lo) %{tde_datadir}/locale/lo/*
%lang(lo) %{tde_tdedocdir}/HTML/lo/ %lang(lo) %{tde_tdedocdir}/HTML/lo/
%endif %endif
%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w lt <<< '%{TDE_LANGS}' )" != ""
%files Lithuanian %files Lithuanian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(lt) %{tde_datadir}/locale/lt/* %lang(lt) %{tde_datadir}/locale/lt/*
%endif %endif
%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w lv <<< '%{TDE_LANGS}' )" != ""
%files Latvian %files Latvian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(lv) %{tde_datadir}/locale/lv/* %lang(lv) %{tde_datadir}/locale/lv/*
%endif %endif
%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w mi <<< '%{TDE_LANGS}' )" != ""
%files Maori %files Maori
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(mi) %{tde_datadir}/locale/mi/* %lang(mi) %{tde_datadir}/locale/mi/*
%endif %endif
%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w mk <<< '%{TDE_LANGS}' )" != ""
%files Macedonian %files Macedonian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(mk) %{tde_datadir}/locale/mk/* %lang(mk) %{tde_datadir}/locale/mk/*
%endif %endif
%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w mt <<< '%{TDE_LANGS}' )" != ""
%files Maltese %files Maltese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(mt) %{tde_datadir}/locale/mt/* %lang(mt) %{tde_datadir}/locale/mt/*
%endif %endif
%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w nl <<< '%{TDE_LANGS}' )" != ""
%files Dutch %files Dutch
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(nl) %{tde_datadir}/locale/nl/* %lang(nl) %{tde_datadir}/locale/nl/*
%lang(nl) %{tde_tdedocdir}/HTML/nl/ %lang(nl) %{tde_tdedocdir}/HTML/nl/
%endif %endif
%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w nb <<< '%{TDE_LANGS}' )" != ""
%files Norwegian %files Norwegian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(nb) %{tde_datadir}/locale/nb/* %lang(nb) %{tde_datadir}/locale/nb/*
#%lang(nb) %{tde_tdedocdir}/HTML/nb/ #%lang(nb) %{tde_tdedocdir}/HTML/nb/
%endif %endif
%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w nn <<< '%{TDE_LANGS}' )" != ""
%files Norwegian-Nynorsk %files Norwegian-Nynorsk
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(nn) %{tde_datadir}/locale/nn/* %lang(nn) %{tde_datadir}/locale/nn/*
#%lang(nn) %{tde_tdedocdir}/HTML/nn/ #%lang(nn) %{tde_tdedocdir}/HTML/nn/
%endif %endif
%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w oc <<< '%{TDE_LANGS}' )" != ""
%files Occitan %files Occitan
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(oc) %{tde_datadir}/locale/oc/* %lang(oc) %{tde_datadir}/locale/oc/*
%endif %endif
%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w pa <<< '%{TDE_LANGS}' )" != ""
%files Punjabi %files Punjabi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(pa) %{tde_datadir}/locale/pa/* %lang(pa) %{tde_datadir}/locale/pa/*
%endif %endif
%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w pl <<< '%{TDE_LANGS}' )" != ""
%files Polish %files Polish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(pl) %{tde_datadir}/locale/pl/* %lang(pl) %{tde_datadir}/locale/pl/*
%lang(pl) %{tde_tdedocdir}/HTML/pl/ %lang(pl) %{tde_tdedocdir}/HTML/pl/
%endif %endif
%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w pt <<< '%{TDE_LANGS}' )" != ""
%files Portuguese %files Portuguese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(pt) %{tde_datadir}/locale/pt/* %lang(pt) %{tde_datadir}/locale/pt/*
%lang(pt) %{tde_tdedocdir}/HTML/pt/ %lang(pt) %{tde_tdedocdir}/HTML/pt/
%endif %endif
%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w pt_BR <<< '%{TDE_LANGS}' )" != ""
%files Brazil %files Brazil
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(pt_BR) %{tde_datadir}/locale/pt_BR/* %lang(pt_BR) %{tde_datadir}/locale/pt_BR/*
%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/ %lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/
%endif %endif
%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ro <<< '%{TDE_LANGS}' )" != ""
%files Romanian %files Romanian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ro) %{tde_datadir}/locale/ro/* %lang(ro) %{tde_datadir}/locale/ro/*
%lang(ro) %{tde_tdedocdir}/HTML/ro/ %lang(ro) %{tde_tdedocdir}/HTML/ro/
%endif %endif
%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ru <<< '%{TDE_LANGS}' )" != ""
%files Russian %files Russian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ru) %{tde_datadir}/locale/ru/* %lang(ru) %{tde_datadir}/locale/ru/*
%lang(ru) %{tde_tdedocdir}/HTML/ru/ %lang(ru) %{tde_tdedocdir}/HTML/ru/
%endif %endif
%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w sk <<< '%{TDE_LANGS}' )" != ""
%files Slovak %files Slovak
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(sk) %{tde_datadir}/locale/sk/* %lang(sk) %{tde_datadir}/locale/sk/*
%lang(sk) %{tde_tdedocdir}/HTML/sk/ %lang(sk) %{tde_tdedocdir}/HTML/sk/
%endif %endif
%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w sl <<< '%{TDE_LANGS}' )" != ""
%files Slovenian %files Slovenian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(sl) %{tde_datadir}/locale/sl/* %lang(sl) %{tde_datadir}/locale/sl/*
%lang(sl) %{tde_tdedocdir}/HTML/sl/ %lang(sl) %{tde_tdedocdir}/HTML/sl/
%endif %endif
%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w sr <<< '%{TDE_LANGS}' )" != ""
%files Serbian %files Serbian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(sr) %{tde_datadir}/locale/sr/* %lang(sr) %{tde_datadir}/locale/sr/*
%lang(sr) %{tde_tdedocdir}/HTML/sr/ %lang(sr) %{tde_tdedocdir}/HTML/sr/
%endif %endif
%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w sv <<< '%{TDE_LANGS}' )" != ""
%files Swedish %files Swedish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(sv) %{tde_datadir}/locale/sv/* %lang(sv) %{tde_datadir}/locale/sv/*
%lang(sv) %{tde_tdedocdir}/HTML/sv/ %lang(sv) %{tde_tdedocdir}/HTML/sv/
%endif %endif
%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ta <<< '%{TDE_LANGS}' )" != ""
%files Tamil %files Tamil
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ta) %{tde_datadir}/locale/ta/* %lang(ta) %{tde_datadir}/locale/ta/*
%endif %endif
%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w tg <<< '%{TDE_LANGS}' )" != ""
%files Tajik %files Tajik
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(tg) %{tde_datadir}/locale/tg/* %lang(tg) %{tde_datadir}/locale/tg/*
%endif %endif
%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w th <<< '%{TDE_LANGS}' )" != ""
%files Thai %files Thai
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(th) %{tde_datadir}/locale/th/* %lang(th) %{tde_datadir}/locale/th/*
%endif %endif
%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w tr <<< '%{TDE_LANGS}' )" != ""
%files Turkish %files Turkish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(tr) %{tde_datadir}/locale/tr/* %lang(tr) %{tde_datadir}/locale/tr/*
%lang(tr) %{tde_tdedocdir}/HTML/tr/ %lang(tr) %{tde_tdedocdir}/HTML/tr/
%endif %endif
%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w uk <<< '%{TDE_LANGS}' )" != ""
%files Ukrainian %files Ukrainian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(uk) %{tde_tdedocdir}/HTML/uk/ %lang(uk) %{tde_tdedocdir}/HTML/uk/
%lang(uk) %{tde_datadir}/locale/uk/* %lang(uk) %{tde_datadir}/locale/uk/*
%endif %endif
%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ven <<< '%{TDE_LANGS}' )" != ""
%files Venda %files Venda
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ven) %{tde_datadir}/locale/ven/* %lang(ven) %{tde_datadir}/locale/ven/*
%endif %endif
%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w vi <<< '%{TDE_LANGS}' )" != ""
%files Vietnamese %files Vietnamese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(vi) %{tde_datadir}/locale/vi/* %lang(vi) %{tde_datadir}/locale/vi/*
%endif %endif
%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w wa <<< '%{TDE_LANGS}' )" != ""
%files Walloon %files Walloon
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(wa) %{tde_datadir}/locale/wa/* %lang(wa) %{tde_datadir}/locale/wa/*
%endif %endif
%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w xh <<< '%{TDE_LANGS}' )" != ""
%files Xhosa %files Xhosa
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(xh) %{tde_datadir}/locale/xh/* %lang(xh) %{tde_datadir}/locale/xh/*
%lang(xh) %{tde_tdedocdir}/HTML/xh/ %lang(xh) %{tde_tdedocdir}/HTML/xh/
%endif %endif
%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w zh_CN <<< '%{TDE_LANGS}' )" != ""
%files Chinese %files Chinese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(zh_CN) %{tde_datadir}/locale/zh_CN/* %lang(zh_CN) %{tde_datadir}/locale/zh_CN/*
%lang(zh_CN) %{tde_tdedocdir}/HTML/zh_CN/ %lang(zh_CN) %{tde_tdedocdir}/HTML/zh_CN/
%endif %endif
%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w zh_TW <<< '%{TDE_LANGS}' )" != ""
%files Chinese-Big5 %files Chinese-Big5
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(zh_TW) %{tde_datadir}/locale/zh_TW/* %lang(zh_TW) %{tde_datadir}/locale/zh_TW/*
@ -1250,6 +1255,9 @@ find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
%endif %endif
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Build for Fedora 19
* Sat Jan 19 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Sat Jan 19 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 @@
Summary: Trinity Desktop Environment - Accessibility Summary: Trinity Desktop Environment - Accessibility
Name: trinity-tdeaccessibility Name: trinity-tdeaccessibility
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: User Interface/Desktops Group: User Interface/Desktops
@ -38,9 +40,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: trinity-akode-devel BuildRequires: trinity-akode-devel
BuildRequires: trinity-arts-devel >= %{version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdemultimedia-devel >= %{version} BuildRequires: trinity-tdemultimedia-devel >= %{tde_version}
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
@ -441,12 +443,6 @@ Provides: trinity-kdeaccessibility-devel = %{version}-%{release}
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -456,7 +452,6 @@ Provides: trinity-kdeaccessibility-devel = %{version}-%{release}
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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
# Avoids conflict with KDE4, if installed # Avoids conflict with KDE4, if installed
# see file: '/etc/profile.d/kde.sh' from package 'kde-settings' # see file: '/etc/profile.d/kde.sh' from package 'kde-settings'
@ -475,14 +470,16 @@ fi
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--disable-rpath \ \
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \ --enable-new-ldflags \
--enable-closure \
--disable-debug --disable-warnings \
--enable-final \ --enable-final \
--enable-closure \
--enable-rpath \
\
--enable-ksayit-audio-plugins \ --enable-ksayit-audio-plugins \
--with-akode \ --with-akode
--with-extra-includes=%{tde_includedir}:%{tde_includedir}/tqt
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -492,28 +489,14 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
# file lists for locale
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
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Build for Fedora 19
* 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,7 +21,7 @@
Name: trinity-tdeaddons Name: trinity-tdeaddons
Summary: Trinity Desktop Environment - Plugins Summary: Trinity Desktop Environment - Plugins
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
@ -41,13 +43,13 @@ Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
BuildRequires: qt3-devel >= 3.3.8d BuildRequires: qt3-devel >= 3.3.8d
BuildRequires: trinity-arts-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdebase-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdegames-devel >= %{version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-tdemultimedia-devel >= %{version} BuildRequires: trinity-tdegames-devel >= %{tde_version}
BuildRequires: trinity-tdepim-devel >= %{version} BuildRequires: trinity-tdemultimedia-devel >= %{tde_version}
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tdepim-devel >= %{tde_version}
BuildRequires: SDL-devel BuildRequires: SDL-devel
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
@ -73,8 +75,6 @@ BuildRequires: libdb-4_8-devel
#BuildRequires: xmms-devel #BuildRequires: xmms-devel
#%endif #%endif
#Requires: which
Requires: trinity-atlantikdesigner = %{version}-%{release} Requires: trinity-atlantikdesigner = %{version}-%{release}
Requires: trinity-kaddressbook-plugins = %{version}-%{release} Requires: trinity-kaddressbook-plugins = %{version}-%{release}
Requires: trinity-kate-plugins = %{version}-%{release} Requires: trinity-kate-plugins = %{version}-%{release}
@ -676,12 +676,6 @@ done
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -690,7 +684,6 @@ done
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
# Note about DB4: # Note about DB4:
@ -703,17 +696,21 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--disable-rpath \ \
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \
--enable-closure \ --enable-closure \
--disable-debug --disable-warnings \ --enable-rpath \
--disable-dependency-tracking --enable-final \ \
--with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/db4:%{_includedir}/libdb4:%{tde_includedir}/arts:%{tde_includedir} \ --with-extra-includes=%{_includedir}/db4:%{_includedir}/libdb4:%{tde_includedir}/arts \
\
%{?with_xmms:--with-xmms} %{?!with_xmms:--without-xmms} \ %{?with_xmms:--with-xmms} %{?!with_xmms:--without-xmms} \
--with-sdl \ --with-sdl \
%if 0%{?with_db4} %if 0%{?with_db4}
--with-berkeley-db \ --with-berkeley-db \
%if 0%{?fedora} == 18 %if 0%{?fedora} >= 18
--with-db-lib=db_cxx-4 \ --with-db-lib=db_cxx-4 \
%endif %endif
%endif %endif
@ -727,29 +724,15 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
# File lists for locale
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}/$HTML_DIR ]; then
for lang_dir in %{buildroot}/$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
done
popd
fi
done
fi
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Build for Fedora 19
* 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

@ -24,7 +24,7 @@
Name: trinity-tdeadmin Name: trinity-tdeadmin
Summary: Administrative tools for TDE Summary: Administrative tools for TDE
Version: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPLv2 License: GPLv2
Group: User Interface/Desktops Group: User Interface/Desktops
@ -47,9 +47,9 @@ Source6: ksysvrc
Source7: kuserrc Source7: kuserrc
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: rpm-devel BuildRequires: rpm-devel
BuildRequires: pam-devel BuildRequires: pam-devel
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} %if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
@ -377,12 +377,6 @@ touch /etc/lilo.conf
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -391,7 +385,6 @@ touch /etc/lilo.conf
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
# Do not build against any "/usr" installed KDE # Do not build against any "/usr" installed KDE
export KDEDIR=%{tde_prefix} export KDEDIR=%{tde_prefix}
@ -415,9 +408,7 @@ fi
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \ --enable-final \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \
\ \
--with-rpm \ --with-rpm \
--with-pam=kde \ --with-pam=kde \
@ -478,5 +469,8 @@ done
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Build for Fedora 19
* 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,57 @@
--- trinity-tdeartwork/kscreensaver/kxsconfig/update_hacks.sh.ORI 2013-07-31 11:08:50.105439282 +0200
+++ trinity-tdeartwork/kscreensaver/kxsconfig/update_hacks.sh 2013-07-31 11:22:06.146113235 +0200
@@ -1,18 +1,50 @@
#!/bin/sh
-scsvs=`cd /usr/lib/xscreensaver/ && ls -1 | grep -v config`
+
+# Checks for Xscreensaver directory (may vary on different distributions)
+if [ -d /usr/libexec/xscreensaver ]; then
+ XSDIR=/usr/libexec/xscreensaver
+elif [ -d /usr/lib64/xscreensaver ]; then
+ XSDIR=/usr/lib64/xscreensaver
+else
+ XSDIR=/usr/lib/xscreensaver
+fi
+
+# Gets list of screensavers. Exclude 'config'.
+scsvs=""
+pushd "${XSDIR}" >/dev/null
+for i in *; do
+ if [ "${i}" != "config" ]; then
+ scsvs="${scsvs} ${i}"
+ fi
+done
+popd >/dev/null
+
echo $scsvs
+
+# Removes useless .desktop files, if any
+for f in ScreenSavers/*.desktop; do
+ # Gets the command line for this screensaver
+ Exec="$(sed -n '/^Exec=kxsconfig / s/.* \(.*\)/\1/' $f)"
+ if [ ! -x "${XSDIR}/${Exec}" ]; then
+ echo "Removing ${f}"
+ rm -f "${f}"
+ fi
+done
+
+# Creates missing screensavers .desktop files
for name in $scsvs; do
- if test -f /usr/lib/xscreensaver/$name && test -f /usr/share/xscreensaver/config/$name.xml && test ! -f ScreenSavers/$name.desktop; then
+ if test -f "${XSDIR}/$name" && test -f "/usr/share/xscreensaver/config/$name.xml" && test ! -f "ScreenSavers/$name.desktop"; then
echo "name: $name"
label=`grep '<screensaver.*_label' /usr/share/xscreensaver/config/$name.xml | sed -e 's#^.*_label=\"\(.*\)\".*$#\1#'`
echo "label: $label"
f=ScreenSavers/$name.desktop
sed -e "s#@NAME@#$name#; s#@LABEL@#$label#" ScreenSavers/xscreensaver.template > $f
- if ldd /usr/lib/xscreensaver/$name 2>&1 | grep libGL; then
+ if ldd "${XSDIR}/$name" 2>&1 | grep libGL; then
sed -e "s,@GL1@,X-KDE-Category=OpenGL Screen Savers,; s,@GL2@,X-KDE-Type=OpenGL," $f > $f.new
else
grep -v @GL $f > $f.new
fi
mv $f.new $f
fi
-done
+done
+

@ -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-tdeartwork Name: trinity-tdeartwork
Summary: Additional artwork (themes, sound themes, ...) for TDE Summary: Additional artwork (themes, sound themes, ...) for TDE
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: User Interface/Desktops Group: User Interface/Desktops
@ -33,9 +35,11 @@ Url: http://www.trinitydesktop.org/
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Patch1: tdeartwork-3.5.13.2-fix_update_screensaver_list.patch
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: trinity-tdebase-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: gettext BuildRequires: gettext
BuildRequires: esound-devel BuildRequires: esound-devel
@ -129,7 +133,7 @@ technological superiority of the Unix operating system.
This metapackage includes a collection of artistic extras (themes, widget This metapackage includes a collection of artistic extras (themes, widget
styles, screen savers, wallpaper, icons, emoticons and so on) provided styles, screen savers, wallpaper, icons, emoticons and so on) provided
with the official release of KDE. with the official release of TDE.
Homepage: http://artist.kde.org Homepage: http://artist.kde.org
@ -143,9 +147,9 @@ Group: User Interface/Desktops
%description emoticons %description emoticons
This package contains several collections of emoticons used by official This package contains several collections of emoticons used by official
and unofficial KDE chat clients, such as Kopete and Konversation. and unofficial TDE chat clients, such as Kopete and Konversation.
This package is part of KDE, and a component of the KDE artwork module. This package is part of TDE, and a component of the TDE artwork module.
%files emoticons %files emoticons
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -158,7 +162,7 @@ Summary: various multimedia goodies released with TDE
Group: User Interface/Desktops Group: User Interface/Desktops
%description misc %description misc
This package contains miscellaneous multimedia goodies for KDE. This package contains miscellaneous multimedia goodies for TDE.
Included are additional TDE sounds and kworldclock themes. Included are additional TDE sounds and kworldclock themes.
This package is part of Trinity, and a component of the TDE artwork module. This package is part of Trinity, and a component of the TDE artwork module.
@ -201,7 +205,7 @@ Provides: trinity-kdeartwork-icons = %{version}-%{release}
%description theme-icon %description theme-icon
This package contains additional icon themes for Trinity. Icon themes can be This package contains additional icon themes for Trinity. Icon themes can be
used to customise the appearance of standard icons throughout KDE. They used to customise the appearance of standard icons throughout TDE. They
can be applied using the icon manager in the Trinity Control Centre. can be applied using the icon manager in the Trinity Control Centre.
This package is part of Trinity, and a component of the TDE artwork module. This package is part of Trinity, and a component of the TDE artwork module.
@ -238,8 +242,8 @@ This package is part of Trinity, and a component of the TDE artwork module.
%files theme-window %files theme-window
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_tdelibdir}/[kt]win* %{tde_tdelibdir}/kwin*
%{tde_datadir}/apps/[kt]win/ %{tde_datadir}/apps/kwin/
########## ##########
@ -333,7 +337,7 @@ This package is part of Trinity, and a component of the TDE artwork module.
%package -n trinity-kscreensaver-xsavers %package -n trinity-kscreensaver-xsavers
Summary: Trinity hooks for standard xscreensavers Summary: Trinity hooks for standard xscreensavers
Group: User Interface/Desktops Group: User Interface/Desktops
Requires: trinity-tdebase-bin >= 3.5.13 Requires: trinity-tdebase-bin >= %{tde_version}
Requires: xscreensaver Requires: xscreensaver
%description -n trinity-kscreensaver-xsavers %description -n trinity-kscreensaver-xsavers
@ -607,17 +611,43 @@ This package is part of Trinity, and a component of the TDE artwork module.
%{tde_datadir}/applnk/System/ScreenSavers/xspirograph.desktop %{tde_datadir}/applnk/System/ScreenSavers/xspirograph.desktop
%{tde_datadir}/applnk/System/ScreenSavers/zoom.desktop %{tde_datadir}/applnk/System/ScreenSavers/zoom.desktop
# These screensavers do not exist on OpenSuse 12.2 # These screensavers do not exist on OpenSuse
%if 0%{?suse_version} == 0 %if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%{tde_datadir}/applnk/System/ScreenSavers/vidwhacker.desktop %{tde_datadir}/applnk/System/ScreenSavers/vidwhacker.desktop
%endif %endif
# These screensavers do not exist on Mageia 2 and Mandriva 2011 # These screensavers do not exist on Mageia / Mandriva
%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0 %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%{tde_datadir}/applnk/System/ScreenSavers/glmatrix.desktop
%{tde_datadir}/applnk/System/ScreenSavers/xjack.desktop %{tde_datadir}/applnk/System/ScreenSavers/xjack.desktop
%{tde_datadir}/applnk/System/ScreenSavers/xmatrix.desktop %{tde_datadir}/applnk/System/ScreenSavers/xmatrix.desktop
%endif %endif
%if 0%{?rhel} == 6
%{tde_datadir}/applnk/System/ScreenSavers/rubikblocks.desktop
%{tde_datadir}/applnk/System/ScreenSavers/surfaces.desktop
%endif
%if 0%{?mgaversion}
%{tde_datadir}/applnk/System/ScreenSavers/companioncube.desktop
%{tde_datadir}/applnk/System/ScreenSavers/hilbert.desktop
%{tde_datadir}/applnk/System/ScreenSavers/rubikblocks.desktop
%{tde_datadir}/applnk/System/ScreenSavers/surfaces.desktop
%{tde_datadir}/applnk/System/ScreenSavers/tronbit.desktop
%endif
%if 0%{?fedora} >= 19
%{tde_datadir}/applnk/System/ScreenSavers/companioncube.desktop
%{tde_datadir}/applnk/System/ScreenSavers/hexadrop.desktop
%{tde_datadir}/applnk/System/ScreenSavers/hilbert.desktop
%{tde_datadir}/applnk/System/ScreenSavers/kaleidocycle.desktop
%{tde_datadir}/applnk/System/ScreenSavers/quasicrystal.desktop
%{tde_datadir}/applnk/System/ScreenSavers/rubikblocks.desktop
%{tde_datadir}/applnk/System/ScreenSavers/surfaces.desktop
%{tde_datadir}/applnk/System/ScreenSavers/tronbit.desktop
%{tde_datadir}/applnk/System/ScreenSavers/unknownpleasures.desktop
%endif
%endif %endif
########## ##########
@ -630,14 +660,18 @@ This package is part of Trinity, and a component of the TDE artwork module.
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .screenlist
# http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild
# NOTE: Before building tdeartwork, install any and all xhack screensavers that might be uses, then:
cd kscreensaver/kxsconfig/
./update_hacks.sh
%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 LD_LIBRARY_PATH="%{tde_libdir}"
# Specific path for RHEL4 # Specific path for RHEL4
if [ -d /usr/X11R6 ]; then if [ -d /usr/X11R6 ]; then
@ -650,12 +684,19 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-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" \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
\
%{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \ %{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \
%{!?with_libart}:-DWITH_LIBART=OFF} \ %{!?with_libart}:-DWITH_LIBART=OFF} \
-DWITH_OPENGL=ON \ -DWITH_OPENGL=ON \
@ -671,40 +712,24 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install -C build DESTDIR=%{buildroot} %__make install -C build DESTDIR=%{buildroot}
# webcollage -root -directory /usr/share/backgrounds/images #227683
# File lists
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
# Duplicate with trinity-kbabel (from tdesdk)
%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/16x16/apps/kbabel.png
%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/32x32/apps/kbabel.png
# Should not be here if xscreensaver is disabled # Should not be here if xscreensaver is disabled
%if 0%{?with_xscreensaver} == 0 %if 0%{?with_xscreensaver} == 0
%__rm -f %{?buildroot}%{tde_bindir}/xscreensaver-getimage %__rm -f %{?buildroot}%{tde_bindir}/xscreensaver-getimage
%__rm -f %{?buildroot}%{tde_bindir}/xscreensaver-getimage-file %__rm -f %{?buildroot}%{tde_bindir}/xscreensaver-getimage-file
%endif %endif
# Duplicate with trinity-kbabel (from tdesdk)
%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/16x16/apps/kbabel.png
%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/32x32/apps/kbabel.png
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Build for Fedora 19
* 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,5 @@
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth
session include system-auth

@ -0,0 +1,16 @@
#%PAM-1.0
auth required pam_env.so
auth required pam_permit.so
auth include postlogin
account required pam_nologin.so
account include system-auth
password include system-auth
session required pam_selinux.so close
session required pam_loginuid.so
session optional pam_console.so
-session optional pam_ck_connector.so
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session include system-auth
session include postlogin

@ -0,0 +1,19 @@
#%PAM-1.0
auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
auth required pam_env.so
auth substack system-auth
-auth optional pam_gnome_keyring.so
auth include postlogin
account required pam_nologin.so
account include system-auth
password include system-auth
session required pam_selinux.so close
session required pam_loginuid.so
session optional pam_console.so
-session optional pam_ck_connector.so
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session include system-auth
-session optional pam_gnome_keyring.so auto_start
session include postlogin

@ -0,0 +1,5 @@
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth
session include system-auth

@ -0,0 +1,13 @@
--- trinity-tdebase-3.5.13.2/kioslave/media/mediamanager/halbackend.cpp.slash 2013-08-15 18:24:06.092882626 +0200
+++ trinity-tdebase-3.5.13.2/kioslave/media/mediamanager/halbackend.cpp 2013-08-15 18:32:20.535855050 +0200
@@ -554,6 +554,10 @@
media_name.replace(pattern, i18n(pattern.utf8()));
medium->setLabel(media_name);
} else {
+ // If media_name begins with '%', it is likely to be a directory path.
+ if( media_name.at(0) == '%') {
+ media_name.replace(QChar('%'), "/");
+ }
medium->setLabel(i18n(media_name.utf8()));
}

@ -26,7 +26,7 @@
Name: trinity-tdebase Name: trinity-tdebase
Version: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Trinity Base Programs Summary: Trinity Base Programs
Group: User Interface/Desktops Group: User Interface/Desktops
@ -70,7 +70,7 @@ Source7: tdm.service%{?dist}
%endif %endif
# Fedora 17: special selinux policy required # Fedora 17: special selinux policy required
%if 0%{?fedora} == 17 || 0%{?rhel} == 6 %if 0%{?fedora} >= 17 || 0%{?rhel} == 6
%define with_selinux_policy 1 %define with_selinux_policy 1
Source8: tdm%{?dist}.pp Source8: tdm%{?dist}.pp
%endif %endif
@ -92,6 +92,8 @@ Patch3: tdebase-3.5.13.2-displayconfig_translation.patch
Patch4: tdebase-3.5.13.2-kickoff_default_favs.patch Patch4: tdebase-3.5.13.2-kickoff_default_favs.patch
## [tdebase] Changes konsole default word separator ## [tdebase] Changes konsole default word separator
Patch5: tdebase-14.0.0-konsole_wordseps.patch Patch5: tdebase-14.0.0-konsole_wordseps.patch
## [tdebase] Fix '%' caracter in hal volumes
Patch6: tdebase-3.5.13.2-fix_halbackend_slash.patch
# Permanent patches, this TDE version only # Permanent patches, this TDE version only
## [tdebase/kdm] Fix PID file is 'tdm.pid' instead of 'kdm.pid' (needed for openSUSE) ## [tdebase/kdm] Fix PID file is 'tdm.pid' instead of 'kdm.pid' (needed for openSUSE)
@ -109,9 +111,6 @@ 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
@ -174,6 +173,19 @@ Requires: fedora-release-notes
%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html %define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
%endif %endif
# Fedora 19 Theme: "Schroedinger's cat"
%if 0%{?fedora} == 19
Requires: schroedinger-cat-backgrounds-base
%define tde_bg /usr/share/backgrounds/schroedinger-cat/default/standard/schroedinger-cat.jpg
Requires: fedora-logos
%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
Requires: fedora-release-notes
%define tde_aboutlabel Fedora 19
%define tde_aboutpage /usr/share/doc/fedora-release-notes-19/index.html
%endif
# RHEL 4 Theme # RHEL 4 Theme
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
Requires: desktop-backgrounds-basic Requires: desktop-backgrounds-basic
@ -304,9 +316,9 @@ Requires: opensuse-manuals_en
%endif %endif
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: qt%{?_qt_suffix}-devel BuildRequires: qt%{?_qt_suffix}-devel >= 3.3.8.d
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: make BuildRequires: make
@ -427,8 +439,8 @@ BuildRequires: nas-devel
BuildRequires: dbus-devel >= 0.22-12.EL.9p1 BuildRequires: dbus-devel >= 0.22-12.EL.9p1
Requires: dbus-qt >= 0.22-12.EL.9p1 Requires: dbus-qt >= 0.22-12.EL.9p1
%else %else
BuildRequires: trinity-dbus-tqt-devel >= %{tde_version} BuildRequires: trinity-dbus-tqt-devel >= 1:0.63
Requires: trinity-dbus-tqt >= %{tde_version} Requires: trinity-dbus-tqt >= 1:0.63
%endif %endif
%if 0%{?fedora} >= 17 %if 0%{?fedora} >= 17
@ -546,10 +558,10 @@ 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: qt%{?_qt_suffix}
Requires: trinity-tqtinterface >= %{tde_version} Requires: trinity-tqtinterface >= %{tde_version}
Requires: trinity-arts >= %{tde_version} Requires: trinity-arts >= 1:1.5.10
Requires: trinity-tdelibs >= %{tde_version} Requires: trinity-tdelibs >= %{tde_version}
Requires: qt%{?_qt_suffix}
Requires: openssl Requires: openssl
@ -586,7 +598,9 @@ web browser, X terminal emulator, and many other programs and components.
Summary: %{summary} - Development files Summary: %{summary} - Development files
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: trinity-tdelibs-devel Requires: trinity-tqtinterface-devel >= %{tde_version}
Requires: trinity-arts-devel >= 1:1.5.10
Requires: trinity-tdelibs-devel >= %{tde_version}
Requires: %{name}-bin-devel = %{version}-%{release} Requires: %{name}-bin-devel = %{version}-%{release}
Requires: trinity-kate-devel = %{version}-%{release} Requires: trinity-kate-devel = %{version}-%{release}
@ -790,7 +804,7 @@ Some random features:
%{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
%{_sysconfdir}/trinity/katerc %config(noreplace) %{_sysconfdir}/trinity/katerc
%{tde_datadir}/icons/hicolor/*/apps/kate.png %{tde_datadir}/icons/hicolor/*/apps/kate.png
%{tde_datadir}/icons/hicolor/*/apps/kate2.svgz %{tde_datadir}/icons/hicolor/*/apps/kate2.svgz
%{tde_datadir}/servicetypes/kateplugin.desktop %{tde_datadir}/servicetypes/kateplugin.desktop
@ -1193,7 +1207,6 @@ TDE applications, particularly those in the TDE base module.
%files bin %files bin
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/krootbacking %{tde_bindir}/krootbacking
#%{tde_bindir}/tdeinit_phase1
%if 0%{?with_tsak} %if 0%{?with_tsak}
%attr(4511,root,root) %{tde_bindir}/kdmtsak %attr(4511,root,root) %{tde_bindir}/kdmtsak
%{tde_bindir}/tsak %{tde_bindir}/tsak
@ -1202,7 +1215,7 @@ TDE applications, particularly those in the TDE base module.
%{tde_bindir}/kreadconfig %{tde_bindir}/kreadconfig
%{tde_bindir}/kwriteconfig %{tde_bindir}/kwriteconfig
%{tde_bindir}/kstart %{tde_bindir}/kstart
%{_sysconfdir}/trinity/kxkb_groups %config(noreplace) %{_sysconfdir}/trinity/kxkb_groups
%{tde_bindir}/drkonqi %{tde_bindir}/drkonqi
%{tde_bindir}/crashtest %{tde_bindir}/crashtest
%{tde_bindir}/kapplymousetheme %{tde_bindir}/kapplymousetheme
@ -1265,8 +1278,8 @@ TDE applications, particularly those in the TDE base module.
%{tde_datadir}/services/kded/khotkeys.desktop %{tde_datadir}/services/kded/khotkeys.desktop
%{tde_datadir}/services/kxkb.desktop %{tde_datadir}/services/kxkb.desktop
%if 0%{?suse_version} == 0 %if 0%{?suse_version} == 0
%{_sysconfdir}/pam.d/kcheckpass-trinity %config(noreplace) %{_sysconfdir}/pam.d/kcheckpass-trinity
%{_sysconfdir}/pam.d/kscreensaver-trinity %config(noreplace) %{_sysconfdir}/pam.d/tdescreensaver-trinity
%endif %endif
%{tde_tdedocdir}/HTML/en/kdcop/ %{tde_tdedocdir}/HTML/en/kdcop/
%{tde_tdedocdir}/HTML/en/kdebugdialog// %{tde_tdedocdir}/HTML/en/kdebugdialog//
@ -1322,7 +1335,7 @@ needed for a basic TDE desktop installation.
%files data %files data
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_sysconfdir}/trinity/kshorturifilterrc %config(noreplace) %{_sysconfdir}/trinity/kshorturifilterrc
%{tde_datadir}/applnk/.hidden/battery.desktop %{tde_datadir}/applnk/.hidden/battery.desktop
%{tde_datadir}/applnk/.hidden/bwarning.desktop %{tde_datadir}/applnk/.hidden/bwarning.desktop
%{tde_datadir}/applnk/.hidden/cwarning.desktop %{tde_datadir}/applnk/.hidden/cwarning.desktop
@ -1579,10 +1592,10 @@ needed for a basic TDE desktop installation.
%{tde_datadir}/wallpapers/* %{tde_datadir}/wallpapers/*
# XDG directories information # XDG directories information
%{_sysconfdir}/xdg/menus/applications-merged/tde-essential.menu %config(noreplace) %{_sysconfdir}/xdg/menus/applications-merged/tde-essential.menu
%{_sysconfdir}/xdg/menus/tde-information.menu %config(noreplace) %{_sysconfdir}/xdg/menus/tde-information.menu
%{_sysconfdir}/xdg/menus/tde-screensavers.menu %config(noreplace) %{_sysconfdir}/xdg/menus/tde-screensavers.menu
%{_sysconfdir}/xdg/menus/tde-settings.menu %config(noreplace) %{_sysconfdir}/xdg/menus/tde-settings.menu
%{tde_tdedocdir}/HTML/en/kcontrol/ %{tde_tdedocdir}/HTML/en/kcontrol/
%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ %exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/
@ -1917,8 +1930,8 @@ the TDE desktop.
%files -n trinity-kdesktop %files -n trinity-kdesktop
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_sysconfdir}/trinity/kdesktop_custom_menu1 %config(noreplace) %{_sysconfdir}/trinity/kdesktop_custom_menu1
%{_sysconfdir}/trinity/kdesktop_custom_menu2 %config(noreplace) %{_sysconfdir}/trinity/kdesktop_custom_menu2
%{tde_bindir}/kcheckrunning %{tde_bindir}/kcheckrunning
%{tde_bindir}/kxdglauncher %{tde_bindir}/kxdglauncher
%{tde_bindir}/kdeeject %{tde_bindir}/kdeeject
@ -2035,11 +2048,12 @@ already. Most users won't need this.
%{tde_datadir}/apps/kdm/sessions/*.desktop %{tde_datadir}/apps/kdm/sessions/*.desktop
%{tde_datadir}/apps/kdm/themes/ %{tde_datadir}/apps/kdm/themes/
%{tde_datadir}/config/kdm %{tde_datadir}/config/kdm
%{_sysconfdir}/trinity/kdm/ %dir %{_sysconfdir}/trinity/kdm
%config(noreplace) %{_sysconfdir}/trinity/kdm/*
%{tde_tdedocdir}/HTML/en/kdm/ %{tde_tdedocdir}/HTML/en/kdm/
%if 0%{?suse_version} == 0 %if 0%{?suse_version} == 0
%{_sysconfdir}/pam.d/kdm-trinity %config(noreplace) %{_sysconfdir}/pam.d/tdm-trinity
%{_sysconfdir}/pam.d/kdm-trinity-np %config(noreplace) %{_sysconfdir}/pam.d/tdm-trinity-np
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
/usr/lib/X11/displaymanagers/tdm /usr/lib/X11/displaymanagers/tdm
@ -2088,11 +2102,17 @@ fi
%if 0%{?with_selinux_policy} %if 0%{?with_selinux_policy}
/usr/sbin/semodule -i "%{?_sysconfdir}/trinity/kdm/tdm.pp" /usr/sbin/semodule -i "%{?_sysconfdir}/trinity/kdm/tdm.pp"
%endif %endif
# Default user icon in TDM # Sets default user icon in TDM
if [ ! -r "%{tde_datadir}/apps/kdm/faces/.default.face.icon" ]; then if [ ! -r "%{tde_datadir}/apps/kdm/faces/.default.face.icon" ]; then
[ -d "%{tde_datadir}/apps/kdm/faces" ] || mkdir -p "%{tde_datadir}/apps/kdm/faces" [ -d "%{tde_datadir}/apps/kdm/faces" ] || mkdir -p "%{tde_datadir}/apps/kdm/faces"
%__cp -f "%{tde_datadir}/apps/kdm/pics/users/default2.png" "%{tde_datadir}/apps/kdm/faces/.default.face.icon" %__cp -f "%{tde_datadir}/apps/kdm/pics/users/default2.png" "%{tde_datadir}/apps/kdm/faces/.default.face.icon"
fi fi
# Sets default language for TDM
if [ "$1" = "1" ]; then
if [ -n "${LANG}" ] && [ "${LANG}" != "C" ]; then
%__sed -i "%{_sysconfdir}/trinity/kdm/kdmrc" -e "s|^#*Language=.*|Language=${LANG}|"
fi
fi
%posttrans -n trinity-tdm %posttrans -n trinity-tdm
# Make sure that TDM configuration files are now under '/etc/trinity/kdm' # Make sure that TDM configuration files are now under '/etc/trinity/kdm'
@ -2166,7 +2186,7 @@ Requires: %{name}-data = %{version}-%{release}
Requires: htdig Requires: htdig
%description -n trinity-khelpcenter %description -n trinity-khelpcenter
The TDE Help Center provides documentation on how to use the KDE desktop. The TDE Help Center provides documentation on how to use the TDE desktop.
The htdig package is needed to build a searchable archive of TDE The htdig package is needed to build a searchable archive of TDE
documentation. documentation.
@ -2390,7 +2410,7 @@ web browser if the clipboard contains a URL.
%files -n trinity-klipper %files -n trinity-klipper
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/klipper %{tde_bindir}/klipper
%{_sysconfdir}/trinity/klipperrc %config(noreplace) %{_sysconfdir}/trinity/klipperrc
%{tde_tdelibdir}/klipper.la %{tde_tdelibdir}/klipper.la
%{tde_tdelibdir}/klipper.so %{tde_tdelibdir}/klipper.so
%{tde_tdelibdir}/klipper_panelapplet.la %{tde_tdelibdir}/klipper_panelapplet.la
@ -2431,7 +2451,7 @@ Group: Applications/Utilities
Requires: %{name}-data = %{version}-%{release} Requires: %{name}-data = %{version}-%{release}
%description -n trinity-kmenuedit %description -n trinity-kmenuedit
The TDE menu editor allows you to make customisations to the KDE menu The TDE menu editor allows you to make customisations to the TDE menu
structure. structure.
%files -n trinity-kmenuedit %files -n trinity-kmenuedit
@ -2599,11 +2619,13 @@ for f in crystalsvg hicolor ; do
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
done done
/sbin/ldconfig || : /sbin/ldconfig || :
update-alternatives --install \ if [ $1 -eq 1 ]; then
update-alternatives --install \
%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \ %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \
media_safelyremove.desktop_konqueror \ media_safelyremove.desktop_konqueror \
%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \ %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \
10 || : 10 || :
fi
%postun -n trinity-konqueror %postun -n trinity-konqueror
update-desktop-database %{tde_appdir} 2> /dev/null || : update-desktop-database %{tde_appdir} 2> /dev/null || :
@ -2818,7 +2840,7 @@ Requires: trinity-twin = %{version}-%{release}
%description -n trinity-ksmserver %description -n trinity-ksmserver
This package contains the TDE 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 TDE session. It registers KDE with X display managers, and start a TDE session. It registers TDE with X display managers, and
provides the 'starttde' command, for starting an X session with TDE provides the 'starttde' command, for starting an X session with TDE
from the console. from the console.
@ -3019,7 +3041,7 @@ ktip provides many useful tips on using TDE when you log in.
%{tde_tdeappdir}/ktip.desktop %{tde_tdeappdir}/ktip.desktop
%{tde_datadir}/applnk/Toys/ktip.desktop %{tde_datadir}/applnk/Toys/ktip.desktop
%{tde_datadir}/apps/kdewizard/pics/wizard_small.png %{tde_datadir}/apps/kdewizard/pics/wizard_small.png
%{tde_datadir}/apps/kdewizard/tips/ %{tde_datadir}/apps/kdewizard/tips
%{tde_datadir}/autostart/ktip.desktop %{tde_datadir}/autostart/ktip.desktop
%{tde_datadir}/icons/hicolor/*/apps/ktip.* %{tde_datadir}/icons/hicolor/*/apps/ktip.*
@ -3254,6 +3276,7 @@ Windows and Samba shares.
%patch3 -p1 -b .displayconfigtranslation %patch3 -p1 -b .displayconfigtranslation
%patch4 -p1 -b .kickoffdefaultsfav %patch4 -p1 -b .kickoffdefaultsfav
%patch5 -p1 -b .konsolewordseps %patch5 -p1 -b .konsolewordseps
%patch6 -p1 -b .halbackend
%patch11 -p1 -b .tdmpid %patch11 -p1 -b .tdmpid
%patch12 -p1 -b .kdesunoignorebutton %patch12 -p1 -b .kdesunoignorebutton
@ -3266,8 +3289,6 @@ 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
%patch301 -p1 -b .libdetect %patch301 -p1 -b .libdetect
@ -3321,9 +3342,7 @@ Windows and Samba shares.
%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:${PKG_CONFIG_PATH}"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
export LD_LIBRARY_PATH="%{tde_libdir}"
# Avoids building against KDE3's old stuff, if installed # Avoids building against KDE3's old stuff, if installed
export KDEDIR=%{tde_prefix} export KDEDIR=%{tde_prefix}
@ -3346,19 +3365,20 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="-DNDEBUG" \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \ -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}" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \ -DCONFIG_INSTALL_DIR="%{_sysconfdir}/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ -DXDG_MENU_INSTALL_DIR="%{_sysconfdir}/xdg/menus" \
\ \
-DWITH_SASL=ON \ -DWITH_SASL=ON \
-DWITH_LDAP=ON \ -DWITH_LDAP=ON \
@ -3392,8 +3412,8 @@ cd build
-DKSCREENSAVER_PAM_SERVICE="xdm" \ -DKSCREENSAVER_PAM_SERVICE="xdm" \
%else %else
-DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \ -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \
-DKDM_PAM_SERVICE="kdm-trinity" \ -DKDM_PAM_SERVICE="tdm-trinity" \
-DKSCREENSAVER_PAM_SERVICE="kscreensaver-trinity" \ -DKSCREENSAVER_PAM_SERVICE="tdescreensaver-trinity" \
%endif %endif
%{!?with_tsak:-DBUILD_TSAK=OFF} \ %{!?with_tsak:-DBUILD_TSAK=OFF} \
.. ..
@ -3452,13 +3472,13 @@ EOF
# PAM configuration files (except openSUSE) # PAM configuration files (except openSUSE)
%if 0%{?suse_version} == 0 %if 0%{?suse_version} == 0
%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity" %__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/tdm-trinity"
%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np" %__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/tdm-trinity-np"
%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" %__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity"
%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity" %__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/tdescreensaver-trinity"
%endif %endif
# KDM configuration # TDM configuration
%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/kdm/kdmrc" \ %__sed -i "%{?buildroot}%{_sysconfdir}/trinity/kdm/kdmrc" \
%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220 %if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220
-e "s/^#*MinShowUID=.*/MinShowUID=1000/" -e "s/^#*MinShowUID=.*/MinShowUID=1000/"
@ -3503,7 +3523,7 @@ EOF
# Mageia icon # Mageia icon
%if 0%{?mgaversion} >= 3 %if 0%{?mgaversion} >= 3
%__install -D -m 644 %{SOURCE9} %{?buildroot}%{tde_datadir}/oxygen/scalable/mgabutton.svg %__install -D -m 644 "%{SOURCE9}" "%{?buildroot}%{tde_datadir}/oxygen/scalable/mgabutton.svg"
%endif %endif
@ -3512,6 +3532,9 @@ EOF
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-3
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option - Rebuild with NDEBUG option
- Fix XDG menu - Fix XDG menu

Binary file not shown.

@ -0,0 +1,13 @@
[Unit]
Description=The Trinity login manager
Conflicts=getty@tty1.service
After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
Conflicts=plymouth-quit.service
[Service]
ExecStart=/opt/trinity/bin/kdm
Restart=always
IgnoreSIGPIPE=no
[Install]
Alias=display-manager.service

@ -0,0 +1,32 @@
--- trinity-tdebindings-3.5.13.2/qtruby/rubylib/qtruby/configure.in.in.ORI 2013-08-17 10:49:32.741192663 +0200
+++ trinity-tdebindings-3.5.13.2/qtruby/rubylib/qtruby/configure.in.in 2013-08-17 10:52:27.904466644 +0200
@@ -54,6 +54,13 @@
RUBY_INCLUDEDIR=$RUBY_ARCHDIR
RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
fi
+
+ # Removes trailing slashes, if any, to avoid fail to install with recent libtool.
+ RUBY_ARCHDIR=${RUBY_ARCHDIR%/}
+ RUBY_SITEDIR=${RUBY_SITEDIR%/}
+ RUBY_LIBDIR=${RUBY_LIBDIR%/}
+ RUBY_RUBYLIBDIR=${RUBY_RUBYLIBDIR%/}
+
AC_MSG_RESULT([
archdir $RUBY_ARCHDIR,
sitearchdir $RUBY_SITEARCHDIR,
--- trinity-tdebindings-3.5.13.2/korundum/rubylib/korundum/configure.in.in.ORI 2013-08-17 10:58:23.873872686 +0200
+++ trinity-tdebindings-3.5.13.2/korundum/rubylib/korundum/configure.in.in 2013-08-17 10:58:44.416433828 +0200
@@ -54,6 +54,13 @@
RUBY_INCLUDEDIR=$RUBY_ARCHDIR
RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
fi
+
+ # Removes trailing slashes, if any, to avoid fail to install with recent libtool.
+ RUBY_ARCHDIR=${RUBY_ARCHDIR%/}
+ RUBY_SITEDIR=${RUBY_SITEDIR%/}
+ RUBY_LIBDIR=${RUBY_LIBDIR%/}
+ RUBY_RUBYLIBDIR=${RUBY_RUBYLIBDIR%/}
+
AC_MSG_RESULT([
archdir $RUBY_ARCHDIR,
sitearchdir $RUBY_SITEARCHDIR,

@ -5,12 +5,14 @@
# or 64 bits: # or 64 bits:
# ln -s /usr/lib64/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so # ln -s /usr/lib64/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so
%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
@ -34,8 +36,8 @@ Source91: filter-requires.sh
Name: trinity-tdebindings Name: trinity-tdebindings
Summary: TDE bindings to non-C++ languages Summary: TDE bindings to non-C++ languages
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: User Interface/Desktops Group: User Interface/Desktops
@ -49,6 +51,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
# [tdebindings] Fix RUBY path ending with '/' causing fail to install
Patch1: tdebindings-3.5.13.2-fix_ruby_path.patch
# [kdebindings] Fix FTBFS in dcopjava/bindings # [kdebindings] Fix FTBFS in dcopjava/bindings
Patch7: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch Patch7: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch
@ -56,9 +61,9 @@ Patch7: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch
Patch18: kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch Patch18: kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: zlib-devel BuildRequires: zlib-devel
@ -106,7 +111,8 @@ BuildRequires: libgdk_pixbuf2.0-devel
%else %else
BuildRequires: %{_lib}gdk_pixbuf2.0-devel BuildRequires: %{_lib}gdk_pixbuf2.0-devel
%endif %endif
%else %endif
%if 0%{?fedora}
%if 0%{?fedora} >= 17 %if 0%{?fedora} >= 17
BuildRequires: gdk-pixbuf2-devel BuildRequires: gdk-pixbuf2-devel
%else %else
@ -121,8 +127,18 @@ BuildRequires: python-devel
## ruby ## ruby
BuildRequires: ruby-devel >= 1.8, ruby BuildRequires: ruby-devel >= 1.8, ruby
%if "%{?ruby_libarchdir}" != ""
%define ruby_arch %{?ruby_libarchdir}
%else
%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')} %{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')}
%endif
%if "%{?ruby_libdir}" != ""
%define ruby_rubylibdir %{?ruby_libdir}
%else
%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')} %{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')}
%endif
# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) # Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file)
%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/')
@ -926,7 +942,8 @@ Requires: trinity-libdcop-c = %{version}-%{release}
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: trinity-tdelibs-devel
Requires: trinity-tdelibs-devel >= %{tde_version}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Obsoletes: trinity-kdebindings-devel < %{version}-%{release} Obsoletes: trinity-kdebindings-devel < %{version}-%{release}
@ -957,6 +974,7 @@ Development files for the TDE bindings.
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .rubypath
%patch7 -p1 -b .dcopjavaldflags %patch7 -p1 -b .dcopjavaldflags
%if "%{?perl_vendorarch}" == "" %if "%{?perl_vendorarch}" == ""
@ -968,7 +986,7 @@ exit 1
%endif %endif
# Workarounds strange issue in MGA3 # Workarounds strange issue in MGA3
%if 0%{?mgaversion} == 3 || 0%{?pclinuxos} >= 2013 %if 0%{?mgaversion} == 3 || 0%{?pclinuxos} >= 2013 || 0%{?fedora} >= 19
%__cp /usr/share/automake-1.13/test-driver admin/ %__cp /usr/share/automake-1.13/test-driver admin/
%endif %endif
@ -976,12 +994,6 @@ exit 1
%__sed -i "xparts/Makefile.am" \ %__sed -i "xparts/Makefile.am" \
-e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|" -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|"
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -1016,25 +1028,27 @@ fi
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \ --mandir=%{tde_mandir} \
--disable-rpath \ \
--enable-new-ldflags \
--disable-debug --disable-warnings \
--disable-dependency-tracking \ --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
\
--with-extra-includes=%{_includedir}/tqscintilla \
--with-extra-libs=%{tde_libdir} \ --with-extra-libs=%{tde_libdir} \
--with-pythondir=%{_usr} \ --with-pythondir=%{_usr} \
--enable-closure \ \
--enable-final \
%{?_with_java} %{!?_with_java:--without-java} \ %{?_with_java} %{!?_with_java:--without-java} \
%{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla}
--with-extra-includes=%{tde_includedir}/tqt
# Build dcopperl with specific options
pushd dcopperl pushd dcopperl
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
# Ugly hack to add TQT include directory in Makefile # Ugly hack to modify the man pages directory
# Also modifies the man pages directory
sed -i Makefile \ sed -i Makefile \
-e "s|^\(INC = .*\)|\1 -I%{tde_includedir}/tqt|" \
-e "s|/usr/share/man|%{tde_mandir}|g" -e "s|/usr/share/man|%{tde_mandir}|g"
%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: %__make OPTIMIZE="$RPM_OPT_FLAGS" ||:
@ -1058,24 +1072,6 @@ export PATH="%{tde_bindir}:${PATH}"
find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
-o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
# locale's
%find_lang %{name} || touch %{name}.lang
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 ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
# Installs juic # Installs juic
%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic %__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic
%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common %__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common
@ -1108,5 +1104,8 @@ fi
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Build for Fedora 19
* 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 @@
Name: trinity-tdeedu Name: trinity-tdeedu
Summary: Educational/Edutainment applications Summary: Educational/Edutainment applications
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
@ -36,7 +38,7 @@ Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: trinity-kdelibs-devel BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: python-devel python BuildRequires: python-devel python
BuildRequires: boost-devel BuildRequires: boost-devel
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 %if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
@ -1110,9 +1112,9 @@ This package is part of Trinity, as a component of the TDE education module.
%files -n trinity-libtdeedu3 %files -n trinity-libtdeedu3
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_libdir}/libextdate.so.* %{tde_libdir}/libextdate.so.*
%{tde_libdir}/lib[kt]deeducore.so.* %{tde_libdir}/libkdeeducore.so.*
%{tde_libdir}/lib[kt]deeduplot.so.* %{tde_libdir}/libkdeeduplot.so.*
%{tde_libdir}/lib[kt]deeduui.so.* %{tde_libdir}/libkdeeduui.so.*
%post -n trinity-libtdeedu3 %post -n trinity-libtdeedu3
/sbin/ldconfig || : /sbin/ldconfig || :
@ -1138,15 +1140,15 @@ This package is part of Trinity, as a component of the TDE education module.
%files -n trinity-libtdeedu-devel %files -n trinity-libtdeedu-devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_tdeincludedir}/lib[kt]deedu/ %{tde_tdeincludedir}/libkdeedu/
%{tde_libdir}/libextdate.la %{tde_libdir}/libextdate.la
%{tde_libdir}/libextdate.so %{tde_libdir}/libextdate.so
%{tde_libdir}/lib[kt]deeducore.la %{tde_libdir}/libkdeeducore.la
%{tde_libdir}/lib[kt]deeducore.so %{tde_libdir}/libkdeeducore.so
%{tde_libdir}/lib[kt]deeduui.la %{tde_libdir}/libkdeeduui.la
%{tde_libdir}/lib[kt]deeduui.so %{tde_libdir}/libkdeeduui.so
%{tde_libdir}/lib[kt]deeduplot.la %{tde_libdir}/libkdeeduplot.la
%{tde_libdir}/lib[kt]deeduplot.so %{tde_libdir}/libkdeeduplot.so
%post -n trinity-libtdeedu-devel %post -n trinity-libtdeedu-devel
/sbin/ldconfig || : /sbin/ldconfig || :
@ -1311,12 +1313,6 @@ Provides: trinity-kdeedu-devel = %{version}-%{release}
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -1343,20 +1339,20 @@ fi
--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-new-ldflags \
--enable-final \
--enable-closure \
--enable-rpath \
\
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} %if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
--enable-kig-python-scripting \ --enable-kig-python-scripting \
%else %else
--disable-kig-python-scripting \ --disable-kig-python-scripting \
%endif %endif
--disable-debug \ --enable-ocamlsolver
--disable-warnings \
--enable-final \
--enable-closure \
--enable-ocamlsolver \
--with-extra-includes=%{tde_includedir}/tqt
%__make %{_smp_mflags} \ %__make %{_smp_mflags} \
OCAMLLIB=$(ocamlc -where) \ OCAMLLIB=$(ocamlc -where) \
@ -1368,28 +1364,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
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Build for Fedora 19
* 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

@ -23,7 +23,7 @@
Name: trinity-tdegames Name: trinity-tdegames
Summary: Trinity Desktop Environment - Games Summary: Trinity Desktop Environment - Games
Version: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
License: GPLv2 License: GPLv2
Group: Amusements/Games Group: Amusements/Games
@ -40,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 >= %{tde_version} BuildRequires: qt3-devel >= 3.3.8.d
BuildRequires: trinity-arts-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} BuildRequires: trinity-tdemultimedia-devel >= %{tde_version}
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}
@ -103,7 +103,7 @@ Group: Development/Libraries
License: LGPLv2 License: LGPLv2
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: trinity-tdelibs-devel >= 3.5.13 Requires: trinity-tdelibs-devel >= %{tde_version}
Requires: trinity-libtdegames-devel = %{version}-%{release} Requires: trinity-libtdegames-devel = %{version}-%{release}
Requires: trinity-atlantik-devel = %{version}-%{release} Requires: trinity-atlantik-devel = %{version}-%{release}
Requires: trinity-kolf-devel = %{version}-%{release} Requires: trinity-kolf-devel = %{version}-%{release}
@ -136,8 +136,8 @@ This package is part of TDE, and a component of the TDE games module.
%files -n trinity-libtdegames1 %files -n trinity-libtdegames1
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_libdir}/lib[kt]degames.so.* %{tde_libdir}/libkdegames.so.*
%{tde_datadir}/apps/[kt]degames/pics/star.png %{tde_datadir}/apps/kdegames/pics/star.png
%{tde_datadir}/icons/crystalsvg/*/actions/roll.png %{tde_datadir}/icons/crystalsvg/*/actions/roll.png
%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png %{tde_datadir}/icons/crystalsvg/*/actions/highscore.png
#%{tde_tdedocdir}/HTML/en/%{name}-%{version}-apidocs/ #%{tde_tdedocdir}/HTML/en/%{name}-%{version}-apidocs/
@ -173,8 +173,8 @@ This package is part of Trinity, and a component of the TDE games module.
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_tdeincludedir}/*.h %{tde_tdeincludedir}/*.h
%{tde_tdeincludedir}/kgame %{tde_tdeincludedir}/kgame
%{tde_libdir}/lib[kt]degames.so %{tde_libdir}/libkdegames.so
%{tde_libdir}/lib[kt]degames.la %{tde_libdir}/libkdegames.la
########## ##########
@ -876,8 +876,8 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_datadir}/icons/hicolor/*/apps/kolf.png %{tde_datadir}/icons/hicolor/*/apps/kolf.png
%{tde_datadir}/mimelnk/application/x-kolf.desktop %{tde_datadir}/mimelnk/application/x-kolf.desktop
%{tde_datadir}/mimelnk/application/x-kourse.desktop %{tde_datadir}/mimelnk/application/x-kourse.desktop
%{tde_libdir}/lib[kt]deinit_kolf.so %{tde_libdir}/libkdeinit_kolf.so
%{tde_libdir}/lib[kt]deinit_kolf.la %{tde_libdir}/libkdeinit_kolf.la
%{tde_tdelibdir}/kolf.la %{tde_tdelibdir}/kolf.la
%{tde_tdelibdir}/kolf.so %{tde_tdelibdir}/kolf.so
%{tde_libdir}/libkolf.so.1 %{tde_libdir}/libkolf.so.1
@ -1448,13 +1448,13 @@ This package is part of Trinity, and a component of the TDE games module.
%files -n trinity-twin4 %files -n trinity-twin4
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/[kt]win4 %{tde_bindir}/kwin4
%{tde_bindir}/[kt]win4proc %{tde_bindir}/kwin4proc
%{tde_datadir}/apps/[kt]win4/ %{tde_datadir}/apps/kwin4/
%{tde_datadir}/config.kcfg/[kt]win4.kcfg %{tde_datadir}/config.kcfg/kwin4.kcfg
%{tde_datadir}/icons/hicolor/*/apps/[kt]win4.png %{tde_datadir}/icons/hicolor/*/apps/kwin4.png
%{tde_tdeappdir}/[kt]win4.desktop %{tde_tdeappdir}/kwin4.desktop
%{tde_tdedocdir}/HTML/en/[kt]win4/ %{tde_tdedocdir}/HTML/en/kwin4/
%post -n trinity-twin4 %post -n trinity-twin4
for f in hicolor ; do for f in hicolor ; do
@ -1523,12 +1523,6 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -1537,7 +1531,6 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
# Do not build against any "/usr" installed KDE # Do not build against any "/usr" installed KDE
export KDEDIR="%{tde_prefix}" export KDEDIR="%{tde_prefix}"
@ -1560,9 +1553,7 @@ fi
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \ --enable-final \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \
\ \
--disable-setgid --disable-setgid
@ -1586,6 +1577,9 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-3
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -22,7 +22,7 @@
Name: trinity-tdegraphics Name: trinity-tdegraphics
Version: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Trinity Desktop Environment - Graphics Applications Summary: Trinity Desktop Environment - Graphics Applications
@ -188,6 +188,7 @@ BuildRequires: lcms-devel
BuildRequires: libart_lgpl-devel BuildRequires: libart_lgpl-devel
# kuickshow # kuickshow
#define build_kuickshow 1
BuildRequires: fribidi-devel BuildRequires: fribidi-devel
# kamera # kamera
@ -195,6 +196,11 @@ BuildRequires: fribidi-devel
%define build_kamera 1 %define build_kamera 1
%endif %endif
# kmrml
#define build_kmrml 1
#Requires: gift
Obsoletes: trinity-kmrml
Obsoletes: trinity-kdegraphics < %{version}-%{release} Obsoletes: trinity-kdegraphics < %{version}-%{release}
Provides: trinity-kdegraphics = %{version}-%{release} Provides: trinity-kdegraphics = %{version}-%{release}
Obsoletes: trinity-kdegraphics-libs < %{version}-%{release} Obsoletes: trinity-kdegraphics-libs < %{version}-%{release}
@ -212,7 +218,7 @@ Requires: trinity-kfaxview = %{version}-%{release}
Requires: trinity-kgamma = %{version}-%{release} Requires: trinity-kgamma = %{version}-%{release}
Requires: trinity-kghostview = %{version}-%{release} Requires: trinity-kghostview = %{version}-%{release}
Requires: trinity-kiconedit = %{version}-%{release} Requires: trinity-kiconedit = %{version}-%{release}
Requires: trinity-kmrml = %{version}-%{release} %{?build_kmrml:Requires: trinity-kmrml = %{version}-%{release}}
Requires: trinity-kolourpaint = %{version}-%{release} Requires: trinity-kolourpaint = %{version}-%{release}
Requires: trinity-kooka = %{version}-%{release} Requires: trinity-kooka = %{version}-%{release}
Requires: trinity-kpdf = %{version}-%{release} Requires: trinity-kpdf = %{version}-%{release}
@ -244,6 +250,8 @@ Graphics applications for the Trinity Desktop Environment, including
* kview (image viewer for GIF, JPEG, TIFF, etc.) * kview (image viewer for GIF, JPEG, TIFF, etc.)
%files %files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog README
########## ##########
@ -441,7 +449,6 @@ A fax viewer for Trinity, supporting the display of raw and tiffed fax images
%files -n trinity-kfax %files -n trinity-kfax
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc rpmdocs/kfax/
%{tde_bindir}/kfax %{tde_bindir}/kfax
%{tde_tdeappdir}/kfax.desktop %{tde_tdeappdir}/kfax.desktop
%{tde_datadir}/apps/kfax/ %{tde_datadir}/apps/kfax/
@ -619,6 +626,8 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
########## ##########
%if 0%{?build_kmrml}
%package -n trinity-kmrml %package -n trinity-kmrml
Summary: A Konqueror plugin for searching pictures Summary: A Konqueror plugin for searching pictures
Group: Applications/Graphics Group: Applications/Graphics
@ -642,7 +651,7 @@ MRML server.
%{tde_tdelibdir}/libkmrmlpart.so %{tde_tdelibdir}/libkmrmlpart.so
%{tde_tdelibdir}/mrmlsearch.la %{tde_tdelibdir}/mrmlsearch.la
%{tde_tdelibdir}/mrmlsearch.so %{tde_tdelibdir}/mrmlsearch.so
%{tde_libdir}/lib[kt]deinit_mrmlsearch.so %{tde_libdir}/libkdeinit_mrmlsearch.so
%{tde_tdeappdir}/kcmkmrml.desktop %{tde_tdeappdir}/kcmkmrml.desktop
%{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop %{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop
%{tde_datadir}/mimelnk/text/mrml.desktop %{tde_datadir}/mimelnk/text/mrml.desktop
@ -658,6 +667,8 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
/sbin/ldconfig || : /sbin/ldconfig || :
%endif
########## ##########
%package -n trinity-kolourpaint %package -n trinity-kolourpaint
@ -801,7 +812,6 @@ Homepage: http://www.kpovmodeler.org
%files -n trinity-kpovmodeler %files -n trinity-kpovmodeler
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc rpmdocs/kpovmodeler/
%{tde_bindir}/kpovmodeler %{tde_bindir}/kpovmodeler
%{tde_libdir}/libkpovmodeler.so.* %{tde_libdir}/libkpovmodeler.so.*
%{tde_tdelibdir}/libkpovmodelerpart.* %{tde_tdelibdir}/libkpovmodelerpart.*
@ -967,7 +977,7 @@ as well.
%{tde_tdelibdir}/libkviewcanvas.so %{tde_tdelibdir}/libkviewcanvas.so
%{tde_tdelibdir}/libkviewviewer.la %{tde_tdelibdir}/libkviewviewer.la
%{tde_tdelibdir}/libkviewviewer.so %{tde_tdelibdir}/libkviewviewer.so
%{tde_libdir}/lib[kt]deinit_kview.so %{tde_libdir}/libkdeinit_kview.so
%{tde_libdir}/libkimageviewer.so.* %{tde_libdir}/libkimageviewer.so.*
%{tde_tdelibdir}/libphotobook.la %{tde_tdelibdir}/libphotobook.la
%{tde_tdelibdir}/libphotobook.so %{tde_tdelibdir}/libphotobook.so
@ -1183,8 +1193,10 @@ Requires: %{name}-libpoppler-tqt-devel = %{version}-%{release}
%{tde_tdeincludedir}/libtext2path-0.1/BezierPath.h %{tde_tdeincludedir}/libtext2path-0.1/BezierPath.h
%{tde_tdeincludedir}/libtext2path-0.1/Glyph.h %{tde_tdeincludedir}/libtext2path-0.1/Glyph.h
%{tde_tdeincludedir}/libtext2path-0.1/GlyphTracer.h %{tde_tdeincludedir}/libtext2path-0.1/GlyphTracer.h
%{tde_libdir}/lib[kt]deinit_kview.la %{tde_libdir}/libkdeinit_kview.la
%{tde_libdir}/lib[kt]deinit_mrmlsearch.la %if 0%{?build_kmrml}
%{tde_libdir}/libkdeinit_mrmlsearch.la
%endif
%{tde_libdir}/libkghostviewlib.la %{tde_libdir}/libkghostviewlib.la
%{tde_libdir}/libkghostviewlib.so %{tde_libdir}/libkghostviewlib.so
%{tde_libdir}/libkimageviewer.la %{tde_libdir}/libkimageviewer.la
@ -1215,8 +1227,8 @@ Requires: %{name}-libpoppler-tqt-devel = %{version}-%{release}
#%exclude %{tde_bindir}/kuickshow #%exclude %{tde_bindir}/kuickshow
#%exclude %{tde_tdelibdir}/kuickshow.la #%exclude %{tde_tdelibdir}/kuickshow.la
#%exclude %{tde_tdelibdir}/kuickshow.so #%exclude %{tde_tdelibdir}/kuickshow.so
#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.la #%exclude %{tde_libdir}/libkdeinit_kuickshow.la
#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.so #%exclude %{tde_libdir}/libkdeinit_kuickshow.so
#%exclude %{tde_tdeappdir}/kuickshow.desktop #%exclude %{tde_tdeappdir}/kuickshow.desktop
#%exclude %{tde_datadir}/apps/kuickshow/ #%exclude %{tde_datadir}/apps/kuickshow/
#%exclude %{tde_datadir}/icons/hicolor/*/apps/kuickshow.png #%exclude %{tde_datadir}/icons/hicolor/*/apps/kuickshow.png
@ -1249,7 +1261,6 @@ Requires: %{name}-libpoppler-tqt-devel = %{version}-%{release}
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:${PKG_CONFIG_PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
# Do not build against any "/usr" installed KDE # Do not build against any "/usr" installed KDE
export KDEDIR=%{tde_prefix} export KDEDIR=%{tde_prefix}
@ -1265,10 +1276,11 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="-DNDEBUG" \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \
\ \
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
@ -1285,6 +1297,7 @@ cd build
-DWITH_PDF=ON \ -DWITH_PDF=ON \
-DBUILD_ALL=ON \ -DBUILD_ALL=ON \
-DBUILD_KUICKSHOW=OFF \ -DBUILD_KUICKSHOW=OFF \
%{!?build_kmrml:-DBUILD_KMRML=OFF} \
%{!?build_kamera:-DBUILD_KAMERA=OFF} \ %{!?build_kamera:-DBUILD_KAMERA=OFF} \
.. ..
@ -1296,15 +1309,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build %__make install DESTDIR=%{buildroot} -C build
# rpmdocs
for dir in k* ; do
for file in AUTHORS ChangeLog README TODO ; do
if test -s "$dir/$file" ; then
install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
echo "%doc rpmdocs/$dir/" >> %{name}.lang
fi
done
done
%clean %clean
@ -1312,6 +1316,9 @@ done
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-3
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -20,7 +20,7 @@
Name: trinity-tdelibs Name: trinity-tdelibs
Version: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: TDE Libraries Summary: TDE Libraries
Group: Environment/Libraries Group: Environment/Libraries
@ -33,6 +33,7 @@ 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 # Fix categories in T-menu
Patch1: tdelibs-3.5.13.2-fix_xdg_menu.patch Patch1: tdelibs-3.5.13.2-fix_xdg_menu.patch
@ -52,7 +53,7 @@ BuildRequires: cmake >= 2.8
BuildRequires: libtool BuildRequires: libtool
BuildRequires: qt3-devel >= 3.3.8.d BuildRequires: qt3-devel >= 3.3.8.d
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: krb5-devel BuildRequires: krb5-devel
BuildRequires: libxslt-devel BuildRequires: libxslt-devel
BuildRequires: cups-devel BuildRequires: cups-devel
@ -131,7 +132,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 >= %{tde_version} BuildRequires: trinity-avahi-tqt-devel >= 1:0.6.30
%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
@ -209,13 +210,13 @@ Requires: openssl
# Trinity dependencies # Trinity dependencies
Requires: qt3 >= 3.3.8.d Requires: qt3 >= 3.3.8.d
Requires: trinity-tqtinterface >= %{tde_version} Requires: trinity-tqtinterface >= %{tde_version}
Requires: trinity-arts >= %{tde_version} Requires: trinity-arts >= 1:1.5.10
%description %description
Libraries for the Trinity Desktop Environment: Libraries for the Trinity Desktop Environment:
TDE Libraries included: tdecore (TDE core library), kdeui (user interface), TDE Libraries included: tdecore (TDE core library), kdeui (user interface),
kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking), kfm (file manager), khtmlw (HTML widget), tdeio (Input/Output, networking),
kspell (spelling checker), jscript (javascript), kab (addressbook), kspell (spelling checker), jscript (javascript), kab (addressbook),
kimgio (image manipulation). kimgio (image manipulation).
@ -306,7 +307,6 @@ kimgio (image manipulation).
%{tde_tdedocdir}/HTML/en/kspell/ %{tde_tdedocdir}/HTML/en/kspell/
%{_sysconfdir}/xdg/menus/tde-applications.menu %{_sysconfdir}/xdg/menus/tde-applications.menu
%{_sysconfdir}/ld.so.conf.d/trinity.conf
%pre %pre
# TDE Bug #1074 # TDE Bug #1074
@ -393,10 +393,11 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="-DNDEBUG" \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \
\ \
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
@ -436,13 +437,6 @@ cd build
%__rm -rf "%{?buildroot}" %__rm -rf "%{?buildroot}"
%__make install DESTDIR="%{?buildroot}" -C build %__make install DESTDIR="%{?buildroot}" -C build
%if "%{?tde_prefix}" != "/usr"
%__mkdir_p "%{?buildroot}%{_sysconfdir}/ld.so.conf.d"
cat <<EOF >"%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf"
%{tde_libdir}
EOF
%endif
# Use system-wide CA certificate # Use system-wide CA certificate
%if "%{?cacert}" != "" %if "%{?cacert}" != ""
%__rm -f "%{?buildroot}%{tde_datadir}/apps/kssl/ca-bundle.crt" %__rm -f "%{?buildroot}%{tde_datadir}/apps/kssl/ca-bundle.crt"
@ -455,6 +449,9 @@ EOF
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-3
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option - Rebuild with NDEBUG option
- Fix XDG menu - Fix XDG menu

@ -28,7 +28,7 @@
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: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2 License: GPLv2
Group: Applications/Multimedia Group: Applications/Multimedia
@ -57,7 +57,7 @@ Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release}
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
BuildRequires: qt3-devel >= 3.3.8.d BuildRequires: qt3-devel >= 3.3.8.d
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
%if "%{?_with_akode}" != "" %if "%{?_with_akode}" != ""
@ -1068,7 +1068,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
Summary: Development files for %{name}, aRts and noatun plugins Summary: Development files for %{name}, aRts and noatun plugins
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: trinity-tdelibs-devel >= 3.5.13 Requires: trinity-tdelibs-devel >= %{tde_version}
Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release}
Provides: trinity-kdemultimedia-devel = %{version}-%{release} Provides: trinity-kdemultimedia-devel = %{version}-%{release}
@ -1142,12 +1142,6 @@ noatun plugins.
%patch0 -p1 -b .ftbfs %patch0 -p1 -b .ftbfs
%patch1 -p1 -b .xdgmenu %patch1 -p1 -b .xdgmenu
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
@ -1156,7 +1150,6 @@ noatun plugins.
%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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
# Required for some distro # Required for some distro
@ -1180,9 +1173,9 @@ fi
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \ --enable-final \
--enable-closure \ --enable-closure \
--disable-rpath \ --enable-rpath \
\ \
--with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \ --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \
\ \
--with-cdparanoia \ --with-cdparanoia \
--with-flac \ --with-flac \
@ -1213,6 +1206,9 @@ chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/*
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-4
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-3 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-3
- Rebuild with NDEBUG option - Rebuild with NDEBUG option
- Fix XDG menu - Fix XDG menu

@ -35,7 +35,7 @@
Name: trinity-tdenetwork Name: trinity-tdenetwork
Version: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
Summary: Trinity Desktop Environment - Network Applications Summary: Trinity Desktop Environment - Network Applications
Vendor: Trinity Project Vendor: Trinity Project
@ -67,16 +67,18 @@ Patch202: tdenetwork-3.5.13.2-fix_conflicting_definitions.patch
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: gettext BuildRequires: gettext
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: gnutls-devel
# SQLITE support
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: sqlite3-devel BuildRequires: sqlite3-devel
%else %else
BuildRequires: sqlite-devel BuildRequires: sqlite-devel
%endif %endif
BuildRequires: gnutls-devel
# GADU support # GADU support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} %if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
@ -1082,8 +1084,6 @@ update-desktop-database 2> /dev/null || :
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 LD_LIBRARY_PATH="%{tde_libdir}"
# Specific path for RHEL4 # Specific path for RHEL4
if [ -d /usr/X11R6 ]; then if [ -d /usr/X11R6 ]; then
@ -1096,10 +1096,11 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="-DNDEBUG" \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \
\ \
-DBIN_INSTALL_DIR=%{tde_bindir} \ -DBIN_INSTALL_DIR=%{tde_bindir} \
@ -1161,6 +1162,9 @@ EOF
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-3
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option - Rebuild with NDEBUG option
- Disable 'lisa' service - Disable 'lisa' service

@ -31,7 +31,7 @@ BuildRequires: gnokii-devel
Name: trinity-tdepim Name: trinity-tdepim
Version: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Group: Applications/Productivity Group: Applications/Productivity
@ -49,7 +49,7 @@ 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 >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-libcaldav-devel BuildRequires: trinity-libcaldav-devel
BuildRequires: trinity-libcarddav-devel BuildRequires: trinity-libcarddav-devel
@ -62,7 +62,8 @@ BuildRequires: libical-devel
BuildRequires: boost-devel BuildRequires: boost-devel
BuildRequires: pcre-devel BuildRequires: pcre-devel
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: gcc-c++ make BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: libidn-devel BuildRequires: libidn-devel
# CURL support # CURL support
@ -2199,8 +2200,6 @@ fi
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 LD_LIBRARY_PATH="%{tde_libdir}"
# Specific path for RHEL4 # Specific path for RHEL4
if [ -d "/usr/X11R6" ]; then if [ -d "/usr/X11R6" ]; then
@ -2213,10 +2212,11 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="-DNDEBUG" \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \
\ \
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
@ -2249,6 +2249,7 @@ cd build
%__make %{?_smp_mflags} || %__make %__make %{?_smp_mflags} || %__make
%install %install
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
@ -2260,6 +2261,9 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-3
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -0,0 +1,11 @@
--- trinity-tdesdk-3.5.13.2/cervisia/cervisia.pod 2013-06-07 19:36:41.000000000 +0200
+++ trinity-tdesdk-3.5.13.2/cervisia/cervisia.pod.new 2013-08-17 11:48:28.289517241 +0200
@@ -84,6 +84,8 @@
Sets the geometry of the main window
+=back
+
=head1 FILES
F<_KDECONFDIR_/cervisiarc> - global configuration file

@ -22,7 +22,7 @@
Name: trinity-tdesdk Name: trinity-tdesdk
Summary: The Trinity Software Development Kit (SDK) Summary: The Trinity Software Development Kit (SDK)
Version: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
License: GPLv2 License: GPLv2
Group: User Interface/Desktops Group: User Interface/Desktops
@ -35,6 +35,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Patch1: tdesdk-3.5.13.2-fix_cervisia_pod.patch
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pcre-devel BuildRequires: pcre-devel
@ -135,8 +137,8 @@ This package is part of Trinity, and a component of the TDE SDK module.
%files -n trinity-cervisia %files -n trinity-cervisia
%{tde_bindir}/cervisia %{tde_bindir}/cervisia
%{tde_libdir}/lib[kt]deinit_cervisia.la %{tde_libdir}/libkdeinit_cervisia.la
%{tde_libdir}/lib[kt]deinit_cervisia.so %{tde_libdir}/libkdeinit_cervisia.so
%{tde_tdelibdir}/cervisia.la %{tde_tdelibdir}/cervisia.la
%{tde_tdelibdir}/cervisia.so %{tde_tdelibdir}/cervisia.so
%{tde_tdelibdir}/libcervisiapart.la %{tde_tdelibdir}/libcervisiapart.la
@ -524,7 +526,7 @@ This package is part of Trinity, and a component of the TDE SDK module.
%{tde_tdelibdir}/plugins/styles/scheck.la %{tde_tdelibdir}/plugins/styles/scheck.la
%{tde_datadir}/apps/kabc/formats/kdeaccountsplugin.desktop %{tde_datadir}/apps/kabc/formats/kdeaccountsplugin.desktop
%{tde_datadir}/apps/kstyle/themes/scheck.themerc %{tde_datadir}/apps/kstyle/themes/scheck.themerc
%{tde_datadir}/kdepalettes/ %{tde_datadir}/kdepalettes
%{tde_libdir}/libkstartperf.so.* %{tde_libdir}/libkstartperf.so.*
%{tde_libdir}/libkstartperf.so %{tde_libdir}/libkstartperf.so
@ -599,7 +601,7 @@ This package is part of Trinity, and a component of the TDE SDK module.
%{tde_bindir}/svnrevertlast %{tde_bindir}/svnrevertlast
%{tde_bindir}/svnforwardport %{tde_bindir}/svnforwardport
%{tde_bindir}/nonsvnlist %{tde_bindir}/nonsvnlist
%{tde_bindir}/[kt]desvn-build %{tde_bindir}/kdesvn-build
%{tde_bindir}/svnlastlog %{tde_bindir}/svnlastlog
%{tde_bindir}/svnversions %{tde_bindir}/svnversions
%{tde_bindir}/create_svnignore %{tde_bindir}/create_svnignore
@ -610,15 +612,15 @@ This package is part of Trinity, and a component of the TDE SDK module.
%{tde_bindir}/svngettags %{tde_bindir}/svngettags
%{tde_bindir}/svnchangesince %{tde_bindir}/svnchangesince
%{tde_bindir}/svn-clean %{tde_bindir}/svn-clean
%{tde_datadir}/apps/katepart/syntax/[kt]desvn-buildrc.xml %{tde_datadir}/apps/katepart/syntax/kdesvn-buildrc.xml
%{tde_mandir}/man1/cvsblame.1 %{tde_mandir}/man1/cvsblame.1
%{tde_mandir}/man1/cvscheck.1 %{tde_mandir}/man1/cvscheck.1
%{tde_mandir}/man1/cvsversion.1 %{tde_mandir}/man1/cvsversion.1
%{tde_mandir}/man1/kde-build.1 %{tde_mandir}/man1/kde-build.1
%{tde_mandir}/man1/includemocs.1 %{tde_mandir}/man1/includemocs.1
%{tde_mandir}/man1/noncvslist.1 %{tde_mandir}/man1/noncvslist.1
%{tde_mandir}/man1/[kt]desvn-build.1 %{tde_mandir}/man1/kdesvn-build.1
%{tde_tdedocdir}/HTML/en/[kt]desvn-build/ %{tde_tdedocdir}/HTML/en/kdesvn-build/
#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts #scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts
#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts #scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts
#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts #scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts
@ -801,8 +803,8 @@ This package is part of Trinity, and a component of the TDE SDK module.
%{tde_bindir}/cvsaskpass %{tde_bindir}/cvsaskpass
%{tde_bindir}/cvsservice %{tde_bindir}/cvsservice
%{tde_libdir}/libcvsservice.so.* %{tde_libdir}/libcvsservice.so.*
%{tde_libdir}/lib[kt]deinit_cvsaskpass.so %{tde_libdir}/libkdeinit_cvsaskpass.so
%{tde_libdir}/lib[kt]deinit_cvsservice.so %{tde_libdir}/libkdeinit_cvsservice.so
%{tde_tdelibdir}/cvsaskpass.la %{tde_tdelibdir}/cvsaskpass.la
%{tde_tdelibdir}/cvsaskpass.so %{tde_tdelibdir}/cvsaskpass.so
%{tde_tdelibdir}/cvsservice.la %{tde_tdelibdir}/cvsservice.la
@ -839,8 +841,8 @@ This package is part of Trinity, and a component of the TDE SDK module.
%{tde_tdeincludedir}/repository_stub.h %{tde_tdeincludedir}/repository_stub.h
%{tde_libdir}/libcvsservice.la %{tde_libdir}/libcvsservice.la
%{tde_libdir}/libcvsservice.so %{tde_libdir}/libcvsservice.so
%{tde_libdir}/lib[kt]deinit_cvsaskpass.la %{tde_libdir}/libkdeinit_cvsaskpass.la
%{tde_libdir}/lib[kt]deinit_cvsservice.la %{tde_libdir}/libkdeinit_cvsservice.la
%{tde_datadir}/cmake/cervisia.cmake %{tde_datadir}/cmake/cervisia.cmake
%post -n trinity-libcvsservice-devel %post -n trinity-libcvsservice-devel
@ -1063,14 +1065,13 @@ Provides: trinity-kdesdk-devel = %{version}-%{release}
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .cervisiapod
%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 LD_LIBRARY_PATH="%{tde_libdir}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
# Specific path for RHEL4 # Specific path for RHEL4
if [ -d /usr/X11R6 ]; then if [ -d /usr/X11R6 ]; then
@ -1081,12 +1082,12 @@ fi
cd build cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="-DNDEBUG" \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \
\ \
-DBIN_INSTALL_DIR=%{tde_bindir} \ -DBIN_INSTALL_DIR=%{tde_bindir} \
@ -1102,7 +1103,7 @@ cd build
%{!?build_kioslave:-DBUILD_KIOSLAVE=OFF} \ %{!?build_kioslave:-DBUILD_KIOSLAVE=OFF} \
.. ..
%__make %{?_smp_mflags} %__make %{?_smp_mflags} || %__make
%install %install
@ -1111,17 +1112,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__make install DESTDIR=%{?buildroot} -C build %__make install DESTDIR=%{?buildroot} -C build
# make symlinks relative
if [ -d %{buildroot}%{tde_tdedocdir}/HTML/en ]; then
pushd %{buildroot}%{tde_tdedocdir}/HTML/en
for i in *; do
if [ -d $i -a -L $i/common ]; then
rm -f $i/common
ln -nfs ../common $i
fi
done
popd
fi
# Installs kdepalettes # Installs kdepalettes
%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes %__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes
@ -1159,12 +1149,11 @@ fi
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-3
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option - 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
* Wed Nov 07 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-2
- Fix various cmake issues [Bug #1262]

@ -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
@ -21,11 +23,11 @@
Summary: Trinity Desktop Environment - Toys and Amusements Summary: Trinity Desktop Environment - Toys and Amusements
Name: trinity-tdetoys Name: trinity-tdetoys
Group: Amusements/Graphics Group: Amusements/Graphics
Version: 3.5.13.2 Version: %{tde_version}
Release: 1%{?dist}%{?_variant} Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
@ -34,10 +36,11 @@ 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)
BuildRequires: autoconf automake libtool m4 BuildRequires: cmake >= 2.8
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: gettext BuildRequires: gettext
Obsoletes: trinity-kdetoys < %{version}-%{release} Obsoletes: trinity-kdetoys < %{version}-%{release}
@ -68,7 +71,7 @@ Includes:
* kworldwatch: application and kicker applet showing daylight area on the world * kworldwatch: application and kicker applet showing daylight area on the world
globe globe
NOTE: kicker applets and screen savers require kdebase to be installed, NOTE: kicker applets and screen savers require tdebase to be installed,
and user to be logged-in to TDE. and user to be logged-in to TDE.
%files %files
@ -85,8 +88,8 @@ Group: Amusements/Graphics
AMOR stands for Amusing Misuse Of Resources. It provides several different AMOR stands for Amusing Misuse Of Resources. It provides several different
characters who prance around your X screen doing tricks and giving you tips. characters who prance around your X screen doing tricks and giving you tips.
Note that AMOR will only work with some window managers. Both KWin (the Note that AMOR will only work with some window managers. Both TWin (the
KDE window manager) and Metacity (a GTK2 window manager) are supported. TDE window manager) and Metacity (a GTK2 window manager) are supported.
This package is part of Trinity, and a component of the TDE toys module. This package is part of Trinity, and a component of the TDE toys module.
@ -116,7 +119,7 @@ Summary: eyes applet for Trinity
Group: Amusements/Graphics Group: Amusements/Graphics
%description -n trinity-eyesapplet %description -n trinity-eyesapplet
An applet for the KDE panel containing a pair of eyes that follow your mouse An applet for the TDE panel containing a pair of eyes that follow your mouse
around the screen. around the screen.
This package is part of Trinity, and a component of the TDE toys module. This package is part of Trinity, and a component of the TDE toys module.
@ -135,7 +138,7 @@ Summary: fifteen pieces puzzle for Trinity
Group: Amusements/Graphics Group: Amusements/Graphics
%description -n trinity-fifteenapplet %description -n trinity-fifteenapplet
An applet for the KDE panel that lets you play the Fifteen Pieces An applet for the TDE panel that lets you play the Fifteen Pieces
sliding block puzzle. You have to order 15 pieces in a 4x4 square by sliding block puzzle. You have to order 15 pieces in a 4x4 square by
moving them around. moving them around.
@ -155,7 +158,7 @@ Summary: moon phase indicator for Trinity
Group: Amusements/Graphics Group: Amusements/Graphics
%description -n trinity-kmoon %description -n trinity-kmoon
An applet for the KDE panel that displays the current phase of the moon. An applet for the TDE panel that displays the current phase of the moon.
This package is part of Trinity, and a component of the TDE toys module. This package is part of Trinity, and a component of the TDE toys module.
@ -224,7 +227,7 @@ drink.
KTeaTime sits in the Trinity system tray. KTeaTime sits in the Trinity system tray.
Please note that KTeaTime is written explicitly for Trinity. If you are Please note that KTeaTime is written explicitly for Trinity. If you are
using a non-KDE window manager or desktop environment then it is quite using a non-TDE window manager or desktop environment then it is quite
possible that KTeaTime will not work on your system. possible that KTeaTime will not work on your system.
This package is part of Trinity, and a component of the TDE toys module. This package is part of Trinity, and a component of the TDE toys module.
@ -255,7 +258,7 @@ Summary: Tux screensaver for Trinity
Group: Amusements/Graphics Group: Amusements/Graphics
%description -n trinity-ktux %description -n trinity-ktux
A neat Tux-in-a-spaceship screensaver for the K Desktop Environment (KDE). A neat Tux-in-a-spaceship screensaver for the Trinity Desktop Environment (TDE).
This package is part of Trinity, and a component of the TDE toys module. This package is part of Trinity, and a component of the TDE toys module.
@ -282,7 +285,7 @@ Summary: weather display applet for Trinity
Group: Amusements/Graphics Group: Amusements/Graphics
%description -n trinity-kweather %description -n trinity-kweather
An applet for the KDE panel that displays your area's current weather. An applet for the TDE panel that displays your area's current weather.
Information shown includes the temperature, wind speed, air pressure Information shown includes the temperature, wind speed, air pressure
and more. By pressing a button a full weather report can be obtained. and more. By pressing a button a full weather report can be obtained.
@ -296,8 +299,8 @@ This package is part of Trinity, and a component of the TDE toys module.
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/kweatherservice %{tde_bindir}/kweatherservice
%{tde_bindir}/kweatherreport %{tde_bindir}/kweatherreport
%{tde_libdir}/lib[kt]deinit_kweatherreport.so %{tde_libdir}/libkdeinit_kweatherreport.so
%{tde_libdir}/lib[kt]deinit_kweatherreport.la %{tde_libdir}/libkdeinit_kweatherreport.la
%{tde_tdelibdir}/kcm_weather.so %{tde_tdelibdir}/kcm_weather.so
%{tde_tdelibdir}/kcm_weather.la %{tde_tdelibdir}/kcm_weather.la
%{tde_tdelibdir}/kcm_weatherservice.so %{tde_tdelibdir}/kcm_weatherservice.so
@ -375,17 +378,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
########## ##########
%prep %prep
%setup -q %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build %build
@ -394,19 +387,29 @@ export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export KDEDIR=%{tde_prefix} export KDEDIR=%{tde_prefix}
%configure \ %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
--prefix=%{tde_prefix} \ %__mkdir_p build
--exec-prefix=%{tde_prefix} \ cd build
--bindir=%{tde_bindir} \ %endif
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \ %cmake \
--includedir=%{tde_tdeincludedir} \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
--disable-rpath \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
--enable-new-ldflags \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
--enable-closure \ -DCMAKE_SKIP_RPATH=OFF \
--disable-debug --disable-warnings \ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
--disable-dependency-tracking --enable-final \ -DCMAKE_VERBOSE_MAKEFILE=ON \
--with-extra-includes=%{tde_includedir}/tqt \
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DBIN_INSTALL_DIR="%{tde_bindir}" \
-DDOC_INSTALL_DIR="%{tde_docdir}" \
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
-DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
\
-DBUILD_ALL=ON \
..
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -414,28 +417,7 @@ export KDEDIR=%{tde_prefix}
%install %install
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
%__rm -rf "%{buildroot}" %__rm -rf "%{buildroot}"
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot} -C build
# replace absolute symlink with relative
ln -nfs tips-en %{buildroot}%{tde_datadir}/apps/amor/tips
## 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 ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
# Useless include file from Amor # Useless include file from Amor
%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h %__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h
@ -446,6 +428,9 @@ fi
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Build for Fedora 19
* 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

@ -22,7 +22,7 @@
Name: trinity-tdeutils Name: trinity-tdeutils
Version: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: TDE Utilities Summary: TDE Utilities
Group: Applications/System Group: Applications/System
@ -48,9 +48,10 @@ Provides: trinity-kdeutils-extras = %{version}-%{release}
Obsoletes: tdeutils < %{version}-%{release} Obsoletes: tdeutils < %{version}-%{release}
Provides: tdeutils = %{version}-%{release} Provides: tdeutils = %{version}-%{release}
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: cmake >= 2.8
BuildRequires: trinity-arts-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
BuildRequires: gettext BuildRequires: gettext
BuildRequires: net-snmp-devel BuildRequires: net-snmp-devel
@ -166,7 +167,7 @@ package.
%{tde_tdelibdir}/ark.so %{tde_tdelibdir}/ark.so
%{tde_tdelibdir}/libarkpart.la %{tde_tdelibdir}/libarkpart.la
%{tde_tdelibdir}/libarkpart.so %{tde_tdelibdir}/libarkpart.so
%{tde_libdir}/lib[kt]deinit_ark.so %{tde_libdir}/libkdeinit_ark.so
%{tde_tdeappdir}/ark.desktop %{tde_tdeappdir}/ark.desktop
%{tde_datadir}/apps/ark/ %{tde_datadir}/apps/ark/
%{tde_datadir}/config.kcfg/ark.kcfg %{tde_datadir}/config.kcfg/ark.kcfg
@ -211,7 +212,7 @@ It provides:
%{tde_bindir}/kcalc %{tde_bindir}/kcalc
%{tde_tdelibdir}/kcalc.la %{tde_tdelibdir}/kcalc.la
%{tde_tdelibdir}/kcalc.so %{tde_tdelibdir}/kcalc.so
%{tde_libdir}/lib[kt]deinit_kcalc.so %{tde_libdir}/libkdeinit_kcalc.so
%{tde_tdeappdir}/kcalc.desktop %{tde_tdeappdir}/kcalc.desktop
%{tde_datadir}/apps/kcalc/ %{tde_datadir}/apps/kcalc/
%{tde_datadir}/apps/kconf_update/kcalcrc.upd %{tde_datadir}/apps/kconf_update/kcalcrc.upd
@ -287,7 +288,7 @@ This is a frontend for the LIRC suite to use infrared devices with TDE.
%{tde_tdelibdir}/irkick.so %{tde_tdelibdir}/irkick.so
%{tde_tdelibdir}/kcm_kcmlirc.la %{tde_tdelibdir}/kcm_kcmlirc.la
%{tde_tdelibdir}/kcm_kcmlirc.so %{tde_tdelibdir}/kcm_kcmlirc.so
%{tde_libdir}/lib[kt]deinit_irkick.so %{tde_libdir}/libkdeinit_irkick.so
%{tde_tdeappdir}/irkick.desktop %{tde_tdeappdir}/irkick.desktop
%{tde_tdeappdir}/kcmlirc.desktop %{tde_tdeappdir}/kcmlirc.desktop
%{tde_datadir}/apps/irkick/ %{tde_datadir}/apps/irkick/
@ -402,7 +403,7 @@ reasonably fast start.
%{tde_bindir}/kedit %{tde_bindir}/kedit
%{tde_tdelibdir}/kedit.la %{tde_tdelibdir}/kedit.la
%{tde_tdelibdir}/kedit.so %{tde_tdelibdir}/kedit.so
%{tde_libdir}/lib[kt]deinit_kedit.so %{tde_libdir}/libkdeinit_kedit.so
%{tde_tdeappdir}/KEdit.desktop %{tde_tdeappdir}/KEdit.desktop
%{tde_datadir}/apps/kedit/keditui.rc %{tde_datadir}/apps/kedit/keditui.rc
%{tde_datadir}/config.kcfg/kedit.kcfg %{tde_datadir}/config.kcfg/kedit.kcfg
@ -934,10 +935,10 @@ Development files for %{name}.
%{tde_libdir}/libkcmlaptop.la %{tde_libdir}/libkcmlaptop.la
%{tde_libdir}/libkcmlaptop.so %{tde_libdir}/libkcmlaptop.so
%endif %endif
%{tde_libdir}/lib[kt]deinit_ark.la %{tde_libdir}/libkdeinit_ark.la
%{tde_libdir}/lib[kt]deinit_irkick.la %{tde_libdir}/libkdeinit_irkick.la
%{tde_libdir}/lib[kt]deinit_kcalc.la %{tde_libdir}/libkdeinit_kcalc.la
%{tde_libdir}/lib[kt]deinit_kedit.la %{tde_libdir}/libkdeinit_kedit.la
%{tde_libdir}/libkmilo.la %{tde_libdir}/libkmilo.la
%{tde_libdir}/libkmilo.so %{tde_libdir}/libkmilo.so
%{tde_libdir}/libkregexpeditorcommon.la %{tde_libdir}/libkregexpeditorcommon.la
@ -973,7 +974,6 @@ Development files for %{name}.
unset QTDIR || : ; source /etc/profile.d/qt3.sh unset QTDIR || : ; source /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"
# Do not build against any "/usr" installed KDE # Do not build against any "/usr" installed KDE
export KDEDIR="%{tde_prefix}" export KDEDIR="%{tde_prefix}"
@ -991,10 +991,11 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="-DNDEBUG" \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \
\ \
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
@ -1065,6 +1066,9 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-3
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -22,7 +22,7 @@
Name: trinity-tdevelop Name: trinity-tdevelop
Summary: Integrated Development Environment for C++/C Summary: Integrated Development Environment for C++/C
Version: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
License: GPLv2 License: GPLv2
Group: Development/Tools Group: Development/Tools
@ -65,10 +65,10 @@ Requires: gettext
Requires: ctags Requires: ctags
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{version} BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdesdk-devel >= %{version} BuildRequires: trinity-tdesdk-devel >= %{tde_version}
%if 0%{?rhel} || 0%{?fedora} %if 0%{?rhel} || 0%{?fedora}
BuildRequires: db4-devel BuildRequires: db4-devel
%endif %endif
@ -77,16 +77,19 @@ BuildRequires: flex
# Requires kdesdk3. # Requires kdesdk3.
BuildRequires: subversion-devel BuildRequires: subversion-devel
BuildRequires: neon-devel BuildRequires: neon-devel
# looks like this is dragged in by apr-devel (dep of subversion-devel), but not
# a dependency # LDAP support
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: openldap2-devel BuildRequires: openldap2-devel
%else %else
BuildRequires: openldap-devel BuildRequires: openldap-devel
%endif %endif
Obsoletes: trinity-kdevelop < %{version}-%{release} #ACL support
Provides: trinity-kdevelop = %{version}-%{release} BuildRequires: libacl-devel
Obsoletes: trinity-tdevelop < %{version}-%{release}
Provides: trinity-tdevelop = %{version}-%{release}
%description %description
The TDevelop Integrated Development Environment provides many features The TDevelop Integrated Development Environment provides many features
@ -105,7 +108,7 @@ cross-references to the used libraries; Internationalization support
for your application, allowing translators to easily add their target for your application, allowing translators to easily add their target
language to a project; language to a project;
KDevelop also includes WYSIWYG (What you see is what you get)-creation tdevelop also includes WYSIWYG (What you see is what you get)-creation
of user interfaces with a built-in dialog editor; Debugging your of user interfaces with a built-in dialog editor; Debugging your
application by integrating KDbg; Editing of project-specific pixmaps application by integrating KDbg; Editing of project-specific pixmaps
with KIconEdit; The inclusion of any other program you need for with KIconEdit; The inclusion of any other program you need for
@ -565,18 +568,12 @@ Provides: trinity-kdevelop-libs = %{version}-%{release}
########## ##########
%prep %prep
%setup -q -a1 %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -a 1
%patch1 -p0 -b .config %patch1 -p0 -b .config
%patch2 -p1 %patch2 -p1
%patch3 -p1 -b .xdgmenu %patch3 -p1 -b .xdgmenu
%patch4 -p1 %patch4 -p1
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -589,8 +586,6 @@ Provides: trinity-kdevelop-libs = %{version}-%{release}
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 LD_LIBRARY_PATH="%{tde_libdir}"
# Specific path for RHEL4 # Specific path for RHEL4
if [ -d /usr/X11R6 ]; then if [ -d /usr/X11R6 ]; then
@ -617,10 +612,11 @@ cd build
%endif %endif
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE="" \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="-DNDEBUG" \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \
\ \
-DBIN_INSTALL_DIR=%{tde_bindir} \ -DBIN_INSTALL_DIR=%{tde_bindir} \
@ -651,6 +647,9 @@ cd ..
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-3
- Build for Fedora 19
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2 * Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option - Rebuild with NDEBUG option

@ -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-tdewebdev Name: trinity-tdewebdev
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: Web development applications Summary: Web development applications
Group: Applications/Editors Group: Applications/Editors
@ -32,7 +34,7 @@ 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: http://download.sourceforge.net/quanta/css.tar.bz2 Source1: http://download.sourceforge.net/quanta/css.tar.bz2
Source2: http://download.sourceforge.net/quanta/html.tar.bz2 Source2: http://download.sourceforge.net/quanta/html.tar.bz2
Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2 Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2
@ -43,8 +45,8 @@ Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdesdk-devel >= %{version} BuildRequires: trinity-tdesdk-devel >= %{tde_version}
BuildRequires: libxslt-devel BuildRequires: libxslt-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
@ -463,7 +465,8 @@ Summary: Header files and documentation for %{name}
Obsoletes: trinity-kdewebdev-devel < %{version}-%{release} Obsoletes: trinity-kdewebdev-devel < %{version}-%{release}
Provides: trinity-kdewebdev-devel = %{version}-%{release} Provides: trinity-kdewebdev-devel = %{version}-%{release}
Requires: trinity-tdelibs-devel Requires: trinity-tdelibs-devel >= %{tde_version}
Requires: %{name} = %{version}-%{release}
Requires: trinity-kommander-devel = %{version}-%{release} Requires: trinity-kommander-devel = %{version}-%{release}
%description devel %description devel
@ -488,16 +491,11 @@ Requires: trinity-kommander-devel = %{version}-%{release}
%__rm -rf kxsldbg/ doc/kxsldbg/ doc/xsldbg/ %__rm -rf kxsldbg/ doc/kxsldbg/ doc/xsldbg/
%endif %endif
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common" %__make -f "admin/Makefile.common"
%build %build
unset QTDIR || : ; source /etc/profile.d/qt3.sh unset QTDIR || : ; source /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
@ -518,12 +516,13 @@ fi
--datadir=%{tde_datadir} \ --datadir=%{tde_datadir} \
--libdir=%{tde_libdir} \ --libdir=%{tde_libdir} \
--includedir=%{tde_tdeincludedir} \ --includedir=%{tde_tdeincludedir} \
--disable-rpath \ \
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \ --enable-new-ldflags \
--enable-final \
--enable-closure \ --enable-closure \
--disable-debug --disable-warnings \ --enable-rpath
--disable-dependancy-tracking --enable-final \
--with-extra-includes=%{tde_includedir}/tqt \
# WTF hack for RHEL4 # WTF hack for RHEL4
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
@ -552,22 +551,14 @@ EOF
done done
cp -a php php.docrc %{buildroot}%{tde_datadir}/apps/quanta/doc/ cp -a php php.docrc %{buildroot}%{tde_datadir}/apps/quanta/doc/
# make symlinks relative
pushd %{buildroot}%{tde_tdedocdir}/HTML/en
for i in *; do
if [ -d $i -a -L $i/common ]; then
rm -f $i/common
ln -nfs ../common $i
fi
done
popd
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%changelog %changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Build for Fedora 19
* 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