summaryrefslogtreecommitdiffstats
path: root/redhat/kdebindings
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-10-29 13:20:44 +0200
committeralbator <albator@arcadia.vtf>2011-10-29 13:20:44 +0200
commit6e364689d85a063c565039b519091a608e71c659 (patch)
treeaea1202505fb4b349f24cbdb83045f034542abb4 /redhat/kdebindings
parent26fc278c18dac39af1708b603d0dbf46e16da622 (diff)
downloadtde-packaging-6e364689d85a063c565039b519091a608e71c659.tar.gz
tde-packaging-6e364689d85a063c565039b519091a608e71c659.zip
kdeartwork, kdebase, kdebindings, kdeedu, kdegames, kdegraphics 3.5.13 RPM
Diffstat (limited to 'redhat/kdebindings')
-rw-r--r--redhat/kdebindings/trinity-kdebindings-3.5.13.spec14
1 files changed, 8 insertions, 6 deletions
diff --git a/redhat/kdebindings/trinity-kdebindings-3.5.13.spec b/redhat/kdebindings/trinity-kdebindings-3.5.13.spec
index f4ea50005..f0b76045b 100644
--- a/redhat/kdebindings/trinity-kdebindings-3.5.13.spec
+++ b/redhat/kdebindings/trinity-kdebindings-3.5.13.spec
@@ -13,6 +13,7 @@
# 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
@@ -26,7 +27,7 @@ Group: User Interface/Desktops
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
-URL: http://developer.kde.org/language-bindings/
+URL: http://www.trinitydesktop.org/
Source0: kdebindings-%{version}.tar.gz
@@ -114,7 +115,7 @@ unset JAVA_HOME ||:
export DO_NOT_COMPILE="$DO_NOT_COMPILE python"
%configure \
- --includedir=%{_includedir}/kde \
+ --includedir=%{tde_includedir} \
--disable-rpath \
--enable-new-ldflags \
--disable-debug --disable-warnings \
@@ -145,8 +146,8 @@ popd
%install
-%__rm -rf $RPM_BUILD_ROOT
export PATH="%{_bindir}:${PATH}"
+%__rm -rf $RPM_BUILD_ROOT
%make_install \
PYTHON=%{__python}
@@ -206,7 +207,8 @@ for dir in dcopperl dcoppython kalyptus %{?_with_java:kdejava qtjava} kjsembed k
done
%clean
-rm -rf $RPM_BUILD_ROOT
+%__rm -rf $RPM_BUILD_ROOT
+
%post
/sbin/ldconfig ||:
@@ -255,8 +257,8 @@ update-desktop-database >& /dev/null ||:
# Excludes 'kjscmd' (conflicts with 'kdelibs' from RHEL6)
%if "%{?_prefix}" == "/usr"
%exclude %{_bindir}/kjscmd
-%exclude %{_mandir}/man1/kjscmd*
%endif
+%exclude %{_mandir}/man1/kjscmd*
%files dcopperl -f %{name}-dcopperl.list
@@ -266,7 +268,7 @@ update-desktop-database >& /dev/null ||:
%files devel
%defattr(-,root,root,-)
-%{_includedir}/kde/*
+%{tde_includedir}/*
%{_libdir}/lib*.so
%if "%{?_with_java:1}" == "1"
%{_libdir}/jni/*.so