libmodplug/libmodplug.spec

Name: libmodplug
Summary: MOD music file playing library
Version: 0.8.8.3
Release: 1
License: Public Domain
Group: System Environment/Libraries
URL: http://modplug-xmms.sourceforge.net/
Description: Libmodplug is the library behind Modplug-XMMS, a fully featured, complete input plugin for XMMS which plays mod-like music formats.

CentOS 7 x86_64

The build could not start because the following file is missing: libmodplug-0.8.8.3.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: libmodplug-0.8.8.3.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

Summary: MOD music file playing library
Name: libmodplug
Version: 0.8.8.3
Release: 1%{?dist}
License: Public Domain
Group: System Environment/Libraries
URL: http://modplug-xmms.sourceforge.net/

Source: http://dl.sf.net/modplug-xmms/libmodplug-%{version}.tar.gz
# Fedora specific, no need to send upstream
Patch0: %{name}-0.8.4-timiditypaths.patch

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gcc-c++

%description
Libmodplug is the library behind Modplug-XMMS, a fully featured, complete
input plugin for XMMS which plays mod-like music formats.

%package devel
Summary: Header files, libraries and development documentation for %{name}.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup
%patch0 -p1
chmod -c -x src/tables.h
sed -i -e 's/\r//g' ChangeLog

%build
%configure --disable-static
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

%check
make check

%clean
%{__rm} -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING README TODO
%{_libdir}/libmodplug.so.*

%files devel
%defattr(-, root, root, 0755)
%{_includedir}/libmodplug/
%{_libdir}/libmodplug.so
%{_libdir}/pkgconfig/libmodplug.pc
%exclude %{_libdir}/libmodplug.la

%changelog
* Sat Jun 25 2011 Yury V. Zaytsev <yury@shurup.com> - 0.8.8.3-1
- Updated to release 0.8.8.3.

* Thu Jul 09 2009 Dag Wieers <dag@wieers.com> - 0.8.7-1
- Updated to release 0.8.7.

* Wed Apr 06 2005 Dag Wieers <dag@wieers.com> - 0.7-1
- Initial package. (using DAR)