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