Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 97985850175924192fa6c81c1f0628a7 > files > 3

lpc10-1.5-14.mga3.src.rpm

%define	major _1
%define libname %mklibname %{name} %{major}
%define develname %mklibname %{name} -d
%define obsdevname %{mklibname lpc10 -d _1}

Summary:	LPC-10 2400 bps Voice Coder
Name:		lpc10
Version:	1.5
Release:	%mkrel 14
Group:		Sound/Utilities
License:	distributable
URL:		http://www.arl.wustl.edu/~jaf/lpc/
Source0:	%{name}-%{version}.tar.bz2
Patch0:		%{name}-shared.patch
BuildRequires:	libtool

%description
LPC-10 2400 bps Voice Coder library and tools.

%package -n	%{libname}
Summary:	The shared LPC-10 2400 bps Voice Coder Library
Group:		System/Libraries

%description -n	%{libname}
LPC-10 2400 bps Voice Coder library and tools.

%package -n	%{develname}
Summary:	LPC-10 2400 bps Voice Coder development files
Group:		Development/C
Provides:	%{name}-devel = %{version}
Provides:	lib%{name}-devel = %{version}
Requires:	%{libname} = %{version}
Obsoletes:	%{obsdevname} < %{version}

%description -n	%{develname}
LPC-10 2400 bps Voice Coder headers and static library.

%prep
%setup -q
%patch0 -p1

%build

make -C \
    lpc55-C \
    CC="gcc %{?ldflags}" \
    LIBDIR="%{_libdir}" \
    OPT="%{optflags} -fPIC"

%install

make -C lpc55-C \
    DESTDIR=%{buildroot} \
    LIBDIR="%{_libdir}" \
    install

cp -f lpc55-C/README README.tools
cp -f lpc55-C/lpc10/README README.lpc10

%files
%doc FAQ README README-1.0 README.lpc10 README.tools
%attr(0755,root,root) %{_bindir}/*

%files -n %{libname}
%attr(0755,root,root) %{_libdir}/*.so.*

%files -n %{develname}
%{_includedir}/*.h
%attr(0755,root,root) %{_libdir}/*.so
%attr(0644,root,root) %{_libdir}/*.la


%changelog

* Sat Jan 12 2013 umeabot <umeabot> 1.5-14.mga3
+ Revision: 358972
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sun Dec 02 2012 barjac <barjac> 1.5-13.mga3
+ Revision: 324670
- removed wildcard in files not needed
- changed group to new policy
- minor spec clean

* Thu Jan 20 2011 ahmad <ahmad> 1.5-12.mga1
+ Revision: 25909
- drop old/unneeded scriptlets
- imported package lpc10