1Summary: The CELT Low-Latency Audio Compression Codec. 2Name: libcelt 3Version: @CELT_VERSION@ 4Release: 0%{?dist} 5Epoch: 0 6Group: System Environment/Libraries 7License: BSD 8URL: http://www.xiph.org/ 9Source: http://downloads.xiph.org/releases/celt/celt-%{version}.tar.gz 10BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 11BuildRequires: libogg-devel >= 2:1.1 12Requires: pkg-config 13 14%description 15CELT is a fully open, non-proprietary, patent- and royalty-free, 16low-latency compressed audio format for voice and music. 17 18The libcelt package contains runtime libraries for use in programs 19that support Ogg CELT. 20 21%package devel 22Summary: Files for CELT application development. 23Group: Development/Libraries 24Requires: libogg-devel >= 2:1.1 25Requires: libcelt = %{epoch}:%{version}-%{release} 26 27%description devel 28The libcelt-devel package contains the header files and documentation 29needed to develop applications with Ogg CELT. 30 31%package utils 32Summary: CELT codec utilities. 33Group: Applications/Multimedia 34Requires: libcelt = %{epoch}:%{version}-%{release} 35 36%description utils 37Basic utilities for encoding, decoding and manipulating Ogg CELT streams. 38 39%prep 40 41%setup -q -n celt-%{version} 42 43%build 44%configure --with-ogg-libraries=%{_libdir} 45make 46 47%check 48make check 49 50%install 51rm -rf $RPM_BUILD_ROOT 52make DESTDIR=$RPM_BUILD_ROOT install 53 54# remove unpackaged files from the buildroot 55rm -f $RPM_BUILD_ROOT%{_libdir}/*.la 56rm -f $RPM_BUILD_ROOT%{_libdir}/*.a 57 58 59%files 60%defattr(-,root,root) 61%doc AUTHORS COPYING README 62%{_libdir}/libcelt.so.* 63 64%files devel 65%defattr(-,root,root) 66%{_includedir}/celt 67%{_libdir}/libcelt.so 68%{_libdir}/pkgconfig/*.pc 69 70%files utils 71%defattr(-,root,root) 72%{_bindir}/celtenc 73%{_bindir}/celtdec 74 75%clean 76rm -rf $RPM_BUILD_ROOT 77 78%post -p /sbin/ldconfig 79 80%postun -p /sbin/ldconfig 81 82%changelog 83* Mon Dec 22 2008 Monty Montgomery <monty@xiph.org> 0.5.1-0 84- initial spec file created 85