File kdissert.spec of Package kdissert

#
# spec file for package kdissert (Version 1.0.6c)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           kdissert
BuildRequires:  kdelibs3-devel
%if %suse_version < 1010
BuildRequires:  kdelibs3-doc python
%endif
Url:            http://freehackers.org/~tnagy/kdissert/
License:        GPL v2 or later
Group:          Productivity/Office/Other
AutoReqProv:    on
Version:        1.0.6c
Release:        152
Summary:        Mindmapping Tool
Source:         kdissert-%version.tar.bz2
#Patch0:       kdissert-%version.diff
Patch2:         install-only-one-desktop-file.diff
Patch3:         kdissert-1.0.6c-gcc43.diff
Requires:       kdelibs3 >= %( echo `rpm -q --queryformat '%{VERSION}' kdelibs3`)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
KDissert is a mindmapping tool dedicated to the creation of complex
documents: dissertations, thesis, presentations, and reports. It
features several document generators: latex reports, latex slides
(based on Prosper and Beamer), OpenOffice.org writer and impress, html,
and plain text.



Authors:
--------
    Thomas Nagy <tnagyemail-mail@yahoo@fr>

%prep
%setup -q
#%patch0
%patch2
%patch3
%ifarch x86_64 ppc64 s390x
./waf configure --libsuffix=64
%else
./waf configure
%endif

%build
./waf

%install
./waf --destdir=%{buildroot} install
%suse_update_desktop_file %name Office ProjectManagement
%find_lang %{name}

%files -f %{name}.lang
%defattr(-,root,root)
/opt/kde3/bin/kdissert
/opt/kde3/%_lib/kde3/libkdissdocbook.*
/opt/kde3/%_lib/kde3/libkdissOOOdoc.*
/opt/kde3/%_lib/kde3/libkdissOOOimpress.*
/opt/kde3/%_lib/kde3/libkdissapplet.*
/opt/kde3/%_lib/kde3/libkdissasciidoc.*
/opt/kde3/%_lib/kde3/libkdissbeamerslides.*
/opt/kde3/%_lib/kde3/libkdisshtmldoc.*
/opt/kde3/%_lib/kde3/libkdisspdflatexarticle.*
/opt/kde3/%_lib/kde3/libkdisspdflatexbook.*
/opt/kde3/%_lib/kde3/libkdissprosperslides.*
/opt/kde3/%_lib/kde3/libkdissstx.*
/opt/kde3/share/applications/kde/kdissert.desktop
/opt/kde3/share/apps/kdissert
/opt/kde3/share/apps/kdissertpart
/opt/kde3/share/doc/HTML/*/kdissert/
%dir /opt/kde3/share/doc/HTML/fr
%dir /opt/kde3/share/icons/hicolor/128x128
%dir /opt/kde3/share/icons/hicolor/128x128/actions
%dir /opt/kde3/share/icons/hicolor/128x128/apps
%dir /opt/kde3/share/icons/hicolor/16x16/apps
%dir /opt/kde3/share/icons/hicolor/32x32/apps
%dir /opt/kde3/share/icons/hicolor/64x64
%dir /opt/kde3/share/icons/hicolor/64x64/actions
%dir /opt/kde3/share/icons/hicolor/64x64/apps
%dir /opt/kde3/share/icons/hicolor/16x16
%dir /opt/kde3/share/icons/hicolor/16x16/actions
%dir /opt/kde3/share/icons/hicolor/22x22/actions
%dir /opt/kde3/share/icons/hicolor/32x32
%dir /opt/kde3/share/icons/hicolor/32x32/actions
/opt/kde3/share/icons/*/*/*/kdissert_sort.*
/opt/kde3/share/icons/*/*/*/kdissert.*
/opt/kde3/share/icons/*/*/*/kdissert_link.*
/opt/kde3/share/icons/*/*/*/kdissert_point.*
/opt/kde3/share/mimelnk/application/x-kdissert.desktop
/opt/kde3/share/config.kcfg/kdissert.kcfg
/opt/kde3/share/services/kdissertpart.desktop

%changelog
* Sun Mar 16 2008 crrodriguez@suse.de
- fix file-not-in-lang problems
* Tue Oct 23 2007 wstephenson@suse.de
- Adapt to GCC 4.3 changes
* Sun Nov 05 2006 stbinner@suse.de
- update to 1.0.6: bugfixes and new build system
* Wed May 24 2006 adrian@suse.de
- fix build for < 10.1
* Sun Feb 19 2006 dmueller@suse.de
- fix build for ppc,s390x
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Nov 13 2005 stbinner@suse.de
- fix filelist
* Tue Oct 25 2005 stbinner@suse.de
- update to version 1.0.5
* Tue Oct 18 2005 stbinner@suse.de
- fix build for 64 bit
* Sat Oct 08 2005 coolo@suse.de
- fix build with gcc 4.1
* Tue Oct 04 2005 stbinner@suse.de
- initial package (version 1.0.4)
openSUSE Build Service is sponsored by