--- /dev/null
+--- denemo-0.6.0/exportxml.c.orig Tue May 28 09:58:55 2002
++++ denemo-0.6.0/exportxml.c Wed Jul 24 23:07:35 2002
+@@ -15,7 +15,7 @@
+ #include <string.h>
+
+ /* libxml includes: for libxml2 this should be <libxml/tree.h> */
+-#include <tree.h>
++#include <libxml/tree.h>
+
+
+ #define XML_COMPRESSION_RATIO 3
+--- denemo-0.6.0/exportxml.h.orig Tue Jun 26 10:04:47 2001
++++ denemo-0.6.0/exportxml.h Wed Jul 24 23:10:17 2002
+@@ -14,7 +14,7 @@
+ #include <glib.h>
+
+ /* libxml includes: for libxml2 this should be <libxml/tree.h> */
+-#include <tree.h>
++#include <libxml/tree.h>
+
+
+ /*
+--- denemo-0.6.0/importxml.c.orig Tue May 28 09:58:56 2002
++++ denemo-0.6.0/importxml.c Wed Jul 24 23:17:50 2002
+@@ -18,8 +18,8 @@
+ #include <glib.h>
+
+ /* libxml includes: for libxml2 this should be <libxml/{parser,tree}.h> */
+-#include <parser.h>
+-#include <tree.h>
++#include <libxml/parser.h>
++#include <libxml/tree.h>
+
+
+ /* Defines for making traversing XML trees easier */
+--- denemo-0.6.0/importxml.h.orig Tue Jun 26 10:07:19 2001
++++ denemo-0.6.0/importxml.h Wed Jul 24 23:18:00 2002
+@@ -14,7 +14,7 @@
+ #include <glib.h>
+
+ /* libxml includes: for libxml2 this should be <libxml/tree.h> */
+-#include <tree.h>
++#include <libxml/tree.h>
+
+
+ /*
Summary: Gtk frontend for GNU lilypond
Summary(pl): Frontend Gtk na GNU lilypond
Name: denemo
-Version: 0.5.5
-Release: 3
+Version: 0.6.0
+Release: 1
License: GPL
Group: X11/Applications/Multimedia
Source0: ftp://download.sourceforge.net/pub/sourceforge/denemo/%{name}-%{version}.tar.gz
+Patch0: %{name}-libxml2.patch
URL: http://denemo.sourceforge.net/
-BuildRequires: gtk+-devel >= 1.2.0
BuildRequires: autoconf
BuildRequires: automake
-Requires: lilypond
+BuildRequires: gtk+-devel >= 1.2.0
+BuildRequires: libxml2-devel
Requires: TiMidity++
+Requires: lilypond
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
%prep
%setup -q
+%patch -p1
%build
rm -f missing
aclocal
%{__autoconf}
%{__automake}
+CFLAGS="%{rpmcflags} %{?debug:-DDEBUG}"
%configure
%{__make}
%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%find_lang %{name}
+
%clean
-rm -rf ${RPM_BUILD_ROOT}
+rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc NEWS README TODO GOALS DESIGN AUTHORS
+%doc AUTHORS DESIGN GOALS NEWS README TODO
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}