diff --git a/dssi.spec b/dssi.spec index 527022f..511d74a 100644 --- a/dssi.spec +++ b/dssi.spec @@ -1,6 +1,6 @@ Name: dssi Version: 1.1.1 -Release: 1mamba +Release: 2mamba Summary: An API for audio plugins, with particular application for software synthesis plugins with native user interfaces Group: System/Libraries Vendor: openmamba @@ -12,65 +12,58 @@ Patch: dssi-0.9-missing_include.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: ladspa-devel -BuildRequires: libalsa-devel -BuildRequires: libe2fs-devel -BuildRequires: libexpat-devel -BuildRequires: libflac-devel -BuildRequires: libfontconfig-devel -BuildRequires: libfreetype-devel -BuildRequires: libgcc -BuildRequires: libGL-devel -BuildRequires: libICE-devel -BuildRequires: libjack-devel -BuildRequires: libjpeg-devel -BuildRequires: liblcms-devel -BuildRequires: liblo-devel -BuildRequires: libmng-devel -BuildRequires: libogg-devel -BuildRequires: libpng-devel -BuildRequires: libqt3-devel -BuildRequires: libsamplerate-devel -BuildRequires: libSM-devel -BuildRequires: libsndfile-devel -BuildRequires: libstdc++6-devel +BuildRequires: ldconfig BuildRequires: libX11-devel BuildRequires: libXau-devel -BuildRequires: libxcb-devel -BuildRequires: libXcursor-devel BuildRequires: libXdmcp-devel -BuildRequires: libXext-devel -BuildRequires: libXfixes-devel -BuildRequires: libXft-devel -BuildRequires: libXinerama-devel -BuildRequires: libXmu-devel -BuildRequires: libXrandr-devel -BuildRequires: libXrender-devel -BuildRequires: libXt-devel -BuildRequires: libz-devel +BuildRequires: libalsa-devel +BuildRequires: libbsd-devel +BuildRequires: libflac-devel +BuildRequires: libgcc +BuildRequires: libjack-devel +BuildRequires: liblo-devel +BuildRequires: libogg-devel +BuildRequires: libqt4-devel +BuildRequires: libsamplerate-devel +BuildRequires: libsndfile-devel +BuildRequires: libstdc++6-devel +BuildRequires: libvorbis-devel +BuildRequires: libxcb-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description DSSI (pronounced "dizzy") is an API for audio plugins, with particular application for software synthesis plugins with native user interfaces. DSSI is an open specification developed for use in Linux audio applications, although portable to other platforms. It may be thought of as LADSPA-for-instruments, or something comparable to VSTi. DSSI consists of a C language API for use by plugins and hosts, based on the LADSPA API, and an OSC (Open Sound Control) API for use in user interface to host communications. The DSSI specification consists of an RFC which describes the background for the proposal and defines the OSC part of the specification, and a documented header file which defines the C API. -%package devel +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries and plugins provided by %{name} + +%description -n lib%{name} +This package contains the shared libraries and plugins provided by %{name}. + +%package -n lib%{name}-devel Group: Development/Libraries Summary: Static libraries and headers for %{name} -Requires: %{name} = %{version} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: liblo-devel >= 0.16 Requires: ladspa-devel >= 1.12 +Provides: dssi-devel +Obsoletes: dssi-devel <= 1.1.1-1mamba -%description devel +%description -n lib%{name}-devel DSSI (pronounced "dizzy") is an API for audio plugins, with particular application for software synthesis plugins with native user interfaces. DSSI is an open specification developed for use in Linux audio applications, although portable to other platforms. It may be thought of as LADSPA-for-instruments, or something comparable to VSTi. DSSI consists of a C language API for use by plugins and hosts, based on the LADSPA API, and an OSC (Open Sound Control) API for use in user interface to host communications. The DSSI specification consists of an RFC which describes the background for the proposal and defines the OSC part of the specification, and a documented header file which defines the C API. - This package contains static libraries and header files need for development. +%debug_package + %prep %setup -q -n dssi-%{version} -%patch -p1 +#% patch -p1 +sed -i "s|/lib$|/%{_lib}|" dssi.pc.in %build %configure @@ -79,7 +72,6 @@ This package contains static libraries and header files need for development. %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall -# PREFIX=%{buildroot}%{_prefix} %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} @@ -98,7 +90,6 @@ This package contains static libraries and header files need for development. %{_bindir}/less_trivial_synth %{_bindir}/trivial_sampler %{_bindir}/trivial_synth -%{_libdir}/dssi/* %{_mandir}/man1/dssi_analyse_plugin.1* %{_mandir}/man1/dssi_list_plugins.1* %{_mandir}/man1/dssi_osc_send.1* @@ -106,13 +97,21 @@ This package contains static libraries and header files need for development. %{_mandir}/man1/jack-dssi-host.1* %doc COPYING -%files devel +%files -n lib%{name} +%defattr(-,root,root) +%dir %{_libdir}/dssi +%{_libdir}/dssi/* + +%files -n lib%{name}-devel %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/pkgconfig/dssi.pc %doc README %changelog +* Sun Feb 28 2021 Silvan Calarco 1.1.1-2mamba +- x86_64, aarch64: fix libdir in pkgconfig file + * Wed Oct 19 2011 Automatic Build System 1.1.1-1mamba - automatic version update by autodist