summaryrefslogtreecommitdiff
path: root/packaging/remix.spec
blob: 25453c42045537d1f32993d87c568b2adfb01994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Name:           remix
Version:        0.2.4
Release:        1
License:        LGPL-2.1
Summary:        An audio sequencing and mixing library
Url:            http://www.metadecks.org/software/remix/
Group:          Libraries/Sound
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  libsndfile-devel

%description
Remix is an audio sequencing and mixing library that provides a multichannel,
sparse audio data container (streams), a structured mixing abstraction (decks),
and widely useful means of generating control data (via envelopes) and of
caching audio data.

%package -n libremix
Summary:        An audio sequencing and mixing library
Group:          Libraries

%description -n libremix
Remix is an audio sequencing and mixing library that provides a multichannel,
sparse audio data container (streams), a structured mixing abstraction (decks),
and widely useful means of generating control data (via envelopes) and of
caching audio data.

%package -n libremix-devel
Summary:        Libraries, includes, etc to develop remix applications
Group:          Libraries
Requires:       lib%{name} = %{version}

%description -n libremix-devel
Libraries, include files, etc you can use to develop remix applications.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
%make_install
mkdir -p %{buildroot}/usr/share/license
cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name}

%post -n libremix -p /sbin/ldconfig

%postun -n libremix -p /sbin/ldconfig

%files  -n libremix
%manifest %{name}.manifest
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/libremix.so.*
%{_libdir}/libctxdata.so.*
/usr/share/license/%{name}

%files -n libremix-devel
%defattr(-,root,root,-)
%{_libdir}/libremix.so
%{_libdir}/libctxdata.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/remix/libremix_ladspa*
%{_libdir}/remix/libremix_noise*
%{_includedir}/ctxdata.h
%{_includedir}/remix/*.h