summaryrefslogtreecommitdiffstats
path: root/kdbg.spec
diff options
context:
space:
mode:
Diffstat (limited to 'kdbg.spec')
-rw-r--r--kdbg.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdbg.spec b/kdbg.spec
index 0508ea2..0d78255 100644
--- a/kdbg.spec
+++ b/kdbg.spec
@@ -17,7 +17,7 @@ Vendor: Johannes Sixt <j6t@kdbg.org>
Packager: Ullrich von Bassewitz <uz@musoftware.de>
Source: %{name}-%{version}.tar.gz
URL: http://www.kdbg.org/
-Requires: kdelibs >= 2.0
+Requires: tdelibs >= 2.0
BuildRoot: /tmp/build-%{name}-%{version}
%description
@@ -33,17 +33,17 @@ rm -rf %{builddir}
touch `find . -type f`
%build
-if [ -z "$KDEDIR" ]; then
- export KDEDIR=%{prefix}
+if [ -z "$TDEDIR" ]; then
+ export TDEDIR=%{prefix}
fi
CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" ./configure \
- --prefix=$KDEDIR
+ --prefix=$TDEDIR
make
%install
-if [ -z "$KDEDIR" ]; then
- export KDEDIR=%{prefix}
+if [ -z "$TDEDIR" ]; then
+ export TDEDIR=%{prefix}
fi
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install-strip
@@ -56,7 +56,7 @@ find . -type f | sed -e 's,^\.,\%attr(-\,root\,root) ,' \
$RPM_BUILD_DIR/file.list.%{name}
find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> \
$RPM_BUILD_DIR/file.list.%{name}
-echo "%docdir $KDEDIR/share/doc/HTML" >> $RPM_BUILD_DIR/file.list.%{name}
+echo "%docdir $TDEDIR/share/doc/HTML" >> $RPM_BUILD_DIR/file.list.%{name}
%clean