~ubuntu-branches/ubuntu/breezy/koffice/breezy

« back to all changes in this revision

Viewing changes to koffice.spec.in

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040509113300-vfrdadqsvjfuhn3b
Tags: 1:1.3.1-1
* New upstream bugfix release.
* Built against newer imagemagick (closes: #246623).
* Made koffice-libs/kformula recommend/depend on latex-xft-fonts, which
  provides mathematical fonts that the formula editor can use.  Also
  patched the kformula part to make these fonts the default.
* Changed kword menu hint from "WordProcessors" to "Word processors"
  (closes: #246209).
* Spellchecker configuration is now fixed (closes: #221256, #227568).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# You might want to change the next 2 lines, the rest should be ok
2
 
%define qtdir /usr/lib/qt-2.1.0
3
 
Prefix: /opt/kde2
4
 
 
5
 
Name: koffice
6
 
Icon: kde-icon.xpm
7
 
URL: http://www.kde.org
8
 
Summary: Set of office applications for KDE
9
 
Version: @VERSION@
10
 
Release: 1
11
 
Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/distribution/tar/generic/source/%{name}-%{version}.tar.bz2
12
 
Group: User Interface/Desktops
13
 
Copyright: GPL
14
 
BuildRoot: /var/tmp/%{name}-buildroot
15
 
Requires: kdesupport
16
 
 
17
 
%description
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).
21
 
 
22
 
%prep
23
 
rm -rf $RPM_BUILD_ROOT
24
 
%setup -q
25
 
 
26
 
make -f Makefile.cvs
27
 
 
28
 
%build
29
 
export KDEDIR=%{prefix} QTDIR=%{qtdir}
30
 
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS -DNO_DEBUG -DNDEBUG" \
31
 
        ./configure  \
32
 
        --prefix=%{prefix}
33
 
 
34
 
make
35
 
 
36
 
%install
37
 
make RUN_KAPPFINDER=no DESTDIR=$RPM_BUILD_ROOT install-strip
38
 
 
39
 
{
40
 
        pushd $RPM_BUILD_ROOT
41
 
        find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > \
42
 
                $RPM_BUILD_DIR/file.list.%{name}
43
 
 
44
 
        find . -type f | sed -e 's,^\.,\%attr(-\,root\,root) ,' \
45
 
                -e '/\/config\//s|^|%config|' >> \
46
 
                $RPM_BUILD_DIR/file.list.%{name}
47
 
 
48
 
        find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> \
49
 
                $RPM_BUILD_DIR/file.list.%{name}
50
 
        popd
51
 
}
52
 
 
53
 
%clean
54
 
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/files.list.%{name}
55
 
 
56
 
%files -f ../file.list.%{name} 
57
 
 
58
 
%changelog
59
 
* Thu May 11 2000 Bernhard Rosenkraenzer <bero@redhat.com>
60
 
- initial RPM