suil/suil.spec

113 lines
4.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: suil
Version: 0.8.4
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: http://drobilla.net/software/suil/
Source: http://download.drobilla.net/suil-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
BuildRequires: libpango-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%build
./waf configure \
--prefix=%{_prefix} \
--libdir=%{_libdir}
./waf %{?_smp_mflags} build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
./waf install --destdir=%{buildroot}
%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_gtk2_in_qt5.so
%{_libdir}/suil-0/libsuil_gtk2_in_qt4.so
%{_libdir}/suil-0/libsuil_qt4_in_gtk2.so
%{_libdir}/suil-0/libsuil_x11_in_gtk2.so
%{_libdir}/suil-0/libsuil_x11_in_qt4.so
%{_libdir}/suil-0/libsuil_x11_in_qt5.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
%doc NEWS README
%changelog
* 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