rpms/celt/F-9 celt.spec,NONE,1.1 sources,1.1,1.2

Peter Robinson pbrobinson at fedoraproject.org
Tue Feb 3 09:25:31 UTC 2009


Author: pbrobinson

Update of /cvs/pkgs/rpms/celt/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21288

Modified Files:
	sources 
Added Files:
	celt.spec 
Log Message:
initial import


--- NEW FILE celt.spec ---
Name:           celt
Version:        0.5.1
Release:        2%{?dist}
Summary:        An audio codec for use in low-delay speech and audio communication

Group:          System Environment/Libraries
License:        BSD
# Files without license header are confirmed to be BSD. Will be fixed in later release
# http://lists.xiph.org/pipermail/celt-dev/2009-February/000063.html
URL:            http://www.celt-codec.org/
Source0:        http://downloads.us.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: libogg-devel

%description
CELT (Constrained Energy Lapped Transform) is an ultra-low delay audio 
codec designed for realtime transmission of high quality speech and audio. 
This is meant to close the gap between traditional speech codecs 
(such as Speex) and traditional audio codecs (such as Vorbis). 

%package devel
Summary: Development package for celt
Group: Development/Libraries
Requires: libogg-devel
Requires: celt = %{version}-%{release}
Requires: pkgconfig

%description devel
Files for development with celt.

%prep
%setup -q

%build
%configure
# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/libcelt.a
rm $RPM_BUILD_ROOT%{_libdir}/libcelt.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc COPYING README TODO
%{_bindir}/celtenc
%{_bindir}/celtdec
%{_libdir}/libcelt.so.0
%{_libdir}/libcelt.so.0.0.0

%files devel
%defattr(-,root,root,-)
%doc COPYING README
%{_includedir}/celt
%{_libdir}/pkgconfig/celt.pc
%{_libdir}/libcelt.so

%changelog
* Mon Feb 2 2009 Peter Robinson <pbrobinson at gmail.com> 0.5.1-2
- Updates for package review

* Mon Jan 5 2009 Peter Robinson <pbrobinson at gmail.com> 0.5.1-1
- Initial package


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/celt/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Feb 2009 04:26:44 -0000	1.1
+++ sources	3 Feb 2009 09:25:01 -0000	1.2
@@ -0,0 +1 @@
+dd7cda953e4df448083b69af9afc15e1  celt-0.5.1.tar.gz




More information about the fedora-extras-commits mailing list