source: projects/specs/trunk/s/speex/speex-vl.spec @ 12380

Revision 12380, 5.2 KB checked in by tomop, 4 years ago (diff)

updated 12 packages

alsa-firmware-1.2.1-1

alsa-lib-1.2.2-1

alsa-tools-1.2.2-1

alsa-utils-1.2.2-1

gstreamer1-1.16.2-1

linux-firmware-20200316-1

libsrtp-2.3.0-1

libvpx-1.8.2-1

libwebp-1.1.0-1

opus-1.3.1-1

pulseaudio-13.0-1

speex-1.2.0-2

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary:        A voice compression format/codec
4Summary(ja):    音声圧縮フォーマット/コーデック
5Name:           speex
6Version:        1.2.0
7Release:        2%{?_dist_release}
8Group:          System Environment/Libraries
9Vendor:         Project Vine
10Distribution:   Vine Linux
11
12License:        BSD
13URL:            http://www.speex.org/
14Source0:        http://www.speex.org/download/%{name}-%{version}.tar.gz
15
16# Security fix
17Patch100: speex-1.2-CVE-2008-1686.diff
18
19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
20BuildRequires:  libogg-devel
21
22
23%description
24Speex is a patent-free compression format designed especially for
25speech. It is specialized for voice communications at low bit-rates in
26the 2-45 kbps range. Possible applications include Voice over IP
27(VoIP), Internet audio streaming, audio books, and archiving of speech
28data (e.g. voice mail).
29
30%package devel
31Summary:        Development package for %{name}
32Summary(ja):    %{name} 用開発ファイル
33Group:          Development/Libraries
34Requires:       %{name} = %{version}-%{release}
35
36%description devel
37Speex is a patent-free compression format designed especially for
38speech. This package contains development files for %{name}
39
40# compat32
41%package -n compat32-%{name}
42Summary:        A voice compression format/codec
43Summary(ja):    音声圧縮フォーマット/コーデック
44Group:          System Environment/Libraries
45
46%description -n compat32-%{name}
47Speex is a patent-free compression format designed especially for
48speech. It is specialized for voice communications at low bit-rates in
49the 2-45 kbps range. Possible applications include Voice over IP
50(VoIP), Internet audio streaming, audio books, and archiving of speech
51data (e.g. voice mail).
52
53%package -n compat32-%{name}-devel
54Summary:        Development package for %{name}
55Summary(ja):    %{name} 用開発ファイル
56Group:          Development/Libraries
57Requires:       compat32-%{name} = %{version}-%{release}
58Requires:       %{name}-devel = %{version}-%{release}
59
60%description -n compat32-%{name}-devel
61Speex is a patent-free compression format designed especially for
62speech. This package contains development files for %{name}
63
64%prep
65%setup -q
66%patch100 -p1 -b .CVE-2008-1686
67chmod a-x README
68
69%build
70%configure --enable-static --with-ogg-libraries=%{_libdir}
71# Remove rpath from speexenc and speexdec
72sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
73sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
74make %{?_smp_mflags}
75
76%install
77rm -rf $RPM_BUILD_ROOT
78make DESTDIR=$RPM_BUILD_ROOT install
79rm -f $RPM_BUILD_ROOT%{_docdir}/speex/manual.pdf
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%post -p /sbin/ldconfig
85%postun -p /sbin/ldconfig
86
87%post -n compat32-%{name} -p /sbin/ldconfig
88%postun -n compat32-%{name} -p /sbin/ldconfig
89
90%files
91%defattr(-,root,root,-)
92%license COPYING
93%doc AUTHORS TODO ChangeLog README NEWS doc/manual.pdf
94%{_bindir}/speexenc
95%{_bindir}/speexdec
96%{_mandir}/man1/speexenc.1*
97%{_mandir}/man1/speexdec.1*
98%{_libdir}/lib*.so.*
99
100%files devel
101%defattr(-,root,root,-)
102%exclude %{_libdir}/lib*.a
103%exclude %{_libdir}/lib*.la
104%{_includedir}/*
105%{_libdir}/lib*.so
106%{_libdir}/pkgconfig/*.pc
107%{_datadir}/aclocal/*.m4
108
109# compat32
110%if %{build_compat32}
111%files -n compat32-%{name}
112%defattr(-,root,root,-)
113%{_libdir}/lib*.so.*
114
115%files -n compat32-%{name}-devel
116%defattr(-,root,root,-)
117%exclude %{_libdir}/lib*.a
118%exclude %{_libdir}/lib*.la
119%{_libdir}/lib*.so
120%endif
121
122%changelog
123* Fri Apr 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-2
124- rebuilt with current environment.
125
126* Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-1
127- new upstream release.
128
129* Sat Jul 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-0.rc1.4
130- rebuild with VineSeed environment
131
132* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-0.rc1.3
133- rebuild with rpm-4.8.1 for pkg-config file
134
135* Sun May 10 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.0-0.rc1.2
136- added compat32 package for x86_64 arch support
137- removed lib*.a from devel package
138
139* Mon Sep 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0.rc1.1
140- new upstream release
141
142* Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0.beta3.1
143- new upstream release
144- added Patch100 for security fix
145  * Tue Apr 15 2008 Tomas Hoger <thoger@redhat.com> - 1.2-0.7.beta3
146  - Security update: Add mode checks to speex_packet_to_header() to protect
147    applications using speex library and not having proper checks
148    (CVE-2008-1686, #441239, https://trac.xiph.org/changeset/14701)
149
150* Sun Jun  5 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.5-0vl1
151- new upstream release
152
153* Mon Mar  1 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-2vl1
154- initial build for Vine Linux
155
156* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
157- rebuilt
158
159* Fri Dec 12 2003 Bill Nottingham <notting@redhat.com> 1.0.3-1
160- build 1.0.3, adapt specfile from linva.org
161
162* Thu Nov 20 2003 Dams <anvil[AT]livna.org> 0:1.0.3-0.fdr.1
163- Updated to 1.0.3
164
165* Tue Sep 30 2003 Dams <anvil[AT]livna.org> 0:1.0.2-0.fdr.1
166- Updated to 1.0.2
167
168* Mon Sep 15 2003 Dams <anvil[AT]livna.org> 0:1.0.1-0.fdr.3
169- README doc file is no more +x
170
171* Tue Sep  9 2003 Dams <anvil[AT]livna.org> 0:1.0.1-0.fdr.2
172- Added missing scriplets (ldconfig)
173
174* Sat Aug 16 2003 Dams <anvil[AT]livna.org>
175- Initial build.
Note: See TracBrowser for help on using the repository browser.