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 Patch0: %{name}-opt.patch
15 URL: http://denemo.sourceforge.net/
16 %{!?_without_alsa:BuildRequires: alsa-lib-devel >= 0.9.0}
17 BuildRequires: autoconf
18 BuildRequires: automake
19 %{?_with_gtk1:BuildRequires: gtk+-devel >= 1.2.0}
20 %{!?_with_gtk1:BuildRequires: gtk+2-devel >= 2.0.0}
21 BuildRequires: libtool
22 BuildRequires: libxml2-devel >= 2.0.0
23 #BuildRequires: niffsdk-devel
24 %{!?_with_gtk1:BuildRequires: pkgconfig}
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Denemo is a graphical music notation program written in C with gtk+.
32 It is intended to be used in conjunction with GNU Lilypond
33 (http://www.cs.uu.nl/hanwen/lilypond/), but is adaptable to other
34 computer-music-related purposes as well.
37 Denemo to program do graficznej notacji muzycznej u¿ywaj±cy gtk+.
39 Jest przeznaczony do u¿ywania z GNU Lilypond
40 (http://www.cs.uu.nl/hanwen/lilypond/), ale mo¿e byæ zaadaptowany do
41 innych celów zwi±zanych z muzyk±.
44 Summary: Header files for denemo plugins development
45 Summary(pl): Pliki nag³ówkowe do tworzenia wtyczek dla denemo
46 Group: Development/Libraries
47 # doesn't require base
50 Header files for denemo plugins development.
52 %description devel -l pl
53 Pliki nag³ówkowe do tworzenia wtyczek dla denemo.
60 %{?_without_alsa:echo 'AC_DEFUN([AM_PATH_ALSA],[$3])' >> acinclude.m4}
66 CFLAGS="%{rpmcflags} %{?debug:-DDEBUG}"
68 %{!?_with_gtk1:--enable-gtk2} \
69 --with-plugins=analysis
70 # ,niff - but it's incomplete (no interface between niff and denemo)
75 rm -rf $RPM_BUILD_ROOT
77 %{__make} install DESTDIR=$RPM_BUILD_ROOT
81 # no *.{la,a} for modules - shut up check-files
82 rm -f $RPM_BUILD_ROOT%{_libdir}/denemo/*.{la,a}
85 rm -rf $RPM_BUILD_ROOT
87 %files -f %{name}.lang
88 %defattr(644,root,root,755)
89 %doc AUTHORS DESIGN GOALS NEWS README TODO
90 %attr(755,root,root) %{_bindir}/*
92 %dir %{_libdir}/denemo
93 %attr(755,root,root) %{_libdir}/denemo/libanalyse.so*
96 %defattr(644,root,root,755)