twolame/twolame.spec

Name: twolame
Summary: Optimised MPEG Audio Layer 2 (MP2) encoder
Version: 0.3.13
Release: 1
License: LGPL
Group: Applications/Multimedia
URL: http://www.twolame.org/
Description: TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and portions of LAME.

CentOS 7 x86_64

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

Build Status

CentOS 6 x86_64

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

Build Status

Contents

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

# $Id$
# Authority: matthias

Summary: Optimised MPEG Audio Layer 2 (MP2) encoder
Name: twolame
Version: 0.3.13
Release: 1%{?dist}
License: LGPL
Group: Applications/Multimedia
URL: http://www.twolame.org/

Source: http://dl.sf.net/twolame/twolame-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: libsndfile-devel

%description
TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on tooLAME by
Mike Cheng, which in turn is based upon the ISO dist10 code and portions of
LAME.

%package devel
Summary: Development files for TwoLAME
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}, pkgconfig

%description devel
TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on tooLAME by
Mike Cheng, which in turn is based upon the ISO dist10 code and portions of
LAME.

%prep
%setup

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

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
# Move docs back here to be included in the devel sub-package
%{__mv} %{buildroot}%{_docdir}/twolame/ _doc

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

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

%files
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING ChangeLog README TODO 
%doc %{_mandir}/man1/twolame.1*
%{_bindir}/twolame
%{_libdir}/libtwolame.so.*

%files devel
%defattr(-, root, root, 0755)
%doc _doc/* doc/html/
%{_includedir}/twolame.h
%{_libdir}/pkgconfig/twolame.pc
%{_libdir}/libtwolame.so
%exclude %{_libdir}/libtwolame.la

%changelog
* Wed Jan 26 2011 Dag Wieers <dag@wieers.com> - 0.3.13-1
- Updated to release 0.3.13.

* Thu Jan 10 2008 Dag Wieers <dag@wieers.com> - 0.3.12-1
- Updated to release 0.3.12.

* Wed Mar 21 2007 Dag Wieers <dag@wieers.com> - 0.3.10-1
- Updated to release 0.3.10.

* Wed Jan 10 2007 Matthias Saou <http://freshrpms.net/> 0.3.9-1
- Initial RPM release.