fst/fst.spec

119 lines
3.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: fst
Version: 1.8.git20131208
Release: 2mamba
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>
URL: https://repo.or.cz/fst.git
Source: git://repo.or.cz/fst.git/master/fst-%{version}.tar.bz2
Source1: libfst-1.8-pkgconfig
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libalsa-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjack-devel
BuildRequires: liblash-devel
BuildRequires: libpango-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: wine-devel >= 9.0-1mamba
Provides: libfst
Obsoletes: libfst < 1.8.git20131208
%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
Obsoletes: libfst-devel < 1.8.git20131208
%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".
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q -n fst-%{version}
%ifarch x86_64 aarch64
sed -i "s|-m32||" Makefile
%endif
# 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
* Thu Feb 08 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.git20131208-2mamba
- rebuilt with wine 9.0
* 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