3 # _without_alsa - without ALSA support
4 # _with_gtk1 - use GTK+ 1.2 instead of GTK+ 2
6 Summary: Gtk frontend for GNU lilypond
7 Summary(pl): Frontend Gtk na GNU lilypond
12 Group: X11/Applications/Sound
13 Source0: http://dl.sourceforge.net/denemo/%{name}-%{version}.tar.gz
14 # Source0-md5: c90fa4bd2f4cb4e72b3ee036f6c2568f
15 Patch0: %{name}-opt.patch
16 URL: http://denemo.sourceforge.net/
17 %{!?_without_alsa:BuildRequires: alsa-lib-devel >= 0.9.0}
18 BuildRequires: autoconf
19 BuildRequires: automake
20 %{?_with_gtk1:BuildRequires: gtk+-devel >= 1.2.0}
21 %{!?_with_gtk1:BuildRequires: gtk+2-devel >= 2.0.0}
22 BuildRequires: libtool
23 BuildRequires: libxml2-devel >= 2.0.0
24 #BuildRequires: niffsdk-devel
25 %{!?_with_gtk1:BuildRequires: pkgconfig}
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Denemo is a graphical music notation program written in C with gtk+.
33 It is intended to be used in conjunction with GNU Lilypond
34 (http://www.cs.uu.nl/hanwen/lilypond/), but is adaptable to other
35 computer-music-related purposes as well.
38 Denemo to program do graficznej notacji muzycznej u¿ywaj±cy gtk+.
40 Jest przeznaczony do u¿ywania z GNU Lilypond
41 (http://www.cs.uu.nl/hanwen/lilypond/), ale mo¿e byæ zaadaptowany do
42 innych celów zwi±zanych z muzyk±.
45 Summary: Header files for denemo plugins development
46 Summary(pl): Pliki nag³ówkowe do tworzenia wtyczek dla denemo
47 Group: Development/Libraries
48 # doesn't require base
51 Header files for denemo plugins development.
53 %description devel -l pl
54 Pliki nag³ówkowe do tworzenia wtyczek dla denemo.
61 %{?_without_alsa:echo 'AC_DEFUN([AM_PATH_ALSA],[$3])' >> acinclude.m4}
67 CFLAGS="%{rpmcflags} %{?debug:-DDEBUG}"
69 %{!?_with_gtk1:--enable-gtk2} \
70 --with-plugins=analysis
71 # ,niff - but it's incomplete (no interface between niff and denemo)
76 rm -rf $RPM_BUILD_ROOT
78 %{__make} install DESTDIR=$RPM_BUILD_ROOT
82 # no *.{la,a} for modules - shut up check-files
83 rm -f $RPM_BUILD_ROOT%{_libdir}/denemo/*.{la,a}
86 rm -rf $RPM_BUILD_ROOT
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc AUTHORS DESIGN GOALS NEWS README TODO
91 %attr(755,root,root) %{_bindir}/*
93 %dir %{_libdir}/denemo
94 %attr(755,root,root) %{_libdir}/denemo/libanalyse.so*
97 %defattr(644,root,root,755)