summaryrefslogtreecommitdiffstats
path: root/redhat/kdevelop/trinity-kdevelop-3.5.12.spec
diff options
context:
space:
mode:
authoralbator <[email protected]>2011-09-19 22:17:49 +0200
committeralbator <[email protected]>2011-09-19 22:17:49 +0200
commit7097fba6916585b670bc24ac0275608108848a59 (patch)
tree681694d8d3e61eb1d652ef7009ade92c674a551d /redhat/kdevelop/trinity-kdevelop-3.5.12.spec
parentd20183da14961148333e1f76f794c19bd763c7b0 (diff)
downloadtde-packaging-7097fba6916585b670bc24ac0275608108848a59.tar.gz
tde-packaging-7097fba6916585b670bc24ac0275608108848a59.zip
Updates for TDE 3.5.12 for RHEL5
Signed-off-by: albator <[email protected]>
Diffstat (limited to 'redhat/kdevelop/trinity-kdevelop-3.5.12.spec')
-rw-r--r--redhat/kdevelop/trinity-kdevelop-3.5.12.spec17
1 files changed, 12 insertions, 5 deletions
diff --git a/redhat/kdevelop/trinity-kdevelop-3.5.12.spec b/redhat/kdevelop/trinity-kdevelop-3.5.12.spec
index 4d70451ba..a7504fbe2 100644
--- a/redhat/kdevelop/trinity-kdevelop-3.5.12.spec
+++ b/redhat/kdevelop/trinity-kdevelop-3.5.12.spec
@@ -2,7 +2,7 @@
%if "%{?version}" == ""
%define version 3.5.12
%endif
-%define release 1
+%define release 2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
@@ -33,7 +33,8 @@ Vendor: Trinity Project
Packager: Francois Andriot <[email protected]>
URL: http://www.trinitydesktop.org/
-Prefix: %{_prefix}
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: kdevelop-%{version}.tar.gz
Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2
@@ -65,7 +66,7 @@ BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdelibs-apidocs
BuildRequires: qt3-devel-docs
BuildRequires: db4-devel
-BuildRequires: flex flex-static
+BuildRequires: flex
BuildRequires: pcre-devel
BuildRequires: libacl-devel libattr-devel libidn-devel libart_lgpl-devel
BuildRequires: gcc-c++
@@ -76,6 +77,9 @@ BuildRequires: subversion-devel neon-devel
# looks like this is dragged in by apr-devel (dep of subversion-devel), but not
# a dependency
BuildRequires: openldap-devel
+%if 0%{?fedora} >= 15
+BuildRequires: flex-static
+%endif
%description
The KDevelop Integrated Development Environment provides many features
@@ -181,8 +185,8 @@ popd
%install
%__rm -rf %{buildroot}
-%make_install
-%make_install -C c_cpp_reference-2.0.2_for_KDE_3.0
+%__make install DESTDIR=%{buildroot}
+%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0
# remove useless files
%__rm -rf %{buildroot}%{_prefix}/kdevbdb
@@ -240,6 +244,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%changelog
+* Mon Sep 19 2011 Francois Andriot <[email protected]> - 3.5.12-2
+- Add support for RHEL5
+
* Sun Sep 11 2011 Francois Andriot <[email protected]> - 3.5.12-1
- Initial build for RHEL 6
- Spec file based on Fedora 8 "kdeedu-3.5.3-1"