2024-01-05 22:34:23 +01:00
|
|
|
Name: fst
|
|
|
|
Version: 1.8.git20131208
|
2024-02-10 19:31:24 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 22:34:23 +01:00
|
|
|
Summary: A small library that permits native Linux applications to load win32/x86 VST plugins
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-02-10 19:31:24 +01:00
|
|
|
URL: https://repo.or.cz/fst.git
|
2024-01-05 22:34:23 +01:00
|
|
|
Source: git://repo.or.cz/fst.git/master/fst-%{version}.tar.bz2
|
|
|
|
Source1: libfst-1.8-pkgconfig
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-02-10 19:31:24 +01:00
|
|
|
BuildRequires: libX11-devel
|
2024-01-05 22:34:23 +01:00
|
|
|
BuildRequires: libalsa-devel
|
2024-02-10 19:31:24 +01:00
|
|
|
BuildRequires: libat-spi2-core-devel
|
2024-01-05 22:34:23 +01:00
|
|
|
BuildRequires: libcairo-devel
|
2024-02-10 19:31:24 +01:00
|
|
|
BuildRequires: libdbus-devel
|
2024-01-05 22:34:23 +01:00
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
2024-02-10 19:31:24 +01:00
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
2024-01-05 22:34:23 +01:00
|
|
|
BuildRequires: libglib-devel
|
2024-02-10 19:31:24 +01:00
|
|
|
BuildRequires: libgtk2-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
2024-01-05 22:34:23 +01:00
|
|
|
BuildRequires: libjack-devel
|
|
|
|
BuildRequires: liblash-devel
|
|
|
|
BuildRequires: libpango-devel
|
2024-02-10 19:31:24 +01:00
|
|
|
BuildRequires: libxml2-devel
|
2024-01-05 22:34:23 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-02-10 19:31:24 +01:00
|
|
|
BuildRequires: wine-devel >= 9.0-1mamba
|
2024-01-05 22:34:23 +01:00
|
|
|
Provides: libfst
|
2024-02-10 19:31:24 +01:00
|
|
|
Obsoletes: libfst < 1.8.git20131208
|
2024-01-05 22:34:23 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
libfst is a small C library that permits native Linux applications to load win32/x86 VST plugins. It uses libwine to make this possible, but doesn't require that the host application be a "wine application".
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Provides: libfst-devel
|
2024-02-10 19:31:24 +01:00
|
|
|
Obsoletes: libfst-devel < 1.8.git20131208
|
2024-01-05 22:34:23 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
libfst is a small C library that permits native Linux applications to load win32/x86 VST plugins. It uses libwine to make this possible, but doesn't require that the host application be a "wine application".
|
2024-02-10 19:31:24 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-05 22:34:23 +01:00
|
|
|
|
2024-02-10 19:31:24 +01:00
|
|
|
%debug_package
|
2024-01-05 22:34:23 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n fst-%{version}
|
2024-02-10 19:31:24 +01:00
|
|
|
%ifarch x86_64 aarch64
|
|
|
|
sed -i "s|-m32||" Makefile
|
|
|
|
%endif
|
2024-01-05 22:34:23 +01:00
|
|
|
|
|
|
|
# fix a wine build error
|
|
|
|
#sed -i "s| --exe | --exe -F |" fst/Makefile.in
|
|
|
|
|
|
|
|
%build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
#install -d %{buildroot}%{_bindir},%{_libdir}/pkgconfig,%{_includedir}}
|
|
|
|
|
|
|
|
install -D -m 755 fst.exe.so %{buildroot}%{_bindir}/fst.exe.so
|
|
|
|
install -D -m 755 fst.exe %{buildroot}%{_bindir}/fst
|
|
|
|
install -D -m 755 fst.h %{buildroot}%{_includedir}/fst.h
|
|
|
|
#install -m 644 %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/libfst.pc
|
|
|
|
|
|
|
|
#sed -i "s|/usr/include|%{buildroot}%{_includedir}|" fst/Makefile
|
|
|
|
#sed -i "s|/usr/include|%{buildroot}%{_includedir}|" Makefile
|
|
|
|
#% makeinstall libdir=%{buildroot}%{_libdir} DESTDIR= mkinstalldirs="/usr/bin/install -d"
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/fst
|
|
|
|
%{_bindir}/fst.exe.so
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%doc README
|
|
|
|
|
|
|
|
%changelog
|
2024-02-10 19:31:24 +01:00
|
|
|
* Thu Feb 08 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.git20131208-2mamba
|
|
|
|
- rebuilt with wine 9.0
|
|
|
|
|
2024-01-05 22:34:23 +01:00
|
|
|
* Sun Dec 08 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.git20131208-1mamba
|
|
|
|
- update to 1.8.git20131208
|
|
|
|
- renamed from libfst
|
|
|
|
- install fst.exe.so as fst.exe.so, not as libfst.so
|
|
|
|
|
|
|
|
* Fri Jul 12 2013 Automatic Build System <autodist@mambasoft.it> 1.8.git20090330-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Mon Mar 30 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.git20090330-1mamba
|
|
|
|
- update to 1.8.git20090330
|
|
|
|
|
|
|
|
* Mon Mar 30 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8-2mamba
|
|
|
|
- specfile updated
|
|
|
|
|
|
|
|
* Thu Oct 26 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8-1qilnx
|
|
|
|
- update to version 1.8 by autospec
|
|
|
|
|
|
|
|
* Thu Dec 29 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7-1qilnx
|
|
|
|
- update to version 1.7 by autospec
|
|
|
|
|
|
|
|
* Sun Mar 13 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6-1qilnx
|
|
|
|
- package created by autospec
|