suil/suil.spec

131 lines
4.8 KiB
RPMSpec
Raw Normal View History

Name: suil
Version: 0.10.20
Release: 1mamba
Summary: A lightweight C library for loading and wrapping LV2 plugin UIs
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://drobilla.net/software/suil.html
Source: http://download.drobilla.net/suil-%{version}.tar.xz
Patch0: suil-0.10.2-arm-disable-cocoa.patch
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5X11Extras-devel
BuildRequires: libX11-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtk3-devel
BuildRequires: liblv2-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.
Suil makes it possible to load a UI of any toolkit in a host using any other toolkit (assuming the toolkits are both supported by Suil). Hosts do not need to build against or link to foreign toolkit libraries to use UIs written with that toolkit; all the necessary magic is performed by dynamically loaded modules. The API is designed such that hosts do not need to explicitly support specific toolkits at all if Suil supports a particular toolkit, then UIs in that toolkit will work in all hosts that use Suil automatically.
Suil currently supports every combination of Gtk 2, Qt 4, and X11, e.g. with Suil a Gtk program can embed a Qt plugin UI without depending on Qt, and a Qt program can embed a Gtk plugin UI without depending on Gtk. On Windows, embedding native UIs in Gtk is also supported. I (David Robillard) would be happy to work with plugin authors to add support for new toolkits, please contact me if youre interested in writing a plugin UI using a toolkit that is not yet supported in the LV2 ecosystem.
%package -n lib%{name}
Group: System/Libraries
Summary: A lightweight C library for loading and wrapping LV2 plugin UIs
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
#%patch0 -p1
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libsuil-0.so.*
%dir %{_libdir}/suil-0
%{_libdir}/suil-0/libsuil_*.so
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/suil-0/suil/suil.h
%{_libdir}/libsuil-0.so
%{_libdir}/pkgconfig/suil-0.pc
%dir %{_docdir}/suil-0
%{_docdir}/suil-0/*
%doc NEWS
%changelog
* Sat Mar 16 2024 Automatic Build System <autodist@openmamba.org> 0.10.20-1mamba
- automatic version update by autodist
* Wed Apr 05 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.18-1mamba
- update to 0.10.18
* Sat May 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.10-1mamba
- update to 0.10.10
* Sun Sep 27 2020 Automatic Build System <autodist@mambasoft.it> 0.10.8-1mamba
- automatic version update by autodist
* Tue Nov 12 2019 Automatic Build System <autodist@mambasoft.it> 0.10.6-1mamba
- automatic version update by autodist
* Sun Nov 10 2019 Automatic Build System <autodist@mambasoft.it> 0.10.4-1mamba
- automatic version update by autodist
* Fri Dec 28 2018 Automatic Build System <autodist@mambasoft.it> 0.10.2-1mamba
- automatic version update by autodist
* Sat Mar 24 2018 Automatic Build System <autodist@mambasoft.it> 0.10.0-1mamba
- automatic version update by autodist
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 0.8.4-1mamba
- automatic update by autodist
* Sat Sep 06 2014 Automatic Build System <autodist@mambasoft.it> 0.8.2-1mamba
- automatic update by autodist
* Sun Jan 26 2014 Automatic Build System <autodist@mambasoft.it> 0.8.0-1mamba
- automatic version update by autodist
* Wed Sep 18 2013 Automatic Build System <autodist@mambasoft.it> 0.6.16-1mamba
- automatic update by autodist
* Sat Aug 10 2013 Automatic Build System <autodist@mambasoft.it> 0.6.14-1mamba
- automatic update by autodist
* Sat Mar 02 2013 Automatic Build System <autodist@mambasoft.it> 0.6.12-1mamba
- automatic version update by autodist
* Thu Jan 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.10-1mamba
- package created by silvan using the webbuild interface