%global __provides_exclude_from %{_libdir}/%{name}/.*\\.so$ Name: bml Version: 0.7.0 Release: 1%{?dist} Summary: Bml is a library that loads buzz machines Group: Applications/Multimedia License: LGPLv2+ URL: http://gentrans.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz %description The Buzztard project's objective is a music studio that allows one to compose songs only using a computer with a soundcard. Bml is a library that loads buzz machines from the windows music composer Jeskola Buzz, so that Linux/Unix applications can use them. It can load the original 32bit dll on x86-32bit linux and open source buzz machines on any platform. It consists of a c++ to c adapter (BuzzMachineLoader.{dll,so} to map the c++ buzzmachine api to c (to circumvent the different c++ abi of objects built with different compilers). This would not be needed for native open source machines, but the code is easier this way. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains the header files and development documentation for %{name}. %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} rm %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/%{name}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS COPYING NEWS %{_libdir}/lib%{name}.so.* %{_libdir}/%{name}/*.so %files devel %doc ChangeLog README TODO %{_includedir}/lib%{name} %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/lib%{name}.pc %changelog * Thu Jan 24 2013 pcpa - 0.7.0-1 - Initial bml spec.