parent
7834467b40
commit
59daf455b4
@ -0,0 +1,270 @@
|
||||
# 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
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/include
|
||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
||||
%define tde_mandir %{tde_datadir}/man
|
||||
|
||||
%define tde_tdeappdir %{tde_datadir}/applications/kde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
Summary: Audio-decoding framework
|
||||
Name: trinity-akode
|
||||
Version: 2.0.2
|
||||
Release: 3%{?dist}%{?_variant}
|
||||
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
#URL: http://carewolf.com/akode/
|
||||
URL: http://www.kde-apps.org/content/show.php?content=30375
|
||||
Source0: http://www.kde-apps.org/CONTENT/content-files/akode-%{version}.tar.bz2
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
|
||||
# Legacy Fedora 9 patches
|
||||
Patch1: akode-pulseaudio.patch
|
||||
Patch2: akode-2.0.2-multilib.patch
|
||||
Patch3: akode-2.0.2-flac113-portable.patch
|
||||
Patch4: akode-2.0.2-gcc43.patch
|
||||
|
||||
# New patch for Fedora 16 / TDE 3.5.13
|
||||
Patch10: akode-autotools.patch
|
||||
Patch11: akode-2.0.2-fix_ffmpeg_include.patch
|
||||
|
||||
# Optional features that are always enabled :-)
|
||||
%define _with_flac --with-flac
|
||||
|
||||
# Except on RHEL4 ...
|
||||
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
%define _with_jack --with-jack
|
||||
%define _with_libsamplerate --with-libsamplerate
|
||||
%endif
|
||||
|
||||
# Pulseaudio is not available on RHEL 5 and earlier
|
||||
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
%define _with_pulseaudio --with-pulseaudio
|
||||
%endif
|
||||
|
||||
BuildRequires: automake libtool
|
||||
BuildRequires: alsa-lib-devel
|
||||
%{?_with_libsamplerate:BuildRequires: libsamplerate-devel}
|
||||
BuildRequires: libvorbis-devel
|
||||
BuildRequires: speex-devel
|
||||
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
%{?_with_jack:BuildRequires: %{_lib}jack-devel}
|
||||
%{?_with_flac:BuildRequires: %{_lib}flac-devel}
|
||||
%{?_with_pulseaudio:BuildRequires: %{_lib}pulseaudio-devel}
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
%{?_with_flac:BuildRequires: flac-devel}
|
||||
%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel}
|
||||
%{?_with_pulseaudio:BuildRequires: pulseaudio-libs-devel}
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
%{?_with_flac:BuildRequires: flac-devel}
|
||||
%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel}
|
||||
%{?_with_pulseaudio:BuildRequires: pulseaudio-devel}
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
aKode is a simple audio-decoding frame-work that provides a uniform
|
||||
interface to decode the most common audio-formats. It also has a direct
|
||||
playback option for a number of audio-outputs.
|
||||
|
||||
aKode currently has the following decoder plugins:
|
||||
* mpc: Decodes musepack aka mpc audio.
|
||||
* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio.
|
||||
|
||||
aKode also has the following audio outputs:
|
||||
* alsa: Outputs to ALSA (dmix is recommended).
|
||||
|
||||
%package devel
|
||||
Summary: Headers for developing programs that will use %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package jack
|
||||
Summary: Jack audio output backend for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description jack
|
||||
%{summary}.
|
||||
|
||||
%package pulseaudio
|
||||
Summary: Pulseaudio output backend for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description pulseaudio
|
||||
%{summary}.
|
||||
Recommended for network transparent audio.
|
||||
|
||||
# Packaged separately to keep main/core %{akode} package LGPL-clean.
|
||||
%package libsamplerate
|
||||
Summary: Resampler based on libsamplerate for %{name}
|
||||
Group: Development/Libraries
|
||||
License: GPLv2+
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description libsamplerate
|
||||
%{summary}.
|
||||
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n akode-%{version}
|
||||
|
||||
%patch1 -p1 -b .pulseaudio
|
||||
%patch2 -p1 -b .multilib
|
||||
%patch3 -p4 -b .flac113_portable
|
||||
%patch4 -p1 -b .gcc43
|
||||
|
||||
%patch10 -p1
|
||||
%patch11 -p1 -b .ffmpeg
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
%__sed -i "admin/acinclude.m4.in" \
|
||||
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
|
||||
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f admin/Makefile.common cvs
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--includedir=%{tde_includedir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-debug --disable-warnings --disable-dependency-tracking \
|
||||
--without-libltdl \
|
||||
--with-alsa \
|
||||
--with-oss \
|
||||
%{?_with_flac} %{!?_with_flac:--without-flac} \
|
||||
%{?_with_jack} %{!?_with_jack:--without-jack} \
|
||||
%{?_with_libsamplerate} %{!?_with_libsamplerate:--without-libsamplerate} \
|
||||
%{?_with_pulseaudio} %{!?_with_pulseaudio:--without-pulseaudio} \
|
||||
--with-speex \
|
||||
--with-vorbis \
|
||||
--without-ffmpeg \
|
||||
--without-libmad \
|
||||
--enable-closure \
|
||||
--enable-new-ldflags \
|
||||
--enable-final
|
||||
|
||||
%__make %{?_smp_mflags} LIBTOOL=$(which libtool)
|
||||
|
||||
|
||||
%install
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# unpackaged files
|
||||
%__rm -f %{buildroot}%{tde_libdir}/*.a
|
||||
|
||||
# rpmdocs
|
||||
for file in AUTHORS COPYING NEWS README TODO ; do
|
||||
test -s "$file" && install -p -m644 -D "$file" "rpmdocs/$file"
|
||||
done
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun devel
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc rpmdocs/*
|
||||
%{tde_bindir}/akodeplay
|
||||
%{tde_libdir}/libakode.so.*
|
||||
%{tde_libdir}/libakode_alsa_sink.la
|
||||
%{tde_libdir}/libakode_alsa_sink.so
|
||||
%{tde_libdir}/libakode_mpc_decoder.la
|
||||
%{tde_libdir}/libakode_mpc_decoder.so
|
||||
%{tde_libdir}/libakode_oss_sink.la
|
||||
%{tde_libdir}/libakode_oss_sink.so
|
||||
%{tde_libdir}/libakode_xiph_decoder.la
|
||||
%{tde_libdir}/libakode_xiph_decoder.so
|
||||
|
||||
#files -libmad
|
||||
# /opt/trinity/lib64/libakode_mpeg_decoder.la
|
||||
# /opt/trinity/lib64/libakode_mpeg_decoder.so
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/akode-config
|
||||
%{tde_includedir}/*
|
||||
%{tde_libdir}/libakode.la
|
||||
%{tde_libdir}/libakode.so
|
||||
%{tde_libdir}/pkgconfig/*.pc
|
||||
|
||||
%if "%{?_with_jack}" != ""
|
||||
%files jack
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/libakode_jack_sink.la
|
||||
%{tde_libdir}/libakode_jack_sink.so
|
||||
%endif
|
||||
|
||||
# License: GPLv2+
|
||||
%if "%{?_with_libsamplerate:1}" == "1"
|
||||
%files libsamplerate
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/libakode_src_resampler.la
|
||||
%{tde_libdir}/libakode_src_resampler.so
|
||||
%endif
|
||||
|
||||
%if "%{?_with_pulseaudio:1}" == "1"
|
||||
%files pulseaudio
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/libakode_polyp_sink.la
|
||||
%{tde_libdir}/libakode_polyp_sink.so
|
||||
%endif
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.2-3
|
||||
- Initial build for TDE 3.5.13.1
|
||||
|
||||
* Tue Jul 30 2012 Francois Andriot <francois.andriot@free.fr> 2.0.2-2
|
||||
- Re-adds '.la' files
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> 2.0.2-1
|
||||
- Port to TDE 3.5.13
|
||||
- Based on spec file from Fedora 9 'akode-2.0.2-5'
|
Binary file not shown.
@ -1,11 +0,0 @@
|
||||
--- k3b-i18n-1.0.5/admin/cvs.sh.ORI 2012-05-09 19:45:56.106421990 +0200
|
||||
+++ k3b-i18n-1.0.5/admin/cvs.sh 2012-05-09 19:46:16.264708192 +0200
|
||||
@@ -68,7 +68,7 @@
|
||||
echo "*** KDE requires automake $required_automake_version"
|
||||
exit 1
|
||||
;;
|
||||
- automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10*)
|
||||
+ automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.1[0-9]*)
|
||||
echo "*** $AUTOMAKE_STRING found."
|
||||
UNSERMAKE=no
|
||||
;;
|
@ -1,308 +0,0 @@
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_datadir}/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-k3b-i18n
|
||||
Summary: Locale files for K3B
|
||||
Version: 1.0.5
|
||||
Release: 1%{?dist}%{?_variant}
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
# Speed build options
|
||||
%define debug_package %{nil}
|
||||
%define __spec_install_post %{nil}
|
||||
AutoReq: no
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Group: Applications/Archiving
|
||||
License: GPLv2+
|
||||
|
||||
Source0: k3b-i18n-1.0.5.tar.bz2
|
||||
|
||||
# [kde-i18n] Fix automake detection
|
||||
Patch1: k3b-i18n-trinity.patch
|
||||
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
Requires(post): coreutils
|
||||
Requires(postun): coreutils
|
||||
|
||||
Requires: trinity-k3b
|
||||
|
||||
|
||||
%description
|
||||
K3b provides a comfortable user interface to perform most CD/DVD
|
||||
burning tasks. While the experienced user can take influence in all
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n k3b-i18n-%{version}
|
||||
|
||||
# set in k3brc too
|
||||
%patch1 -p1 -b .automake
|
||||
|
||||
|
||||
# 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|/opt/kde3|%{_prefix}|g" \
|
||||
-e "s|kde3/plugins|trinity/plugins|g" \
|
||||
-e "s|/usr/include/tqt|%{_includedir}/tqt|g" \
|
||||
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_docdir}/HTML'|g"
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%configure \
|
||||
--target=%{_host}
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files da
|
||||
%defattr(-,root,root,-)
|
||||
%lang(da) %{tde_docdir}/HTML/da/k3b
|
||||
%lang(da) %{_datadir}/locale/da/LC_MESSAGES/*.mo
|
||||
|
||||
%files de
|
||||
%defattr(-,root,root,-)
|
||||
%lang(de) %{tde_docdir}/HTML/de/k3b
|
||||
%lang(de) %{_datadir}/locale/de/LC_MESSAGES/*.mo
|
||||
|
||||
%files el
|
||||
%defattr(-,root,root,-)
|
||||
#%lang(el) %{tde_docdir}/HTML/el/k3b
|
||||
%lang(el) %{_datadir}/locale/el/LC_MESSAGES/*.mo
|
||||
|
||||
%files es
|
||||
%defattr(-,root,root,-)
|
||||
%lang(es) %{tde_docdir}/HTML/es/k3b
|
||||
%lang(es) %{_datadir}/locale/es/LC_MESSAGES/*.mo
|
||||
|
||||
%files et
|
||||
%defattr(-,root,root,-)
|
||||
%lang(et) %{tde_docdir}/HTML/et/k3b
|
||||
%lang(et) %{_datadir}/locale/et/LC_MESSAGES/*.mo
|
||||
|
||||
%files fr
|
||||
%defattr(-,root,root,-)
|
||||
%lang(fr) %{tde_docdir}/HTML/fr/k3b
|
||||
%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/*.mo
|
||||
|
||||
%files it
|
||||
%defattr(-,root,root,-)
|
||||
%lang(it) %{tde_docdir}/HTML/it/k3b
|
||||
%lang(it) %{_datadir}/locale/it/LC_MESSAGES/*.mo
|
||||
|
||||
%files nl
|
||||
%defattr(-,root,root,-)
|
||||
%lang(nl) %{tde_docdir}/HTML/nl/k3b
|
||||
%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/*.mo
|
||||
|
||||
%files pl
|
||||
%defattr(-,root,root,-)
|
||||
%lang(pl) %{tde_docdir}/HTML/pl/k3b
|
||||
%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/*.mo
|
||||
|
||||
%files pt
|
||||
%defattr(-,root,root,-)
|
||||
%lang(pt) %{tde_docdir}/HTML/pt/k3b
|
||||
%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/*.mo
|
||||
|
||||
%files ptbr
|
||||
%defattr(-,root,root,-)
|
||||
%lang(pt_BR) %{tde_docdir}/HTML/pt_BR/k3b
|
||||
%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/*.mo
|
||||
|
||||
%files ru
|
||||
%defattr(-,root,root,-)
|
||||
%lang(ru) %{tde_docdir}/HTML/ru/k3b
|
||||
%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/*.mo
|
||||
|
||||
%files sv
|
||||
%defattr(-,root,root,-)
|
||||
%lang(sv) %{tde_docdir}/HTML/sv/k3b
|
||||
%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/*.mo
|
||||
|
||||
%files uk
|
||||
%defattr(-,root,root,-)
|
||||
%lang(uk) %{tde_docdir}/HTML/uk/k3b
|
||||
%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/*.mo
|
||||
|
||||
%exclude %{_datadir}/locale/af
|
||||
%exclude %{_datadir}/locale/ar
|
||||
%exclude %{_datadir}/locale/bg
|
||||
%exclude %{_datadir}/locale/br
|
||||
%exclude %{_datadir}/locale/bs
|
||||
%exclude %{_datadir}/locale/ca
|
||||
%exclude %{_datadir}/locale/cs
|
||||
%exclude %{_datadir}/locale/cy
|
||||
%exclude %{_datadir}/locale/en_GB
|
||||
%exclude %{_datadir}/locale/eu
|
||||
%exclude %{_datadir}/locale/fa
|
||||
%exclude %{_datadir}/locale/fi
|
||||
%exclude %{_datadir}/locale/ga
|
||||
%exclude %{_datadir}/locale/gl
|
||||
%exclude %{_datadir}/locale/he
|
||||
%exclude %{_datadir}/locale/hi
|
||||
%exclude %{_datadir}/locale/hu
|
||||
%exclude %{_datadir}/locale/is
|
||||
%exclude %{_datadir}/locale/ja
|
||||
%exclude %{_datadir}/locale/ka
|
||||
%exclude %{_datadir}/locale/km
|
||||
%exclude %{_datadir}/locale/lt
|
||||
%exclude %{_datadir}/locale/mk
|
||||
%exclude %{_datadir}/locale/ms
|
||||
%exclude %{_datadir}/locale/nb
|
||||
%exclude %{_datadir}/locale/nds
|
||||
%exclude %{_datadir}/locale/ne
|
||||
%exclude %{_datadir}/locale/nn
|
||||
%exclude %{_datadir}/locale/pa
|
||||
%exclude %{_datadir}/locale/rw
|
||||
%exclude %{_datadir}/locale/se
|
||||
%exclude %{_datadir}/locale/sk
|
||||
%exclude %{_datadir}/locale/sr
|
||||
%exclude %{_datadir}/locale/sr@Latn
|
||||
%exclude %{_datadir}/locale/ta
|
||||
%exclude %{_datadir}/locale/tr
|
||||
%exclude %{_datadir}/locale/uz
|
||||
%exclude %{_datadir}/locale/uz@cyrillic
|
||||
%exclude %{_datadir}/locale/zh_CN
|
||||
%exclude %{_datadir}/locale/zh_TW
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu May 10 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.5-1
|
||||
- Initial build for TDE 3.5.13
|
@ -0,0 +1,183 @@
|
||||
%define kdecomp kasablanca
|
||||
|
||||
# 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
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/include
|
||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
||||
%define tde_mandir %{tde_datadir}/man
|
||||
|
||||
%define tde_tdeappdir %{tde_datadir}/applications/kde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{kdecomp}
|
||||
Summary: Graphical FTP client
|
||||
Version: 0.4.0.2
|
||||
Release: 2%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Url: http://kasablanca.berlios.de/
|
||||
Source: http://download.berlios.de/kasablanca/kasablanca-%{version}.tar.gz
|
||||
Group: Applications/Internet
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
# [kasablanca] Fix bad content in icon (?)
|
||||
Patch1: kasablanca-0.4.0.2-dt.patch
|
||||
# [kasablanca] Fix detection of newer autotools
|
||||
Patch2: kasablanca-0.4.0.2-fix_autotools_detection.patch
|
||||
# [kasablanca] Missing LDFLAGS cause FTBFS
|
||||
Patch3: kasablanca-0.4.0.2-missing_ldflags.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
BuildRequires: trinity-tdelibs-devel >= 3.5.13.1
|
||||
BuildRequires: openssl-devel
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: utempter-devel
|
||||
%else
|
||||
BuildRequires: libutempter-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
Kasablanca is an ftp client, among its features are currently:
|
||||
* ftps encryption via AUTH TLS
|
||||
* fxp (direct server to server transfer), supporting alternative mode.
|
||||
* advanced bookmarking system.
|
||||
* fast responsive multithreaded engine.
|
||||
* concurrent connections to multiple hosts.
|
||||
* interactive transfer queue, movable by drag and drop.
|
||||
* small nifty features, like a skiplist.
|
||||
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{kdecomp}-%{version}
|
||||
%patch1 -p1 -b .dt
|
||||
%patch2 -p1
|
||||
%patch3 -p1 -b .ldflags
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
%__sed -i "admin/acinclude.m4.in" \
|
||||
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
|
||||
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR || : ; . /etc/profile.d/qt3.sh
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
export KDEDIR=%{tde_prefix}
|
||||
|
||||
## Needed(?) for older/legacy setups, harmless otherwise
|
||||
if pkg-config openssl ; then
|
||||
export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I openssl)"
|
||||
fi
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \
|
||||
--disable-static \
|
||||
--disable-rpath \
|
||||
--disable-debug --disable-warnings \
|
||||
--disable-dependency-tracking --enable-final \
|
||||
--with-extra-includes=%{tde_includedir}/tqt
|
||||
|
||||
%__make %{?_smp_mflags} LIBTOOL=$(which libtool)
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%__make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
desktop-file-install \
|
||||
--dir $RPM_BUILD_ROOT%{tde_datadir}/applications/kde \
|
||||
--vendor="" \
|
||||
--add-category="Network" \
|
||||
--add-category="KDE" \
|
||||
--delete-original \
|
||||
$RPM_BUILD_ROOT%{tde_datadir}/applnk/*/*.desktop
|
||||
|
||||
## File lists
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(kde-config --expandvars --install html)
|
||||
if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then
|
||||
for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# locale's
|
||||
%find_lang %{kdecomp}
|
||||
|
||||
%clean
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || :
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_datadir}/icons/hicolor &> /dev/null
|
||||
gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || :
|
||||
fi
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || :
|
||||
|
||||
|
||||
%files -f %{kdecomp}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||
%{tde_bindir}/kasablanca
|
||||
%{tde_tdeappdir}/kasablanca.desktop
|
||||
%{tde_datadir}/apps/kasablanca/
|
||||
%{tde_datadir}/config.kcfg/kbconfig.kcfg
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kasablanca.png
|
||||
%{tde_tdedocdir}/HTML/en/kasablanca/
|
||||
|
||||
%changelog
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.0.2-2
|
||||
- Initial build for TDE 3.5.13.1
|
||||
|
||||
* Sun Dec 04 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.0.2-1
|
||||
- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
- Based on Fedora 12 Spec 'kasablanca-0.4.0.2-17'
|
@ -0,0 +1,59 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: UTF-8 -*-
|
||||
"""
|
||||
Copyright (C) 2007 Achim Bohnet <allee@kubuntu.org>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
"""
|
||||
|
||||
import sys
|
||||
from PyQt4 import QtCore, Qt
|
||||
import dbus
|
||||
import dbus.mainloop.qt
|
||||
import distutils.spawn
|
||||
|
||||
kbtcmd = [ 'kbluetooth' ]
|
||||
quitprogs = [ 'kdebluetooth', 'kbluemon', 'kinputwizard' ] # FIXME: quit kbluelock too?
|
||||
|
||||
|
||||
app = Qt.QCoreApplication(sys.argv)
|
||||
|
||||
dbus.mainloop.qt.DBusQtMainLoop(set_as_default=True)
|
||||
bus = dbus.SystemBus()
|
||||
|
||||
try:
|
||||
manager = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'), 'org.bluez.Manager')
|
||||
except:
|
||||
print "Unable to connect to bluez."
|
||||
sys.exit(1)
|
||||
|
||||
if len(manager.ListAdapters()):
|
||||
print "# of devices at startup:", len(manager.ListAdapters())
|
||||
distutils.spawn.spawn(kbtcmd)
|
||||
else:
|
||||
print "No BT device found"
|
||||
|
||||
|
||||
def slotAdapterAdded(device):
|
||||
print "bt dev added:", device, "# of devices:", len(manager.ListAdapters())
|
||||
distutils.spawn.spawn(kbtcmd)
|
||||
|
||||
def slotAdapterRemoved(device):
|
||||
print "bt dev removed:", device, "# num of devices:", len(manager.ListAdapters())
|
||||
if len(manager.ListAdapters()) == 0:
|
||||
for p in quitprogs:
|
||||
print "exiting:", p, " ..."
|
||||
try:
|
||||
distutils.spawn.spawn(['dcop', p, 'MainApplication-Interface', 'quit'])
|
||||
except:
|
||||
pass
|
||||
|
||||
manager.connect_to_signal("AdapterAdded", slotAdapterAdded)
|
||||
manager.connect_to_signal("AdapterRemoved", slotAdapterRemoved)
|
||||
|
||||
print "waiting for bt device (un)plug events ..."
|
||||
|
||||
app.exec_()
|
@ -0,0 +1,59 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: UTF-8 -*-
|
||||
"""
|
||||
Copyright (C) 2007 Achim Bohnet <allee@kubuntu.org>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
"""
|
||||
|
||||
import sys
|
||||
from PyQt4 import QtCore, Qt
|
||||
import dbus
|
||||
import dbus.mainloop.qt
|
||||
import distutils.spawn
|
||||
|
||||
kbtcmd = [ 'kbluetooth' ]
|
||||
quitprogs = [ 'kdebluetooth', 'kbluemon', 'kinputwizard' ] # FIXME: quit kbluelock too?
|
||||
|
||||
|
||||
app = Qt.QCoreApplication(sys.argv)
|
||||
|
||||
dbus.mainloop.qt.DBusQtMainLoop(set_as_default=True)
|
||||
bus = dbus.SystemBus()
|
||||
|
||||
try:
|
||||
manager = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.bluez.Manager')
|
||||
except:
|
||||
print "Unable to connect to bluez."
|
||||
sys.exit(1)
|
||||
|
||||
if len(manager.ListAdapters()):
|
||||
print "# of devices at startup:", len(manager.ListAdapters())
|
||||
distutils.spawn.spawn(kbtcmd)
|
||||
else:
|
||||
print "No BT device found"
|
||||
|
||||
|
||||
def slotAdapterAdded(device):
|
||||
print "bt dev added:", device, "# of devices:", len(manager.ListAdapters())
|
||||
distutils.spawn.spawn(kbtcmd)
|
||||
|
||||
def slotAdapterRemoved(device):
|
||||
print "bt dev removed:", device, "# num of devices:", len(manager.ListAdapters())
|
||||
if len(manager.ListAdapters()) == 0:
|
||||
for p in quitprogs:
|
||||
print "exiting:", p, " ..."
|
||||
try:
|
||||
distutils.spawn.spawn(['dcop', p, 'MainApplication-Interface', 'quit'])
|
||||
except:
|
||||
pass
|
||||
|
||||
manager.connect_to_signal("AdapterAdded", slotAdapterAdded)
|
||||
manager.connect_to_signal("AdapterRemoved", slotAdapterRemoved)
|
||||
|
||||
print "waiting for bt device (un)plug events ..."
|
||||
|
||||
app.exec_()
|
@ -0,0 +1,22 @@
|
||||
--- a/kdebluetooth/libkbluetooth/dbusinit.h.ORI 2012-09-01 20:45:58.121444854 +0200
|
||||
+++ a/kdebluetooth/libkbluetooth/dbusinit.h 2012-09-01 20:46:09.735185514 +0200
|
||||
@@ -32,7 +32,7 @@
|
||||
#include <dbus/connection.h>
|
||||
|
||||
#define BLUEZ_SERVICE "org.bluez"
|
||||
-#define BLUEZ_PATH "/org/bluez"
|
||||
+#define BLUEZ_PATH "/"
|
||||
|
||||
#define OBEX_SERVICE "org.openobex"
|
||||
#define OBEX_PATH "/org/openobex"
|
||||
--- a/kdebluetooth/libkbluetooth/inputmanager.h.ORI 2012-09-01 20:48:03.215640910 +0200
|
||||
+++ a/kdebluetooth/libkbluetooth/inputmanager.h 2012-09-01 20:48:12.643428667 +0200
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "dbussignal.h"
|
||||
#include "dbusfilter.h"
|
||||
|
||||
-#define BLUEZ_PATH_INPUTMANAGER "/org/bluez/input"
|
||||
+#define BLUEZ_PATH_INPUTMANAGER "/input"
|
||||
#define INTERFACE_INPUTMANAGER "org.bluez.input.Manager"
|
||||
|
||||
namespace KBluetooth
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -0,0 +1,20 @@
|
||||
diff -Nur kdebluetooth-1.0~beta5~r695881/admin/cvs.sh kdebluetooth-1.0~beta5~r695881.new/admin/cvs.sh
|
||||
--- kdebluetooth-1.0~beta5~r695881/admin/cvs.sh 2007-08-02 13:29:02.000000000 +0200
|
||||
+++ kdebluetooth-1.0~beta5~r695881.new/admin/cvs.sh 2007-08-03 10:19:55.000000000 +0200
|
||||
@@ -537,6 +537,8 @@
|
||||
if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi
|
||||
export EXTRACTRC PREPARETIPS
|
||||
|
||||
+kdepotpath=/usr/include/kde/kde.pot
|
||||
+
|
||||
for subdir in $dirs; do
|
||||
test -z "$VERBOSE" || echo "Making messages in $subdir"
|
||||
(cd $subdir
|
||||
@@ -554,7 +556,6 @@
|
||||
fi
|
||||
perl -e '$mes=0; while (<STDIN>) { next if (/^(if\s|else\s|endif)/); if (/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && / -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } else { print $_; } }' < Makefile.am | egrep -v '^include ' > _transMakefile
|
||||
|
||||
- kdepotpath=${includedir:-`kde-config --expandvars --install include`}/kde.pot
|
||||
if ! test -f $kdepotpath; then
|
||||
kdepotpath=`kde-config --expandvars --prefix`/include/kde.pot
|
||||
fi
|
@ -0,0 +1,15 @@
|
||||
diff -Nur kdebluetooth-1.0~beta6~r706091/kdebluetooth/kbluetooth/Makefile.am kdebluetooth-1.0~beta6~r706091.new/kdebluetooth/kbluetooth/Makefile.am
|
||||
--- kdebluetooth-1.0~beta6~r706091/kdebluetooth/kbluetooth/Makefile.am 2007-08-29 14:03:27.000000000 +0200
|
||||
+++ kdebluetooth-1.0~beta6~r706091.new/kdebluetooth/kbluetooth/Makefile.am 2007-08-29 16:39:13.000000000 +0200
|
||||
@@ -12,11 +12,6 @@
|
||||
#shelldesktop_DATA = kbluetooth.desktop
|
||||
xdg_apps_DATA = kbluetooth.desktop
|
||||
|
||||
-# Autostart entry
|
||||
-autostartdir = $(datadir)/autostart
|
||||
-autostart_DATA = kbluetooth.autostart.desktop
|
||||
-
|
||||
-
|
||||
#EXTRA_DIST = $(kbluetooth_SOURCES)\
|
||||
# $(kde_servicetypes_DATA) \
|
||||
# eventsrc
|
@ -0,0 +1,10 @@
|
||||
diff -Nur kdebluetooth-1.0~beta6~r706853/kdebluetooth/kbtobexclient/Makefile.am kdebluetooth-1.0~beta6~r706853.new/kdebluetooth/kbtobexclient/Makefile.am
|
||||
--- kdebluetooth-1.0~beta6~r706853/kdebluetooth/kbtobexclient/Makefile.am 2007-08-31 11:52:00.000000000 +0200
|
||||
+++ kdebluetooth-1.0~beta6~r706853.new/kdebluetooth/kbtobexclient/Makefile.am 2007-08-31 18:31:16.000000000 +0200
|
||||
@@ -1,5 +1,5 @@
|
||||
# set the include path for X, qt and KDE
|
||||
-INCLUDES = -I$(top_srcdir)/kdebluetooth -I$(top_srcdir)/kdebluetooth/libkbluetooth/ -Ikio $(all_includes) $(OPENOBEX_CFLAGS) $(BLUETOOTH_CFLAGS) $(DBUS_CFLAGS)
|
||||
+INCLUDES = -I$(top_builddir)/kdebluetooth/libkbluetooth/ -I$(build_dir)/kdebluetooth/libkbluetooth/ -I$(top_srcdir)/kdebluetooth -I$(top_srcdir)/kdebluetooth/libkbluetooth/ -Ikio $(all_includes) $(OPENOBEX_CFLAGS) $(BLUETOOTH_CFLAGS) $(DBUS_CFLAGS)
|
||||
|
||||
# these are the headers for your project
|
||||
|
@ -0,0 +1,50 @@
|
||||
diff -Nur -x '*.orig' -x '*~' kdebluetooth-1.0~beta9~r734866/kdebluetooth/kbtobexclient/main.cpp kdebluetooth-1.0~beta9~r734866.new/kdebluetooth/kbtobexclient/main.cpp
|
||||
--- kdebluetooth-1.0~beta9~r734866/kdebluetooth/kbtobexclient/main.cpp 2007-08-30 17:30:15.000000000 +0200
|
||||
+++ kdebluetooth-1.0~beta9~r734866.new/kdebluetooth/kbtobexclient/main.cpp 2007-11-16 18:08:29.000000000 +0100
|
||||
@@ -42,6 +42,7 @@
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
+ KLocale::setMainCatalogue("kdebluetooth");
|
||||
KAboutData about("kbtobexclient",
|
||||
I18N_NOOP("Bluetooth OBEX Object Push client"),
|
||||
0, description,
|
||||
@@ -58,7 +59,6 @@
|
||||
|
||||
KApplication app;
|
||||
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
||||
- KGlobal::locale()->insertCatalogue("libkbluetooth");
|
||||
|
||||
KURL url;
|
||||
if (args->count() == 0) {
|
||||
diff -Nur -x '*.orig' -x '*~' kdebluetooth-1.0~beta9~r734866/kdebluetooth/kbtserialchat/main.cpp kdebluetooth-1.0~beta9~r734866.new/kdebluetooth/kbtserialchat/main.cpp
|
||||
--- kdebluetooth-1.0~beta9~r734866/kdebluetooth/kbtserialchat/main.cpp 2005-04-20 21:01:14.000000000 +0200
|
||||
+++ kdebluetooth-1.0~beta9~r734866.new/kdebluetooth/kbtserialchat/main.cpp 2007-11-16 18:08:29.000000000 +0100
|
||||
@@ -37,6 +37,7 @@
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
+ KLocale::setMainCatalogue("kdebluetooth");
|
||||
KAboutData about("kbtserialchat",
|
||||
I18N_NOOP("Bluetooth Serial Chat"),
|
||||
version, description,
|
||||
@@ -49,7 +50,6 @@
|
||||
KApplication app;
|
||||
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
||||
|
||||
- KGlobal::locale()->insertCatalogue("libkbluetooth");
|
||||
if (args->isSet("rfcommconnection") && args->isSet("peeraddr") &&
|
||||
args->isSet("peername")) {
|
||||
int socket = QString(args->getOption("rfcommconnection"))
|
||||
diff -Nur -x '*.orig' -x '*~' kdebluetooth-1.0~beta9~r734866/kdebluetooth/kcm_btpaired/kcm_btpaired.cpp kdebluetooth-1.0~beta9~r734866.new/kdebluetooth/kcm_btpaired/kcm_btpaired.cpp
|
||||
--- kdebluetooth-1.0~beta9~r734866/kdebluetooth/kcm_btpaired/kcm_btpaired.cpp 2007-08-27 18:44:57.000000000 +0200
|
||||
+++ kdebluetooth-1.0~beta9~r734866.new/kdebluetooth/kcm_btpaired/kcm_btpaired.cpp 2007-11-16 18:14:38.000000000 +0100
|
||||
@@ -82,7 +82,7 @@
|
||||
{
|
||||
KCModule *create_btpaired(QWidget *parent, const char* /*name*/)
|
||||
{
|
||||
- KGlobal::locale()->insertCatalogue("btpaired");
|
||||
+ KGlobal::locale()->insertCatalogue("kdebluetooth");
|
||||
return new kcm_btpaired(parent, "btpaired");
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,101 @@
|
||||
# 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
|
||||
|
||||
# Speed build options
|
||||
%define debug_package %{nil}
|
||||
%define __spec_install_post %{nil}
|
||||
AutoReq: no
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/include
|
||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
||||
%define tde_mandir %{tde_datadir}/man
|
||||
|
||||
%define tde_tdeappdir %{tde_datadir}/applications/kde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-kickoff-i18n
|
||||
Summary: Kickoff translations for Trinity Desktop Environment
|
||||
Version: 1.0
|
||||
Release: 2%{?dist}%{?_variant}
|
||||
Group: System/Internationalization
|
||||
License: GPL
|
||||
URL: http://www.mandriva.com
|
||||
|
||||
Source0: kickoff-i18n-1.0.tar.bz2
|
||||
Patch0: kickoff-i18n-1.0-uz-po.patch
|
||||
Patch1: kickoff-i18n-1.0-tr-po.patch
|
||||
|
||||
# [kickoff-i18n] Fix directories for Trinity
|
||||
Patch2: kickoff-i18n-1.0-fix_trinity_location.patch
|
||||
# [kickoff-i18n] Fix build with automake 1.11
|
||||
Patch3: kickoff-i18n-1.0-fix_autotools_detection.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: qt3-devel
|
||||
BuildRequires: trinity-tdelibs-devel >= 3.5.13.1
|
||||
|
||||
%description
|
||||
kickoff translations
|
||||
|
||||
%prep
|
||||
%setup -q -n kickoff-i18n-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1 -b .dir
|
||||
%patch3 -p1 -b .automake
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
%__sed -i admin/acinclude.m4.in \
|
||||
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
|
||||
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
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} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%__rm -fr %{buildroot}
|
||||
%__make install DESTDIR=%{?buildroot}
|
||||
|
||||
%find_lang kickoff
|
||||
|
||||
%clean
|
||||
#rm -fr %{buildroot}
|
||||
|
||||
%files -f kickoff.lang
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%changelog
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-2
|
||||
- Initial build for TDE 3.5.13.1
|
||||
|
||||
* Fri Aug 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-1
|
||||
- Initial build for TDE 3.5.13
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,11 @@
|
||||
--- ksensors-0.7.3/admin/cvs.sh.ORI 2012-10-07 11:06:41.616636004 +0200
|
||||
+++ ksensors-0.7.3/admin/cvs.sh 2012-10-07 11:07:55.975129334 +0200
|
||||
@@ -64,7 +64,7 @@
|
||||
echo "*** KDE requires automake 1.6.1 or newer"
|
||||
exit 1
|
||||
;;
|
||||
- automake*1.6.* | automake*1.7* ) : ;;
|
||||
+ automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.1[012]* ) : ;;
|
||||
"" )
|
||||
echo "*** AUTOMAKE NOT FOUND!."
|
||||
echo "*** KDE requires automake 1.6.1 or newer"
|
@ -0,0 +1,10 @@
|
||||
--- ksensors-0.7.3/src/sounds/Makefile.am.ORI 2012-10-07 11:24:46.315092603 +0200
|
||||
+++ ksensors-0.7.3/src/sounds/Makefile.am 2012-10-07 11:25:08.288633760 +0200
|
||||
@@ -5,6 +5,7 @@
|
||||
EXTRA_DIST = ksensors_alert.wav
|
||||
|
||||
install-data-local:
|
||||
+ $(mkinstalldirs) $(kde_sounddir)
|
||||
$(INSTALL_DATA) $(srcdir)/ksensors_alert.wav $(kde_sounddir)/ksensors_alert.wav
|
||||
uninstall-local:
|
||||
rm -f $(kde_sounddir)/ksensors_alert.wav
|
@ -0,0 +1,84 @@
|
||||
--- ksensors-0.7.3/admin/acinclude.m4.in.tdeinc 2003-09-09 16:44:53.000000000 +0200
|
||||
+++ ksensors-0.7.3/admin/acinclude.m4.in 2012-10-07 11:10:55.098502427 +0200
|
||||
@@ -459,14 +459,14 @@
|
||||
if test "$kde_qtver" = "2"; then
|
||||
kde_moduledir='\${libdir}/kde2'
|
||||
else
|
||||
- kde_moduledir='\${libdir}/kde3'
|
||||
+ kde_moduledir='\${libdir}/trinity'
|
||||
fi
|
||||
fi
|
||||
if test -z "$kde_styledir"; then
|
||||
- kde_styledir='\${libdir}/kde3/plugins/styles'
|
||||
+ kde_styledir='\${libdir}/trinity/plugins/styles'
|
||||
fi
|
||||
if test -z "$kde_widgetdir"; then
|
||||
- kde_widgetdir='\${libdir}/kde3/plugins/designer'
|
||||
+ kde_widgetdir='\${libdir}/trinity/plugins/designer'
|
||||
fi
|
||||
if test -z "$xdg_appsdir"; then
|
||||
xdg_appsdir='\${datadir}/applications'
|
||||
@@ -528,7 +528,7 @@
|
||||
)
|
||||
AM_CONDITIONAL(include_ARTS, test "$build_arts" != "no")
|
||||
|
||||
- kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
|
||||
+ kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/trinity/bin /usr/kde/bin /usr/local/kde/bin"
|
||||
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
|
||||
if test -n "$KDEDIRS"; then
|
||||
kde_save_IFS=$IFS
|
||||
@@ -549,7 +549,7 @@
|
||||
KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs])
|
||||
|
||||
if test -n "$MEINPROC" && test ! "$MEINPROC" = "compiled"; then
|
||||
- kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
|
||||
+ kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/trinity/share /opt/kde/share $prefix/share"
|
||||
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
|
||||
AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET)
|
||||
if test "$KDE_XSL_STYLESHEET" = "NO"; then
|
||||
@@ -1688,8 +1688,8 @@
|
||||
|
||||
if test -z "$1"; then
|
||||
|
||||
-kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
|
||||
-test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
|
||||
+kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/trinity/include /opt/kde/include $x_includes $qt_includes"
|
||||
+test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/tde $KDEDIR/include/kde $KDEDIR $kde_incdirs"
|
||||
kde_incdirs="$ac_kde_includes $kde_incdirs"
|
||||
AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir)
|
||||
ac_kde_includes="$kde_incdir"
|
||||
@@ -1700,7 +1700,7 @@
|
||||
So, check this please and use another prefix!])
|
||||
fi
|
||||
|
||||
-kde_libdirs="/usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
|
||||
+kde_libdirs="/usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/trinity /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/trinity/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
|
||||
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
|
||||
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
|
||||
AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir)
|
||||
@@ -1708,7 +1708,7 @@
|
||||
|
||||
kde_widgetdir=NO
|
||||
dnl this might be somewhere else
|
||||
-AC_FIND_FILE("kde3/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
|
||||
+AC_FIND_FILE("trinity/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
|
||||
|
||||
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
|
||||
AC_MSG_ERROR([
|
||||
@@ -1716,14 +1716,14 @@
|
||||
So, check this please and use another prefix!])
|
||||
fi
|
||||
|
||||
-if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
|
||||
+if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/trinity/plugins/designer/kdewidgets.la"; then
|
||||
AC_MSG_ERROR([
|
||||
I can't find the designer plugins. These are required and should have been installed
|
||||
by kdelibs])
|
||||
fi
|
||||
|
||||
if test -n "$kde_widgetdir"; then
|
||||
- kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
|
||||
+ kde_widgetdir="$kde_widgetdir/trinity/plugins/designer"
|
||||
fi
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -0,0 +1,268 @@
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/include
|
||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
||||
%define tde_mandir %{tde_datadir}/man
|
||||
|
||||
%define tde_tdeappdir %{tde_datadir}/applications/kde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
Name: trinity-ksensors
|
||||
Version: 0.7.3
|
||||
Release: 19p3%{?dist}%{?_variant}
|
||||
|
||||
Summary: KDE frontend to lm_sensors
|
||||
Group: Applications/System
|
||||
License: GPLv2+
|
||||
URL: http://ksensors.sourceforge.net/
|
||||
|
||||
Source0: http://downloads.sourceforge.net/ksensors/ksensors-%{version}.tar.gz
|
||||
|
||||
# Debian (upstream) patch
|
||||
Patch2: ksensors_0.7.3-18.diff
|
||||
# Fix 'lmsensor.cpp' for older lm_sensors API (< 3.x)
|
||||
Patch7: ksensors-0.7.3-18-lmsensors_2x_fix.patch
|
||||
# [ksensors] Fix autotools detection
|
||||
Patch9: ksensors-0.7.3-fix_autotools_detection.patch
|
||||
# Fix TDE directories detection
|
||||
Patch10: ksensors-0.7.3-tde_includedir.patch
|
||||
# Fix sound installation
|
||||
Patch11: ksensors-0.7.3-fix_sound_installation.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: trinity-tdelibs-devel >= 3.5.13.1
|
||||
BuildRequires: gettext
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: libsensors4-devel
|
||||
%else
|
||||
BuildRequires: lm_sensors-devel
|
||||
%endif
|
||||
|
||||
# Keep archs in sync with lm_sensors
|
||||
ExcludeArch: s390 s390x
|
||||
|
||||
%description
|
||||
KSensors is a nice lm-sensors frontend for the K Desktop Environment.
|
||||
Install the hddtemp package if you wish to monitor hard disk
|
||||
temperatures with KSensors.
|
||||
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n ksensors-%{version}
|
||||
%patch2 -p1 -b .debian
|
||||
%patch7 -p1 -b .lm2x
|
||||
%patch9 -p1 -b .autotools
|
||||
%patch10 -p1 -b .tdeinc
|
||||
%patch11 -p1 -b .sound
|
||||
|
||||
# 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"
|
||||
|
||||
%__sed -i -e 's|$(kde_datadir)/sounds|$(kde_sounddir)|' src/sounds/Makefile.*
|
||||
for f in ChangeLog LIESMICH LISEZMOI ; do
|
||||
iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
|
||||
done
|
||||
|
||||
%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 \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--disable-dependency-tracking \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=%{tde_includedir}/tqt \
|
||||
--with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir}
|
||||
|
||||
%__make %{?_smp_mflags} LIBTOOL=$(which libtool)
|
||||
|
||||
|
||||
%install
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
%__make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
# Creates autostart shortcut
|
||||
%__install -dm 755 $RPM_BUILD_ROOT%{tde_datadir}/autostart
|
||||
%__ln_s ../applnk/Utilities/ksensors.desktop \
|
||||
$RPM_BUILD_ROOT%{tde_datadir}/autostart
|
||||
|
||||
#__rm -rf $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML
|
||||
|
||||
%find_lang ksensors
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post
|
||||
for f in locolor hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null || :
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null || :
|
||||
done
|
||||
|
||||
%postun
|
||||
for f in locolor hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null || :
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null || :
|
||||
done
|
||||
|
||||
|
||||
%files -f ksensors.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING FAQ README TODO
|
||||
%lang(es) %doc LEEME
|
||||
%lang(de) %doc LIESMICH
|
||||
%lang(fr) %doc LISEZMOI
|
||||
%{tde_bindir}/ksensors
|
||||
%{tde_datadir}/applnk/Utilities/ksensors.desktop
|
||||
%{tde_datadir}/apps/ksensors/
|
||||
%{tde_datadir}/autostart/ksensors.desktop
|
||||
%{tde_datadir}/icons/hicolor/*/apps/ksensors.png
|
||||
%{tde_datadir}/icons/locolor/
|
||||
%{tde_datadir}/sounds/ksensors_alert.wav
|
||||
%{tde_tdedocdir}/HTML/en/ksensors/
|
||||
|
||||
%changelog
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.7.3-19p3
|
||||
- Initial build for TDE 3.5.13.1
|
||||
|
||||
* Thu Dec 22 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-19p2
|
||||
- Update Debian patch to -18 release
|
||||
|
||||
* Mon Nov 07 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-19p1
|
||||
- Rebuilt for RHEL 6, RHEL 5, Fedora 15 with TDE 3.5.13
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Fri Feb 15 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.3-16
|
||||
- Update Debian patch to -15 release
|
||||
|
||||
* Thu Jan 3 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.3-15
|
||||
- Change BuildRequires: kdelibs-devel into kdelibs3-devel
|
||||
|
||||
* Sun Nov 11 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.3-14
|
||||
- Patch for and Rebuild against lm_sensors-3.0.0
|
||||
|
||||
* Sun Nov 11 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.3-13
|
||||
- Fix reading of min and max tresholds from libsensors
|
||||
|
||||
* Mon Aug 13 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.3-12
|
||||
- Update License tag for new Licensing Guidelines compliance
|
||||
|
||||
* Fri Jul 27 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.3-11
|
||||
- Remove OnlyShowIn=KDE; from .desktop file (I like using ksensors under GNOME,
|
||||
works fine grumbel)
|
||||
|
||||
* Fri Jul 27 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.3-10
|
||||
- Add icon-cache update scriptlets
|
||||
- Add Requires: hicolor-icon-theme for dir ownership
|
||||
|
||||
* Fri Jul 20 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-9
|
||||
- Sync Exclu(de|sive)Arch with new lm_sensors (#249060).
|
||||
|
||||
* Tue Jun 26 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-8
|
||||
- Update Debian patchset to -14 for additional fixes and translations;
|
||||
drop our hddtemp detection patch in favour of the one included in it.
|
||||
- Drop Application and X-Fedora categories from .desktop file, add GenericName.
|
||||
- Make autostart checkbox effective again (#242570).
|
||||
- Convert docs to UTF-8.
|
||||
|
||||
* Sat Sep 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-7
|
||||
- Apply Debian -11 patchset for upstream radio button state fix,
|
||||
support for hddtemp with SCSI disks and more translations.
|
||||
|
||||
* Wed Aug 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-6
|
||||
- Rebuild.
|
||||
|
||||
* Wed Feb 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-5
|
||||
- Rebuild.
|
||||
|
||||
* Thu Nov 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-4
|
||||
- Clean up build dependencies.
|
||||
|
||||
* Thu May 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-3
|
||||
- Sync arch availability with FC4 lm_sensors (%%{ix86}, x86_64, alpha).
|
||||
- Reduce directory ownership bloat.
|
||||
|
||||
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.7.3-2
|
||||
- rebuilt
|
||||
|
||||
* Sat Aug 21 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.3-0.fdr.1
|
||||
- Update to 0.7.3, most patches applied upstream.
|
||||
- Disable dependency tracking to speed up the build.
|
||||
|
||||
* Tue Jul 20 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.fdr.4
|
||||
- Force use of multithreaded Qt with --enable-mt to fix build on FC2.
|
||||
- Sync Debian patch to 0.7.2-16 to get a fix for freeze with hddtemp.
|
||||
- Apply upstream patches #913569 and #915725.
|
||||
- Disable RPATH.
|
||||
- Don't ship the "handbook", it's just a template.
|
||||
- Other minor improvements here and there.
|
||||
|
||||
* Sat Aug 2 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.fdr.3
|
||||
- Own dirs under %%{_datadir}/icons and %%{_docdir}/HTML (bug 21).
|
||||
- Don't tweak path to hddtemp.
|
||||
- Patch to fix hddtemp detection.
|
||||
- s/--enable-xinerama/--with-xinerama/
|
||||
- Borrow man page from Debian.
|
||||
|
||||
* Sat May 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.fdr.2
|
||||
- Spec cleanups.
|
||||
|
||||
* Fri Apr 4 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.fdr.1
|
||||
- Update to current Fedora guidelines.
|
||||
- Move desktop entry to %%{_datadir}/applications using desktop-file-install.
|
||||
|
||||
* Sun Feb 23 2003 Warren Togami <warren@togami.com> - 0.7.2-1.fedora.2
|
||||
- BuildRequires libart_lgpl-devel needed for Red Hat 8.1
|
||||
|
||||
* Sun Feb 23 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.7.2-1.fedora.1
|
||||
- Update to 0.7.2.
|
||||
- Don't apply startup crash patch, but keep it around for now.
|
||||
|
||||
* Sat Feb 15 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.7-1.fedora.2
|
||||
- Include startup crash patch from upstream SRPM.
|
||||
|
||||
* Sun Feb 9 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.7-1.fedora.1
|
||||
- First Fedora release.
|
@ -0,0 +1,288 @@
|
||||
# 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
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/include
|
||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
||||
%define tde_mandir %{tde_datadir}/man
|
||||
|
||||
%define tde_tdeappdir %{tde_datadir}/applications/kde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Summary: Mandriva theme for TDE - Widget design
|
||||
Name: trinity-style-ia-ora
|
||||
Version: 1.0.8
|
||||
Release: 2%{?dist}%{?_variant}
|
||||
License: GPL
|
||||
Group: Environment/Desktop
|
||||
URL: http://www.mandrivalinux.com/
|
||||
|
||||
Source0: ia_ora-kde-%{version}.tar.bz2
|
||||
|
||||
# [ia_ora] Fix automake 1.11 detection
|
||||
Patch1: ia_ora-1.08-fix_automake_detection.patch
|
||||
# [ia_ora] Fix trinity directories detection
|
||||
Patch2: ia_ora-1.08-fix_trinity_directories.patch
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||
|
||||
BuildRequires: trinity-tdelibs-devel >= 3.5.13.1
|
||||
BuildRequires: trinity-tdebase-devel >= 3.5.13.1
|
||||
|
||||
Requires: trinity-twin
|
||||
|
||||
%description
|
||||
Mandriva theme for Trinity
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n ia_ora-kde-%{version}
|
||||
%patch1 -p1 -b .automake11
|
||||
%patch2 -p1 -b .trinity
|
||||
|
||||
# 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" cvs
|
||||
|
||||
|
||||
%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} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--disable-rpath \
|
||||
--enable-closure \
|
||||
--disable-dependency-tracking \
|
||||
--enable-new-ldflags \
|
||||
--enable-final \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--with-extra-includes=%{tde_includedir}/tqt
|
||||
|
||||
%__make %{?_smp_mflags} LIBTOOL=$(which libtool)
|
||||
|
||||
%install
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{?buildroot}
|
||||
|
||||
# Removes useless files
|
||||
%__rm -f %{?buildroot}%{tde_tdelibdir}/*.a
|
||||
%__rm -f %{?buildroot}%{tde_tdelibdir}/plugins/styles/*.a
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdelibdir}/kwin3_iaora.la
|
||||
%{tde_tdelibdir}/kwin3_iaora.so
|
||||
%{tde_tdelibdir}/kwin_iaora_config.la
|
||||
%{tde_tdelibdir}/kwin_iaora_config.so
|
||||
%{tde_tdelibdir}/plugins/styles/ia_ora.la
|
||||
%{tde_tdelibdir}/plugins/styles/ia_ora.so
|
||||
%{tde_datadir}/apps/kstyle/themes/ia_ora.themerc
|
||||
%{tde_datadir}/apps/kwin/iaora.desktop
|
||||
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.8-2
|
||||
- Initial build for TDE 3.5.13.1
|
||||
|
||||
* Fri Aug 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.8-1
|
||||
- Initial version for TDE 3.5.13
|
||||
|
||||
* Fri Aug 05 2011 Andrey Bondrov <bondrov@math.dvgu.ru> 1.0.8-9mib2011.0
|
||||
- Port to 2011
|
||||
|
||||
* Sat Jul 10 2010 Andrey Bondrov <bondrov@math.dvgu.ru> 1.0.8-8mib2010.1
|
||||
- Rebuild for MIB users
|
||||
|
||||
* Sun Nov 22 2009 Atilla ÖNTAŞ <atilla_ontas@mandriva.org> 1.0.8-8mvt2010.0
|
||||
- Rename package to avoid unwanted KDE4 upgrade
|
||||
- Merge packages in one kde-style package
|
||||
- Fix package group in spec file
|
||||
|
||||
* Tue Nov 17 2009 Tim Williams <tim@my-place.org.uk> 1.0.8-7mdv2010.0
|
||||
+ Rebuild for MDV 2010.0
|
||||
|
||||
* Thu Mar 26 2009 Helio Chissini de Castro <helio@mandriva.com> 1.0.8-6mdv2009.1
|
||||
+ Revision: 361404
|
||||
- Bump to rebuild against cooker
|
||||
|
||||
* Tue Nov 18 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.0.8-5mdv2009.1
|
||||
+ Revision: 304189
|
||||
- rebuild for new xcb
|
||||
|
||||
* Wed Aug 06 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.0.8-4mdv2009.0
|
||||
+ Revision: 264680
|
||||
- rebuild early 2009.0 package (before pixel changes)
|
||||
|
||||
* Thu May 08 2008 Helio Chissini de Castro <helio@mandriva.com> 1.0.8-2mdv2009.0
|
||||
+ Revision: 204689
|
||||
- Move to /opt
|
||||
|
||||
* Wed Feb 27 2008 Gustavo Pichorim Boiko <boiko@mandriva.com> 1.0.8-1mdv2008.1
|
||||
+ Revision: 175799
|
||||
- New release (1.0.8):
|
||||
* Fix drawing of buttons when using mandriva color schemes
|
||||
* Update color scheme names to match the new ones
|
||||
|
||||
* Tue Feb 19 2008 Gustavo Pichorim Boiko <boiko@mandriva.com> 1.0.7-1mdv2008.1
|
||||
+ Revision: 173100
|
||||
- new release (1.0.7) fixing some drawing issues on applications that don't use
|
||||
standard background colors (#33502)
|
||||
|
||||
* Thu Jan 03 2008 Oden Eriksson <oeriksson@mandriva.com> 1.0.6-2mdv2008.1
|
||||
+ Revision: 141786
|
||||
- rebuilt against openldap-2.4.7 libs
|
||||
|
||||
+ Olivier Blin <oblin@mandriva.com>
|
||||
- restore BuildRoot
|
||||
|
||||
+ Thierry Vignaud <tvignaud@mandriva.com>
|
||||
- kill re-definition of %%buildroot on Pixel's request
|
||||
|
||||
* Wed Sep 12 2007 Gustavo Pichorim Boiko <boiko@mandriva.com> 1.0.6-1mdv2008.0
|
||||
+ Revision: 84626
|
||||
- new release: 1.0.6:
|
||||
* Use the right color for the bottom line of menubar
|
||||
* Remove some lines that were causing double borders at menubar and toolbar
|
||||
ends
|
||||
* Fix the bottom of toolbars: it was being drawn using the wrong color
|
||||
* Use a flat background for status bars
|
||||
* Add a minimum size for the scrollbar handle
|
||||
- new release: 1.0.5
|
||||
* Use the widget style in all separators (#33260)
|
||||
* Fixed popup menu item drawing on menus that have titles (#33287)
|
||||
|
||||
* Thu Sep 06 2007 Gustavo Pichorim Boiko <boiko@mandriva.com> 1.0.4-1mdv2008.0
|
||||
+ Revision: 81272
|
||||
- new version: 1.0.4
|
||||
* Restore the old color themes (as they will be kept as alternatives)
|
||||
* Properly mask the rounded borders and properly draw the region previously
|
||||
masked
|
||||
* Create fake rounded corners on menu items
|
||||
* Reduced the button margin to get normal sized buttons (not giant ones)
|
||||
* Make it possible to resize windows by the top border
|
||||
------------------------------------------------------------------------
|
||||
r227235 | boiko | 2007-09-06 13:58:18 -0300 (Qui, 06 Set 2007) | 3 lines
|
||||
|
||||
* Wed Sep 05 2007 Gustavo Pichorim Boiko <boiko@mandriva.com> 1.0.3-1mdv2008.0
|
||||
+ Revision: 80378
|
||||
- new release: 1.0.3
|
||||
* Implement highligh on hovering controls
|
||||
* Threat scrollbar buttons as buttons (showing them lowered when the button
|
||||
is pressed for example)
|
||||
* Show the combo box button as pressed when the list is opened
|
||||
* Removed Powerpack+ colors
|
||||
* Changed Discovery/One to just One and adjusted colors
|
||||
* Used more sane values when using ia_ora together with other KDE color
|
||||
schemes
|
||||
- new release:
|
||||
* fix gradient colors of menus (thanks Frederic Crozat for pointing that)
|
||||
* implement correctly the combo box drawing according to the ia_ora spec
|
||||
* Fix the text color of menubar items
|
||||
|
||||
* Thu Aug 23 2007 Gustavo Pichorim Boiko <boiko@mandriva.com> 1.0.1-1mdv2008.0
|
||||
+ Revision: 70685
|
||||
- new version: 1.0.1
|
||||
* Replace the gradient code by the Plastik one (it is better written)
|
||||
* Fix drawing of menubar items and popupmenu items (#30659)
|
||||
|
||||
* Mon Jun 11 2007 Nicolas Lécureuil <neoclust@mandriva.org> 1.0-18mdv2008.0
|
||||
+ Revision: 38004
|
||||
- REBUILD
|
||||
|
||||
|
||||
* Thu Mar 22 2007 Laurent Montel <lmontel@mandriva.com> 1.0-17mdv2007.1
|
||||
+ Revision: 147929
|
||||
- Fix theme
|
||||
|
||||
* Mon Mar 19 2007 Laurent Montel <lmontel@mandriva.com> 1.0-16mdv2007.1
|
||||
+ Revision: 146479
|
||||
- Fix progressbar text color
|
||||
|
||||
* Wed Mar 07 2007 Laurent Montel <lmontel@mandriva.com> 1.0-15mdv2007.1
|
||||
+ Revision: 134563
|
||||
- Fix style
|
||||
|
||||
* Tue Mar 06 2007 Laurent Montel <lmontel@mandriva.com> 1.0-14mdv2007.1
|
||||
+ Revision: 133854
|
||||
- New update
|
||||
|
||||
* Wed Feb 28 2007 Laurent Montel <lmontel@mandriva.com> 1.0-13mdv2007.1
|
||||
+ Revision: 127097
|
||||
- New update
|
||||
|
||||
* Wed Jan 24 2007 Laurent Montel <lmontel@mandriva.com> 1.0-12mdv2007.1
|
||||
+ Revision: 112737
|
||||
- Fix theme
|
||||
|
||||
* Tue Jan 02 2007 Laurent Montel <lmontel@mandriva.com> 1.0-11mdv2007.1
|
||||
+ Revision: 103350
|
||||
- Update tarball
|
||||
|
||||
* Mon Dec 11 2006 Laurent Montel <lmontel@mandriva.com> 1.0-10mdv2007.1
|
||||
+ Revision: 94696
|
||||
- Rename spec file name too
|
||||
- Rename ia_ora to ia_ora-kde
|
||||
Fix a lot of bug
|
||||
- Import ia_ora-kde
|
||||
|
||||
* Sat Sep 16 2006 Laurent MONTEL <lmontel@mandriva.com> 1.0-9
|
||||
- Fix title bar
|
||||
|
||||
* Thu Sep 14 2006 Laurent MONTEL <lmontel@mandriva.com> 1.0-8
|
||||
- Fix handle
|
||||
|
||||
* Thu Sep 14 2006 Laurent MONTEL <lmontel@mandriva.com> 1.0-7
|
||||
- Fix toolbar color
|
||||
|
||||
* Thu Sep 14 2006 Laurent MONTEL <lmontel@mandriva.com> 1.0-6
|
||||
- Fix Combobox/Scrollbar/Checkbox and bidi mode
|
||||
|
||||
* Tue Sep 12 2006 Laurent MONTEL <lmontel@mandriva.com> 1.0-5
|
||||
- Fix tabbar
|
||||
|
||||
* Tue Sep 12 2006 Laurent MONTEL <lmontel@mandriva.com> 1.0-4
|
||||
- Fix scrollbar
|
||||
|
||||
* Sun Sep 10 2006 Laurent MONTEL <lmontel@mandriva.com> 1.0-3
|
||||
- Improve style
|
||||
|
||||
* Fri Sep 08 2006 Laurent MONTEL <lmontel@mandriva.com> 1.0-2
|
||||
- Some fixes
|
||||
|
||||
* Tue Sep 05 2006 Laurent MONTEL <lmontel@mandriva.com> 1.0-1
|
||||
- Initial package
|
||||
|
Loading…
Reference in new issue