summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/remix.spec67
1 files changed, 67 insertions, 0 deletions
diff --git a/packaging/remix.spec b/packaging/remix.spec
new file mode 100644
index 0000000..fc0c77e
--- /dev/null
+++ b/packaging/remix.spec
@@ -0,0 +1,67 @@
+Name: remix
+Summary: An audio sequencing and mixing library
+Version: 0.2.4
+Release: 1
+Group: Libraries/Sound
+License: LGPLv2.1
+URL: http://www.metadecks.org/software/remix/
+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}-%{release}
+
+%description -n libremix-devel
+Libraries, include files, etc you can use to develop remix applications.
+
+%prep
+%setup -q
+
+%build
+%configure --prefix=%{prefix}
+make %{?jobs:-j%jobs}
+
+%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