fst/fst.spec
Silvan Calarco f9d259381b update to 1.8.git20131208
renamed from libfst
install fst.exe.so as fst.exe.so, not as libfst.so [release 1.8.git20131208-1mamba;Sun Dec 08 2013]
2024-01-05 22:34:23 +01:00

113 lines
3.6 KiB
RPMSpec

Name: fst
Version: 1.8.git20131208
Release: 1mamba
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: http://joebutton.co.uk/fst/
Source: git://repo.or.cz/fst.git/master/fst-%{version}.tar.bz2
#http://galan.sf.net/fst-%{version}.tar.gz
Source1: libfst-1.8-pkgconfig
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libjack-devel
BuildRequires: liblash-devel
BuildRequires: libpango-devel
BuildRequires: libX11-devel
BuildRequires: wine-devel
## AUTOBUILDREQ-END
Provides: libfst
Obsoletes: libfst
%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
%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 need for development.
%prep
%setup -q -n fst-%{version}
# 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
#%{_libdir}/*.so
%doc COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
#%{_libdir}/pkgconfig/libfst.pc
#%exclude %{_includedir}/vst/*.h
%doc README
%changelog
* 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