Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Montgomery <monty@xiph.org>2009-01-13 21:39:53 +0300
committerJean-Marc Valin <jean-marc.valin@octasic.com>2009-01-13 21:40:26 +0300
commit41d819d36a45fb213ae63a45de22fc0258004b09 (patch)
tree72e8cb093709ce038ac5c1267d7793cb58f7492d /libcelt.spec.in
parent950394ce3f8e9d3b500c13a1e19a8f8cc0cc95d3 (diff)
Spec file
Diffstat (limited to 'libcelt.spec.in')
-rw-r--r--libcelt.spec.in84
1 files changed, 84 insertions, 0 deletions
diff --git a/libcelt.spec.in b/libcelt.spec.in
new file mode 100644
index 0000000..64cb0e3
--- /dev/null
+++ b/libcelt.spec.in
@@ -0,0 +1,84 @@
+Summary: The CELT Low-Latency Audio Compression Codec.
+Name: libcelt
+Version: @CELT_VERSION@
+Release: 0%{?dist}
+Epoch: 0
+Group: System Environment/Libraries
+License: BSD
+URL: http://www.xiph.org/
+Source: http://downloads.xiph.org/releases/celt/celt-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: libogg-devel >= 2:1.1
+Requires: pkg-config
+
+%description
+CELT is a fully open, non-proprietary, patent- and royalty-free,
+low-latency compressed audio format for voice and music.
+
+The libcelt package contains runtime libraries for use in programs
+that support Ogg CELT.
+
+%package devel
+Summary: Files for CELT application development.
+Group: Development/Libraries
+Requires: libogg-devel >= 2:1.1
+Requires: libcelt = %{epoch}:%{version}-%{release}
+
+%description devel
+The libcelt-devel package contains the header files and documentation
+needed to develop applications with Ogg CELT.
+
+%package utils
+Summary: CELT codec utilities.
+Group: Applications/Multimedia
+Requires: libcelt = %{epoch}:%{version}-%{release}
+
+%description utils
+Basic utilities for encoding, decoding and manipulating Ogg CELT streams.
+
+%prep
+
+%setup -q -n celt-%{version}
+
+%build
+%configure --with-ogg-libraries=%{_libdir}
+make
+
+%check
+make check
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
+
+# remove unpackaged files from the buildroot
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
+
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS COPYING README
+%{_libdir}/libcelt.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/celt
+%{_libdir}/libcelt.so
+%{_libdir}/pkgconfig/*.pc
+
+%files utils
+%defattr(-,root,root)
+%{_bindir}/celtenc
+%{_bindir}/celtdec
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%changelog
+* Mon Dec 22 2008 Monty Montgomery <monty@xiph.org> 0.5.1-0
+- initial spec file created