1
# You might want to change the next 2 lines, the rest should be ok
2
%define qtdir /usr/lib/qt-2.1.0
7
URL: http://www.kde.org
8
Summary: Set of office applications for KDE
11
Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/distribution/tar/generic/source/%{name}-%{version}.tar.bz2
12
Group: User Interface/Desktops
14
BuildRoot: /var/tmp/%{name}-buildroot
18
Office applications for the K Desktop Environment 2.0.
19
KOffice contains KWord (word processor), KSpread (spreadsheet), KPresenter
20
(Presentations) and KChart (diagram generator).
23
rm -rf $RPM_BUILD_ROOT
29
export KDEDIR=%{prefix} QTDIR=%{qtdir}
30
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS -DNO_DEBUG -DNDEBUG" \
37
make RUN_KAPPFINDER=no DESTDIR=$RPM_BUILD_ROOT install-strip
41
find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > \
42
$RPM_BUILD_DIR/file.list.%{name}
44
find . -type f | sed -e 's,^\.,\%attr(-\,root\,root) ,' \
45
-e '/\/config\//s|^|%config|' >> \
46
$RPM_BUILD_DIR/file.list.%{name}
48
find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> \
49
$RPM_BUILD_DIR/file.list.%{name}
54
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/files.list.%{name}
56
%files -f ../file.list.%{name}
59
* Thu May 11 2000 Bernhard Rosenkraenzer <bero@redhat.com>