Name: libsmf Version: 1.3 Release: 1mamba Summary: Standard MIDI File format library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://sourceforge.net/projects/libsmf Source: http://downloads.sourceforge.net/project/libsmf/libsmf/%{version}/libsmf-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libglib-devel BuildRequires: libncurses-devel BuildRequires: libreadline-devel BuildRequires: pkg-config ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description LibSMF is a BSD-licensed C library for handling SMF ("*.mid") files. It transparently handles conversions between time and pulses, tempo map handling etc. %package devel Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} ## note: you can add this requirement if .pc files are provided by this package #Requires: pkg-config %description devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/smfsh %{_libdir}/libsmf.so.* %{_mandir}/man1/smfsh.1.gz %doc COPYING %files devel %defattr(-,root,root) %{_includedir}/smf.h %{_libdir}/libsmf.a %{_libdir}/libsmf.la %{_libdir}/libsmf.so %{_libdir}/pkgconfig/smf.pc %doc NEWS TODO %changelog * Sat Oct 20 2012 Silvan Calarco 1.3-1mamba - package created by autospec