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