summaryrefslogtreecommitdiffstats
path: root/redhat/kdeaddons/trinity-kdeaddons-3.5.12.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/kdeaddons/trinity-kdeaddons-3.5.12.spec')
-rw-r--r--redhat/kdeaddons/trinity-kdeaddons-3.5.12.spec11
1 files changed, 8 insertions, 3 deletions
diff --git a/redhat/kdeaddons/trinity-kdeaddons-3.5.12.spec b/redhat/kdeaddons/trinity-kdeaddons-3.5.12.spec
index a63d01271..348dd4d30 100644
--- a/redhat/kdeaddons/trinity-kdeaddons-3.5.12.spec
+++ b/redhat/kdeaddons/trinity-kdeaddons-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"
@@ -29,10 +29,12 @@ 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: kdeaddons-%{version}.tar.gz
Source1: metabar-fedora.tar.bz2
Source2: metabarrc
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch3: kdeaddons-3.5.3-sdl.patch
@@ -111,7 +113,7 @@ export CXXFLAGS="${CXXFLAGS} -fpermissive"
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
-%make_install
+%__make install DESTDIR=%{buildroot}
# File lists for locale
HTML_DIR=$(kde-config --expandvars --install html)
@@ -238,6 +240,9 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
%changelog
+* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
+- Add support for RHEL5
+
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
- Initial build for RHEL 6
- Spec file based on Fedora 8 "kdeaddons-3.5.10-1"