%global debug_package %{nil} Name: libalac Version: 0.0.git.27.1f9c3ec3 Release: 1%{?dist} Summary: Apple Lossless Codec License: Apache License 2.0 URL: http://alac.macosforge.org/ VCS: git+https://github.com/Leuca/alac.git#1f9c3ec306fd8d763e4f7ee593bb1e8665dda7ac: Source: alac-1f9c3ec3.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool %description The Apple Lossless Audio Codec (ALAC) is an audio codec developed by Apple and supported on iPhone, iPad, most iPods, Mac and iTunes. ALAC is a data compression method which reduces the size of audio files with no loss of information. A decoded ALAC stream is bit-for-bit identical to the original uncompressed audio file. %package devel Summary: Development package for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Files for development with %{name}. %package tools Summary: Tools for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description tools Command line tool alacconvert that accepts CAF/WAVE files containing pcm data for encoding ALAC into a CAF file. It accepts CAF files containing ALAC for decoding to pcm in CAF/WAVE files. %prep %setup -T -b 0 -q -n alac %build autoreconf -fi %configure --enable-example %make_build %install %make_install %files %license LICENSE %{_libdir}/%{name}.so.* %files devel %{_libdir}/%{name}.so %{_libdir}/%{name}.*a %{_libdir}/pkgconfig/alac.pc %{_includedir}/alac/* %files tools %{_bindir}/alacconvert %changelog