]> git.pld-linux.org Git - packages/denemo.git/blob - denemo.spec
- note about incomplete niff plugin
[packages/denemo.git] / denemo.spec
1 #
2 # Conditional build:
3 # _without_alsa - without ALSA support
4 # _with_gtk1    - use GTK+ 1.2 instead of GTK+ 2
5 #
6 Summary:        Gtk frontend for GNU lilypond
7 Summary(pl):    Frontend Gtk na GNU lilypond
8 Name:           denemo
9 Version:        0.7.1
10 Release:        1
11 License:        GPL
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}
25 Requires:       TiMidity++
26 Requires:       lilypond
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Denemo is a graphical music notation program written in C with gtk+.
31
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.
35
36 %description -l pl
37 Denemo to program do graficznej notacji muzycznej u¿ywaj±cy gtk+.
38
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±.
42
43 %package devel
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
48
49 %description devel
50 Header files for denemo plugins development.
51
52 %description devel -l pl
53 Pliki nag³ówkowe do tworzenia wtyczek dla denemo.
54
55 %prep
56 %setup -q
57 %patch -p1
58
59 %build
60 %{?_without_alsa:echo 'AC_DEFUN([AM_PATH_ALSA],[$3])' >> acinclude.m4}
61 %{__libtoolize}
62 %{__aclocal}
63 %{__autoconf}
64 %{__autoheader}
65 %{__automake}
66 CFLAGS="%{rpmcflags} %{?debug:-DDEBUG}"
67 %configure \
68         %{!?_with_gtk1:--enable-gtk2} \
69         --with-plugins=analysis
70 # ,niff - but it's incomplete (no interface between niff and denemo)
71
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install DESTDIR=$RPM_BUILD_ROOT
78
79 %find_lang %{name}
80
81 # no *.{la,a} for modules - shut up check-files
82 rm -f $RPM_BUILD_ROOT%{_libdir}/denemo/*.{la,a}
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
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}/*
91 %{_datadir}/%{name}
92 %dir %{_libdir}/denemo
93 %attr(755,root,root) %{_libdir}/denemo/libanalyse.so*
94
95 %files devel
96 %defattr(644,root,root,755)
97 %{_includedir}/denemo
This page took 0.175417 seconds and 4 git commands to generate.