summaryrefslogtreecommitdiffstats
path: root/redhat/kdemultimedia
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-10-29 23:32:41 +0200
committeralbator <albator@arcadia.vtf>2011-10-29 23:32:41 +0200
commit703986bfe4270bb901f594b92eebb265d04ad8f5 (patch)
treeca0361b20e1cf443754d4104663977e3f0a2077c /redhat/kdemultimedia
parent5a3c8c66709ef8eeb3708b0eb2732fa9e84d37d3 (diff)
downloadtde-packaging-703986bfe4270bb901f594b92eebb265d04ad8f5.tar.gz
tde-packaging-703986bfe4270bb901f594b92eebb265d04ad8f5.zip
Lot of updates for TDE 3.5.13 (RHEL 5, RHEL 6, Fedora 15)
Diffstat (limited to 'redhat/kdemultimedia')
-rw-r--r--redhat/kdemultimedia/trinity-kdemultimedia-3.5.12.spec9
-rw-r--r--redhat/kdemultimedia/trinity-kdemultimedia-3.5.13.spec12
2 files changed, 14 insertions, 7 deletions
diff --git a/redhat/kdemultimedia/trinity-kdemultimedia-3.5.12.spec b/redhat/kdemultimedia/trinity-kdemultimedia-3.5.12.spec
index e4f1f310c..82e4df87f 100644
--- a/redhat/kdemultimedia/trinity-kdemultimedia-3.5.12.spec
+++ b/redhat/kdemultimedia/trinity-kdemultimedia-3.5.12.spec
@@ -43,6 +43,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdemultimedia-%{version}.tar.gz
+Provides: kdemultimedia3 = %{version}-%{release}
+
# RedHat Legacy patches (from Fedora 8)
Patch3: kdemultimedia-3.4.0-xdg.patch
Patch5: kdemultimedia-3.5.7-pthread.patch
@@ -159,7 +161,8 @@ export CXXFLAGS="${CXXFLAGS} -lDCOP"
%{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \
%{?_with_taglib} %{!?_with_taglib:--without-taglib} \
%{?_with_xine} %{!?_with_xine:--without-xine} \
- --with-extra-includes=%{_usr}/include/cdda:%{_includedir}/tqt
+ --with-extra-includes=%{_usr}/include/cdda:%{_includedir}/tqt \
+ --enable-closure
%__make %{?_smp_mflags}
@@ -172,7 +175,7 @@ export PATH="%{_bindir}:${PATH}"
%__make install DESTDIR=%{?buildroot} -C kaudiocreator
## Remove/uninstall (conflicting) bits we don't want
-rm -f $RPM_BUILD_ROOT%{_libdir}/mcop/akode*MPEGPlayObject.mcopclass
+%__rm -f $RPM_BUILD_ROOT%{_libdir}/mcop/akode*MPEGPlayObject.mcopclass
# only show in KDE, really? -- Rex (FIXME)
for f in %{buildroot}%{appdir}/*.desktop ; do
@@ -217,6 +220,7 @@ done
%post
+/sbin/ldconfig
for f in crystalsvg hicolor locolor ; do
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
@@ -224,6 +228,7 @@ done
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%postun
+/sbin/ldconfig
for f in crystalsvg hicolor locolor ; do
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
diff --git a/redhat/kdemultimedia/trinity-kdemultimedia-3.5.13.spec b/redhat/kdemultimedia/trinity-kdemultimedia-3.5.13.spec
index 868754041..0eda9a831 100644
--- a/redhat/kdemultimedia/trinity-kdemultimedia-3.5.13.spec
+++ b/redhat/kdemultimedia/trinity-kdemultimedia-3.5.13.spec
@@ -38,8 +38,10 @@ 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)
+
Source0: kdemultimedia-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: kdemultimedia3 = %{version}-%{release}
@@ -47,8 +49,8 @@ Provides: kdemultimedia3 = %{version}-%{release}
Patch3: kdemultimedia-3.4.0-xdg.patch
Patch5: kdemultimedia-3.5.7-pthread.patch
-Patch100: svn.patch
+Provides: kdemultimedia3 = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
@@ -67,6 +69,8 @@ BuildRequires: automake libtool
%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel}
%{?_with_taglib:BuildRequires: taglib-devel}
%{?_with_xine:BuildRequires: xine-lib-devel}
+BuildRequires: libXxf86dga-devel
+BuildRequires: libXxf86vm-devel
%description
The K Desktop Environment (KDE) is a GUI desktop for the X Window
@@ -125,8 +129,6 @@ Requires: %{name} = %{version}-%{release}
%patch3 -p1 -b .xdg
%patch5 -p1 -b .pthread
-%patch100 -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 \
@@ -169,7 +171,7 @@ export LDFLAGS="-L%{_libdir} -I%{_includedir}"
%install
export PATH="%{_bindir}:${PATH}"
-%__rm -rf %{buildroot}
+%__rm -rf %{?buildroot}
%__make install DESTDIR=%{buildroot}
## Remove/uninstall (conflicting) bits we don't want