summaryrefslogtreecommitdiffstats
path: root/redhat/kdesdk/trinity-kdesdk-3.5.13.spec
diff options
context:
space:
mode:
authoralbator <[email protected]>2011-10-29 23:32:41 +0200
committeralbator <[email protected]>2011-10-29 23:32:41 +0200
commit703986bfe4270bb901f594b92eebb265d04ad8f5 (patch)
treeca0361b20e1cf443754d4104663977e3f0a2077c /redhat/kdesdk/trinity-kdesdk-3.5.13.spec
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/kdesdk/trinity-kdesdk-3.5.13.spec')
-rw-r--r--redhat/kdesdk/trinity-kdesdk-3.5.13.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/redhat/kdesdk/trinity-kdesdk-3.5.13.spec b/redhat/kdesdk/trinity-kdesdk-3.5.13.spec
index 19dae5b0b..2563ec93a 100644
--- a/redhat/kdesdk/trinity-kdesdk-3.5.13.spec
+++ b/redhat/kdesdk/trinity-kdesdk-3.5.13.spec
@@ -26,7 +26,10 @@ Group: User Interface/Desktops
URL: http://www.trinitydesktop.org/
Vendor: Trinity Project
Packager: Francois Andriot <[email protected]>
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
Source: kdesdk-%{version}.tar.gz
# RedHat Legacy patches
@@ -48,7 +51,9 @@ BuildRequires: desktop-file-utils
BuildRequires: flex
# umbrello
BuildRequires: libxslt-devel libxml2-devel
+%if 0%{?fedora} > 5 || 0%{?rhel} > 4
BuildRequires: binutils-devel
+%endif
BuildRequires: perl
BuildRequires: subversion-devel neon-devel
@@ -111,14 +116,15 @@ cd build
-DBUILD_ALL=ON \
..
-%__make %{?_smp_mflags}
+# Do not use %{?_smp_mflags} !
+%__make
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
-%make_install -C build
+%__make install DESTDIR=%{?buildroot} -C build
desktop-file-install --vendor "" \
--dir %{buildroot}%{_datadir}/applications/kde \