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

libcelt.spec.in - gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 64cb0e33da0140499899568134f2469285fd08ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
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