]> git.pld-linux.org Git - packages/wildmidi.git/blob - wildmidi.spec
- x32 rebuild
[packages/wildmidi.git] / wildmidi.spec
1 Summary:        MIDI player using pat sound sets
2 Summary(pl.UTF-8):      Odtwarzacz MIDI wykorzystujący zestawy dźwięków pat
3 Name:           wildmidi
4 Version:        0.2.3.4
5 Release:        2
6 License:        LGPL v3+ (library), GPL v3+ (player)
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/wildmidi/%{name}-%{version}.tar.gz
9 # Source0-md5:  437e3dddf15ef9fb1b76625d0727a2e6
10 Patch0:         %{name}-static.patch
11 URL:            http://wildmidi.sourceforge.net/
12 BuildRequires:  alsa-lib-devel >= 1.0.1
13 BuildRequires:  autoconf >= 2.52
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 # for wildmidi player
17 Requires:       alsa-lib >= 1.0.1
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 WildMidi is a wave table player that uses GUS pat sound sets to play
22 MIDI file. The WildMidi player is the frontend, and is only designed
23 to pass information to the core library and output any audio data the
24 library returns.
25
26 The core of the project, libWildMidi, is the work horse behind the
27 player. It's capable of multithreading and multiprocessing of MIDI
28 files, allowing for the mixing of multiple MIDI file at any one time
29 if someone had a desire to do so. This library is what turns the MIDI
30 files into audio data using the GUS pat sets.
31
32 %description -l pl.UTF-8
33 WildMidi to odtwarzacz plików MIDI wykorzystujący zestawy dźwięków pat
34 z GUS-a. WildMidi to frontend służący tylko do przekazywania
35 informacji do głównej biblioteki i wyprowadzania danych dźwiękowych
36 zwracanych przez bibliotekę.
37
38 Serce projektu, libWildMidi, to silnik stojący za odtwarzaczem. Jest w
39 stanie przetwarzać pliki MIDI wielowątkowo, pozwalając na miksowanie
40 wielu plików MIDI. Biblioteka jest tym, co zamienia pliki MIDI na dane
41 dźwiękowe przy użyciu zestawów pat z GUS-a.
42
43 %package devel
44 Summary:        Header files for WildMidi library
45 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki WildMidi
46 License:        LGPL v3+
47 Group:          Development/Libraries
48 Requires:       %{name} = %{version}-%{release}
49
50 %description devel
51 Header files for WildMidi library.
52
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe biblioteki WildMidi.
55
56 %package static
57 Summary:        Static WildMidi library
58 Summary(pl.UTF-8):      Statyczna biblioteka WildMidi
59 License:        LGPL v3+
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}-%{release}
62
63 %description static
64 Static WildMidi library.
65
66 %description static -l pl.UTF-8
67 Statyczna biblioteka WildMidi.
68
69 %prep
70 %setup -q
71 %patch0 -p1
72
73 %build
74 %{__libtoolize}
75 %{__aclocal}
76 %{__autoconf}
77 %{__autoheader}
78 %{__automake}
79 %configure \
80         --disable-werror \
81         --without-arch
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %files
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_bindir}/wildmidi
99 %attr(755,root,root) %{_libdir}/libWildMidi.so.*.*.*
100 %attr(755,root,root) %ghost %{_libdir}/libWildMidi.so.1
101 %{_mandir}/man1/wildmidi.1*
102 %{_mandir}/man5/wildmidi.cfg.5*
103
104 %files devel
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/libWildMidi.so
107 %{_libdir}/libWildMidi.la
108 %{_includedir}/wildmidi_lib.h
109 %{_mandir}/man3/WildMidi_*.3*
110
111 %files static
112 %defattr(644,root,root,755)
113 %{_libdir}/libWildMidi.a
This page took 0.067343 seconds and 3 git commands to generate.