summaryrefslogtreecommitdiffstats
path: root/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-07-07 18:26:49 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-07-07 18:26:49 +0200
commit5a59f6fc3a0ab44fec635974127618cc4eeebf20 (patch)
treea07a44015e5713e01014d7e86848493a9f2c5f11 /redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
parent270e590e7ecdaa02d18d563b625d74604c328c0f (diff)
downloadtde-packaging-5a59f6fc3a0ab44fec635974127618cc4eeebf20.tar.gz
tde-packaging-5a59f6fc3a0ab44fec635974127618cc4eeebf20.zip
RPM Packaging: add applications for R14
Diffstat (limited to 'redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec')
-rw-r--r--redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec11
1 files changed, 6 insertions, 5 deletions
diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
index 4bbade0c0..43cea02c4 100644
--- a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
+++ b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
@@ -55,6 +55,7 @@ BuildRequires: gettext
BuildRequires: trinity-python-tqt-devel
BuildRequires: trinity-python-trinity-devel
+BuildRequires: trinity-pytqt-tools
Requires: trinity-libpythonize0 = %{version}-%{release}
@@ -106,14 +107,14 @@ for f in src/*.py; do
%__sed -i "${f}" \
-e "s|%{tde_prefix}/lib/|%{tde_libdir}/|g" \
-e "s|/usr/lib/pyshared/python\*|%{python_sitearch}|g" \
- -e "s|'pykde-dir=',None,|'pykde-dir=','%{python_sitearch}',|g" \
- -e "s|self.pykde_dir = None|self.pykde_dir = \"%{python_sitearch}\"|g" \
+ -e "s|'pytde-dir=',None,|'pytde-dir=','%{python_sitearch}',|g" \
+ -e "s|self.pytde_dir = None|self.pytde_dir = \"%{python_sitearch}\"|g" \
-e "s|%{tde_includedir}/kde|%{tde_tdeincludedir}|g" \
-e 's|"/kde"|"/tde"|'
done
# Do not look for 'libpython2.x.so' (from -devel) package.
-# Instead look for runtime library.
+# Instead look for versioned runtime library.
LIBPYTHON="$(readlink %{_libdir}/libpython2.*.so)"
if [ -f "%{_libdir}/${LIBPYTHON}" ]; then
%__sed -i "src/kdedistutils.py" \
@@ -185,8 +186,8 @@ done
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
-%{tde_datadir}/apps/pykdeextensions
-%{tde_tdedocdir}/HTML/en/pykdeextensions
+%{tde_datadir}/apps/pytdeextensions/
+%{tde_tdedocdir}/HTML/en/pytdeextensions/
%{python_sitearch}/*
%files -n trinity-libpythonize0