]>
Commit | Line | Data |
---|---|---|
64456ff8 | 1 | Summary: BEAST (the Bedevilled Audio System) |
cffda830 | 2 | Summary(pl.UTF-8): System dźwięku BEAST (Bedevilled Audio System) |
64456ff8 | 3 | Name: beast |
61c17958 | 4 | Version: 0.7.4 |
57292d1b | 5 | Release: 1 |
61c17958 JB |
6 | License: LGPL v2.1+ (library/engine), GPL v2+ (application) |
7 | Group: Applications/Sound | |
8 | Source0: http://beast.gtk.org/beast-ftp/v0.7/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: f383762ef20a6ed1ee0ee0e43172bfd6 | |
0345e74d | 10 | Patch0: %{name}-desktop.patch |
61c17958 JB |
11 | Patch1: %{name}-guile2.patch |
12 | Patch2: %{name}-assert.patch | |
13 | Patch3: %{name}-c++.patch | |
64456ff8 | 14 | URL: http://beast.gtk.org/ |
61c17958 | 15 | BuildRequires: alsa-lib-devel >= 1.0.5 |
b7814014 | 16 | BuildRequires: autoconf >= 2.57 |
61c17958 JB |
17 | BuildRequires: automake >= 1.9 |
18 | BuildRequires: glib2-devel >= 1:2.6.4 | |
19 | BuildRequires: gtk+2-devel >= 2:2.12.12 | |
20 | BuildRequires: guile-devel >= 2.0 | |
b7814014 | 21 | BuildRequires: libart_lgpl-devel >= 2.3.8 |
0345e74d | 22 | BuildRequires: libgnomecanvas-devel >= 2.4.0 |
82e8663b | 23 | BuildRequires: libmad-devel >= 0.14.2 |
61c17958 | 24 | BuildRequires: libogg-devel >= 1:1.0.0 |
0345e74d | 25 | BuildRequires: libstdc++-devel |
4c14adbc | 26 | BuildRequires: libtool |
61c17958 JB |
27 | BuildRequires: libvorbis-devel >= 1:1.0.0 |
28 | BuildRequires: pango-devel >= 1:1.4.0 | |
29 | BuildRequires: perl-base >= 5.2 | |
b7814014 | 30 | BuildRequires: pkgconfig |
61c17958 JB |
31 | BuildRequires: python >= 2.4.1 |
32 | BuildRequires: xorg-lib-libX11-devel | |
e0e60635 | 33 | Requires(post,postun): /sbin/ldconfig |
0345e74d | 34 | Requires(post,postun): shared-mime-info |
61c17958 JB |
35 | Requires: alsa-lib >= 1.0.5 |
36 | Requires: glib2 >= 1:2.6.4 | |
37 | Requires: gtk+2 >= 2:2.12.12 | |
38 | Requires: libart_lgpl >= 2.3.8 | |
39 | Requires: libgnomecanvas >= 2.4.0 | |
40 | Requires: pango >= 1:1.4.0 | |
64456ff8 | 41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42 | ||
43 | %description | |
44 | BEAST (the Bedevilled Audio System) is a GTK+/GNOME based front-end to | |
45 | BSE (the Bedevilled Sound Engine). BSE is a shared library that comes | |
46 | with the necessary framework to simulate audio synthesis (modular | |
47 | synthesis) in realtime and allow for song composition. | |
48 | ||
f88f158a JR |
49 | %description -l pl.UTF-8 |
50 | System dźwięku BEAST (Bedevilled Audio System) to oparty na GTK+/GNOME | |
51 | frontend dla silnika dźwięku BSE (Bedevilled Sound Engine). BSE to | |
52 | biblioteka współdzielona, która przychodzi wraz ze szkieletem | |
53 | potrzebnym do symulacji syntezy dźwięku (syntezy modularnej) w czasie | |
54 | rzeczywistym oraz umożliwienia komponowania piosenek. | |
4c14adbc | 55 | |
64456ff8 | 56 | %package devel |
0345e74d | 57 | Summary: Header files for BEAST |
cffda830 | 58 | Summary(pl.UTF-8): Pliki nagłówkowe dla BEAST |
4c14adbc | 59 | Group: Development/Libraries |
b7814014 | 60 | Requires: %{name} = %{version}-%{release} |
61c17958 JB |
61 | Requires: glib2-devel >= 1:2.6.4 |
62 | Requires: libogg-devel >= 1:1.0.0 | |
63 | Requires: libvorbis-devel >= 1:1.0.0 | |
64456ff8 | 64 | |
65 | %description devel | |
0345e74d | 66 | Header files for BEAST. |
64456ff8 | 67 | |
f88f158a JR |
68 | %description devel -l pl.UTF-8 |
69 | Pliki nagłówkowe dla BEAST. | |
4c14adbc | 70 | |
64456ff8 | 71 | %prep |
72 | %setup -q | |
50c9b5e5 | 73 | %patch0 -p1 |
61c17958 JB |
74 | %patch1 -p1 |
75 | %patch2 -p1 | |
76 | %patch3 -p1 | |
64456ff8 | 77 | |
78 | %build | |
64456ff8 | 79 | %{__libtoolize} |
80 | %{__aclocal} | |
61c17958 | 81 | %{__autoheader} |
64456ff8 | 82 | %{__autoconf} |
61c17958 | 83 | %{__automake} |
35f3183f | 84 | %configure \ |
61c17958 JB |
85 | --disable-debug \ |
86 | --disable-silent-rules | |
64456ff8 | 87 | |
88 | %{__make} | |
89 | ||
90 | %install | |
91 | rm -rf $RPM_BUILD_ROOT | |
61c17958 | 92 | #install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
64456ff8 | 93 | |
94 | %{__make} install \ | |
61c17958 JB |
95 | DESTDIR=$RPM_BUILD_ROOT \ |
96 | UPDATE_MIME_DATABASE= | |
64456ff8 | 97 | |
61c17958 | 98 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/bse/v%{version}/{drivers,plugins}/*.la |
e0e60635 | 99 | |
c999790c | 100 | %find_lang %{name} --all-name |
101 | ||
64456ff8 | 102 | %clean |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
e0e60635 JB |
105 | %post |
106 | /sbin/ldconfig | |
0345e74d | 107 | umask 022 |
723694c1 | 108 | update-mime-database %{_datadir}/mime ||: |
0345e74d | 109 | [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||: |
64456ff8 | 110 | |
e0e60635 JB |
111 | %postun |
112 | /sbin/ldconfig | |
0345e74d | 113 | umask 022 |
114 | update-mime-database %{_datadir}/mime | |
115 | [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 | |
c999790c | 116 | |
117 | %files -f %{name}.lang | |
64456ff8 | 118 | %defattr(644,root,root,755) |
61c17958 JB |
119 | %attr(755,root,root) %{_bindir}/beast* |
120 | %attr(755,root,root) %{_bindir}/bsescm* | |
121 | %attr(755,root,root) %{_bindir}/bsewavetool | |
122 | %attr(755,root,root) %{_bindir}/sfidl | |
123 | %attr(755,root,root) %{_libdir}/libbse-0.7.so.*.*.* | |
124 | %attr(755,root,root) %ghost %{_libdir}/libbse-0.7.so.4 | |
64456ff8 | 125 | %dir %{_libdir}/bse |
4c14adbc | 126 | %dir %{_libdir}/bse/v%{version} |
61c17958 JB |
127 | %dir %{_libdir}/bse/v%{version}/drivers |
128 | %attr(755,root,root) %{_libdir}/bse/v%{version}/drivers/bsemididevice-alsa.so | |
129 | %attr(755,root,root) %{_libdir}/bse/v%{version}/drivers/bsepcmdevice-alsa.so | |
4c14adbc JB |
130 | %dir %{_libdir}/bse/v%{version}/plugins |
131 | %attr(755,root,root) %{_libdir}/bse/v%{version}/plugins/*.so | |
64456ff8 | 132 | %{_datadir}/%{name} |
1da5edcb | 133 | %{_datadir}/bse |
61c17958 JB |
134 | # obsolete GNOME2-specific? |
135 | #%{_datadir}/application-registry/%{name}.applications | |
136 | %{_datadir}/mime/packages/beast.xml | |
1da5edcb | 137 | %{_datadir}/mime-info/bse.* |
92d549fe | 138 | %{_desktopdir}/%{name}.desktop |
61c17958 JB |
139 | %{_pixmapsdir}/beast*.png |
140 | %{_mandir}/man1/beast.1* | |
141 | %{_mandir}/man1/bsescm.1* | |
142 | %{_mandir}/man1/bsewavetool.1* | |
143 | %{_mandir}/man1/sfidl.1* | |
144 | %{_mandir}/man5/bse.5* | |
64456ff8 | 145 | |
146 | %files devel | |
4c14adbc | 147 | %defattr(644,root,root,755) |
61c17958 JB |
148 | %attr(755,root,root) %{_libdir}/libbse.so |
149 | %{_libdir}/libbse.la | |
150 | %{_includedir}/birnet | |
64456ff8 | 151 | %{_includedir}/bse |
64456ff8 | 152 | %{_includedir}/sfi |
61c17958 | 153 | %{_pkgconfigdir}/bse.pc |