]> git.pld-linux.org Git - packages/beast.git/blob - beast.spec
- updated to 0.7.4
[packages/beast.git] / beast.spec
1 Summary:        BEAST (the Bedevilled Audio System)
2 Summary(pl.UTF-8):      System dźwięku BEAST (Bedevilled Audio System)
3 Name:           beast
4 Version:        0.7.4
5 Release:        1
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
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-guile2.patch
12 Patch2:         %{name}-assert.patch
13 Patch3:         %{name}-c++.patch
14 URL:            http://beast.gtk.org/
15 BuildRequires:  alsa-lib-devel >= 1.0.5
16 BuildRequires:  autoconf >= 2.57
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
21 BuildRequires:  libart_lgpl-devel >= 2.3.8
22 BuildRequires:  libgnomecanvas-devel >= 2.4.0
23 BuildRequires:  libmad-devel >= 0.14.2
24 BuildRequires:  libogg-devel >= 1:1.0.0
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  libtool
27 BuildRequires:  libvorbis-devel >= 1:1.0.0
28 BuildRequires:  pango-devel >= 1:1.4.0
29 BuildRequires:  perl-base >= 5.2
30 BuildRequires:  pkgconfig
31 BuildRequires:  python >= 2.4.1
32 BuildRequires:  xorg-lib-libX11-devel
33 Requires(post,postun):  /sbin/ldconfig
34 Requires(post,postun):  shared-mime-info
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
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
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.
55
56 %package devel
57 Summary:        Header files for BEAST
58 Summary(pl.UTF-8):      Pliki nagłówkowe dla BEAST
59 Group:          Development/Libraries
60 Requires:       %{name} = %{version}-%{release}
61 Requires:       glib2-devel >= 1:2.6.4
62 Requires:       libogg-devel >= 1:1.0.0
63 Requires:       libvorbis-devel >= 1:1.0.0
64
65 %description devel
66 Header files for BEAST.
67
68 %description devel -l pl.UTF-8
69 Pliki nagłówkowe dla BEAST.
70
71 %prep
72 %setup -q
73 %patch0 -p1
74 %patch1 -p1
75 %patch2 -p1
76 %patch3 -p1
77
78 %build
79 %{__libtoolize}
80 %{__aclocal}
81 %{__autoheader}
82 %{__autoconf}
83 %{__automake}
84 %configure \
85         --disable-debug \
86         --disable-silent-rules
87
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92 #install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT \
96         UPDATE_MIME_DATABASE=
97
98 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bse/v%{version}/{drivers,plugins}/*.la
99
100 %find_lang %{name} --all-name
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %post
106 /sbin/ldconfig
107 umask 022
108 update-mime-database %{_datadir}/mime ||:
109 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
110
111 %postun
112 /sbin/ldconfig
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
116
117 %files -f %{name}.lang
118 %defattr(644,root,root,755)
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
125 %dir %{_libdir}/bse
126 %dir %{_libdir}/bse/v%{version}
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
130 %dir %{_libdir}/bse/v%{version}/plugins
131 %attr(755,root,root) %{_libdir}/bse/v%{version}/plugins/*.so
132 %{_datadir}/%{name}
133 %{_datadir}/bse
134 # obsolete GNOME2-specific?
135 #%{_datadir}/application-registry/%{name}.applications
136 %{_datadir}/mime/packages/beast.xml
137 %{_datadir}/mime-info/bse.*
138 %{_desktopdir}/%{name}.desktop
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*
145
146 %files devel
147 %defattr(644,root,root,755)
148 %attr(755,root,root) %{_libdir}/libbse.so
149 %{_libdir}/libbse.la
150 %{_includedir}/birnet
151 %{_includedir}/bse
152 %{_includedir}/sfi
153 %{_pkgconfigdir}/bse.pc
This page took 0.042091 seconds and 3 git commands to generate.