]> git.pld-linux.org Git - packages/rosegarden.git/blob - rosegarden.spec
- 0.9.5
[packages/rosegarden.git] / rosegarden.spec
1 #
2 # Conditional build:
3 %bcond_with arts                # enable aRts support (at cost of ALSA support)
4 %bcond_without sound            # build without ANY sound support (only sequencer)
5 #
6 %define         _name           rosegarden
7 %define         _htmldir        /usr/share/doc/kde/HTML
8 Summary:        Rosegarden - an attractive audio and MIDI sequencer
9 Summary(pl):    Rosegarden - interaktywny sekwencer MIDI i audio
10 Name:           rosegarden4
11 Version:        0.9.5
12 Release:        0.1
13 License:        GPL
14 Group:          X11/Applications/Sound
15 Source0:        http://dl.sourceforge.net/%{_name}/%{_name}-4-%{version}.tar.gz
16 # Source0-md5:  49bd200dda08de37a2e13a12c1456acf
17 Patch0:         %{_name}-desktop.patch
18 URL:            http://www.all-day-breakfast.com/rosegarden/
19 %{?with_sound:BuildRequires:    alsa-lib-devel}
20 BuildRequires:  jack-audio-connection-kit-devel >= 0.80.0
21 BuildRequires:  ladspa-devel
22 BuildRequires:  liblrdf-devel
23 BuildRequires:  kdelibs-devel >= 3.1
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _htmldir        %{_docdir}/kde/HTML
27
28 %description
29 Rosegarden is an attractive, user-friendly audio and MIDI sequencer,
30 score editor, and general-purpose music composition and editing
31 application.
32
33 %description -l pl
34 Rosegarden jest interaktywnym sewencerem MIDI i audio, edytorem zapisu
35 nutowego, a jego g³ównym zadaniem jest komponowanie i edycja muzyki.
36
37 %prep
38 %setup -q -n %{_name}-4-%{version}
39 %patch0 -p1
40
41 %build
42 kde_icondir="%{_pixmapsdir}"; export kde_icondir
43 kde_htmldir="%{_htmldir}"; export kde_htmldir
44 %configure \
45         %{?with_arts:--with-arts} \
46         %{!?with_sound:--disable-sound}
47         
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %find_lang %{_name} --with-kde
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %post   -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
63
64 %files -f %{_name}.lang
65 %defattr(644,root,root,755)
66 %doc ChangeLog README
67 %attr(755,root,root) %{_bindir}/*
68 %attr(755,root,root) %{_libdir}/libRosegardenSequencer.so.*.*
69 %{_datadir}/apps/%{_name}
70 %{_pixmapsdir}/*/*/apps/%{_name}.xpm
71 %{_desktopdir}/%{_name}.desktop
72 # devel? but no headers
73 %attr(755,root,root) %{_libdir}/libRosegardenSequencer.so
74 %{_libdir}/libRosegardenSequencer.la
This page took 0.031188 seconds and 3 git commands to generate.