libsmf/libsmf.spec

73 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: libsmf
Version: 1.3
Release: 3mamba
Summary: Standard MIDI File format library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://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
## AUTOBUILDREQ-END
%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}
%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*
%doc COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/smf.h
%{_libdir}/libsmf.a
%{_libdir}/libsmf.so
%{_libdir}/pkgconfig/smf.pc
%doc NEWS TODO
%changelog
* Sat Mar 02 2024 Automatic Build System <autodist@openmamba.org> 1.3-3mamba
- automatic rebuild by autodist
* Fri Mar 01 2024 Automatic Build System <autodist@openmamba.org> 1.3-2mamba
- automatic rebuild by autodist
* Sat Oct 20 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
- package created by autospec