diff options
Diffstat (limited to 'redhat/applications')
79 files changed, 2919 insertions, 2738 deletions
diff --git a/redhat/applications/abakus/abakus-3.5.13.2.spec b/redhat/applications/abakus/abakus-3.5.13.2.spec index 92c5c4c0a..318512989 100644 --- a/redhat/applications/abakus/abakus-3.5.13.2.spec +++ b/redhat/applications/abakus/abakus-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -21,27 +22,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: Calculator for TDE -Version: 0.91 -Release: 5%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Calculator for TDE +Version: 0.91 +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-arts-devel >= 3.5.13.2 -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: cmake >= 2.8 BuildRequires: bison @@ -59,14 +62,13 @@ has the user-friendly menu options of a normal TDE application. %prep -%setup -q -n %{name}-3.5.13.2 +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" # Do not build against any "/usr" installed KDE export KDEDIR="%{tde_prefix}" @@ -82,6 +84,13 @@ cd build %endif %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} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ -DBUILD_ALL=ON \ @@ -119,7 +128,10 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %{tde_datadir}/applnk/Utilities/abakus.desktop %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 * Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.91-4 diff --git a/redhat/applications/adept/adept-3.5.13.2.spec b/redhat/applications/adept/adept-3.5.13.2.spec index 14e09acf1..ef01e0480 100644 --- a/redhat/applications/adept/adept-3.5.13.2.spec +++ b/redhat/applications/adept/adept-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,26 +24,26 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: Package management suite for Trinity -Version: 2.1.3 -Release: 1%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Package management suite for Trinity +Version: 2.1.3 +Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://lpnotfr.free.fr/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://lpnotfr.free.fr/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: trinity-tqtinterface-devel >= %{tde_version} +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: desktop-file-utils Requires: %{name}-manager = %{version}-%{release} @@ -67,8 +68,8 @@ These packages belong to the adept suite: ########## %package common -Requires: trinity-konsole -Summary: Package manager for Trinity -- common files +Requires: trinity-konsole +Summary: Package manager for Trinity -- common files %description common Icons and other common files for all adept components. @@ -76,8 +77,8 @@ Icons and other common files for all adept components. ########## %package manager -Requires: %{name}-common = %{version}-%{release} -Summary: package manager for Trinity +Requires: %{name}-common = %{version}-%{release} +Summary: package manager for Trinity %description manager Adept Manager is a graphical user interface for package management. @@ -88,26 +89,26 @@ Besides these basic functions the following features are provided: * Edit the list of used repositories (sources.list) * 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. ########## %package installer -Requires: %{name}-common = %{version}-%{release} -Summary: simple user interface for application management (for Trinity) +Requires: %{name}-common = %{version}-%{release} +Summary: simple user interface for application management (for Trinity) %description installer Adept Installer presents a list of applications available through the 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. ########## %package updater -Requires: %{name}-common = %{version}-%{release} -Summary: system update tool for Trinity +Requires: %{name}-common = %{version}-%{release} +Summary: system update tool for Trinity %description updater Adept Updater provides a simple wizard-style user interface to system @@ -116,9 +117,9 @@ upgrades. It uses same algorithms as apt-get dist-upgrade. ########## %package notifier -Requires: %{name}-common = %{version}-%{release} -Requires: %{name}-updater = %{version}-%{release} -Summary: System tray notifier of available system updates +Requires: %{name}-common = %{version}-%{release} +Requires: %{name}-updater = %{version}-%{release} +Summary: System tray notifier of available system updates %description notifier Adept Notifier provides a system tray icon notifying the user of @@ -128,8 +129,8 @@ clicked. ########## %package batch -Requires: %{name}-manager = %{version}-%{release} -Summary: command line install for Adept +Requires: %{name}-manager = %{version}-%{release} +Summary: command line install for Adept %description batch Adept Batch lets you install packages with Adept from the @@ -145,13 +146,7 @@ by external applications. ########## %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -161,7 +156,6 @@ by external applications. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -172,7 +166,6 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ --enable-closure %__make %{?_smp_mflags} -C adept @@ -183,7 +176,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -%find_lang adept +%find_lang %{tde_pkg} %clean diff --git a/redhat/applications/amarok/amarok-3.5.13.2.spec b/redhat/applications/amarok/amarok-3.5.13.2.spec index e3a183dd5..102cfa9fd 100644 --- a/redhat/applications/amarok/amarok-3.5.13.2.spec +++ b/redhat/applications/amarok/amarok-3.5.13.2.spec @@ -26,22 +26,25 @@ Name: trinity-%{tde_pkg} Summary: Media player Version: 1.4.10 -Release: %{?!preversion:10}%{?preversion:9_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:11}%{?preversion:10_%{preversion}}%{?dist}%{?_variant} Group: Applications/Multimedia License: GPLv2+ -Url: http://amarok.kde.org +Url: http://amarok.kde.org Prefix: %{tde_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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-arts-devel >= 1:1.5.10 BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + BuildRequires: trinity-konqueror-devel >= %{tde_version} BuildRequires: alsa-lib-devel @@ -51,10 +54,12 @@ BuildRequires: gettext BuildRequires: pcre-devel BuildRequires: taglib-devel +# LIBTOOL BuildRequires: libtool %if 0%{?fedora} > 4 || 0%{?rhel} > 4 BuildRequires: libtool-ltdl-devel %endif + BuildRequires: libusb-devel BuildRequires: mysql-devel BuildRequires: postgresql-devel @@ -76,7 +81,7 @@ BuildRequires: dbus-devel %if 0%{?rhel} == 4 BuildRequires: dbus-qt %else -BuildRequires: trinity-dbus-tqt-devel >= %{tde_version} +BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 %endif # IFP support @@ -184,7 +189,7 @@ Amarok is a multimedia player with: - compatible with the .m3u and .pls formats for playlists - nice GUI, integrates into the TDE look, but with a unique touch -%files -f amarok.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %doc COPYING AUTHORS ChangeLog README %{tde_bindir}/amarok @@ -353,8 +358,6 @@ use any of xmms' visualisation plugins with Amarok. unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" 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 export KDEDIR=%{tde_prefix} @@ -370,33 +373,33 @@ cd build %endif %cmake \ - -DCMAKE_BUILD_TYPE="" \ - -DCMAKE_C_FLAGS="-DNDEBUG" \ - -DCMAKE_CXX_FLAGS="-DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DQT_LIBRARY_DIRS="${QTLIB:-${QTDIR}/%{_lib}}" \ - \ - %{?with_libvisual:-DWITH_LIBVISUAL=ON} \ - -DWITH_KONQSIDEBAR=ON \ - %{?with_xine:-DWITH_XINE=ON} \ - %{?with_yauap:-DWITH_YAUAP=ON} \ - %{?with_akode:-DWITH_AKODE=ON} \ - %{?with_gpod:-DWITH_IPOD=ON} \ - %{?with_ifp:-DWITH_IFP=ON} \ - %{?with_njb:-DWITH_NJB=ON} \ - %{?with_mtp:-DWITH_MTP=ON} \ - %{?with_karma:-DWITH_RIOKARMA=ON} \ - -DWITH_DAAP=ON \ - %{?with_mp4v2:-DWITH_MP4V2=ON} \ - %{?with_inotify:-DWITH_INOTIFY=ON} \ - -DBUILD_ALL=ON \ - .. + -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} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + %{?with_libvisual:-DWITH_LIBVISUAL=ON} \ + -DWITH_KONQSIDEBAR=ON \ + %{?with_xine:-DWITH_XINE=ON} \ + %{?with_yauap:-DWITH_YAUAP=ON} \ + %{?with_akode:-DWITH_AKODE=ON} \ + %{?with_gpod:-DWITH_IPOD=ON} \ + %{?with_ifp:-DWITH_IFP=ON} \ + %{?with_njb:-DWITH_NJB=ON} \ + %{?with_mtp:-DWITH_MTP=ON} \ + %{?with_karma:-DWITH_RIOKARMA=ON} \ + -DWITH_DAAP=ON \ + %{?with_mp4v2:-DWITH_MP4V2=ON} \ + %{?with_inotify:-DWITH_INOTIFY=ON} \ + -DBUILD_ALL=ON \ + .. %__make %{?_smp_mflags} || %__make @@ -430,6 +433,9 @@ done %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 - Rebuild with NDEBUG option diff --git a/redhat/applications/basket/basket-3.5.13.2.spec b/redhat/applications/basket/basket-3.5.13.2.spec index a175d11b5..a44ddd45f 100644 --- a/redhat/applications/basket/basket-3.5.13.2.spec +++ b/redhat/applications/basket/basket-3.5.13.2.spec @@ -26,7 +26,7 @@ Name: trinity-%{tde_pkg} Summary: Taking care of your ideas. Version: 1.0.3.1 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ Group: Applications/Utilities @@ -41,6 +41,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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: trinity-tdepim-devel >= %{tde_version} @@ -66,12 +67,6 @@ baskets to HTML. %prep %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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -82,17 +77,21 @@ unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +# Warning: --enable-final causes FTBFS %configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --disable-debug \ - --with-extra-includes=%{tde_includedir}/tqt \ - --disable-static + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --disable-final \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -114,6 +113,7 @@ for f in crystalsvg ; do gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : done /sbin/ldconfig +update-desktop-database %{tde_tdeappdir} -q &> /dev/null %postun for f in crystalsvg ; do @@ -121,6 +121,7 @@ for f in crystalsvg ; do gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : done /sbin/ldconfig +update-desktop-database %{tde_tdeappdir} -q &> /dev/null %files -f %{tde_pkg}.lang @@ -159,6 +160,9 @@ done %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 - Rebuild with NDEBUG option diff --git a/redhat/applications/bibletime/bibletime-3.5.13.2.spec b/redhat/applications/bibletime/bibletime-3.5.13.2.spec index 2a590f7af..16ee7e1c7 100644 --- a/redhat/applications/bibletime/bibletime-3.5.13.2.spec +++ b/redhat/applications/bibletime/bibletime-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -22,28 +23,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{kdecomp} -Summary: A bible study tool for Trinity -Version: 1.6.6.0 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: A bible study tool for Trinity +Version: 1.6.6.0 +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{_prefix} +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-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: trinity-arts-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: gettext # Requires: clucene @@ -72,13 +74,7 @@ texts, write own notes, save, print etc.). %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -88,17 +84,21 @@ texts, write own notes, save, print etc.). %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath # Not SMP safe ! %__make -C bibletime/frontend @@ -124,12 +124,12 @@ export PATH="%{tde_bindir}:${PATH}" %post touch --no-create %{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 touch --no-create %{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 @@ -143,6 +143,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/digikam/digikam-3.5.13.2.spec b/redhat/applications/digikam/digikam-3.5.13.2.spec index 8af183e1b..ff084696c 100644 --- a/redhat/applications/digikam/digikam-3.5.13.2.spec +++ b/redhat/applications/digikam/digikam-3.5.13.2.spec @@ -26,7 +26,7 @@ Name: trinity-%{tde_pkg} Summary: digital photo management application for TDE [Trinity] Version: 0.9.6 -Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ 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 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-tdebase-devel >= %{tde_version} -BuildRequires: trinity-libkexiv2-devel >= %{tde_version} -BuildRequires: trinity-libkdcraw-devel >= %{tde_version} -BuildRequires: trinity-libkipi-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +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} BuildRequires: gphoto2-devel %else BuildRequires: libgphoto2-devel %endif -BuildRequires: libtiff-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext # JASPER support %if 0%{?suse_version} @@ -77,9 +81,9 @@ BuildRequires: libexiv2-devel BuildRequires: exiv2-devel %endif -Requires: trinity-libkexiv2 >= %{tde_version} -Requires: trinity-libkdcraw >= %{tde_version} -Requires: trinity-libkipi >= %{tde_version} +Requires: trinity-libkexiv2 +Requires: trinity-libkdcraw +Requires: trinity-libkipi %description 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 Group: Development/Libraries Summary: Development files for %{name} -Requires: %{name} = %{version} +Requires: %{name} = %{version}-%{release} %description devel %{summary} @@ -122,12 +126,6 @@ Requires: %{name} = %{version} %patch1 -p1 -b .png12 %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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -136,7 +134,6 @@ Requires: %{name} = %{version} %build unset QTDIR || : ; source /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_tdeincludedir}" export KDEDIR="%{tde_prefix}" %configure \ @@ -153,9 +150,7 @@ export KDEDIR="%{tde_prefix}" --enable-new-ldflags \ --enable-final \ --enable-closure \ - --disable-rpath \ - \ - --with-extra-includes=%{tde_tdeincludedir}/tqt + --enable-rpath %__make %{?_smp_mflags} || %__make @@ -319,6 +314,9 @@ update-desktop-database %{tde_appdir} 2> /dev/null || : %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 - Rebuild with NDEBUG option diff --git a/redhat/applications/dolphin/dolphin-3.5.13.2.spec b/redhat/applications/dolphin/dolphin-3.5.13.2.spec index 711989c20..5ba78e34d 100644 --- a/redhat/applications/dolphin/dolphin-3.5.13.2.spec +++ b/redhat/applications/dolphin/dolphin-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -22,27 +23,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{kdecomp} -Summary: File manager for TDE focusing on usability -Version: 0.9.2 -Release: 7%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: File manager for TDE focusing on usability +Version: 0.9.2 +Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{_prefix} +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-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: gettext @@ -58,13 +61,7 @@ interface for the task of file management. %prep -%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 "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -74,7 +71,6 @@ interface for the task of file management. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -84,8 +80,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --includedir=%{tde_tdeincludedir} \ --docdir=%{tde_tdedocdir} \ --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} @@ -95,33 +96,6 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{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 %__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 + %clean %__rm -rf %{buildroot} %post +update-desktop-database %{tde_tdeappdir} -q &> /dev/null touch --no-create %{tde_datadir}/icons/hicolor || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : update-alternatives --install \ @@ -152,6 +128,7 @@ if [ $1 -eq 0 ]; then fi %postun +update-desktop-database %{tde_tdeappdir} -q &> /dev/null touch --no-create %{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,-) %doc AUTHORS ChangeLog COPYING TODO %{tde_bindir}/d3lphin -%{tde_datadir}/applications/d3lphin.desktop +%{tde_tdeappdir}/d3lphin.desktop %{tde_datadir}/apps/d3lphin/ %{tde_datadir}/icons/hicolor/*/apps/d3lphin.png %lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/ @@ -168,6 +145,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/filelight/filelight-3.5.13.2.spec b/redhat/applications/filelight/filelight-3.5.13.2.spec index 385d23417..154efd222 100644 --- a/redhat/applications/filelight/filelight-3.5.13.2.spec +++ b/redhat/applications/filelight/filelight-3.5.13.2.spec @@ -26,7 +26,7 @@ Name: trinity-%{tde_pkg} Summary: Graphical disk usage display Version: 1.0 -Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ Group: Applications/Utilities @@ -41,6 +41,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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 @@ -61,12 +62,6 @@ directories on your computer. %prep %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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -91,9 +86,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --enable-new-ldflags \ --enable-final \ --enable-closure \ - --disable-rpath \ - \ - --with-extra-includes=%{tde_includedir}/tqt + --enable-rpath %__make %{?_smp_mflags} @@ -144,6 +137,9 @@ done %lang(sv) %{tde_tdedocdir}/HTML/sv/filelight/ %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 - Rebuild with NDEBUG option diff --git a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec b/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec index df1677c87..287fcc093 100644 --- a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec +++ b/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,30 +24,32 @@ %define _docdir %{tde_docdir} -Name: trinity-%{kdecomp} -Summary: theme engine using Qt for GTK+ 2.x and Trinity -Version: 0.8 -Release: 5%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: theme engine using Qt for GTK+ 2.x and Trinity +Version: 0.8 +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source0: %{name}-3.5.13.2%{?preversion:~%{preversion}}.tar.gz -Source1: gtk-qt-engine.rc.sh -Source2: gtkrc-2.0-kde4 -Source3: gtkrc-2.0-kde-kde4 +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: gtk-qt-engine.rc.sh +Source2: gtkrc-2.0-kde4 +Source3: gtkrc-2.0-kde-kde4 -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -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: gettext @@ -68,18 +71,6 @@ a way to configure it from within KControl. %prep %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 unset QTDIR || : ; . /etc/profile.d/qt3.sh @@ -92,11 +83,18 @@ cd build %endif %cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DDATA_INSTALL_DIR=%{tde_datadir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - .. + -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} \ + -DDATA_INSTALL_DIR=%{tde_datadir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + .. %__make %{?_smp_mflags} @@ -106,19 +104,19 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -C build -%find_lang %{kdecomp} +%find_lang gtkqtengine # Adds TDE's specific GTKRC %__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 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 + %clean %__rm -rf %{buildroot} - -%files -f %{kdecomp}.lang +%files -f gtkqtengine.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README TODO %{tde_tdelibdir}/kcm_kcmgtk.la @@ -134,6 +132,9 @@ export PATH="%{tde_bindir}:${PATH}" %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.2.spec b/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.2.spec index 73a30a059..4fc6a56ce 100644 --- a/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.2.spec +++ b/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,31 +24,32 @@ %define _docdir %{tde_docdir} -Name: trinity-%{kdecomp} -Summary: Gwenview is an image viewer for KDE. -Version: 1.4.2 -Release: 2%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Gwenview is an image viewer for TDE. +Version: 1.4.2 +Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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-arts-devel >= 3.5.13.2 -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: gettext # EXIV2 support @@ -86,13 +88,7 @@ KIPI image framework. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -114,9 +110,13 @@ export KDEDIR="%{tde_prefix}" --includedir=%{tde_tdeincludedir} \ --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -126,33 +126,13 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} - - - ## File lists %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 ?) %__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so + %clean %__rm -rf %{buildroot} @@ -164,6 +144,7 @@ for f in crystalsvg hicolor ; do done /sbin/ldconfig + %postun for f in crystalsvg hicolor ; do touch --no-create %{tde_datadir}/icons/${f} || : @@ -171,11 +152,27 @@ for f in crystalsvg hicolor ; do done /sbin/ldconfig + %files -f gwenview.lang %defattr(-,root,root,-) %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 +* 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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/gwenview/gwenview-3.5.13.2.spec b/redhat/applications/gwenview/gwenview-3.5.13.2.spec index 815b4bf44..9889fe526 100644 --- a/redhat/applications/gwenview/gwenview-3.5.13.2.spec +++ b/redhat/applications/gwenview/gwenview-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,29 +24,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{kdecomp} -Summary: Gwenview is an image viewer for KDE. -Version: 1.4.2 -Release: 10%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Gwenview is an image viewer for TDE. +Version: 1.4.2 +Release: %{?!preversion:11}%{?preversion:10_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{_prefix} +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-arts-devel >= 3.5.13.2 -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: gettext # EXIV2 support @@ -84,13 +85,7 @@ KIPI image framework. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -111,9 +106,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --includedir=%{tde_tdeincludedir} \ --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -123,29 +122,10 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - # Removes useless files (-devel ?) %__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so + %clean %__rm -rf %{buildroot} @@ -157,6 +137,7 @@ for f in crystalsvg hicolor ; do done /sbin/ldconfig + %postun for f in crystalsvg hicolor ; do touch --no-create %{tde_datadir}/icons/${f} || : @@ -164,6 +145,7 @@ for f in crystalsvg hicolor ; do done /sbin/ldconfig + %files %defattr(-,root,root,-) %doc AUTHORS COPYING @@ -208,6 +190,9 @@ done %lang(en) %{tde_tdedocdir}/HTML/en/gwenview/ %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 - 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 - 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 * Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-2 diff --git a/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec b/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec index c43bf768d..384dcdc43 100644 --- a/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec +++ b/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec @@ -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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -20,14 +24,14 @@ %define _docdir %{tde_docdir} -Name: trinity-k3b-i18n -Summary: Locale files for K3B -Version: 1.0.5 -Release: 3%{?dist}%{?_variant} +Name: trinity-k3b-i18n +Summary: Locale files for K3B +Version: 1.0.5 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ BuildArch: noarch @@ -36,22 +40,26 @@ BuildArch: noarch %define __spec_install_post %{nil} AutoReq: no -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Group: Applications/Archiving -License: GPLv2+ +Group: Applications/Archiving +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: gettext Requires(post): coreutils Requires(postun): coreutils -Requires: trinity-k3b +Requires: trinity-k3b %description @@ -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 start. -%package da -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Danish (da) translations for K3B [Trinity] -%description da +########## + +%package Danish +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Danish (da) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-da < %{version}-%{release} +Provides: trinity-k3b-i18n-da = %{version}-%{release} + +%description Danish This package contains the Danish translations for K3B. -%package de -Group: Applications/Archiving -Requires: trinity-k3b -Summary: German (de) translations for K3B [Trinity] -%description 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 +Requires: trinity-k3b +Summary: German (de) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-de < %{version}-%{release} +Provides: trinity-k3b-i18n-de = %{version}-%{release} + +%description German This package contains the German translations for K3B. -%package el -Group: Applications/Archiving -Requires: trinity-k3b >= %{version} -Summary: Greek (el) translations for K3B [Trinity] -%description 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 +Requires: trinity-k3b >= %{version} +Summary: Greek (el) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-el < %{version}-%{release} +Provides: trinity-k3b-i18n-el = %{version}-%{release} + +%description Greek This package contains the greek translations for K3B. -%package es -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Spanish (es) translations for K3B [Trinity] -%description 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 +Requires: trinity-k3b +Summary: Spanish (es) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-es < %{version}-%{release} +Provides: trinity-k3b-i18n-es = %{version}-%{release} + +%description Spanish This package contains the Spanish translations for K3B. -%package et -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Estonian (et) translations for K3B [Trinity] -%description 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 +Requires: trinity-k3b +Summary: Estonian (et) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-et < %{version}-%{release} +Provides: trinity-k3b-i18n-et = %{version}-%{release} + +%description Estonian This package contains the Estonian translations for K3B. -%package fr -Group: Applications/Archiving -Requires: trinity-k3b -Summary: French (fr) translations for K3B [Trinity] -%description 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 +Requires: trinity-k3b +Summary: French (fr) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-fr < %{version}-%{release} +Provides: trinity-k3b-i18n-fr = %{version}-%{release} + +%description French This package contains the French translations for K3B. -%package it -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Italian (it) translations for K3B [Trinity] -%description 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 +Requires: trinity-k3b +Summary: Italian (it) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-it < %{version}-%{release} +Provides: trinity-k3b-i18n-it = %{version}-%{release} + +%description Italian This package contains the Italian translations for K3B. -%package nl -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Dutch (nl) translations for K3B [Trinity] -%description 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 +Requires: trinity-k3b +Summary: Dutch (nl) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-nl < %{version}-%{release} +Provides: trinity-k3b-i18n-nl = %{version}-%{release} + +%description Dutch This package contains the Dutch translations for K3B. -%package pl -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Polish (pl) translations for K3B [Trinity] -%description 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 +Requires: trinity-k3b +Summary: Polish (pl) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-pl < %{version}-%{release} +Provides: trinity-k3b-i18n-pl = %{version}-%{release} + +%description Polish This package contains the Polish translations for K3B. -%package pt -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Portuguese (pt) translations for K3B [Trinity] -%description 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 +Requires: trinity-k3b +Summary: Portuguese (pt) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-pt < %{version}-%{release} +Provides: trinity-k3b-i18n-pt = %{version}-%{release} + +%description Portuguese This package contains the Portuguese translations for K3B. -%package ptbr -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity] -%description 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 +Requires: trinity-k3b +Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity] + +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. -%package ru -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Russian (ru) translations for K3B [Trinity] -%description 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 +Requires: trinity-k3b +Summary: Russian (ru) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-ru < %{version}-%{release} +Provides: trinity-k3b-i18n-ru = %{version}-%{release} + +%description Russian This package contains the Russian translations for K3B. -%package sv -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Swedish (sv) translations for K3B [Trinity] -%description 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 +Requires: trinity-k3b +Summary: Swedish (sv) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-sv < %{version}-%{release} +Provides: trinity-k3b-i18n-sv = %{version}-%{release} + +%description Swedish This package contains the Swedish translations for K3B. -%package uk -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Ukrainian (uk) translations for K3B [Trinity] -%description uk -This package contains the Ukrainian translations for K3B. +%files Swedish +%defattr(-,root,root,-) +%lang(sv) %{tde_tdedocdir}/HTML/sv/k3b +%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/*.mo +########## -%prep -%setup -q -n %{name}-3.5.13.2 +%package Ukrainian +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Ukrainian (uk) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-uk < %{version}-%{release} +Provides: trinity-k3b-i18n-uk = %{version}-%{release} + +%description Ukrainian +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" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -178,7 +336,6 @@ This package contains the Ukrainian translations for K3B. %build unset QTDIR || : ; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" ./configure \ --prefix=%{tde_prefix} \ @@ -189,12 +346,17 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --includedir=%{tde_tdeincludedir} \ --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} + %install %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} @@ -245,79 +407,10 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %__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 +* 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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/k3b/k3b-3.5.13.2.spec b/redhat/applications/k3b/k3b-3.5.13.2.spec index 3feb6a38d..b176dc85b 100644 --- a/redhat/applications/k3b/k3b-3.5.13.2.spec +++ b/redhat/applications/k3b/k3b-3.5.13.2.spec @@ -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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -20,34 +24,37 @@ %define _docdir %{tde_docdir} -Name: trinity-k3b -Summary: CD/DVD burning application -Version: 3.5.13.2 -Release: 1%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: CD/DVD burning application +Epoch: 1 +Version: 1.0.5 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Group: Applications/Archiving -License: GPLv2+ +Group: Applications/Archiving +License: GPLv2+ -Source0: %{name}-3.5.13.2.tar.gz -Source2: k3brc +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source2: k3brc # Legacy RedHat / Fedora patches # manual bufsize (upstream?) -Patch4: k3b-1.0.4-manualbufsize.patch +Patch4: k3b-1.0.4-manualbufsize.patch # RHEL6: Fix K3B icon Patch106: trinity-k3b-icons.patch -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-arts-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: alsa-lib-devel BuildRequires: audiofile-devel BuildRequires: hal-devel @@ -61,15 +68,15 @@ BuildRequires: zlib-devel Requires(post): coreutils Requires(postun): coreutils -Requires: %{name}-libs = %{version}-%{release} -Requires: %{name}-common = %{version}-%{release} +Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-common = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: cdrecord mkisofs -Requires: dvd+rw-tools +Requires: cdrecord mkisofs +Requires: dvd+rw-tools # CDRDAO support %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 5 -Requires: cdrdao +Requires: cdrdao %endif # DBUS support @@ -77,10 +84,10 @@ Requires: cdrdao %if 0%{?rhel} == 4 # Dbus bindings were rebuilt with Qt support BuildRequires: dbus-devel >= 0.22-12.EL.9p1 -Requires: dbus-qt +Requires: dbus-qt >= 0.22-12.EL.9p1 %else -BuildRequires: trinity-dbus-tqt-devel -Requires: trinity-dbus-tqt >= %{version} +BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 +Requires: trinity-dbus-tqt >= 1:0.63 %endif # SNDFILE support @@ -122,10 +129,10 @@ BuildRequires: flac-devel %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} %define with_libmad 1 %if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}mad-devel +BuildRequires: %{_lib}mad-devel %endif %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: libmad-devel +BuildRequires: libmad-devel %endif %endif @@ -134,16 +141,16 @@ BuildRequires: libmad-devel %define with_lame 1 %if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?pclinuxos} -BuildRequires: liblame-devel +BuildRequires: liblame-devel %else -BuildRequires: %{_lib}lame-devel +BuildRequires: %{_lib}lame-devel %endif %endif %if 0%{?suse_version} -BuildRequires: libmp3lame-devel +BuildRequires: libmp3lame-devel %endif %if 0%{?fedora} || 0%{?rhel} -BuildRequires: lame-devel +BuildRequires: lame-devel %endif %endif @@ -151,10 +158,10 @@ BuildRequires: lame-devel %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} %define with_ffmpeg 1 %if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}ffmpeg-devel +BuildRequires: %{_lib}ffmpeg-devel %endif %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: ffmpeg-devel +BuildRequires: ffmpeg-devel %endif %endif @@ -207,9 +214,9 @@ start. ########## %package common -Summary: Common files of %{name} -Group: Applications/Archiving -Requires: %{name} = %{version}-%{release} +Summary: Common files of %{name} +Group: Applications/Archiving +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} BuildArch: noarch %endif @@ -257,9 +264,9 @@ update-desktop-database %{tde_appdir} -q &> /dev/null ########## %package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} +Summary: Runtime libraries for %{name} +Group: System Environment/Libraries +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %description libs %{summary}. @@ -280,9 +287,9 @@ Requires: %{name} = %{version}-%{release} ########## %package devel -Summary: Files for the development of applications which will use %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} +Summary: Files for the development of applications which will use %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} %description devel %{summary}. @@ -303,9 +310,9 @@ Requires: %{name}-libs = %{version}-%{release} %if 0%{?with_libmad} %package plugin-mad -Summary: The MAD plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} +Summary: The MAD plugin for K3B +Group: System Environment/Libraries +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %description plugin-mad %{summary}. @@ -325,9 +332,9 @@ and Layer III a.k.a. MP3) are fully implemented. %if 0%{?with_lame} %package plugin-lame -Summary: The LAME plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} +Summary: The LAME plugin for K3B +Group: System Environment/Libraries +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %description plugin-lame %{summary}. @@ -347,9 +354,9 @@ This package is in tainted, as MP3 encoding is covered by software patents. %if 0%{?with_ffmpeg} %package plugin-ffmpeg -Summary: The FFMPEG plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} +Summary: The FFMPEG plugin for K3B +Group: System Environment/Libraries +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %description plugin-ffmpeg %{summary}. @@ -373,19 +380,12 @@ and a generic audio and video file converter. %prep -%setup -q -n %{name}-3.5.13.2 +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} # set in k3brc too %patch4 -p1 -b .manualbufsize %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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -394,7 +394,6 @@ and a generic audio and video file converter. %build unset QTDIR || : ; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" # FFMPEG trick ... @@ -402,6 +401,7 @@ if [ -d /usr/include/ffmpeg ]; then export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg" fi +# Notice: extra-includes is required to find arts headers %configure \ --prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \ @@ -410,10 +410,17 @@ fi --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ + \ + --disable-dependency-tracking \ + --disable-debug \ --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --enable-gcc-hidden-visibility \ + \ + --with-extra-includes=%{tde_includedir} \ + \ --with-k3bsetup=no \ --without-cdrecord-suid-root \ --with-oggvorbis \ @@ -427,8 +434,7 @@ fi %{?with_libmad:--with-libmad} %{?!with_libmad:--without-libmad} \ --with-musepack \ --without-resmgr \ - --with-hal \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} + --with-hal # Strange behaviour on RHEL4 ... %if 0%{?rhel} == 4 @@ -449,15 +455,15 @@ export PATH="%{tde_bindir}:${PATH}" # remove the .la files %__rm -f %{buildroot}%{tde_libdir}/libk3b*.la -# remove i18n for Plattdeutsch (Low Saxon) -#%__rm -fr %{buildroot}%{tde_datadir}/locale/nds - %clean %__rm -rf %{buildroot} %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/k9copy/k9copy-3.5.13.2.spec b/redhat/applications/k9copy/k9copy-3.5.13.2.spec index b77775b12..bd6788c62 100644 --- a/redhat/applications/k9copy/k9copy-3.5.13.2.spec +++ b/redhat/applications/k9copy/k9copy-3.5.13.2.spec @@ -27,7 +27,7 @@ Name: trinity-%{tde_pkg} Summary: DVD backup tool for Trinity Version: 1.2.3 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ 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 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: trinity-arts-devel >= %{tde_version} BuildRequires: desktop-file-utils + BuildRequires: trinity-k3b-devel # Warning: the target distribution must have ffmpeg ! BuildRequires: ffmpeg-devel Requires: ffmpeg + %description 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). -This is the Trinity version +This is the Trinity version. %if 0%{?suse_version} || 0%{?pclinuxos} @@ -78,12 +80,6 @@ This is the Trinity version # Removes internal dvdread headers %__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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -92,11 +88,10 @@ This is the Trinity version %build unset QTDIR || : ; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" # FFMPEG ... 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 # NOTICE: --enable-final causes FTBFS ! @@ -112,9 +107,7 @@ fi --disable-final \ --enable-new-ldflags \ --enable-closure \ - --disable-rpath \ - \ - --with-extra-includes=%{tde_includedir}/tqt \ + --enable-rpath \ \ --enable-k3bdevices @@ -156,6 +149,9 @@ update-desktop-database %{tde_appdir} &> /dev/null %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 - Rebuild with NDEBUG option diff --git a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2.spec b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2.spec index e20eb6996..e1e3ded56 100644 --- a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2.spec +++ b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2.spec @@ -7,7 +7,7 @@ %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -27,7 +27,7 @@ Name: trinity-%{tde_pkg} Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] Version: 0.4.3.1 -Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ 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 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 @@ -78,12 +79,6 @@ when a page containing a supported media format is loaded. %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %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/libtool/config/ltmain.sh" "ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "ltmain.sh" %__make -f "admin/Makefile.common" @@ -92,7 +87,6 @@ when a page containing a supported media format is loaded. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{_libdir}/mozilla \ @@ -102,7 +96,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --enable-new-ldflags \ --enable-final \ --enable-closure \ - --disable-rpath + --enable-rpath %__make %{?_smp_mflags} @@ -136,6 +130,9 @@ export PATH="%{tde_bindir}:${PATH}" %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13.2.spec b/redhat/applications/kaffeine/kaffeine-3.5.13.2.spec index 196e58419..e92892bfe 100644 --- a/redhat/applications/kaffeine/kaffeine-3.5.13.2.spec +++ b/redhat/applications/kaffeine/kaffeine-3.5.13.2.spec @@ -26,7 +26,7 @@ Name: trinity-%{tde_pkg} Summary: Xine-based media player Version: 0.8.8 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ Group: Applications/Multimedia @@ -36,7 +36,12 @@ Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz 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-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + BuildRequires: gettext # VORBIS support @@ -51,7 +56,7 @@ BuildRequires: libcdda-devel BuildRequires: cdparanoia BuildRequires: cdparanoia-devel %endif -%if 0%{?suse_version} >= 1220 +%if 0%{?suse_version} >= 1220 || 0%{?fedora} >= 19 BuildRequires: libcdio-paranoia-devel %endif @@ -64,7 +69,7 @@ BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel %if 0%{?rhel} == 4 BuildRequires: xorg-x11-devel %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: libXtst-devel BuildRequires: libXinerama-devel @@ -76,15 +81,15 @@ BuildRequires: libxcb-devel # GSTREAMER support %if 0%{?rhel} >= 5 || 0%{?suse_version} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} %define with_gstreamer 1 -BuildRequires: gstreamer-devel %if 0%{?suse_version} +BuildRequires: gstreamer-devel BuildRequires: gstreamer-0_10-plugins-base-devel %endif %if 0%{?rhel} == 4 BuildRequires: gstreamer-devel BuildRequires: gstreamer-plugins-devel %endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?rhel} >= 5 || 0%{?fedora} BuildRequires: gstreamer-plugins-base-devel >= 0.10 %endif %if 0%{?mgaversion} || 0%{?mdkversion} @@ -109,10 +114,10 @@ BuildRequires: lame-devel %endif # WTF support -%if 0%{?pclinuxos} == 0 +%if 0%{?mgaversion} || 0%{?mdkversion} BuildRequires: kernel-headers %endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?rhel} >= 5 || 0%{?fedora} BuildRequires: glibc-kernheaders %endif @@ -212,12 +217,6 @@ Requires: %{name} = %{version}-%{release} %prep %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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -225,7 +224,6 @@ Requires: %{name} = %{version}-%{release} %build unset QTDIR || : ; source /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export KDEDIR=%{tde_prefix} %configure \ @@ -242,9 +240,7 @@ export KDEDIR=%{tde_prefix} --enable-new-ldflags \ --enable-final \ --enable-closure \ - --disable-rpath \ - \ - --with-extra-includes=%{tde_includedir}/tqt \ + --enable-rpath \ \ --with-xinerama \ --with-gstreamer \ @@ -275,6 +271,9 @@ rm -rf $RPM_BUILD_ROOT %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/katapult/katapult-3.5.13.2.spec b/redhat/applications/katapult/katapult-3.5.13.2.spec index 5ce7161d8..b34f34144 100644 --- a/redhat/applications/katapult/katapult-3.5.13.2.spec +++ b/redhat/applications/katapult/katapult-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,29 +24,30 @@ %define _docdir %{tde_docdir} -Name: trinity-%{kdecomp} -Summary: Faster access to applications, bookmarks, and other items. -Version: 0.3.2.1 -Release: 6%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Faster access to applications, bookmarks, and other items. +Version: 0.3.2.1 +Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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 + %description Katapult is an application for TDE, designed to allow faster access to applications, bookmarks, and other items. It is plugin-based, so it can @@ -60,13 +62,7 @@ inspired by Quicksilver for OS X. %prep -%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 "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -76,7 +72,6 @@ inspired by Quicksilver for OS X. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -85,9 +80,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --datadir=%{tde_datadir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -97,7 +96,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -%find_lang %{kdecomp} +%find_lang %{tde_pkg} # Removes useless files (-devel ?) %__rm -f %{?buildroot}%{tde_libdir}/*.so @@ -124,7 +123,7 @@ done update-desktop-database %{tde_appdir} &> /dev/null -%files -f %{kdecomp}.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING %{tde_bindir}/katapult @@ -177,6 +176,9 @@ update-desktop-database %{tde_appdir} &> /dev/null %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kbarcode/kbarcode-3.5.13.2.spec b/redhat/applications/kbarcode/kbarcode-3.5.13.2.spec index 99d77f8a8..24a59f391 100644 --- a/redhat/applications/kbarcode/kbarcode-3.5.13.2.spec +++ b/redhat/applications/kbarcode/kbarcode-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,28 +24,30 @@ %define _docdir %{tde_docdir} -Name: trinity-%{kdecomp} -Summary: barcode and label printing application for Trinity -Version: 2.0.6 -Release: 3%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: barcode and label printing application for Trinity +Version: 2.0.6 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.kbarcode.net +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.kbarcode.net -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: 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 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 -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. Additionally it is a simple barcode generator (similar to the old xbarcode you @@ -74,13 +77,7 @@ to use them in another application. %prep -%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 "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -99,8 +96,15 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --datadir=%{tde_datadir} \ --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 ! %__make %{?_smp_mflags} @@ -112,7 +116,7 @@ export PATH="%{tde_bindir}:${PATH}" %__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 -%files -f %{kdecomp}.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README TODO %{tde_bindir}/kbarcode @@ -153,6 +157,9 @@ update-desktop-database %{tde_appdir} &> /dev/null %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kbfx/kbfx-3.5.13.2.spec b/redhat/applications/kbfx/kbfx-3.5.13.2.spec index a42e59de6..4d176bca1 100644 --- a/redhat/applications/kbfx/kbfx-3.5.13.2.spec +++ b/redhat/applications/kbfx/kbfx-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,29 +24,31 @@ %define _docdir %{tde_docdir} -Name: trinity-%{kdecomp} -Summary: an alternative to K-Menu for KDE [Trinity] -Version: 0.4.9.3.1 -Release: 3%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: an alternative to K-Menu for TDE [Trinity] +Version: 0.4.9.3.1 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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 + %description KBFX is an alternative to the classical K-Menu button and its menu. It improves the user experience by enabling him to set a bigger (and thus more @@ -63,7 +66,7 @@ Homepage: http://www.kbfx.org %prep -%setup -q -n %{name}-3.5.13.2 +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} # Fix TDE executable path in 'CMakeLists.txt' ... %__sed -i "CMakeLists.txt" \ @@ -75,7 +78,6 @@ Homepage: http://www.kbfx.org unset QTDIR || : ; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_tdeincludedir}:%{tde_includedir}/tqt" # Shitty hack for RHEL4 ... if [ -d "/usr/X11R6" ]; then @@ -90,6 +92,13 @@ cd build %endif %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} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ @@ -97,6 +106,7 @@ cd build -DXDG_APPS_INSTALL_DIR=%{tde_tdeappdir} \ -DDOC_INSTALL_DIR=%{tde_tdedocdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \ + \ -DUSE_STRIGI=OFF \ -DUSE_MENUDRAKE=OFF \ -DBUILD_DOC=ON \ @@ -165,6 +175,9 @@ update-desktop-database %{tde_appdir} &> /dev/null %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kbookreader/kbookreader-3.5.13.2.spec b/redhat/applications/kbookreader/kbookreader-3.5.13.2.spec index f196d7a0c..e538652b3 100644 --- a/redhat/applications/kbookreader/kbookreader-3.5.13.2.spec +++ b/redhat/applications/kbookreader/kbookreader-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,29 +24,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{kdecomp} -Summary: eBook reader for Trinity. -Version: 0.2.0 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: eBook reader for Trinity. +Version: 0.2.0 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{_prefix} +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-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: 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 %description @@ -59,13 +60,7 @@ within the Trinity Desktop Environment. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -75,7 +70,6 @@ within the Trinity Desktop Environment. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -84,9 +78,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --datadir=%{tde_datadir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -97,26 +95,6 @@ export PATH="%{tde_bindir}:${PATH}" %__make install DESTDIR=%{buildroot} - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - %clean %__rm -rf %{buildroot} @@ -129,6 +107,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : touch --no-create %{tde_datadir}/icons/hicolor || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + %files %defattr(-,root,root,-) %doc AUTHORS COPYING @@ -141,9 +120,10 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %{tde_datadir}/icons/hicolor/*/apps/bookreader.png - - %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kchmviewer/kchmviewer-3.5.13.2.spec b/redhat/applications/kchmviewer/kchmviewer-3.5.13.2.spec index 456c6942f..b8e6589e2 100644 --- a/redhat/applications/kchmviewer/kchmviewer-3.5.13.2.spec +++ b/redhat/applications/kchmviewer/kchmviewer-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,32 +24,34 @@ %define _docdir %{tde_docdir} -Name: trinity-%{kdecomp} -Summary: CHM viewer for Trinity -Version: 3.1.2 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: CHM viewer for Trinity +Version: 3.1.2 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{_prefix} +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-arts-devel >= 1:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils -BuildRequires: trinity-tqtinterface-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 %description 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 -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. 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 -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -88,13 +85,13 @@ support. Correctly detects and shows encoding of any valid chm file. %build unset QTDIR || : ; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{_includedir}" # Specific path for RHEL4 if [ -d /usr/X11R6 ]; then export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" fi +# Warning: --enable-final causes FTBFS ! %configure \ --prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \ @@ -102,12 +99,16 @@ fi --libdir=%{tde_libdir} \ --datadir=%{tde_datadir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --disable-final \ + --enable-closure \ + --enable-rpath \ + \ --with-x \ - --with-kde \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - + --with-kde %__make %{?_smp_mflags} @@ -117,7 +118,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -%find_lang %{kdecomp} +%find_lang %{tde_pkg} # Removes useless files %__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 || : -%files -f %{kdecomp}.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %doc ChangeLog COPYING FAQ README %{tde_bindir}/kchmviewer @@ -147,6 +148,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kcmautostart/kcmautostart-3.5.13.2.spec b/redhat/applications/kcmautostart/kcmautostart-3.5.13.2.spec index e00deb351..9374347cc 100644 --- a/redhat/applications/kcmautostart/kcmautostart-3.5.13.2.spec +++ b/redhat/applications/kcmautostart/kcmautostart-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,20 +24,20 @@ %define _docdir %{tde_docdir} -Name: trinity-kcmautostart -Summary: Manage applications automatic startup. -Version: 1.0 -Release: 3%{?dist}%{?_variant} +Name: trinity-kcmautostart +Summary: Manage applications automatic startup. +Version: 1.0 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: kcmautostart-3.5.13.tar.gz @@ -49,14 +50,15 @@ Patch3: kcmautostart-3.5.13-fix_crash_on_exit.patch # [kcmautostart] Fix french translation Patch4: kcmautostart-3.5.13-fix_fr_translation.patch -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -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: gcc-c++ +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 -Requires: trinity-kdebase +BuildRequires: gcc-c++ + +Requires: trinity-tdebase >= %{tde_version} %description %{summary} @@ -73,10 +75,7 @@ Requires: trinity-kdebase %patch3 -p1 -b .crash_on_exit %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 \ - -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" @@ -87,7 +86,6 @@ Requires: trinity-kdebase %build unset QTDIR || : ; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -96,9 +94,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --datadir=%{tde_datadir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --disable-static + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -110,6 +112,7 @@ export PATH="%{tde_bindir}:${PATH}" %find_lang autostart + %clean %__rm -rf %{buildroot} @@ -124,6 +127,9 @@ export PATH="%{tde_bindir}:${PATH}" %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kcpuload/kcpuload-3.5.13.2.spec b/redhat/applications/kcpuload/kcpuload-3.5.13.2.spec index e9da08b8a..a5374081e 100644 --- a/redhat/applications/kcpuload/kcpuload-3.5.13.2.spec +++ b/redhat/applications/kcpuload/kcpuload-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -15,7 +16,7 @@ %define tde_mandir %{tde_datadir}/man %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_tdeincludedir %{tde_includedir}/tde %define tde_tdelibdir %{tde_libdir}/trinity @@ -23,27 +24,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{kdecomp} -Summary: a CPU meter for Kicker [Trinity] -Version: 2.00 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: a CPU meter for Kicker [Trinity] +Version: 2.00 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{_prefix} +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-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: gettext @@ -62,13 +65,7 @@ KCPULoad has support for SMP and separate user/system loads. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -78,7 +75,6 @@ KCPULoad has support for SMP and separate user/system loads. %build unset QTDIR || : ; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -87,8 +83,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --datadir=%{tde_datadir} \ --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} @@ -127,6 +128,9 @@ done %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec index d371d5669..521f14897 100644 --- a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec +++ b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec @@ -28,7 +28,7 @@ Name: trinity-%{tde_pkg} Summary: a DBUS notification service [Trinity] Version: 0.1 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ Group: Applications/Utilities @@ -45,10 +45,11 @@ Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Patch1: kdbusnotification-3.5.13.2-fix_utf8.patch 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-tdebase-devel >= %{tde_version} BuildRequires: desktop-file-utils + BuildRequires: gtk2-devel %if 0%{?suse_version} @@ -71,12 +72,6 @@ DBUS notifications via unobtrusive, easily dismissed passive popups. %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -100,9 +95,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --enable-new-ldflags \ --enable-final \ --enable-closure \ - --disable-rpath \ - \ - --with-extra-includes=%{tde_includedir}/tqt + --enable-rpath %__make %{?_smp_mflags} @@ -127,6 +120,9 @@ export PATH="%{tde_bindir}:${PATH}" %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 - Fix UTF8 messages diff --git a/redhat/applications/kdiff3/kdiff3-3.5.13.2.spec b/redhat/applications/kdiff3/kdiff3-3.5.13.2.spec index 8fdcde01b..92c2bf2a8 100644 --- a/redhat/applications/kdiff3/kdiff3-3.5.13.2.spec +++ b/redhat/applications/kdiff3/kdiff3-3.5.13.2.spec @@ -16,7 +16,7 @@ %define tde_mandir %{tde_datadir}/man %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_tdeincludedir %{tde_includedir}/tde %define tde_tdelibdir %{tde_libdir}/trinity @@ -27,7 +27,7 @@ Name: trinity-%{tde_pkg} Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories. Version: 0.9.91 -Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ Group: Applications/Utilities @@ -42,11 +42,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz 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-tdebase-devel >= %{tde_version} BuildRequires: desktop-file-utils + %description Shows the differences line by line and character by character (!). Provides an automatic merge-facility and @@ -63,12 +64,6 @@ Unicode & UTF-8 support %prep %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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -77,7 +72,6 @@ Unicode & UTF-8 support %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -93,9 +87,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --enable-new-ldflags \ --enable-final \ --enable-closure \ - --disable-rpath \ - \ - --with-extra-includes=%{tde_includedir}/tqt + --enable-rpath %__make %{?_smp_mflags} @@ -106,10 +98,12 @@ export PATH="%{tde_bindir}:${PATH}" %__make install DESTDIR=%{buildroot} # Unwanted files +#Â These are not HTML files but weird files in wrong place ?? %__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/kdiff3/ %find_lang %{tde_pkg} + %clean %__rm -rf %{buildroot} @@ -147,6 +141,9 @@ done %{tde_tdelibdir}/libkdiff3plugin.so %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 - Rebuild with NDEBUG option diff --git a/redhat/applications/kdirstat/kdirstat-3.5.13.2.spec b/redhat/applications/kdirstat/kdirstat-3.5.13.2.spec index 260526dc0..be40fd152 100644 --- a/redhat/applications/kdirstat/kdirstat-3.5.13.2.spec +++ b/redhat/applications/kdirstat/kdirstat-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,32 +24,34 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: graphical disk usage display with cleanup facilities [Trinity] -Version: 2.4.4 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: graphical disk usage display with cleanup facilities [Trinity] +Version: 2.4.4 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext %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. 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 @@ -64,13 +67,7 @@ own cleanup actions. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -80,7 +77,6 @@ own cleanup actions. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -90,8 +86,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --includedir=%{tde_tdeincludedir} \ --libdir=%{tde_libdir} \ --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 ! %__make %{?_smp_mflags} @@ -102,9 +103,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - +%find_lang %{tde_pkg} %clean @@ -124,7 +123,7 @@ for f in hicolor locolor; do done -%files -f %{tdecomp}.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %{tde_bindir}/kdirstat %{tde_datadir}/applnk/Utilities/kdirstat.desktop @@ -137,6 +136,9 @@ done %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/keep/keep-3.5.13.2.spec b/redhat/applications/keep/keep-3.5.13.2.spec index 029952029..c8b439979 100644 --- a/redhat/applications/keep/keep-3.5.13.2.spec +++ b/redhat/applications/keep/keep-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,30 +24,32 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: backup system for KDE [Trinity] -Version: 0.4.0 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: backup system for TDE [Trinity] +Version: 0.4.0 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext -Requires: rdiff-backup +Requires: rdiff-backup %description Keep is an automatic backup program that allows users to set the parameters of @@ -61,13 +64,7 @@ Homepage: http://jr.falleri.free.fr/keep %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -87,8 +84,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --includedir=%{tde_tdeincludedir} \ --libdir=%{tde_libdir} \ --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} @@ -98,7 +100,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -%find_lang %{tdecomp} +%find_lang %{tde_pkg} %clean %__rm -rf %{buildroot} @@ -115,7 +117,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : update-desktop-database %{tde_appdir} &> /dev/null -%files -f %{tdecomp}.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %{tde_bindir}/keep %{tde_tdelibdir}/kded_keep.la @@ -129,6 +131,9 @@ update-desktop-database %{tde_appdir} &> /dev/null %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.2.spec b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.2.spec index 08edc9c77..aa9fc4ce4 100644 --- a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.2.spec +++ b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,27 +24,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: Use KDE dialogs in Gtk apps -Version: 0.10.2 -Release: 5%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Use TDE dialogs in Gtk apps +Version: 0.10.2 +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: 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. 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 @@ -63,24 +66,13 @@ This package includes the kqt3-wrapper %prep -%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 ! -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" \ - \; +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %build unset QTDIR; . /etc/profile.d/qt3.sh 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 CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" - %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %__mkdir_p build cd build @@ -88,17 +80,24 @@ cd build %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} \ -DBIN_INSTALL_DIR=%{tde_bindir} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ + \ -DBUILD_ALL=ON \ .. # SMP safe ! -%__make %{?_smp_mflags} +%__make %{?_smp_mflags} || %__make %install @@ -131,6 +130,9 @@ echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload" %{tde_datadir}/kgtk/preload %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kile/kile-3.5.13.2.spec b/redhat/applications/kile/kile-3.5.13.2.spec index be360bd6d..320b18726 100644 --- a/redhat/applications/kile/kile-3.5.13.2.spec +++ b/redhat/applications/kile/kile-3.5.13.2.spec @@ -27,7 +27,7 @@ Name: trinity-%{tde_pkg} Summary: TDE Integrated LaTeX Environment [Trinity] Version: 2.0.2 -Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ Group: Applications/Publishing @@ -42,9 +42,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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: gettext Obsoletes: %{name}-i18n-ar @@ -116,12 +118,6 @@ Kile can support large projects consisting of several smaller files. %prep %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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -130,7 +126,6 @@ Kile can support large projects consisting of several smaller files. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -140,15 +135,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --includedir=%{tde_tdeincludedir} \ --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ - \ + \ --disable-dependency-tracking \ --disable-debug \ --enable-new-ldflags \ --enable-final \ --enable-closure \ - --disable-rpath \ - \ - --with-extra-includes=%{tde_includedir}/tqt + --enable-rpath %__make %{?_smp_mflags} @@ -204,6 +197,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Rebuild with NDEBUG option diff --git a/redhat/applications/kima/kima-3.5.13.2.spec b/redhat/applications/kima/kima-3.5.13.2.spec index bbe41cc74..840d1c1bf 100644 --- a/redhat/applications/kima/kima-3.5.13.2.spec +++ b/redhat/applications/kima/kima-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,27 +24,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: kicker monitoring applet [Trinity] -Version: 0.7.3.2 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: kicker monitoring applet [Trinity] +Version: 0.7.3.2 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.elliptique.net/~ken/kima/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.elliptique.net/~ken/kima/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext # HAL support @@ -66,13 +69,7 @@ panel. %prep -%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 "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -82,7 +79,6 @@ panel. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -98,9 +94,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --enable-new-ldflags \ --enable-final \ --enable-closure \ - --disable-rpath \ - \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} + --enable-rpath # SMP safe ! %__make %{?_smp_mflags} @@ -112,7 +106,7 @@ export PATH="%{tde_bindir}:${PATH}" %__make install DESTDIR=%{buildroot} -%find_lang %{tdecomp} +%find_lang %{tde_pkg} @@ -120,7 +114,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} -%files -f %{tdecomp}.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README TODO %{tde_tdelibdir}/libkima.la @@ -130,6 +124,9 @@ export PATH="%{tde_bindir}:${PATH}" %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kiosktool/kiosktool-3.5.13.2.spec b/redhat/applications/kiosktool/kiosktool-3.5.13.2.spec index 2d5d8bb0e..d37887fe3 100644 --- a/redhat/applications/kiosktool/kiosktool-3.5.13.2.spec +++ b/redhat/applications/kiosktool/kiosktool-3.5.13.2.spec @@ -26,7 +26,7 @@ Name: trinity-%{tde_pkg} 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 License: GPLv2+ @@ -40,8 +40,13 @@ URL: http://www.trinitydesktop.org/ Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz 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-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext %description @@ -58,12 +63,6 @@ groups of users. %prep %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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -72,8 +71,6 @@ groups of users. %build unset QTDIR || : ; source /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - %configure \ --prefix=%{tde_prefix} \ @@ -89,10 +86,8 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --enable-new-ldflags \ --enable-final \ --enable-closure \ - --disable-rpath \ - \ - --with-extra-includes=%{tde_includedir}/tqt \ - + --enable-rpath + %__make %{?_smp_mflags} @@ -133,6 +128,9 @@ update-desktop-database >& /dev/null ||: %{tde_datadir}/apps/kiosktool/kiosktoolui.rc %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 - Rebuild with NDEBUG option diff --git a/redhat/applications/kmplayer/kmplayer-3.5.13.2.spec b/redhat/applications/kmplayer/kmplayer-3.5.13.2.spec index 9ac088547..85470704d 100644 --- a/redhat/applications/kmplayer/kmplayer-3.5.13.2.spec +++ b/redhat/applications/kmplayer/kmplayer-3.5.13.2.spec @@ -27,7 +27,7 @@ Name: trinity-%{tde_pkg} Summary: media player for Trinity Version: 0.10.0c -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ Group: Applications/Multimedia @@ -42,6 +42,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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 @@ -87,7 +88,7 @@ BuildRequires: xorg-x11-devel BuildRequires: xorg-x11-libXv-devel %endif -Requires: %{name}-base +Requires: %{name}-base = %{version}-%{release} %description A basic audio/video viewer application for Trinity. @@ -116,7 +117,8 @@ Core files needed for KMPlayer. %package konq-plugins 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] %description konq-plugins @@ -143,12 +145,6 @@ Documention for KMPlayer, a basic audio/video viewer application for TDE. %prep %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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -157,7 +153,6 @@ Documention for KMPlayer, a basic audio/video viewer application for TDE. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" %configure \ @@ -174,11 +169,9 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" --enable-new-ldflags \ --enable-final \ --enable-closure \ - --disable-rpath \ - \ - --with-extra-includes=%{tde_includedir}/tqt + --enable-rpath -%__make %{?_smp_mflags} || %__make +%__make %{?_smp_mflags} %install @@ -257,6 +250,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.2.spec b/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.2.spec index 6e2f52062..2bb53f516 100644 --- a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.2.spec +++ b/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,26 +24,27 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: iptables based firewall configuration tool for KDE [Trinity] -Version: 1.1.1 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: iptables based firewall configuration tool for TDE [Trinity] +Version: 1.1.1 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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 @@ -73,13 +75,7 @@ Requires: %{name} = %{version}-%{release} %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -89,7 +85,6 @@ Requires: %{name} = %{version}-%{release} %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -99,9 +94,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -197,6 +196,9 @@ done %{tde_libdir}/libkmfwidgets.so %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec b/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec index 0667d5ce0..972e753e9 100644 --- a/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec +++ b/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec @@ -41,7 +41,7 @@ Name: trinity-%{tde_pkg} Summary: personal finance manager for TDE Version: 1.0.5 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ 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 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-tdebase-devel >= %{tde_version} BuildRequires: desktop-file-utils @@ -74,12 +74,6 @@ BuildRequires: desktop-file-utils BuildRequires: recode 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 %if 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?pclinuxos} @@ -136,18 +130,12 @@ This package contains development files needed for KMyMoney plugins. %patch5 -p1 -b .qtpluginsdir %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/ %endif %__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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -156,7 +144,6 @@ This package contains development files needed for KMyMoney plugins. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" 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 %endif -# NOTICE: --enable-final causes FTBFS ! +# Warning: --enable-final causes FTBFS %configure \ --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 \ --disable-final \ --enable-closure \ - --disable-rpath \ + --enable-rpath \ \ - --with-extra-includes=%{tde_includedir}/tqt \ - \ - %{?with_pdf:--enable-pdf-docs} %{?!with_pdf:--disable-pdf-docs} \ + --disable-pdf-docs \ --enable-ofxplugin \ --enable-ofxbanking \ --enable-qtdesigner \ @@ -280,6 +265,9 @@ done %{qt3pluginsdir}/designer/libkmymoney.so %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 - Rebuild with NDEBUG option diff --git a/redhat/applications/knemo/knemo-3.5.13.2.spec b/redhat/applications/knemo/knemo-3.5.13.2.spec index e82a328a2..cbad92895 100644 --- a/redhat/applications/knemo/knemo-3.5.13.2.spec +++ b/redhat/applications/knemo/knemo-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,27 +24,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: network interfaces monitor for the Trinity systray -Version: 0.4.8 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: network interfaces monitor for the Trinity systray +Version: 0.4.8 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://beta.smileaf.org/projects +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://beta.smileaf.org/projects -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext %if 0%{?fedora} >= 18 @@ -70,13 +73,7 @@ Homepage: http://extragear.kde.org/apps/knemo/ %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -96,8 +93,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --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} @@ -137,6 +139,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/knetload/knetload-3.5.13.2.spec b/redhat/applications/knetload/knetload-3.5.13.2.spec index 95a255ade..99fd0807b 100644 --- a/redhat/applications/knetload/knetload-3.5.13.2.spec +++ b/redhat/applications/knetload/knetload-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,32 +24,34 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: a network meter for Kicker [Trinity] -Version: 2.3 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: a network meter for Kicker [Trinity] +Version: 2.3 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext %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 diagrams in the system tray, one for incoming and one for outgoing data. These diagrams have settings for colours and various different @@ -63,13 +66,7 @@ KNetLoad can monitor just about any network device. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -79,7 +76,6 @@ KNetLoad can monitor just about any network device. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -89,8 +85,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --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 ! %__make %{?_smp_mflags} @@ -101,7 +102,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -%find_lang %{tdecomp} +%find_lang %{tde_pkg} @@ -124,7 +125,7 @@ for f in crystalsvg locolor ; do done -%files -f %{tdecomp}.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %{tde_bindir}/knetload %{tde_tdeappdir}/knetload.desktop @@ -134,6 +135,9 @@ done %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/knetstats/knetstats-3.5.13.2.spec b/redhat/applications/knetstats/knetstats-3.5.13.2.spec index a1cadd729..af57bf9ca 100644 --- a/redhat/applications/knetstats/knetstats-3.5.13.2.spec +++ b/redhat/applications/knetstats/knetstats-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,32 +24,34 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: network interfaces monitor for the Trinity systray -Version: 1.6.1 -Release: 3%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: network interfaces monitor for the Trinity systray +Version: 1.6.1 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext %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 @@ -58,13 +61,7 @@ network interface on a system tray icon %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -74,7 +71,6 @@ network interface on a system tray icon %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -84,8 +80,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --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 ! %__make %{?_smp_mflags} @@ -96,7 +97,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{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 || : -%files -f %{tdecomp}.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %{tde_bindir}/knetstats %{tde_tdeappdir}/knetstats.desktop @@ -125,6 +126,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/knights/knights-3.5.13.2.spec b/redhat/applications/knights/knights-3.5.13.2.spec index be11af866..a203605a9 100644 --- a/redhat/applications/knights/knights-3.5.13.2.spec +++ b/redhat/applications/knights/knights-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,27 +24,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: A chess interface for the K Desktop Environment [Trinity] -Version: 0.6 -Release: 5%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: A chess interface for the K Desktop Environment [Trinity] +Version: 0.6 +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Amusements/Games +License: GPLv2+ +Group: Amusements/Games -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext Requires: gnuchess @@ -69,13 +72,7 @@ Here's a quick list of Knights' key features: %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -85,8 +82,8 @@ Here's a quick list of Knights' key features: %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +# Warning: --enable-final causes FTBFS %configure \ --prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \ @@ -95,8 +92,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --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} @@ -106,7 +108,8 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -%find_lang %{tdecomp} +%find_lang %{tde_pkg} + %clean %__rm -rf %{buildroot} @@ -121,7 +124,7 @@ touch --no-create %{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,-) %{tde_bindir}/knights %{tde_datadir}/applnk/Games/Board/knights.desktop @@ -132,6 +135,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/knowit/knowit-3.5.13.2.spec b/redhat/applications/knowit/knowit-3.5.13.2.spec index 8dbbf544d..4b8dd9f47 100644 --- a/redhat/applications/knowit/knowit-3.5.13.2.spec +++ b/redhat/applications/knowit/knowit-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,34 +24,36 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: Tool for managing notes [Trinity] -Version: 0.10 -Release: 3%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Tool for managing notes [Trinity] +Version: 0.10 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext %description KnowIt is a tool for managing notes which are organized in 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} @@ -59,13 +62,7 @@ but KDE-based, and requires Trinity. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -77,6 +74,7 @@ unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +# Warning: --enable-final causes FTBFS %configure \ --prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \ @@ -85,8 +83,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --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 ! %__make %{?_smp_mflags} @@ -102,7 +105,7 @@ export PATH="%{tde_bindir}:${PATH}" %__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 || : -%files -f %{tdecomp}.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %{tde_bindir}/knowit %{tde_tdeappdir}/knowit.desktop @@ -135,6 +138,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/knutclient/knutclient-3.5.13.2.spec b/redhat/applications/knutclient/knutclient-3.5.13.2.spec index 54843f70f..6be2584e8 100644 --- a/redhat/applications/knutclient/knutclient-3.5.13.2.spec +++ b/redhat/applications/knutclient/knutclient-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,28 +24,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: A KDE GUI that displays UPS statistics from NUT's upsd [Trinity] -Version: 0.9.5 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: A TDE GUI that displays UPS statistics from NUT's upsd [Trinity] +Version: 0.9.5 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.knut.noveradsl.cz/knutclient/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.knut.noveradsl.cz/knutclient/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils +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 %description @@ -60,13 +62,7 @@ stations using an UPS. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -76,7 +72,6 @@ stations using an UPS. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -86,9 +81,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -98,7 +97,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -%find_lang %{tdecomp} +%find_lang %{tde_pkg} %clean %__rm -rf %{buildroot} @@ -117,7 +116,7 @@ for f in hicolor locolor; do done -%files -f %{tdecomp}.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README TODO %{tde_bindir}/knutclient @@ -130,6 +129,9 @@ done %{tde_datadir}/icons/locolor/*/apps/*.png %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.2.spec b/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.2.spec index 023fafa5b..6492d4393 100644 --- a/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.2.spec +++ b/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.2.spec @@ -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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -20,516 +24,520 @@ %define _docdir %{tde_docdir} # Builds all supported languages (not unsupported ones) -%if "%{?KDE_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 +%if "%{?TDE_LANGS}" == "" +%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 -Name: trinity-koffice-i18n -Summary: Internationalization support for Trinity -Version: 1.6.3 -Release: 3%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Internationalization support for Trinity +Version: 1.6.3 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -License: GFDL -Group: User Interface/Desktops -BuildArch: noarch +License: GFDL +Group: User Interface/Desktops +BuildArch: noarch # Speed build options %define debug_package %{nil} %define __spec_install_post %{nil} 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: gettext BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 %description %{summary}. %package Bulgarian -Summary: Bulgarian(bg) language support for TDE -Group: User Interface/Desktops +Summary: Bulgarian(bg) language support for TDE +Group: User Interface/Desktops Provides: %{name}-bg = %{version}-%{release} %description Bulgarian %{summary}. %package Bengali -Summary: Bengali(bn) language support for TDE -Group: User Interface/Desktops +Summary: Bengali(bn) language support for TDE +Group: User Interface/Desktops Provides: %{name}-bn = %{version}-%{release} %description Bengali %{summary}. %package Tibetan -Summary: Tibetan(bo) language support for TDE -Group: User Interface/Desktops +Summary: Tibetan(bo) language support for TDE +Group: User Interface/Desktops Provides: %{name}-bo = %{version}-%{release} %description Tibetan %{summary}. %package Breton -Summary: Breton(br) language support for TDE -Group: User Interface/Desktops +Summary: Breton(br) language support for TDE +Group: User Interface/Desktops Provides: %{name}-br = %{version}-%{release} %description Breton %{summary}. %package Bosnian -Summary: Bosnian(bs) language support for TDE -Group: User Interface/Desktops +Summary: Bosnian(bs) language support for TDE +Group: User Interface/Desktops Provides: %{name}-bs = %{version}-%{release} %description Bosnian %{summary}. %package Catalan -Summary: Catalan(ca) language support for TDE -Group: User Interface/Desktops +Summary: Catalan(ca) language support for TDE +Group: User Interface/Desktops Provides: %{name}-ca = %{version}-%{release} %description Catalan %{summary}. %package Czech -Summary: Czech(cs) language support for TDE -Group: User Interface/Desktops +Summary: Czech(cs) language support for TDE +Group: User Interface/Desktops Provides: %{name}-cs = %{version}-%{release} %description Czech %{summary}. %package Cymraeg -Summary: Cymraeg language support for TDE -Group: User Interface/Desktops +Summary: Cymraeg language support for TDE +Group: User Interface/Desktops %description Cymraeg %{summary}. %package Welsh -Summary: Welsh(cy) language support for TDE -Group: User Interface/Desktops +Summary: Welsh(cy) language support for TDE +Group: User Interface/Desktops Provides: %{name}-cy = %{version}-%{release} %description Welsh %{summary}. %package Danish -Summary: Danish(da) language support for TDE -Group: User Interface/Desktops +Summary: Danish(da) language support for TDE +Group: User Interface/Desktops Provides: %{name}-da = %{version}-%{release} %description Danish %{summary}. %package German -Summary: German(de) language support for TDE -Group: User Interface/Desktops +Summary: German(de) language support for TDE +Group: User Interface/Desktops Provides: %{name}-de = %{version}-%{release} %description German %{summary}. %package Greek -Summary: Greek(el) language support for TDE -Group: User Interface/Desktops +Summary: Greek(el) language support for TDE +Group: User Interface/Desktops Provides: %{name}-el = %{version}-%{release} %description Greek %{summary}. %package British -Summary: British(en_GB) English support for TDE -Group: User Interface/Desktops +Summary: British(en_GB) English support for TDE +Group: User Interface/Desktops Provides: %{name}-en_GB = %{version}-%{release} %description British %{summary}. %package Esperanto -Summary: Esperanto(eo) support for TDE -Group: User Interface/Desktops +Summary: Esperanto(eo) support for TDE +Group: User Interface/Desktops Provides: %{name}-eo = %{version}-%{release} %description Esperanto %{summary}. %package Spanish -Summary: Spanish(es) language support for TDE -Group: User Interface/Desktops +Summary: Spanish(es) language support for TDE +Group: User Interface/Desktops Provides: %{name}-es = %{version}-%{release} %description Spanish %{summary}. %package Estonian -Summary: Estonian(et) language support for TDE -Group: User Interface/Desktops +Summary: Estonian(et) language support for TDE +Group: User Interface/Desktops Provides: %{name}-et = %{version}-%{release} %description Estonian %{summary}. %package Basque -Summary: Basque(eu) language support for TDE -Group: User Interface/Desktops +Summary: Basque(eu) language support for TDE +Group: User Interface/Desktops Provides: %{name}-eu = %{version}-%{release} %description Basque %{summary}. %package Finnish -Summary: Finnish(fi) language support for TDE -Group: User Interface/Desktops +Summary: Finnish(fi) language support for TDE +Group: User Interface/Desktops Provides: %{name}-fi = %{version}-%{release} %description Finnish %{summary}. %package Faroese -Summary: Faroese(fo) language support for TDE -Group: User Interface/Desktops +Summary: Faroese(fo) language support for TDE +Group: User Interface/Desktops Provides: %{name}-fo = %{version}-%{release} %description Faroese %{summary}. %package French -Summary: French(fr) language support for TDE -Group: User Interface/Desktops +Summary: French(fr) language support for TDE +Group: User Interface/Desktops Provides: %{name}-fr = %{version}-%{release} %description French %{summary}. %package Frisian -Summary: Frisian(fy) language support for TDE -Group: User Interface/Desktops +Summary: Frisian(fy) language support for TDE +Group: User Interface/Desktops Provides: %{name}-fy = %{version}-%{release} %description Frisian %{summary}. %package Irish -Summary: Irish(ga) language support for TDE -Group: User Interface/Desktops +Summary: Irish(ga) language support for TDE +Group: User Interface/Desktops Obsoletes: kde-i18n-Gaeilge < %{version} Provides: %{name}-ga = %{version}-%{release} %description Irish %{summary}. %package Galician -Summary: Galician(gl) language support for TDE -Group: User Interface/Desktops +Summary: Galician(gl) language support for TDE +Group: User Interface/Desktops Provides: %{name}-gl = %{version}-%{release} %description Galician %{summary}. %package Hebrew -Summary: Hebrew(he) language support for TDE -Group: User Interface/Desktops +Summary: Hebrew(he) language support for TDE +Group: User Interface/Desktops Provides: %{name}-he = %{version}-%{release} %description Hebrew %{summary}. %package Hindi -Summary: Hindi(hi) language support for TDE -Group: User Interface/Desktops +Summary: Hindi(hi) language support for TDE +Group: User Interface/Desktops Provides: %{name}-hi = %{version}-%{release} %description Hindi %{summary}. %package Croatian -Summary: Croatian(hr) language support for TDE -Group: User Interface/Desktops +Summary: Croatian(hr) language support for TDE +Group: User Interface/Desktops Provides: %{name}-hr = %{version}-%{release} %description Croatian %{summary}. %package Hungarian -Summary: Hungarian(hu) language support for TDE -Group: User Interface/Desktops +Summary: Hungarian(hu) language support for TDE +Group: User Interface/Desktops Provides: %{name}-hu = %{version}-%{release} %description Hungarian %{summary}. %package Indonesian -Summary: Indonesian(id) language support for TDE -Group: User Interface/Desktops +Summary: Indonesian(id) language support for TDE +Group: User Interface/Desktops Provides: %{name}-id = %{version}-%{release} %description Indonesian %{summary}. %package Icelandic -Summary: Icelandic(is) language support for TDE -Group: User Interface/Desktops +Summary: Icelandic(is) language support for TDE +Group: User Interface/Desktops Provides: %{name}-is = %{version}-%{release} %description Icelandic %{summary}. %package Italian -Summary: Italian(it) language support for TDE -Group: User Interface/Desktops +Summary: Italian(it) language support for TDE +Group: User Interface/Desktops Provides: %{name}-it = %{version}-%{release} %description Italian %{summary}. %package Japanese -Summary: Japanese(ja) language support for TDE -Group: User Interface/Desktops +Summary: Japanese(ja) language support for TDE +Group: User Interface/Desktops Provides: %{name}-ja = %{version}-%{release} %description Japanese %{summary}. %package Khmer -Summary: Khmer(km) language support for TDE -Group: User Interface/Desktops +Summary: Khmer(km) language support for TDE +Group: User Interface/Desktops Provides: %{name}-km = %{version}-%{release} %description Khmer %{summary}. %package Korean -Summary: Korean(ko) language support for TDE -Group: User Interface/Desktops +Summary: Korean(ko) language support for TDE +Group: User Interface/Desktops Provides: %{name}-ko = %{version}-%{release} %description Korean %{summary}. %package Kurdish -Summary: Kurdish(ku) language support for TDE -Group: User Interface/Desktops +Summary: Kurdish(ku) language support for TDE +Group: User Interface/Desktops Provides: %{name}-ku = %{version}-%{release} %description Kurdish %{summary}. %package Lao -Summary: Lao(lo) language support for TDE -Group: User Interface/Desktops +Summary: Lao(lo) language support for TDE +Group: User Interface/Desktops Provides: %{name}-lo = %{version}-%{release} %description Lao %{summary}. %package Lithuanian -Summary: Lithuanian(lt) language support for TDE -Group: User Interface/Desktops +Summary: Lithuanian(lt) language support for TDE +Group: User Interface/Desktops Provides: %{name}-lt = %{version}-%{release} %description Lithuanian %{summary}. %package Latvian -Summary: Latvian(lv) language support for TDE -Group: User Interface/Desktops +Summary: Latvian(lv) language support for TDE +Group: User Interface/Desktops Provides: %{name}-lv = %{version}-%{release} %description Latvian %{summary}. %package Maori -Summary: Maori(mi) language support for TDE -Group: User Interface/Desktops +Summary: Maori(mi) language support for TDE +Group: User Interface/Desktops Provides: %{name}-mi = %{version}-%{release} %description Maori %{summary}. %package Macedonian -Summary: Macedonian(mk) language support for TDE -Group: User Interface/Desktops +Summary: Macedonian(mk) language support for TDE +Group: User Interface/Desktops Provides: %{name}-mk = %{version}-%{release} %description Macedonian %{summary}. %package Malay -Summary: Malay(ms) language support for TDE -Group: User Interface/Desktops +Summary: Malay(ms) language support for TDE +Group: User Interface/Desktops Provides: %{name}-ms = %{version}-%{release} %description Malay %{summary}. %package Maltese -Summary: Maltese(mt) language support for TDE -Group: User Interface/Desktops +Summary: Maltese(mt) language support for TDE +Group: User Interface/Desktops Provides: %{name}-mt = %{version}-%{release} %description Maltese %{summary}. %package LowSaxon -Summary: Low Saxon (nds) language support for TDE -Group: User Interface/Desktops +Summary: Low Saxon (nds) language support for TDE +Group: User Interface/Desktops Provides: %{name}-nds = %{version}-%{release} %description LowSaxon %{summary}. %package Nepali -Summary: Nepali(ne) language support for TDE -Group: User Interface/Desktops +Summary: Nepali(ne) language support for TDE +Group: User Interface/Desktops Provides: %{name}-ne = %{version}-%{release} %description Nepali %{summary}. %package Dutch -Summary: Dutch(nl) language support for TDE -Group: User Interface/Desktops +Summary: Dutch(nl) language support for TDE +Group: User Interface/Desktops Provides: %{name}-nl = %{version}-%{release} %description Dutch %{summary}. %package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for TDE -Group: User Interface/Desktops +Summary: Norwegian(no) (Bokmaal) language support for TDE +Group: User Interface/Desktops Provides: %{name}-no = %{version}-%{release} %description Norwegian %{summary}. %package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for TDE -Group: User Interface/Desktops +Summary: Norwegian(nn) (Nynorsk) language support for TDE +Group: User Interface/Desktops Provides: %{name}-nn = %{version}-%{release} %description Norwegian-Nynorsk %{summary}. %package Occitan -Summary: Occitan(oc) language support for TDE -Group: User Interface/Desktops +Summary: Occitan(oc) language support for TDE +Group: User Interface/Desktops Provides: %{name}-oc = %{version}-%{release} %description Occitan %{summary}. %package Polish -Summary: Polish(pl) language support for TDE -Group: User Interface/Desktops +Summary: Polish(pl) language support for TDE +Group: User Interface/Desktops Provides: %{name}-pl = %{version}-%{release} %description Polish %{summary}. %package Portuguese -Summary: Portuguese(pt) language support for TDE -Group: User Interface/Desktops +Summary: Portuguese(pt) language support for TDE +Group: User Interface/Desktops Provides: %{name}-pt = %{version}-%{release} %description Portuguese %{summary}. %package Punjabi -Summary: Punjabi(pa) language support for TDE -Group: User Interface/Desktops +Summary: Punjabi(pa) language support for TDE +Group: User Interface/Desktops Provides: %{name}-pa = %{version}-%{release} %description Punjabi %{summary}. %package Brazil -Summary: Brazil(pt_BR) Portuguese language support for TDE -Group: User Interface/Desktops +Summary: Brazil(pt_BR) Portuguese language support for TDE +Group: User Interface/Desktops Provides: %{name}-pt_BR = %{version}-%{release} %description Brazil %{summary}. %package Romanian -Summary: Romanian(ro) language support for TDE -Group: User Interface/Desktops +Summary: Romanian(ro) language support for TDE +Group: User Interface/Desktops Provides: %{name}-ro = %{version}-%{release} %description Romanian %{summary}. %package Russian -Summary: Russian(ru) language support for TDE -Group: User Interface/Desktops +Summary: Russian(ru) language support for TDE +Group: User Interface/Desktops Provides: %{name}-ru = %{version}-%{release} %description Russian %{summary}. %package Slovak -Summary: Slovak(sk) language support for TDE -Group: User Interface/Desktops +Summary: Slovak(sk) language support for TDE +Group: User Interface/Desktops Provides: %{name}-sk = %{version}-%{release} %description Slovak %{summary}. %package Slovenian -Summary: Slovenian(sl) language support for TDE -Group: User Interface/Desktops +Summary: Slovenian(sl) language support for TDE +Group: User Interface/Desktops Provides: %{name}-sl = %{version}-%{release} %description Slovenian %{summary}. %package Serbian -Summary: Serbian(sr) language support for TDE -Group: User Interface/Desktops +Summary: Serbian(sr) language support for TDE +Group: User Interface/Desktops Provides: %{name}-sr = %{version}-%{release} %description Serbian %{summary}. %package Swedish -Summary: Swedish(sv) language support for TDE -Group: User Interface/Desktops +Summary: Swedish(sv) language support for TDE +Group: User Interface/Desktops Provides: %{name}-sv = %{version}-%{release} %description Swedish %{summary}. %package Tamil -Summary: Tamil(ta) language support for TDE -Group: User Interface/Desktops +Summary: Tamil(ta) language support for TDE +Group: User Interface/Desktops Provides: %{name}-ta = %{version}-%{release} %description Tamil %{summary}. %package Tajik -Summary: Tajik(tg) language support for TDE -Group: User Interface/Desktops +Summary: Tajik(tg) language support for TDE +Group: User Interface/Desktops Provides: %{name}-tg = %{version}-%{release} %description Tajik %{summary}. %package Thai -Summary: Thai(th) language support for TDE -Group: User Interface/Desktops +Summary: Thai(th) language support for TDE +Group: User Interface/Desktops Provides: %{name}-th = %{version}-%{release} %description Thai %{summary}. %package Turkish -Summary: Turkish(tr) language support for TDE -Group: User Interface/Desktops +Summary: Turkish(tr) language support for TDE +Group: User Interface/Desktops Provides: %{name}-tr = %{version}-%{release} %description Turkish %{summary}. %package Ukrainian -Summary: Ukrainian(uk) language support for TDE -Group: User Interface/Desktops +Summary: Ukrainian(uk) language support for TDE +Group: User Interface/Desktops Provides: %{name}-uk = %{version}-%{release} %description Ukrainian %{summary}. %package Venda -Summary: Venda(ven) language support for TDE -Group: User Interface/Desktops +Summary: Venda(ven) language support for TDE +Group: User Interface/Desktops Provides: %{name}-ven = %{version}-%{release} %description Venda %{summary}. %package Vietnamese -Summary: Vietnamese(vi) language support for TDE -Group: User Interface/Desktops +Summary: Vietnamese(vi) language support for TDE +Group: User Interface/Desktops Provides: %{name}-vi = %{version}-%{release} %description Vietnamese %{summary}. %package Walloon -Summary: Walloon(wa) language support for TDE -Group: User Interface/Desktops +Summary: Walloon(wa) language support for TDE +Group: User Interface/Desktops Provides: %{name}-wa = %{version}-%{release} %description Walloon %{summary}. %package Xhosa -Summary: Xhosa(xh) (a Bantu language) support for TDE -Group: User Interface/Desktops +Summary: Xhosa(xh) (a Bantu language) support for TDE +Group: User Interface/Desktops Provides: %{name}-xh = %{version}-%{release} %description Xhosa %{summary}. %package Chinese -Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE -Group: User Interface/Desktops +Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE +Group: User Interface/Desktops Provides: %{name}-zh_CN = %{version}-%{release} %description Chinese %{summary}. %package Chinese-Big5 -Summary: Chinese(zh_TW) (Big5) language support for TDE -Group: User Interface/Desktops +Summary: Chinese(zh_TW) (Big5) language support for TDE +Group: User Interface/Desktops Provides: %{name}-tz_TW = %{version}-%{release} %description Chinese-Big5 %{summary}. @@ -537,13 +545,7 @@ Provides: %{name}-tz_TW = %{version}-%{release} %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -555,7 +557,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" 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 if [ -d "${f}" ]; then pushd ${f} @@ -575,7 +577,7 @@ done %__rm -rf %{?buildroot} export PATH="%{tde_bindir}:${PATH}" -for l in %{KDE_LANGS}; do +for l in %{TDE_LANGS}; do for f in koffice-i18n-${l}/; do if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then %__make install DESTDIR="%{?buildroot}" -C "${f}" @@ -622,61 +624,61 @@ find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; %clean %__rm -rf %{buildroot} -%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w af <<< '%{TDE_LANGS}' )" != "" %files Afrikaans %defattr(-,root,root,-) %lang(af) %{tde_datadir}/locale/af/* %endif -%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w ar <<< '%{TDE_LANGS}' )" != "" %files Arabic %defattr(-,root,root,-) %lang(ar) %{tde_datadir}/locale/ar/* %endif -%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w az <<< '%{TDE_LANGS}' )" != "" %files Azerbaijani %defattr(-,root,root,-) %lang(az) %{tde_datadir}/locale/az/* %endif -%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w be <<< '%{TDE_LANGS}' )" != "" %files Belarusian %defattr(-,root,root,-) %lang(be) %{tde_datadir}/locale/be/* %endif -%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w bg <<< '%{TDE_LANGS}' )" != "" %files Bulgarian %defattr(-,root,root,-) %lang(bg) %{tde_datadir}/locale/bg/* %endif -%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w bn <<< '%{TDE_LANGS}' )" != "" %files Bengali %defattr(-,root,root,-) %lang(bn) %{tde_datadir}/locale/bn/* %endif -%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w bo <<< '%{TDE_LANGS}' )" != "" %files Tibetan %defattr(-,root,root,-) %lang(bo) %{tde_datadir}/locale/bo/* %endif -%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w br <<< '%{TDE_LANGS}' )" != "" %files Breton %defattr(-,root,root,-) %lang(br) %{tde_datadir}/locale/br/* %endif -%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w bs <<< '%{TDE_LANGS}' )" != "" %files Bosnian %defattr(-,root,root,-) %lang(bs) %{tde_datadir}/locale/bs/* %endif -%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w ca <<< '%{TDE_LANGS}' )" != "" %files Catalan %defattr(-,root,root,-) %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 %endif -%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w cs <<< '%{TDE_LANGS}' )" != "" %files Czech %defattr(-,root,root,-) %lang(cs) %{tde_datadir}/locale/cs/* %lang(cs) %{tde_datadir}/apps/koffice/autocorrect/cs.xml %endif -%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w cy <<< '%{TDE_LANGS}' )" != "" %files Welsh %defattr(-,root,root,-) %lang(cy) %{tde_datadir}/locale/cy/* %endif -%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w da <<< '%{TDE_LANGS}' )" != "" %files Danish %defattr(-,root,root,-) %lang(da) %{tde_datadir}/locale/da/* %lang(da) %{tde_tdedocdir}/HTML/da/ %endif -%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w de <<< '%{TDE_LANGS}' )" != "" %files German %defattr(-,root,root,-) %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 %endif -%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w el <<< '%{TDE_LANGS}' )" != "" %files Greek %defattr(-,root,root,-) %lang(el) %{tde_datadir}/locale/el/* %endif -%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w en_GB <<< '%{TDE_LANGS}' )" != "" %files British %defattr(-,root,root,-) %lang(en_GB) %{tde_datadir}/locale/en_GB/* %lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/ %endif -%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w eo <<< '%{TDE_LANGS}' )" != "" %files Esperanto %defattr(-,root,root,-) %lang(eo) %{tde_datadir}/locale/eo/* %endif -%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w es <<< '%{TDE_LANGS}' )" != "" %files Spanish %defattr(-,root,root,-) %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 %endif -%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w et <<< '%{TDE_LANGS}' )" != "" %files Estonian %defattr(-,root,root,-) %lang(et) %{tde_datadir}/locale/et/* %lang(et) %{tde_tdedocdir}/HTML/et/ %endif -%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w eu <<< '%{TDE_LANGS}' )" != "" %files Basque %defattr(-,root,root,-) %lang(eu) %{tde_datadir}/locale/eu/* %endif -%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w fa <<< '%{TDE_LANGS}' )" != "" %files Farsi %defattr(-,root,root,-) %lang(fa) %{tde_datadir}/locale/fa/* %endif -%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w fi <<< '%{TDE_LANGS}' )" != "" %files Finnish %defattr(-,root,root,-) %lang(fi) %{tde_datadir}/locale/fi/* %endif -%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w fo <<< '%{TDE_LANGS}' )" != "" %files Faroese %defattr(-,root,root,-) %lang(fo) %{tde_datadir}/locale/fo/* %endif -%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w fr <<< '%{TDE_LANGS}' )" != "" %files French %defattr(-,root,root,-) %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 %endif -%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w fy <<< '%{TDE_LANGS}' )" != "" %files Frisian %defattr(-,root,root,-) %lang(fy) %{tde_datadir}/locale/fy/* %endif -%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w ga <<< '%{TDE_LANGS}' )" != "" %files Irish %defattr(-,root,root,-) %lang(ga) %{tde_datadir}/locale/ga/* %endif -%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w gl <<< '%{TDE_LANGS}' )" != "" %files Galician %defattr(-,root,root,-) %lang(gl) %{tde_datadir}/locale/gl/* %endif -%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w he <<< '%{TDE_LANGS}' )" != "" %files Hebrew %defattr(-,root,root,-) %lang(he) %{tde_datadir}/locale/he/* %endif -%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w hi <<< '%{TDE_LANGS}' )" != "" %files Hindi %defattr(-,root,root,-) %lang(hi) %{tde_datadir}/locale/hi/* %endif -%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w hr <<< '%{TDE_LANGS}' )" != "" %files Croatian %defattr(-,root,root,-) %lang(hr) %{tde_datadir}/locale/hr/* %endif -%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w hu <<< '%{TDE_LANGS}' )" != "" %files Hungarian %defattr(-,root,root,-) %lang(hu) %{tde_datadir}/locale/hu/* %lang(hu) %{tde_datadir}/apps/koffice/autocorrect/hu.xml %endif -%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w id <<< '%{TDE_LANGS}' )" != "" %files Indonesian %defattr(-,root,root,-) %lang(id) %{tde_datadir}/locale/id/* %endif -%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w is <<< '%{TDE_LANGS}' )" != "" %files Icelandic %defattr(-,root,root,-) %lang(is) %{tde_datadir}/locale/is/* %endif -%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w it <<< '%{TDE_LANGS}' )" != "" %files Italian %defattr(-,root,root,-) %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 %endif -%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w ja <<< '%{TDE_LANGS}' )" != "" %files Japanese %defattr(-,root,root,-) %lang(ja) %{tde_datadir}/locale/ja/* %endif -%if "%( grep -w km <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w km <<< '%{TDE_LANGS}' )" != "" %files Khmer %defattr(-,root,root,-) %lang(km) %{tde_datadir}/locale/km/* %endif -%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w ko <<< '%{TDE_LANGS}' )" != "" %files Korean %defattr(-,root,root,-) %lang(ko) %{tde_datadir}/locale/ko/* %endif -%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w ku <<< '%{TDE_LANGS}' )" != "" %files Kurdish %defattr(-,root,root,-) %lang(ku) %{tde_datadir}/locale/ku/* %endif -%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w lao <<< '%{TDE_LANGS}' )" != "" %files Lao %defattr(-,root,root,-) %lang(lo) %{tde_datadir}/locale/lo/* %endif -%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w lt <<< '%{TDE_LANGS}' )" != "" %files Lithuanian %defattr(-,root,root,-) %lang(lt) %{tde_datadir}/locale/lt/* %endif -%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w lv <<< '%{TDE_LANGS}' )" != "" %files Latvian %defattr(-,root,root,-) %lang(lv) %{tde_datadir}/locale/lv/* %endif -%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w mi <<< '%{TDE_LANGS}' )" != "" %files Maori %defattr(-,root,root,-) %lang(mi) %{tde_datadir}/locale/mi/* %endif -%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w mk <<< '%{TDE_LANGS}' )" != "" %files Macedonian %defattr(-,root,root,-) %lang(mk) %{tde_datadir}/locale/mk/* %endif -%if "%( grep -w ms <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w ms <<< '%{TDE_LANGS}' )" != "" %files Malay %defattr(-,root,root,-) %lang(ms) %{tde_datadir}/locale/ms/* %endif -%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w mt <<< '%{TDE_LANGS}' )" != "" %files Maltese %defattr(-,root,root,-) %lang(mt) %{tde_datadir}/locale/mt/* %endif -%if "%( grep -w nds <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w nds <<< '%{TDE_LANGS}' )" != "" %files LowSaxon %defattr(-,root,root,-) %lang(nds) %{tde_datadir}/locale/nds/* %endif -%if "%( grep -w ne <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w ne <<< '%{TDE_LANGS}' )" != "" %files Nepali %defattr(-,root,root,-) %lang(ne) %{tde_datadir}/locale/ne/* %endif -%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w nl <<< '%{TDE_LANGS}' )" != "" %files Dutch %defattr(-,root,root,-) %lang(nl) %{tde_datadir}/locale/nl/* %lang(nl) %{tde_tdedocdir}/HTML/nl/ %endif -%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w nb <<< '%{TDE_LANGS}' )" != "" %files Norwegian %defattr(-,root,root,-) %lang(nb) %{tde_datadir}/locale/nb/* %endif -%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w nn <<< '%{TDE_LANGS}' )" != "" %files Norwegian-Nynorsk %defattr(-,root,root,-) %lang(nn) %{tde_datadir}/locale/nn/* %endif -%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w oc <<< '%{TDE_LANGS}' )" != "" %files Occitan %defattr(-,root,root,-) %lang(oc) %{tde_datadir}/locale/oc/* %endif -%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w pa <<< '%{TDE_LANGS}' )" != "" %files Punjabi %defattr(-,root,root,-) %lang(pa) %{tde_datadir}/locale/pa/* %endif -%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w pl <<< '%{TDE_LANGS}' )" != "" %files Polish %defattr(-,root,root,-) %lang(pl) %{tde_datadir}/locale/pl/* %endif -%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w pt <<< '%{TDE_LANGS}' )" != "" %files Portuguese %defattr(-,root,root,-) %lang(pt) %{tde_datadir}/locale/pt/* %lang(pt) %{tde_tdedocdir}/HTML/pt/ %endif -%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w pt_BR <<< '%{TDE_LANGS}' )" != "" %files Brazil %defattr(-,root,root,-) %lang(pt_BR) %{tde_datadir}/locale/pt_BR/* %lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/ %endif -%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w ro <<< '%{TDE_LANGS}' )" != "" %files Romanian %defattr(-,root,root,-) %lang(ro) %{tde_datadir}/locale/ro/* %endif -%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w ru <<< '%{TDE_LANGS}' )" != "" %files Russian %defattr(-,root,root,-) %lang(ru) %{tde_datadir}/locale/ru/* %lang(ru) %{tde_tdedocdir}/HTML/ru/ %endif -%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w sk <<< '%{TDE_LANGS}' )" != "" %files Slovak %defattr(-,root,root,-) %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 %endif -%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w sl <<< '%{TDE_LANGS}' )" != "" %files Slovenian %defattr(-,root,root,-) %lang(sl) %{tde_datadir}/locale/sl/* %lang(sl) %{tde_tdedocdir}/HTML/sl/ %endif -%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w sr <<< '%{TDE_LANGS}' )" != "" %files Serbian %defattr(-,root,root,-) %lang(sr) %{tde_datadir}/locale/sr/* %endif -%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w sv <<< '%{TDE_LANGS}' )" != "" %files Swedish %defattr(-,root,root,-) %lang(sv) %{tde_datadir}/locale/sv/* %lang(sv) %{tde_tdedocdir}/HTML/sv/ %endif -%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w ta <<< '%{TDE_LANGS}' )" != "" %files Tamil %defattr(-,root,root,-) %lang(ta) %{tde_datadir}/locale/ta/* %endif -%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w tg <<< '%{TDE_LANGS}' )" != "" %files Tajik %defattr(-,root,root,-) %lang(tg) %{tde_datadir}/locale/tg/* %endif -%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w th <<< '%{TDE_LANGS}' )" != "" %files Thai %defattr(-,root,root,-) %lang(th) %{tde_datadir}/locale/th/* %endif -%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w tr <<< '%{TDE_LANGS}' )" != "" %files Turkish %defattr(-,root,root,-) %lang(tr) %{tde_datadir}/locale/tr/* %endif -%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w uk <<< '%{TDE_LANGS}' )" != "" %files Ukrainian %defattr(-,root,root,-) %lang(uk) %{tde_datadir}/locale/uk/* %endif -%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w ven <<< '%{TDE_LANGS}' )" != "" %files Venda %defattr(-,root,root,-) %lang(ven) %{tde_datadir}/locale/ven/* %endif -%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w vi <<< '%{TDE_LANGS}' )" != "" %files Vietnamese %defattr(-,root,root,-) %lang(vi) %{tde_datadir}/locale/vi/* %endif -%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w wa <<< '%{TDE_LANGS}' )" != "" %files Walloon %defattr(-,root,root,-) %lang(wa) %{tde_datadir}/locale/wa/* %endif -%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w xh <<< '%{TDE_LANGS}' )" != "" %files Xhosa %defattr(-,root,root,-) %lang(xh) %{tde_datadir}/locale/xh/* %endif -%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w zh_CN <<< '%{TDE_LANGS}' )" != "" %files Chinese %defattr(-,root,root,-) %lang(zh_CN) %{tde_datadir}/locale/zh_CN/* %endif -%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" +%if "%( grep -w zh_TW <<< '%{TDE_LANGS}' )" != "" %files Chinese-Big5 %defattr(-,root,root,-) %lang(zh_TW) %{tde_datadir}/locale/zh_TW/* %endif %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/koffice/koffice-3.5.13.2.spec b/redhat/applications/koffice/koffice-3.5.13.2.spec index e942636bf..5e23a4fe8 100644 --- a/redhat/applications/koffice/koffice-3.5.13.2.spec +++ b/redhat/applications/koffice/koffice-3.5.13.2.spec @@ -41,7 +41,7 @@ Name: trinity-%{tde_pkg} Summary: An integrated office suite Version: 1.6.3 -Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:9}%{?preversion:8_%{preversion}}%{?dist}%{?_variant} Group: Applications/Productivity License: GPLv2+ @@ -55,9 +55,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Patch1: koffice-3.5.13.2-fix_kformula_ftbfs.patch # 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-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + BuildRequires: trinity-tdegraphics-devel >= %{tde_version} BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel >= %{tde_version} BuildRequires: automake libtool @@ -72,7 +78,6 @@ BuildRequires: python-devel BuildRequires: pcre-devel BuildRequires: gettext-devel BuildRequires: mysql-devel -BuildRequires: desktop-file-utils BuildRequires: perl BuildRequires: doxygen BuildRequires: aspell-devel @@ -140,6 +145,7 @@ BuildRequires: libutempter-devel # Requires 'libpqxx', for kexi-driver-pgqsl %if 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} %define with_postgresql 1 +BuildRequires: postgresql-devel BuildRequires: libpqxx-devel %endif Obsoletes: trinity-libpqxx @@ -230,7 +236,6 @@ Summary: Core support files for %{name} Group: Applications/Productivity Requires: %{name}-libs = %{version}-%{release} Requires: perl -Conflicts: koffice-i18n < %{version} %description core %{summary}. @@ -1055,8 +1060,9 @@ This package is part of the TDE Office Suite. %prep %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/ %endif @@ -1066,12 +1072,6 @@ This package is part of the TDE Office Suite. -e 's|dejavu sans|dejavu lgc sans|' \ 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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -1080,7 +1080,6 @@ This package is part of the TDE Office Suite. %build unset QTDIR || : ; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" export KDEDIR="%{tde_prefix}" @@ -1097,26 +1096,34 @@ export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath --disable-dependency-tracking \ + \ + --disable-dependency-tracking \ --disable-debug \ --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --with-pic --enable-shared --disable-static \ - --with-extra-libs=%{tde_libdir} \ --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/arts \ --enable-closure \ + --enable-rpath \ + \ + --with-extra-libs=%{tde_libdir} \ + --with-extra-includes=%{tde_includedir}/arts \ + \ --disable-kexi-macros \ %{?with_kross:--enable-scripting} %{!?with_kross:--disable-scripting} \ %{?with_postgresql:--enable-pgsql} %{!?with_postgresql:--disable-pgsql} \ -%__make %{?_smp_mflags} +%__make %{?_smp_mflags} || %__make %install %__rm -rf %{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 pushd %{buildroot}%{tde_tdedocdir}/HTML @@ -1131,20 +1138,6 @@ for lang in *; do done 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 # fonts @@ -1174,6 +1167,9 @@ rm -f %{buildroot}%{tde_libdir}/libkugar*.so %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/konversation/konversation-3.5.13.2.spec b/redhat/applications/konversation/konversation-3.5.13.2.spec index ac7cce336..8043497d9 100644 --- a/redhat/applications/konversation/konversation-3.5.13.2.spec +++ b/redhat/applications/konversation/konversation-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,28 +24,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: user friendly Internet Relay Chat (IRC) client for KDE [Trinity] -Version: 1.1 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: user friendly Internet Relay Chat (IRC) client for TDE [Trinity] +Version: 1.1 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-arts-devel >= 3.5.13.2 -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: gettext BuildRequires: libxslt-devel @@ -90,13 +92,7 @@ and experienced users alike will appreciate its many features: %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -106,7 +102,6 @@ and experienced users alike will appreciate its many features: %build unset QTDIR || : ; source /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -116,9 +111,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -128,7 +127,8 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -%find_lang %{tdecomp} +%find_lang %{tde_pkg} + %clean %__rm -rf %{buildroot} @@ -143,7 +143,7 @@ touch --no-create %{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,-) %doc AUTHORS COPYING %{tde_bindir}/konversation @@ -177,6 +177,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kopete-otr/kopete-otr-3.5.13.2.spec b/redhat/applications/kopete-otr/kopete-otr-3.5.13.2.spec index d0f676d0a..74b353a6e 100644 --- a/redhat/applications/kopete-otr/kopete-otr-3.5.13.2.spec +++ b/redhat/applications/kopete-otr/kopete-otr-3.5.13.2.spec @@ -1,5 +1,6 @@ # 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' %define _disable_ld_no_undefined 1 @@ -11,7 +12,7 @@ %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -28,31 +29,33 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: Off-The-Record encryption for Kopete [Trinity] -Version: 0.7 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Off-The-Record encryption for Kopete [Trinity] +Version: 0.7 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: trinity-tdenetwork-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: trinity-tdenetwork-devel >= %{tde_version} + # Kopete is provided by kdenetwork -Requires: trinity-kopete >= 3.5.13.2 +Requires: trinity-kopete >= %{tde_version} %if 0%{?suse_version} >= 1230 BuildRequires: libotr2-devel %else @@ -60,7 +63,7 @@ BuildRequires: libotr-devel %endif %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 users with IM-Cients supporting the OTR encryption method. @@ -71,13 +74,7 @@ users with IM-Cients supporting the OTR encryption method. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -87,7 +84,6 @@ users with IM-Cients supporting the OTR encryption method. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -97,12 +93,17 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath %__make %{_smp_mflags} + %install export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} @@ -113,6 +114,7 @@ export PATH="%{tde_bindir}:${PATH}" %find_lang kopete_otr + %clean %__rm -rf %{buildroot} @@ -147,6 +149,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kpicosim/kpicosim-3.5.13.2.spec b/redhat/applications/kpicosim/kpicosim-3.5.13.2.spec index 09d643b7f..2dc0c7831 100644 --- a/redhat/applications/kpicosim/kpicosim-3.5.13.2.spec +++ b/redhat/applications/kpicosim/kpicosim-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,33 +24,35 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: IDE and simulator for the Xilinx PicoBlaze-3 [Trinity] -Version: 0.6a -Release: 3%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: IDE and simulator for the Xilinx PicoBlaze-3 [Trinity] +Version: 0.6a +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext %description 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, 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 -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -78,6 +75,7 @@ unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +# Warning: --enable-final causes FTBFS %configure \ --prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \ @@ -86,8 +84,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --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 ! %__make %{?_smp_mflags} @@ -99,10 +102,6 @@ export PATH="%{tde_bindir}:${PATH}" %__make install DESTDIR=%{buildroot} -%find_lang %{tdecomp} || touch %{tdecomp}.lang - - - %clean %__rm -rf %{buildroot} @@ -116,7 +115,7 @@ touch --no-create %{tde_datadir}/icons/hicolor || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -%files -f %{tdecomp}.lang +%files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README %{tde_bindir}/kpicosim @@ -128,6 +127,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kpilot/kpilot-3.5.13.2.spec b/redhat/applications/kpilot/kpilot-3.5.13.2.spec index 2e5385bf5..6491fd244 100644 --- a/redhat/applications/kpilot/kpilot-3.5.13.2.spec +++ b/redhat/applications/kpilot/kpilot-3.5.13.2.spec @@ -27,7 +27,7 @@ Name: trinity-%{tde_pkg} Summary: TDE Palm Pilot hot-sync tool Version: 0.7 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ Group: Applications/Utilities @@ -43,11 +43,12 @@ 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: gettext +BuildRequires: gettext BuildRequires: pilot-link-devel BuildRequires: trinity-tdepim-devel >= %{tde_version} @@ -66,12 +67,6 @@ and synchronize the built-in applications with their TDE counterparts. %prep %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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -80,7 +75,6 @@ and synchronize the built-in applications with their TDE counterparts. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -96,9 +90,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --enable-new-ldflags \ --enable-final \ --enable-closure \ - --disable-rpath \ - \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} + --enable-rpath # SMP safe ! %__make %{?_smp_mflags} @@ -182,6 +174,9 @@ done %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 - Rebuild with NDEBUG option diff --git a/redhat/applications/kpowersave/kpowersave-3.5.13.2.spec b/redhat/applications/kpowersave/kpowersave-3.5.13.2.spec index 60f32e769..456078a83 100644 --- a/redhat/applications/kpowersave/kpowersave-3.5.13.2.spec +++ b/redhat/applications/kpowersave/kpowersave-3.5.13.2.spec @@ -1,13 +1,13 @@ # Default version for this component -%define tdecomp kpowersave -%define tdeversion 3.5.13.2 +%define tde_pkg kpowersave +%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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -24,30 +24,32 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Version: 0.7.3 -Release: 4%{?dist}%{?_variant} -Summary: HAL based power management applet for Trinityfiles or directories. +Name: trinity-%{tde_pkg} +Version: 0.7.3 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} +Summary: HAL based power management applet for Trinityfiles or directories. -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: hal-devel -BuildRequires: trinity-dbus-tqt-devel +BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 %description @@ -87,12 +89,11 @@ settings for: %prep -%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %build unset QTDIR || : ; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" - export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} @@ -101,12 +102,21 @@ cd build %endif %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} \ -DBIN_INSTALL_DIR=%{tde_bindir} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ + \ + -DBUILD_ALL=ON \ .. %__make %{?_smp_mflags} @@ -151,6 +161,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %{tde_datadir}/config/kpowersaverc %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/krename/krename-3.5.13.2.spec b/redhat/applications/krename/krename-3.5.13.2.spec index 33048ac5e..c3e967f63 100644 --- a/redhat/applications/krename/krename-3.5.13.2.spec +++ b/redhat/applications/krename/krename-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,28 +24,30 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: A TDE batch file renaming utility. -Version: 3.0.14 -Release: 6%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: A TDE batch file renaming utility. +Version: 3.0.14 +Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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 + %description 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, @@ -57,13 +60,7 @@ or Exif informations of an image. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -73,7 +70,6 @@ or Exif informations of an image. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -83,9 +79,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -95,7 +95,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -%find_lang %{tdecomp} +%find_lang %{tde_pkg} %clean @@ -116,7 +116,7 @@ for f in hicolor locolor ; do done update-desktop-database %{tde_appdir} &> /dev/null -%files -f %{tdecomp}.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING %{tde_bindir}/krename @@ -130,6 +130,9 @@ update-desktop-database %{tde_appdir} &> /dev/null %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/krusader/krusader-3.5.13.2.spec b/redhat/applications/krusader/krusader-3.5.13.2.spec index 49967cddc..cf43135d4 100644 --- a/redhat/applications/krusader/krusader-3.5.13.2.spec +++ b/redhat/applications/krusader/krusader-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,29 +24,33 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: twin-panel (commander-style) file manager for KDE (and other desktops) -Version: 1.90.0 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: twin-panel (commander-style) file manager for TDE (and other desktops) +Version: 1.90.0 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: trinity-tdebindings-devel >= 3.5.13.2 +Patch0: krusader-3.5.13.2-ftbfs.patch + +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: trinity-tdebindings-devel >= %{tde_version} + %description Krusader is a simple, easy, powerful, twin-panel (commander-style) file @@ -73,13 +78,8 @@ great on your desktop. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} +%patch0 -p1 -b .ftbfs %__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" @@ -89,8 +89,8 @@ great on your desktop. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +# Warning: --enable-final causes FTBFS %configure \ --prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \ @@ -99,8 +99,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --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} @@ -110,7 +115,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -%find_lang %{tdecomp} +%find_lang %{tde_pkg} %clean %__rm -rf %{buildroot} @@ -131,7 +136,7 @@ for f in crystalsvg locolor ; do done -%files -f %{tdecomp}.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING FAQ README TODO %{tde_bindir}/krusader @@ -152,6 +157,9 @@ done %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.2.spec b/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.2.spec index 60daa21ec..207ac815b 100644 --- a/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.2.spec +++ b/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,27 +24,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: fading splash screen engine for Trinity -Version: 0.4.2 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: fading splash screen engine for Trinity +Version: 0.4.2 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext @@ -71,13 +74,7 @@ Homepage: http://moodwrod.com %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -87,7 +84,6 @@ Homepage: http://moodwrod.com %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -97,8 +93,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --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} @@ -123,6 +124,9 @@ export PATH="%{tde_bindir}:${PATH}" %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/ksquirrel/ksquirrel-3.5.13.2.spec b/redhat/applications/ksquirrel/ksquirrel-3.5.13.2.spec index 5a9e16495..733644295 100644 --- a/redhat/applications/ksquirrel/ksquirrel-3.5.13.2.spec +++ b/redhat/applications/ksquirrel/ksquirrel-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,29 +24,30 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: Powerful Trinity image viewer -Version: 0.8.0 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Powerful Trinity image viewer +Version: 0.8.0 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Amusements/Games +License: GPLv2+ +Group: Amusements/Games -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext +BuildRequires: gettext BuildRequires: trinity-libkipi-devel BuildRequires: trinity-libksquirrel-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 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. @@ -65,13 +67,7 @@ OpenGL and dynamic format support. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -81,13 +77,13 @@ OpenGL and dynamic format support. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" # Specific path for RHEL4 if [ -d /usr/X11R6 ]; then export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" fi +# Warning: --enable-final causes FTBFS %configure \ --prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \ @@ -96,8 +92,13 @@ fi --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --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} @@ -107,7 +108,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -%find_lang %{tdecomp} +%find_lang %{tde_pkg} %clean %__rm -rf %{buildroot} @@ -124,7 +125,7 @@ touch --no-create %{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,-) %doc AUTHORS ChangeLog COPYING LICENSE LICENSE.GFDL LICENSE.LGPL README TODO %{tde_bindir}/ksquirrel @@ -148,6 +149,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %{tde_mandir}/man1/ksquirrel.1 %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kstreamripper/kstreamripper-3.5.13.2.spec b/redhat/applications/kstreamripper/kstreamripper-3.5.13.2.spec index 3ed53876f..5e54222d0 100644 --- a/redhat/applications/kstreamripper/kstreamripper-3.5.13.2.spec +++ b/redhat/applications/kstreamripper/kstreamripper-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,29 +24,30 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: TDE frontend for streamripper +Name: trinity-%{tde_pkg} +Summary: TDE frontend for streamripper -Version: 0.3.4 -Release: 3%{?dist}%{?_variant} +Version: 0.3.4 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-arts-devel >= 3.5.13.2 -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: scons @@ -62,17 +64,14 @@ you with managing/ripping your preferred streams. %prep -%setup -q -n %{name}-3.5.13.2 +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__sed -i kde.py \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ -e "s|include/kde|include/tde|g" %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - scons -Q -j4 \ qtlibs=${QTLIB:-${QTDIR}/%{_lib}} @@ -84,31 +83,10 @@ export PATH="%{tde_bindir}:${PATH}" %__make install DESTDIR=%{buildroot} - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - %clean %__rm -rf %{buildroot} - %files %defattr(-,root,root,-) %{tde_bindir}/kstreamripper @@ -119,6 +97,9 @@ fi %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/ksystemlog/ksystemlog-3.5.13.2.spec b/redhat/applications/ksystemlog/ksystemlog-3.5.13.2.spec index af4ac36f6..bbf8a68bc 100644 --- a/redhat/applications/ksystemlog/ksystemlog-3.5.13.2.spec +++ b/redhat/applications/ksystemlog/ksystemlog-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,28 +24,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: system log viewer tool for Trinity -Version: 0.3.2 -Release: 3%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: system log viewer tool for Trinity +Version: 0.3.2 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/System +License: GPLv2+ +Group: Applications/System -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://ksystemlog.forum-software.org +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://ksystemlog.forum-software.org -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils +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 %description @@ -62,13 +64,7 @@ quickly see problems occuring on their server. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -78,7 +74,6 @@ quickly see problems occuring on their server. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -88,9 +83,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -126,6 +125,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/ktechlab/ktechlab-3.5.13.2.spec b/redhat/applications/ktechlab/ktechlab-3.5.13.2.spec index cf1dcb302..95b225c77 100644 --- a/redhat/applications/ktechlab/ktechlab-3.5.13.2.spec +++ b/redhat/applications/ktechlab/ktechlab-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,27 +24,31 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: circuit simulator for microcontrollers and electronics [Trinity] -Version: 0.3 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: circuit simulator for microcontrollers and electronics [Trinity] +Version: 0.3 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +Patch0: ktechlab-3.5.13.2-ftbfs.patch + +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: gettext @@ -61,13 +66,8 @@ Homepage: http://ktechlab.org/ %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} +%patch0 -p1 -b .ftbfs %__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" @@ -77,8 +77,8 @@ Homepage: http://ktechlab.org/ %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +# Warning: --enable-final causes FTBFS %configure \ --prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \ @@ -87,8 +87,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --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} @@ -98,7 +103,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -%find_lang %{tdecomp} +%find_lang %{tde_pkg} %clean %__rm -rf %{buildroot} @@ -113,7 +118,7 @@ touch --no-create %{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,-) %{tde_bindir}/ktechlab %{tde_bindir}/microbe @@ -130,6 +135,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/ktorrent/ktorrent-3.5.13.2.spec b/redhat/applications/ktorrent/ktorrent-3.5.13.2.spec index b4e302a1e..b4c76217d 100644 --- a/redhat/applications/ktorrent/ktorrent-3.5.13.2.spec +++ b/redhat/applications/ktorrent/ktorrent-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,30 +24,47 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: BitTorrent client for Trinity -Version: 2.2.8 -Release: 3%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: BitTorrent client for Trinity +Version: 2.2.8 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://ktorrent.org +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://ktorrent.org -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: 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 KTorrent is a BitTorrent program for Trinity. Its features include speed capping @@ -61,13 +79,7 @@ enabling background downloading. %prep -%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 "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -77,7 +89,6 @@ enabling background downloading. %build unset QTDIR; . "/etc/profile.d/qt3.sh" export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix="%{tde_prefix}" \ @@ -87,8 +98,15 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir="%{tde_libdir}" \ --mandir="%{tde_mandir}" \ --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 ! @@ -100,7 +118,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf "%{buildroot}" %__make install DESTDIR="%{buildroot}" -%find_lang %{tdecomp} +%find_lang %{tde_pkg} # Unwanted files %__rm -f "%{?buildroot}%{tde_libdir}/libktorrent.so" @@ -123,7 +141,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : /sbin/ldconfig || : -%files -f %{tdecomp}.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %{tde_bindir}/ktcachecheck %{tde_bindir}/ktorrent @@ -162,8 +180,16 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %{tde_datadir}/services/*.desktop %{tde_datadir}/servicetypes/ktorrentplugin.desktop +%if 0%{?with_avahi} +%{tde_tdelibdir}/ktzeroconfplugin.la +%{tde_tdelibdir}/ktzeroconfplugin.so +%endif + %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kuickshow/kuickshow-3.5.13.2.spec b/redhat/applications/kuickshow/kuickshow-3.5.13.2.spec index daea3460d..9e08d202f 100644 --- a/redhat/applications/kuickshow/kuickshow-3.5.13.2.spec +++ b/redhat/applications/kuickshow/kuickshow-3.5.13.2.spec @@ -27,7 +27,7 @@ Name: trinity-%{tde_pkg} Summary: Quick picture viewer for TDE Version: 0.8.13 -Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ Group: Applications/Utilities @@ -41,6 +41,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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 @@ -66,12 +67,6 @@ Clicking on an image shows the image in its normal size. %prep %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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -80,7 +75,6 @@ Clicking on an image shows the image in its normal size. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -93,12 +87,10 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" \ --disable-dependency-tracking \ --disable-debug \ - --enable-new-ldflags \ --enable-final \ + --enable-new-ldflags \ --enable-closure \ - --disable-rpath \ - \ - --with-extra-includes=%{tde_includedir}/tqt + --enable-rpath %__make %{?_smp_mflags} @@ -126,18 +118,21 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %files %defattr(-,root,root,-) %doc AUTHORS COPYING -%{tde_bindir}/* +%{tde_bindir}/kuickshow %{tde_datadir}/applications/*/*.desktop -%{tde_datadir}/apps/*/ +%{tde_datadir}/apps/kuickshow/ %{tde_datadir}/icons/hicolor/*/*/* -%{tde_libdir}/lib[kt]deinit_%{tde_pkg}.so +%{tde_libdir}/libkdeinit_%{tde_pkg}.so %{tde_libdir}/*.la %{tde_tdelibdir}/*.so %{tde_tdelibdir}/*.la -%{tde_tdedocdir}/HTML/en/*/ +%{tde_tdedocdir}/HTML/en/kuickshow/ %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 - Rebuild with NDEBUG option diff --git a/redhat/applications/kvirc/kvirc-3.5.13.2.spec b/redhat/applications/kvirc/kvirc-3.5.13.2.spec index 44c8a3598..8fa752273 100644 --- a/redhat/applications/kvirc/kvirc-3.5.13.2.spec +++ b/redhat/applications/kvirc/kvirc-3.5.13.2.spec @@ -1,14 +1,15 @@ # REMOVE KDELIBS4-DEVEL before building !!!! # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -25,50 +26,53 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: Trinity based next generation IRC client with module support -Version: 3.4.0 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Trinity based next generation IRC client with module support +Version: 3.4.0 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://kvirc.net/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://kvirc.net/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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] -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] -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-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: gettext -Requires: %{name}-data = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} %description A highly configurable graphical IRC client with an MDI interface, built-in scripting language, support for IRC DCC, drag & drop file -browsing, and much more. KVIrc uses the KDE widget set, can be extended -using its own scripting language, integrates with KDE, and supports +browsing, and much more. KVIrc uses the TDE widget set, can be extended +using its own scripting language, integrates with TDE, and supports custom plugins. If you are a developer and you want to write a custom module for KVIrc, you need to install the kvirc-dev package. %package data -Group: Applications/Utilities -Summary: Data files for KVIrc -Requires: %{name} = %{version}-%{release} +Group: Applications/Utilities +Summary: Data files for KVIrc +Requires: %{name} = %{version}-%{release} %description data This package contains the architecture-independent data needed by KVIrc in @@ -78,19 +82,19 @@ 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 tailor KVIrc to your needs. -KVIrc is a graphical IRC client based on the KDE widget set which integrates -with the K Desktop Environment version 3. +KVIrc is a graphical IRC client based on the TDE widget set which integrates +with the Trinity Desktop Environment version 3. %package devel -Group: Development/Libraries -Summary: Development files for KVIrc -Requires: %{name} = %{version}-%{release} +Group: Development/Libraries +Summary: Development files for KVIrc +Requires: %{name} = %{version}-%{release} %description devel This package contains KVIrc libraries and include files you need if you 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. @@ -100,15 +104,10 @@ with the K Desktop Environment version 3. %prep -%setup -q -n %{name}-3.5.13.2 +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %patch0 -p1 %patch1 -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" +%patch2 -p1 -b .installdir # Hardcoded absolute PATH to KDEDIR in source code ! That sucks ! %__sed -i "src/kvirc/kernel/kvi_app_fs.cpp" \ @@ -124,7 +123,6 @@ with the K Desktop Environment version 3. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export KDEDIR=%{tde_prefix} %configure \ @@ -135,18 +133,22 @@ export KDEDIR=%{tde_prefix} --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-fno-rtti --with-aa-fonts --with-big-channels \ - --enable-perl --with-pic --enable-wall \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-wall \ + \ + --with-pic \ + \ + --with-big-channels \ + --enable-perl \ --with-ix86-asm \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} \ --with-kde-services-dir=%{tde_datadir}/services \ --with-kde-library-dir=%{tde_libdir} \ --with-kde-include-dir=%{tde_tdeincludedir} \ --with-qt-library-dir=${QTLIB:-${QTDIR}/%{_lib}} \ --with-qt-include-dir=${QTINC:-${QTDIR}/include} \ - --with-qt-moc=${QTDIR}/bin/moc \ - --enable-closure + --with-qt-moc=${QTDIR}/bin/moc # Symbolic links must exist prior to parallel building %__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 ... %__mv \ - %{?buildroot}%{tde_datadir}/kvirc/3.4/license/COPYING \ - %{?buildroot}%{tde_datadir}/kvirc/3.4/license/EULA + %{?buildroot}%{tde_libdir}/kvirc/3.4/license/COPYING \ + %{?buildroot}%{tde_libdir}/kvirc/3.4/license/EULA + %clean %__rm -rf %{buildroot} @@ -185,18 +188,18 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %doc ChangeLog FAQ README TODO %{tde_bindir}/kvirc %{tde_libdir}/*.so.* -#%{tde_libdir}/kvirc/*/modules/*.so +%{tde_libdir}/kvirc/*/modules/*.so %files data %defattr(-,root,root,-) %{tde_bindir}/kvi_run_netscape %{tde_bindir}/kvi_search_help -#%{tde_libdir}/kvirc/*/modules/caps/ +%{tde_libdir}/kvirc/ %{tde_datadir}/applnk/Internet/kvirc.desktop %{tde_datadir}/icons/hicolor/*/*/*.png %{tde_datadir}/icons/hicolor/*/*/*.svgz %{tde_datadir}/icons/hicolor/*/*/*.xpm -%{tde_datadir}/kvirc +#%{tde_datadir}/kvirc %{tde_datadir}/mimelnk/text/*.desktop %{tde_datadir}/services/*.protocol %{tde_mandir}/man1/kvirc.1 @@ -211,6 +214,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/kvkbd/kvkbd-3.5.13.2.spec b/redhat/applications/kvkbd/kvkbd-3.5.13.2.spec index bebd592b9..763f674f2 100644 --- a/redhat/applications/kvkbd/kvkbd-3.5.13.2.spec +++ b/redhat/applications/kvkbd/kvkbd-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,31 +24,32 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: Virtual keyboard for KDE [Trinity] -Version: 0.4.8 -Release: 3%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Virtual keyboard for TDE [Trinity] +Version: 0.4.8 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/System +License: GPLv2+ +Group: Applications/System -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://pan4os.info/main/index.php +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://pan4os.info/main/index.php -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils +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 %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. @@ -57,13 +59,7 @@ a systray widget as well as a dockwidget. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -83,9 +79,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -120,6 +120,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/piklab/piklab-3.5.13.2.spec b/redhat/applications/piklab/piklab-3.5.13.2.spec index 6e1ad5c29..b8866b682 100644 --- a/redhat/applications/piklab/piklab-3.5.13.2.spec +++ b/redhat/applications/piklab/piklab-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,29 +24,30 @@ %define _docdir %{tde_tdedocdir} -Name: trinity-%{tdecomp} -Summary: IDE for PIC-microcontroller development [Trinity] -Version: 0.15.2 -Release: 5%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: IDE for PIC-microcontroller development [Trinity] +Version: 0.15.2 +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext +BuildRequires: gettext BuildRequires: readline-devel %description @@ -64,13 +66,7 @@ are supported. A command-line programmer and debugger are also available. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -80,8 +76,8 @@ are supported. A command-line programmer and debugger are also available. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +# Warning: --enable-final causes FTBFS %configure \ --prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \ @@ -90,8 +86,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --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} @@ -104,7 +105,7 @@ export PATH="%{tde_bindir}:${PATH}" # Incorrect extension on manpage %__mv -f %{buildroot}%{tde_mandir}/man1/piklab.1x %{buildroot}%{tde_mandir}/man1/piklab.1 -%find_lang %{tdecomp} +%find_lang %{tde_pkg} %clean %__rm -rf %{buildroot} @@ -121,7 +122,7 @@ touch --no-create %{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,-) %{tde_bindir}/piklab %{tde_bindir}/piklab-coff @@ -143,6 +144,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/potracegui/potracegui-3.5.13.2.spec b/redhat/applications/potracegui/potracegui-3.5.13.2.spec index 76023d7da..25db4b67d 100644 --- a/redhat/applications/potracegui/potracegui-3.5.13.2.spec +++ b/redhat/applications/potracegui/potracegui-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,32 +24,33 @@ %define _docdir %{tde_tdedocdir} -Name: trinity-%{tdecomp} -Summary: KDE frontend for potrace [Trinity] -Version: 1.3 -Release: 3%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: TDE frontend for potrace [Trinity] +Version: 1.3 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Multimedia +License: GPLv2+ +Group: Applications/Multimedia -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://potracegui.sourceforge.net +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://potracegui.sourceforge.net -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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 %description -A KDE 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 +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 TDE, which are a lot more than the 4 recognized by the potrace commandline tool. Loading of remote files (web, ftp, ...) is also supported. @@ -59,13 +61,7 @@ remote files (web, ftp, ...) is also supported. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -75,7 +71,6 @@ remote files (web, ftp, ...) is also supported. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -85,9 +80,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -126,6 +125,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/rosegarden/rosegarden-3.5.13.2.spec b/redhat/applications/rosegarden/rosegarden-3.5.13.2.spec index 8e03ccf02..a4ef6f5dd 100644 --- a/redhat/applications/rosegarden/rosegarden-3.5.13.2.spec +++ b/redhat/applications/rosegarden/rosegarden-3.5.13.2.spec @@ -30,7 +30,7 @@ Name: trinity-%{tde_pkg} Summary: music editor and MIDI/audio sequencer [Trinity] Version: 1.7.0 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ Group: Applications/Multimedia @@ -45,11 +45,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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: gettext +BuildRequires: gettext BuildRequires: fftw-devel BuildRequires: liblo-devel BuildRequires: fontconfig-devel @@ -121,17 +122,13 @@ This package provides the data files necessary for running Rosegarden %prep %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 unset QTDIR && . %{_sysconfdir}/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" + 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} %__mkdir_p build @@ -139,13 +136,12 @@ cd build %endif %cmake \ - -DCMAKE_BUILD_TYPE="" \ - -DCMAKE_C_FLAGS="-DNDEBUG" \ - -DCMAKE_CXX_FLAGS="-DNDEBUG" \ - -DCMAKE_SKIP_RPATH="OFF" \ + -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 \ - -DWANT_DEBUG=OFF \ - -DWANT_FULLDBG=OFF \ \ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ -DBIN_INSTALL_DIR=%{tde_bindir} \ @@ -159,6 +155,8 @@ cd build %{?with_lirc:-DWANT_LIRC=ON} %{?!with_lirc:-DWANT_LIRC=OFF} \ -DWANT_PCH=OFF \ -DWANT_TEST=OFF \ + -DWANT_DEBUG=OFF \ + -DWANT_FULLDBG=OFF \ -DBUILD_ALL=ON \ .. @@ -221,6 +219,9 @@ done %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 - Rebuild with NDEBUG option @@ -230,7 +231,7 @@ done * Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.7.0-3 - 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] - Enables JACK support diff --git a/redhat/applications/smartcardauth/smartcardauth-3.5.13.2.spec b/redhat/applications/smartcardauth/smartcardauth-3.5.13.2.spec index 79cf16813..e7c9a8b1d 100644 --- a/redhat/applications/smartcardauth/smartcardauth-3.5.13.2.spec +++ b/redhat/applications/smartcardauth/smartcardauth-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,27 +24,28 @@ %define _docdir %{tde_tdedocdir} -Name: trinity-%{tdecomp} -Summary: SmartCard Login and LUKS Decrypt, Setup Utility -Version: 1.0 -Release: 3%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: SmartCard Login and LUKS Decrypt, Setup Utility +Version: 1.0 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/System +License: GPLv2+ +Group: Applications/System -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils +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: perl-PAR-Packer %if 0%{?mgaversion} || 0%{?mdkversion} @@ -77,21 +79,14 @@ in addition to the PKCS certificate functionality %prep -unset QTDIR; . /etc/profile.d/qt3.sh -%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" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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 export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" ./build_ckpasswd @@ -146,6 +141,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/smb4k/smb4k-3.5.13.2.spec b/redhat/applications/smb4k/smb4k-3.5.13.2.spec index 9e37d98a9..353bd9ae8 100644 --- a/redhat/applications/smb4k/smb4k-3.5.13.2.spec +++ b/redhat/applications/smb4k/smb4k-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,38 +24,39 @@ %define _docdir %{tde_tdedocdir} -Name: trinity-%{tdecomp} -Summary: A Samba (SMB) share advanced browser for Trinity -Version: 0.9.4 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: A Samba (SMB) share advanced browser for Trinity +Version: 0.9.4 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-arts-devel >= 3.5.13.2 -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: gettext %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 is to provide a program that's easy to use and has as many features as possible. -%files -f %{tdecomp}.lang +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %{tde_bindir}/smb4k %{tde_bindir}/smb4k_cat @@ -129,13 +131,7 @@ Requires: %{name} = %{version}-%{release} %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -145,7 +141,6 @@ Requires: %{name} = %{version}-%{release} %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export KDEDIR="%{tde_prefix}" @@ -157,9 +152,13 @@ export KDEDIR="%{tde_prefix}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath # SMP safe ! %__make %{?_smp_mflags} @@ -170,7 +169,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -%find_lang %{tdecomp} +%find_lang %{tde_pkg} %clean @@ -178,6 +177,9 @@ export PATH="%{tde_bindir}:${PATH}" %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/soundkonverter/soundkonverter-3.5.13.2.spec b/redhat/applications/soundkonverter/soundkonverter-3.5.13.2.spec index f8d9faa30..ef5605ff3 100644 --- a/redhat/applications/soundkonverter/soundkonverter-3.5.13.2.spec +++ b/redhat/applications/soundkonverter/soundkonverter-3.5.13.2.spec @@ -1,5 +1,6 @@ # 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_prefix}" != "/usr" @@ -23,27 +24,28 @@ %define _docdir %{tde_tdedocdir} -Name: trinity-%{tdecomp} -Summary: audio converter frontend for Trinity -Version: 0.3.8 -Release: 3%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: audio converter frontend for Trinity +Version: 0.3.8 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Application/Multimedia +License: GPLv2+ +Group: Application/Multimedia -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://potracegui.sourceforge.net +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://potracegui.sourceforge.net -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils +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 %description @@ -83,13 +85,7 @@ See the 'soundkonverter-trinity' package for more information. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -99,7 +95,6 @@ See the 'soundkonverter-trinity' package for more information. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -109,9 +104,15 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:/usr/include/cdda \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath \ + \ + --with-extra-includes=/usr/include/cdda %__make %{?_smp_mflags} @@ -121,7 +122,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -%find_lang %{tdecomp} +%find_lang %{tde_pkg} %clean %__rm -rf %{buildroot} @@ -138,7 +139,7 @@ touch --no-create %{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,-) %doc AUTHORS ChangeLog COPYING NEWS README TODO %{tde_bindir}/soundkonverter @@ -173,6 +174,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec b/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec index 9a1561ec0..df4779921 100644 --- a/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec +++ b/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec @@ -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 !!!! %{!?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 %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -25,33 +29,33 @@ %define __arch_install_post %{nil} -Name: trinity-tde-guidance -Summary: A collection of system administration tools for Trinity -Version: 0.8.0svn20080103 -Release: 6%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: A collection of system administration tools for Trinity +Version: 0.8.0svn20080103 +Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.simonzone.com/software/guidance +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.simonzone.com/software/guidance -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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 # This resolves Bug 1545 # 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-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: gettext BuildRequires: trinity-pytdeextensions BuildRequires: trinity-libpythonize0-devel @@ -87,7 +91,6 @@ BuildRequires: PyQt-devel Requires: PyQt %endif - Requires: trinity-python-trinity Requires: trinity-pytdeextensions Requires: %{name}-backends = %{version}-%{release} @@ -97,10 +100,8 @@ Requires: hwdata %endif -%if "%{tde_prefix}" == "/usr" -Conflicts: guidance-power-manager -Conflicts: kde-guidance-powermanager -%endif +# POWERMANAGER support (requires HAL) +%define with_powermanager 1 Obsoletes: trinity-guidance < %{version}-%{release} Provides: trinity-guidance = %{version}-%{release} @@ -116,15 +117,70 @@ look after your system: These tools are available in Trinity Control Center, System Settings 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 -Group: Applications/Utilities -Summary: collection of system administration tools for GNU/Linux [Trinity] +Group: Applications/Utilities +Summary: collection of system administration tools for GNU/Linux [Trinity] %if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -Requires: hwdata +Requires: hwdata %endif -Requires: python +Requires: python Obsoletes: trinity-guidance-backends < %{version}-%{release} Provides: trinity-guidance-backends = %{version}-%{release} @@ -133,42 +189,105 @@ Provides: trinity-guidance-backends = %{version}-%{release} This package contains the platform neutral backends used in the 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 -Group: Applications/Utilities -Summary: HAL based power manager applet [Trinity] -Requires: %{name} = %{version}-%{release} +Group: Applications/Utilities +Summary: HAL based power manager applet [Trinity] +Requires: %{name} = %{version}-%{release} +Requires: hal Obsoletes: 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 A power management applet to indicate battery levels and perform hibernate or 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} %debug_package %endif +########## %prep -%setup -q -n trinity-tde-guidance-3.5.13.2 +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %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 unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export KDEDIR=%{tde_prefix} # Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia export PYTHONDONTWRITEBYTECODE= -# Ugly hack for building Guidance in a non-standard python directory -export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" - # FTBFS on PCLOS ... export CXXFLAGS="${RPM_OPT_FLAGS} -I%{tde_tdeincludedir} -I%{tde_includedir}" @@ -184,7 +303,6 @@ fi %install unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" # For RHEL4 only @@ -220,7 +338,7 @@ done %{buildroot}%{tde_datadir}/icons/crystalsvg/16x16/apps/wineconfig.png # 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 %__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}/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 # 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 %endif - +%if 0%{?with_powermanager} ##### POWERMANAGER INSTALLATION # install icon to right place %__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}/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 # and make them executable @@ -320,114 +447,10 @@ find %{buildroot}%{tde_libdir} -name "*.a" -exec rm -f {} \; %__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 +* 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 - Work around mountconfig incorrectly handling LABEL tag diff --git a/redhat/applications/tde-style-lipstik/tde-style-lipstik-3.5.13.2.spec b/redhat/applications/tde-style-lipstik/tde-style-lipstik-3.5.13.2.spec index ffef5b227..3661eebfb 100644 --- a/redhat/applications/tde-style-lipstik/tde-style-lipstik-3.5.13.2.spec +++ b/redhat/applications/tde-style-lipstik/tde-style-lipstik-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,33 +24,33 @@ %define _docdir %{tde_docdir} -Name: trinity-tde-style-lipstik -Summary: Lipstik style for TDE -Version: 2.2.3 -Release: 4%{?dist}%{?_variant} +Name: trinity-tde-style-lipstik +Summary: Lipstik style for TDE +Version: 2.2.3 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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} Provides: trinity-kde-style-lipstik = %{version}-%{release} Obsoletes: trinity-style-lipstik < %{version}-%{release} Provides: trinity-style-lipstik = %{version}-%{release} -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -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: gettext %description @@ -65,13 +66,7 @@ Lipstik also provides Lipstik-color-schemes %prep -%setup -q -n trinity-%{tdecomp}-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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -81,7 +76,6 @@ Lipstik also provides Lipstik-color-schemes %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -89,8 +83,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --datadir=%{tde_datadir} \ --includedir=%{tde_tdeincludedir} \ --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} @@ -120,6 +119,9 @@ export PATH="%{tde_bindir}:${PATH}" %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec b/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec index 6915852be..7facfdf39 100644 --- a/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec +++ b/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec @@ -1,13 +1,13 @@ # Default version for this component -%define tdecomp tde-style-qtcurve -%define tdeversion 3.5.13.2 +%define tde_pkg tde-style-qtcurve +%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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -24,27 +24,29 @@ %define _docdir %{tde_docdir} -Name: trinity-tde-style-qtcurve -Summary: This is a set of widget styles for Trinity based apps -Version: 0.55.2 -Release: 5%{?dist}%{?_variant} +Name: trinity-tde-style-qtcurve +Summary: This is a set of widget styles for Trinity based apps +Version: 0.55.2 +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext Obsoletes: trinity-kde-style-qtcurve < %{version}-%{release} @@ -66,21 +68,13 @@ gtk2-engines-qtcurve. %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 unset QTDIR || : ; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" export KDEDIR="%{tde_prefix}" export CXXFLAGS="-I${QTINC} -I%{tde_tdeincludedir} ${CXXFLAGS}" @@ -103,11 +97,18 @@ cd build %endif %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} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ + \ -DTDE_INCLUDE_DIR=%{tde_tdeincludedir} \ -DQTC_QT_ONLY=false \ -DQTC_STYLE_SUPPORT=true \ @@ -143,6 +144,9 @@ export PATH="%{tde_bindir}:${PATH}" %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/tde-systemsettings/tde-systemsettings-3.5.13.2.spec b/redhat/applications/tde-systemsettings/tde-systemsettings-3.5.13.2.spec index bf6bddbd6..cf9b3a815 100644 --- a/redhat/applications/tde-systemsettings/tde-systemsettings-3.5.13.2.spec +++ b/redhat/applications/tde-systemsettings/tde-systemsettings-3.5.13.2.spec @@ -1,5 +1,6 @@ # 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_prefix}" != "/usr" @@ -8,7 +9,7 @@ %define tde_sysconfdir %{tde_prefix}/etc %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -25,22 +26,22 @@ %define _docdir %{tde_docdir} -Name: trinity-tde-systemsettings -Summary: easy to use control centre for TDE -Version: 0.0svn20070312 -Release: 7%{?dist}%{?_variant} +Name: trinity-tde-systemsettings +Summary: easy to use control centre for TDE +Version: 0.0svn20070312 +Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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 Provides: trinity-kde-systemsettings = %{version}-%{release} @@ -48,12 +49,13 @@ Obsoletes: trinity-kde-systemsettings < %{version}-%{release} Provides: trinity-systemsettings = %{version}-%{release} Obsoletes: trinity-systemsettings < %{version}-%{release} -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -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 -Requires: trinity-guidance +Requires: trinity-guidance %description System preferences is a replacement for the TDE @@ -66,13 +68,7 @@ Control Centre with an improved user interface. %prep -%setup -q -n trinity-%{tdecomp}-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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -82,7 +78,6 @@ Control Centre with an improved user interface. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" export KDEDIR="%{tde_prefix}" %configure \ @@ -92,9 +87,13 @@ export KDEDIR="%{tde_prefix}" --datadir=%{tde_datadir} \ --includedir=%{tde_tdeincludedir} \ --sysconfdir=%{tde_sysconfdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -118,12 +117,12 @@ export PATH="%{tde_bindir}:${PATH}" %post touch --no-create %{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 touch --no-create %{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 %defattr(-,root,root,-) @@ -145,6 +144,9 @@ xdg-user-dirs-update %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 - Rebuild diff --git a/redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2.spec b/redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2.spec index 76f4af5d7..79429ac17 100644 --- a/redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2.spec +++ b/redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,26 +24,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: An apt-cache ioslave for Trinity -Version: 0.13.2 -Release: 1%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: An apt-cache ioslave for Trinity +Version: 0.13.2 +Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://lpnotfr.free.fr/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://lpnotfr.free.fr/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +Patch1: tdeio-apt-14.0.0-ftbfs.patch + +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 @@ -62,13 +66,8 @@ browsing the packages easier. It provides: %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} +%patch1 -p1 -b .ftbfs %__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" @@ -78,7 +77,6 @@ browsing the packages easier. It provides: %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -88,9 +86,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --includedir=%{tde_tdeincludedir} \ --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -122,6 +124,9 @@ export PATH="%{tde_bindir}:${PATH}" %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec b/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec index fe83d5815..d413e41f1 100644 --- a/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec +++ b/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,26 +24,27 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: kio-slave for the locate command [Trinity] -Version: 0.4.5 -Release: 4%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: kio-slave for the locate command [Trinity] +Version: 0.4.5 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: cmake >= 2.8 @@ -51,7 +53,7 @@ Obsoletes: trinity-kio-locate < %{version}-%{release} Provides: trinity-kio-locate = %{version}-%{release} %description -Adds support for the "locate:" and "locater:" +Adds support for the "locate" and "locater:" protocols to Konqueror and other TDE applications. This enables you to perform locate searches as you @@ -65,42 +67,33 @@ as a directory. %prep -%setup -q -n %{name}-3.5.13.2 - -# 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" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" 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} %__mkdir_p build cd build %endif - %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} \ -DBIN_INSTALL_DIR=%{tde_bindir} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ + \ -DBUILD_ALL=ON \ .. @@ -132,6 +125,9 @@ export PATH="%{tde_bindir}:${PATH}" %{tde_datadir}/services/searchproviders/locate.desktop %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper-3.5.13.2.spec b/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper-3.5.13.2.spec index 358ca9f70..8697ce046 100644 --- a/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper-3.5.13.2.spec +++ b/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,35 +24,36 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: progress dialog for safely removing devices in Trinity. -Version: 0.2 -Release: 5%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: progress dialog for safely removing devices in Trinity. +Version: 0.2 +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://frode.kde.no/misc/kio_umountwrapper/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://frode.kde.no/misc/tdeio_umountwrapper/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source0: %{name}-3.5.13.2.tar.gz -Source1: media_safelyremove.desktop +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: media_safelyremove.desktop_tdeio -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -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 Obsoletes: trinity-kio-umountwrapper < %{version}-%{release} Provides: trinity-kio-umountwrapper = %{version}-%{release} %description -Wrapper around kio_media_mountwrapper. +Wrapper around tdeio_media_mountwrapper. 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 -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -78,7 +74,6 @@ Provides a progress dialog for Safely Removing of devices in Trinity. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -88,9 +83,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --includedir=%{tde_tdeincludedir} \ --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -101,7 +100,6 @@ export PATH="%{tde_bindir}:${PATH}" %__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/dolphin/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 done - %postun if [ $1 -eq 0 ]; then for f in konqueror d3lphin; do @@ -132,10 +129,12 @@ fi %doc AUTHORS ChangeLog COPYING NEWS README TODO %{tde_bindir}/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 %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/tderadio/tderadio-3.5.13.2.spec b/redhat/applications/tderadio/tderadio-3.5.13.2.spec index ae58cf081..0e30e1b7a 100644 --- a/redhat/applications/tderadio/tderadio-3.5.13.2.spec +++ b/redhat/applications/tderadio/tderadio-3.5.13.2.spec @@ -1,13 +1,13 @@ # Default version for this component -%define tdecomp tderadio -%define tdeversion 3.5.13.2 +%define tde_pkg tderadio +%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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -27,30 +27,30 @@ %define with_lirc 1 %endif -Name: trinity-%{tdecomp} -Summary: Comfortable Radio Application for KDE [Trinity] -Version: 0.1.1.1 -Release: 6%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Comfortable Radio Application for TDE [Trinity] +Version: 0.1.1.1 +Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: trinity-arts-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: gettext +BuildRequires: gettext BuildRequires: libsndfile-devel %{?with_lirc:BuildRequires: lirc-devel} @@ -96,13 +96,7 @@ of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome. %prep -%setup -q -n %{name}-%{tdeversion}%{?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" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -113,7 +107,6 @@ of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -123,8 +116,14 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --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} \ --enable-v4l2 \ --enable-lame \ @@ -175,6 +174,9 @@ update-desktop-database %{tde_appdir} -q &> /dev/null ||: %lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/tdesudo/tdesudo-3.5.13.2.spec b/redhat/applications/tdesudo/tdesudo-3.5.13.2.spec index 6cfd9e75c..fdea492db 100644 --- a/redhat/applications/tdesudo/tdesudo-3.5.13.2.spec +++ b/redhat/applications/tdesudo/tdesudo-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,34 +24,34 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: sudo frontend for Trinity +Name: trinity-%{tde_pkg} +Summary: sudo frontend for Trinity -Version: 2.5.1 -Release: 4%{?dist}%{?_variant} +Version: 2.5.1 +Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{_prefix} +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-arts-devel >= 3.5.13.2 -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 Obsoletes: trinity-kdesudo < %{version}-%{release} Provides: trinity-kdesudo = %{version}-%{release} -Requires: sudo +Requires: sudo %description TdeSudo is a graphical frontend for the sudo utility. @@ -63,13 +64,7 @@ It allows you to run programs as another user by entering your password. %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -79,15 +74,21 @@ It allows you to run programs as another user by entering your password. %build unset QTDIR || : ; source /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \ --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_docdir} \ --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} @@ -97,28 +98,9 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - %find_lang kdesudo + %clean %__rm -rf %{buildroot} @@ -131,6 +113,9 @@ fi %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/tdesvn/tdesvn-3.5.13.2.spec b/redhat/applications/tdesvn/tdesvn-3.5.13.2.spec index b98cb94b4..e2e9f0ebf 100644 --- a/redhat/applications/tdesvn/tdesvn-3.5.13.2.spec +++ b/redhat/applications/tdesvn/tdesvn-3.5.13.2.spec @@ -27,7 +27,7 @@ Name: trinity-%{tde_pkg} Summary: subversion client with tight TDE integration [Trinity] Version: 1.0.4 -Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ Group: Applications/Utilities @@ -42,10 +42,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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: gettext BuildRequires: subversion-devel Requires: %{name}-tdeio-plugins = %{version}-%{release} @@ -111,18 +111,6 @@ This package is part of tdesvn-trinity. %prep %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 find . -name "*.cmake" -exec %__sed -i {} \ -e "s,/doc/HTML,/doc/tde/HTML,g" \ @@ -132,8 +120,6 @@ find . -name "*.cmake" -exec %__sed -i {} \ %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} @@ -142,10 +128,11 @@ cd build %endif %cmake \ - -DCMAKE_BUILD_TYPE="" \ - -DCMAKE_C_FLAGS="-DNDEBUG" \ - -DCMAKE_CXX_FLAGS="-DNDEBUG" \ + -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} \ @@ -156,6 +143,9 @@ cd build -DDATA_INSTALL_DIR=%{tde_datadir} \ -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ .. # 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.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol -%find_lang %{tde_pkg} +%find_lang kdesvn %clean @@ -277,6 +267,9 @@ fi %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 - Rebuild with NDEBUG option diff --git a/redhat/applications/tdmtheme/tdmtheme-3.5.13.2.spec b/redhat/applications/tdmtheme/tdmtheme-3.5.13.2.spec index c653973f1..8df2bce99 100644 --- a/redhat/applications/tdmtheme/tdmtheme-3.5.13.2.spec +++ b/redhat/applications/tdmtheme/tdmtheme-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,31 +24,29 @@ %define _docdir %{tde_docdir} -Name: trinity-%{tdecomp} -Summary: theme manager for TDM [Trinity] -Version: 1.2.2 -Release: 5%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: theme manager for TDM [Trinity] +Version: 1.2.2 +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://beta.smileaf.org/projects +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://beta.smileaf.org/projects -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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 -Patch1: tdmtheme-3.5.13.2-fix_segv.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -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: 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: gettext Obsoletes: trinity-kdmtheme < %{version}-%{release} @@ -66,14 +65,7 @@ that allows you to easily install, remove and change your KDM themes. %prep -%setup -q -n %{name}-3.5.13.2 -%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" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -83,7 +75,6 @@ that allows you to easily install, remove and change your KDM themes. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -93,8 +84,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --includedir=%{tde_tdeincludedir} \ --libdir=%{tde_libdir} \ --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} @@ -126,6 +122,9 @@ update-desktop-database %{tde_appdir} &> /dev/null %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 - Fix tdmtheme crash. This resolves Bug 1544 diff --git a/redhat/applications/tellico/tellico-3.5.13.2.spec b/redhat/applications/tellico/tellico-3.5.13.2.spec index 59b542bdc..20549a7e5 100644 --- a/redhat/applications/tellico/tellico-3.5.13.2.spec +++ b/redhat/applications/tellico/tellico-3.5.13.2.spec @@ -27,7 +27,7 @@ Name: trinity-%{tde_pkg} Summary: Icollection manager for books, videos, music [Trinity] Version: 1.3.2.1 -Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} License: GPLv2+ Group: Applications/Utilities @@ -45,9 +45,11 @@ Patch1: tellico-3.5.13.2-videodev.patch Patch2: tellico-3.5.13.2-ftbfs.patch 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: gettext %if 0%{?mgaversion} || 0%{?mdkversion} @@ -138,12 +140,6 @@ if [ -r /usr/include/libv4l1-videodev.h ]; then fi %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/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -166,12 +162,10 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" \ --disable-dependency-tracking \ --disable-debug \ - --enable-new-ldflags \ --disable-final \ + --enable-new-ldflags \ --enable-closure \ - --disable-rpath \ - \ - --with-extra-includes=%{tde_includedir}/tqt \ + --enable-rpath \ \ --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_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} @@ -244,6 +235,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Rebuild with NDEBUG option diff --git a/redhat/applications/twin-style-crystal/twin-style-crystal-3.5.13.2.spec b/redhat/applications/twin-style-crystal/twin-style-crystal-3.5.13.2.spec index d110e6813..79136634a 100644 --- a/redhat/applications/twin-style-crystal/twin-style-crystal-3.5.13.2.spec +++ b/redhat/applications/twin-style-crystal/twin-style-crystal-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,27 +24,29 @@ %define _docdir %{tde_tdedocdir} -Name: trinity-%{tdecomp} -Summary: Semi transparant window decoration for Trinity. -Version: 1.0.5 -Release: 3%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Semi transparant window decoration for Trinity. +Version: 1.0.5 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext Obsoletes: trinity-kwin-style-crystal < %{version}-%{release} @@ -65,13 +68,7 @@ And it is of course nice to look at. Upstream says: %prep -%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 admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -81,7 +78,6 @@ And it is of course nice to look at. Upstream says: %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -91,8 +87,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --includedir=%{tde_tdeincludedir} \ --libdir=%{tde_libdir} \ --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} @@ -119,6 +120,9 @@ export PATH="%{tde_bindir}:${PATH}" %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/wlassistant/wlassistant-3.5.13.2.spec b/redhat/applications/wlassistant/wlassistant-3.5.13.2.spec index 5d103eb87..e93214a0a 100644 --- a/redhat/applications/wlassistant/wlassistant-3.5.13.2.spec +++ b/redhat/applications/wlassistant/wlassistant-3.5.13.2.spec @@ -1,12 +1,13 @@ # 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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -23,27 +24,29 @@ %define _docdir %{tde_tdedocdir} -Name: trinity-%{tdecomp} -Summary: User friendly KDE frontend for wireless network connection [Trinity] -Version: 0.5.7 -Release: 3%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: User friendly TDE frontend for wireless network connection [Trinity] +Version: 0.5.7 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://wlassistant.sourceforge.net/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://wlassistant.sourceforge.net/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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: gettext BuildRequires: python @@ -63,14 +66,13 @@ remembered so next time the user won't have to enter them again. %prep -%setup -q -n %{name}-3.5.13.2 +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" # Shitty hack for RHEL4 ... if [ -d "/usr/X11R6" ]; then @@ -85,10 +87,18 @@ cd build %endif %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} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ -DBUILD_ALL=on \ .. @@ -133,6 +143,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %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 - Initial release for TDE 3.5.13.2 diff --git a/redhat/applications/yakuake/yakuake-3.5.13.2.spec b/redhat/applications/yakuake/yakuake-3.5.13.2.spec index eba5001ac..bd9b54200 100644 --- a/redhat/applications/yakuake/yakuake-3.5.13.2.spec +++ b/redhat/applications/yakuake/yakuake-3.5.13.2.spec @@ -1,13 +1,13 @@ # Default version for this component -%define tdecomp yakuake -%define tdeversion 3.5.13.2 +%define tde_pkg yakuake +%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_prefix}" != "/usr" %define _variant .opt %endif -# TDE 3.5.13 specific building variables +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -24,30 +24,32 @@ %define _docdir %{tde_tdedocdir} -Name: trinity-%{tdecomp} -Summary: Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. -Version: 2.8.1 -Release: 5%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Summary: Yakuake is a Quake-style terminal emulator based on TDE Konsole technology. +Version: 2.8.1 +Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant} -License: GPLv2+ -Group: Applications/Utilities +License: GPLv2+ +Group: Applications/Utilities -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{tde_prefix} +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-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 + %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} %debug_package @@ -55,13 +57,7 @@ Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. %prep -%setup -q -n %{name}-%{tdeversion}%{?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" +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__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" @@ -71,7 +67,6 @@ Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -81,9 +76,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --libdir=%{tde_libdir} \ --mandir=%{tde_mandir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath %__make %{?_smp_mflags} @@ -118,6 +117,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %{tde_datadir}/config.kcfg/*.kcfg %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 - Initial release for TDE 3.5.13.2 |