]>
Commit | Line | Data |
---|---|---|
691782cd JB |
1 | Summary: Sampled Waveforms And Musical Instruments - SoundFont editor |
2 | Summary(pl.UTF-8): Sampled Waveforms And Musical Instruments - edytor fontów dźwiękowych | |
3 | Name: swami | |
4 | Version: 2.2.0 | |
fbb77c60 | 5 | Release: 2 |
691782cd JB |
6 | License: GPL v2 |
7 | Group: Applications/Sound | |
8 | #Source0Download: https://github.com/swami/swami/releases | |
9 | Source0: https://github.com/swami/swami/archive/v%{version}/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: d3d5ddffe5227e70e1bf4731b01c3b23 | |
fbb77c60 | 11 | Patch0: build.patch |
691782cd JB |
12 | URL: http://www.swamiproject.org/ |
13 | BuildRequires: cmake >= 2.6.3 | |
14 | BuildRequires: fftw3-single-devel >= 3.0 | |
15 | BuildRequires: fluidsynth-devel >= 2.0 | |
16 | BuildRequires: glib2-devel >= 1:2.12 | |
17 | BuildRequires: gtk+2-devel >= 2:2.12 | |
18 | BuildRequires: gtk-doc | |
19 | BuildRequires: libgnomecanvas-devel >= 2.0 | |
20 | BuildRequires: pkgconfig | |
21 | BuildRequires: libinstpatch-devel >= 1.1 | |
22 | Requires: fftw3-single >= 3.0 | |
23 | Requires: fluidsynth-devel >= 2.0 | |
24 | Requires: libswamigui = %{version}-%{release} | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | Swami (Sampled Waveforms And Musical Instruments) is a SoundFont | |
29 | editor. SoundFont files are a collection of audio samples and other | |
30 | data that describe instruments for the purpose of composing music. | |
31 | SoundFont files do not describe the music itself, but rather the | |
32 | sounds of the instruments. These instruments can be composed of any | |
33 | digitally recordable or generated sound. This format provides a | |
34 | portable and flexible sound synthesis environment that can be | |
35 | supported in hardware or software. | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | Swami (Sampled Waveforms And Musical Instruments - próbkowane krzywe | |
39 | dźwięku i instrumenty muzyczne) to edytor fontów dźwiękowych. Pliki | |
40 | fontów dźwiękowych (SoundFont) to zbiór próbek dźwięku i innych danych | |
41 | opisujących instrumenty na potrzeby komponowania muzyki. Pliki fontów | |
42 | dźwiękowych nie opisują samej muzyki, ale dźwięki instrumentów. | |
43 | Instrumenty te mogą być złożone z dowolnych nagranych cyfrowo lub | |
44 | wygenerowanych dźwięków. Fotmat zapewnia przenośne i elastyczne | |
45 | środowisko do syntezy dźwięku ze wsparciem sprzętowym lub programowym. | |
46 | ||
47 | %package -n libswami | |
48 | Summary: SWAMI core library | |
49 | Summary(pl.UTF-8): Podstawowa biblioteka SWAMI | |
50 | Group: Libraries | |
51 | Requires: glib2 >= 1:2.12 | |
52 | Requires: libinstpatch >= 1.1 | |
53 | ||
54 | %description -n libswami | |
55 | SWAMI core library. | |
56 | ||
57 | %description -n libswami -l pl.UTF-8 | |
58 | Podstawowa biblioteka SWAMI. | |
59 | ||
60 | %package -n libswami-devel | |
61 | Summary: Header files for SWAMI core library | |
62 | Summary(pl.UTF-8): Pliki nagłówkowe podstawowej biblioteki SWAMI | |
63 | Group: Development/Libraries | |
64 | Requires: libswami = %{version}-%{release} | |
65 | Requires: glib2-devel >= 1:2.12 | |
66 | Requires: libinstpatch-devel >= 1.1 | |
67 | ||
68 | %description -n libswami-devel | |
69 | Header files for SWAMI core library. | |
70 | ||
71 | %description -n libswami-devel -l pl.UTF-8 | |
72 | Pliki nagłówkowe podstawowej biblioteki SWAMI. | |
73 | ||
74 | %package -n libswamigui | |
75 | Summary: SWAMI GUI library | |
76 | Summary(pl.UTF-8): Biblioteka GUI SWAMI | |
77 | Group: X11/Libraries | |
78 | Requires: gtk+2-devel >= 2:2.12 | |
79 | Requires: libgnomecanvas-devel >= 2.0 | |
80 | Requires: libswami = %{version}-%{release} | |
81 | ||
82 | %description -n libswamigui | |
83 | SWAMI GUI library. | |
84 | ||
85 | %description -n libswamigui -l pl.UTF-8 | |
86 | Biblioteka GUI SWAMI. | |
87 | ||
88 | %package -n libswamigui-devel | |
89 | Summary: Header files for SWAMI GUI library | |
90 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GUI SWAMI | |
91 | Group: X11/Development/Libraries | |
92 | Requires: gtk+2-devel >= 2:2.12 | |
93 | Requires: libgnomecanvas-devel >= 2.0 | |
94 | Requires: libswami-devel = %{version}-%{release} | |
95 | Requires: libswamigui = %{version}-%{release} | |
96 | ||
97 | %description -n libswamigui-devel | |
98 | Header files for SWAMI GUI library. | |
99 | ||
100 | %description -n libswamigui-devel -l pl.UTF-8 | |
101 | Pliki nagłówkowe biblioteki GUI SWAMI. | |
102 | ||
103 | %prep | |
104 | %setup -q | |
fbb77c60 | 105 | %patch0 -p1 |
691782cd JB |
106 | |
107 | %build | |
108 | install -d build | |
109 | cd build | |
110 | %cmake .. \ | |
111 | -DGTKDOC_ENABLED=ON | |
112 | ||
113 | %{__make} | |
114 | ||
115 | %install | |
116 | rm -rf $RPM_BUILD_ROOT | |
117 | ||
118 | %{__make} -C build install \ | |
119 | DESTDIR=$RPM_BUILD_ROOT | |
120 | ||
121 | %clean | |
122 | rm -rf $RPM_BUILD_ROOT | |
123 | ||
124 | %post -n libswami -p /sbin/ldconfig | |
125 | %postun -n libswami -p /sbin/ldconfig | |
126 | ||
127 | %post -n libswamigui -p /sbin/ldconfig | |
128 | %postun -n libswamigui -p /sbin/ldconfig | |
129 | ||
130 | %files | |
131 | %defattr(644,root,root,755) | |
132 | %doc AUTHORS README.md TODO.tasks | |
133 | %attr(755,root,root) %{_bindir}/swami | |
134 | %dir %{_libdir}/swami | |
135 | %attr(755,root,root) %{_libdir}/swami/fftune.so | |
136 | %attr(755,root,root) %{_libdir}/swami/fftune_gui.so | |
137 | %attr(755,root,root) %{_libdir}/swami/fluidsynth_gui.so | |
138 | %attr(755,root,root) %{_libdir}/swami/fluidsynth_plugin.so | |
139 | %{_datadir}/mime/packages/swami.xml | |
140 | %{_datadir}/swami | |
141 | %{_desktopdir}/swami.desktop | |
142 | %{_iconsdir}/hicolor/48x48/apps/swami.png | |
143 | %{_iconsdir}/hicolor/scalable/apps/swami.svg | |
144 | ||
145 | %files -n libswami | |
146 | %defattr(644,root,root,755) | |
147 | %attr(755,root,root) %{_libdir}/libswami.so.*.*.* | |
148 | %attr(755,root,root) %ghost %{_libdir}/libswami.so.1 | |
149 | ||
150 | %files -n libswami-devel | |
151 | %defattr(644,root,root,755) | |
152 | %attr(755,root,root) %{_libdir}/libswami.so | |
153 | %dir %{_includedir}/swami | |
154 | %{_includedir}/swami/libswami | |
155 | ||
156 | %files -n libswamigui | |
157 | %defattr(644,root,root,755) | |
158 | %attr(755,root,root) %{_libdir}/libswamigui.so.*.*.* | |
159 | %attr(755,root,root) %ghost %{_libdir}/libswamigui.so.1 | |
160 | ||
161 | %files -n libswamigui-devel | |
162 | %defattr(644,root,root,755) | |
163 | %attr(755,root,root) %{_libdir}/libswamigui.so | |
164 | %{_includedir}/swami/libswamigui |