]> git.pld-linux.org Git - SPECS.git/blob - tremor.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / tremor.spec
1 Summary:        Tremor - integer Ogg Vorbis library
2 Summary(pl.UTF-8):      Tremor - biblioteka Ogg Vorbis operująca na liczbach całkowitych
3 Name:           tremor
4 Version:        1.2.1
5 %define snap    20150106
6 %define rel     1
7 Release:        0.%{snap}.%{rel}
8 License:        BSD
9 Group:          Libraries
10 # git clone https://git.xiph.org/tremor.git
11 Source0:        %{name}-%{snap}.tar.xz
12 # Source0-md5:  3bab6a59340b735e2e00d7a81b4a0184
13 Patch0:         %{name}-am.patch
14 URL:            http://xiph.org/vorbis/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libogg-devel >= 1:1.0
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig
20 BuildRequires:  tar >= 1:1.22
21 BuildRequires:  xz
22 Requires:       libogg >= 1:1.0
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 The Tremor Vorbis I stream and file decoder provides an embeddable,
27 integer-only library (libvorbisidec) intended for decoding all current
28 and future Vorbis I compliant streams. The Tremor libvorbisidec
29 library exposes an API intended to be as similar as possible to the
30 familiar 'vorbisfile' library included with the open source Vorbis
31 reference libraries distributed for free by Xiph.org.
32
33 %description -l pl.UTF-8
34 Tremor - dekoder strumieni i plików Vorbis I - dostarcza dającą się
35 osadzać, operującą tylko na liczbach całkowitych bibliotekę
36 (libvorbisidec) przeznaczoną do dekodowania wszystkich obecnych i
37 przyszłych strumieni zgodnych ze specyfikacją Vorbis I. Biblioteka
38 Tremor libvorbisidec udostępnia API pomyślane jako najbliższe jak to
39 tylko możliwe znanej biblioteki vorbisfile zawartej w referencyjnych
40 bibliotekach Vorbis udostępnianych na wolnej licencji wraz ze źródłami
41 przez Xiph.org.
42
43 %package devel
44 Summary:        Header files for Tremor library
45 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Tremor
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48 Requires:       libogg-devel >= 1:1.0
49
50 %description devel
51 Header files for Tremor library.
52
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe biblioteki Tremor.
55
56 %package static
57 Summary:        Static Tremor library
58 Summary(pl.UTF-8):      Statyczna biblioteka Tremor
59 Group:          Development/Libraries
60 Requires:       %{name}-devel = %{version}-%{release}
61
62 %description static
63 Static Tremor library.
64
65 %description static -l pl.UTF-8
66 Statyczna biblioteka Tremor.
67
68 %prep
69 %setup -q -n tremor
70 %patch0 -p1
71
72 %build
73 %{__libtoolize}
74 %{__aclocal}
75 %{__autoconf}
76 %{__autoheader}
77 %{__automake}
78 %configure
79
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 # obsoleted by pkg-config
89 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libvorbisidec.la
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %doc CHANGELOG COPYING README
100 %attr(755,root,root) %{_libdir}/libvorbisidec.so.*.*.*
101 %attr(755,root,root) %ghost %{_libdir}/libvorbisidec.so.1
102
103 %files devel
104 %defattr(644,root,root,755)
105 %doc doc/*.{css,html}
106 %attr(755,root,root) %{_libdir}/libvorbisidec.so
107 %{_includedir}/tremor
108 %{_pkgconfigdir}/vorbisidec.pc
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/libvorbisidec.a
This page took 0.224099 seconds and 3 git commands to generate.