source: projects/specs/trunk/s/speexdsp/speexdsp-vl.spec @ 11540

Revision 11540, 5.5 KB checked in by tomop, 6 years ago (diff)

speexdsp-1.2-0.15.rc3

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name:           speexdsp
4Version:        1.2
5%global rc_ver  rc3
6Release:        0.15.%{rc_ver}%{?dist}
7Summary:        A voice compression format (DSP)
8
9Group:          System Environment/Libraries
10License:        BSD
11URL:            http://www.speex.org/
12Source0:        http://downloads.xiph.org/releases/speex/%{name}-%{version}%{rc_ver}.tar.gz
13# a patch to speex (774c87d) was done usptream to fix this issue but it seems it
14# hasn't been replicated in speexdsp. Issue seen in at least pjproject
15# upstream ML thread http://lists.xiph.org/pipermail/speex-dev/2014-May/008488.html
16Patch0:         speexdsp-fixbuilds-774c87d.patch
17
18Vendor:         Project Vine
19Distribution:   Vine Linux
20
21BuildRequires: libtool autoconf automake
22# speexdsp was split from speex in 1.2rc2. As speexdsp does not depend on
23# speex, a versioned conflict is required.
24Conflicts: speex <= 1.2-0.rc2
25
26%description
27Speex is a patent-free compression format designed especially for
28speech. It is specialized for voice communications at low bit-rates in
29the 2-45 kbps range. Possible applications include Voice over IP
30(VoIP), Internet audio streaming, audio books, and archiving of speech
31data (e.g. voice mail).
32
33This is the DSP package, see the speex package for the codec part.
34
35%package devel
36Summary:        Development package for %{name}
37Group:          Development/Libraries
38Requires:       %{name}%{?_isa} = %{version}-%{release}
39# speexdsp was split from speex in 1.2rc2. As speexdsp does not depend on
40# speex, a versioned conflict is required.
41Conflicts: speex-devel <= 1.2-0.21.rc1
42
43%description devel
44Speex is a patent-free compression format designed especially for
45speech. This package contains development files for %{name}
46
47This is the DSP package, see the speex package for the codec part.
48
49%if %{build_compat32}
50%package -n compat32-%{name}
51Summary:        A voice compression format (DSP)
52Group:          System Environment/Libraries
53Requires:       %{name} = %{version}-%{release}
54
55%description -n compat32-%{name}
56Speex is a patent-free compression format designed especially for
57speech. It is specialized for voice communications at low bit-rates in
58the 2-45 kbps range. Possible applications include Voice over IP
59(VoIP), Internet audio streaming, audio books, and archiving of speech
60data (e.g. voice mail).
61
62This is the DSP package, see the speex package for the codec part.
63
64%package -n compat32-%{name}-devel
65Summary:        Development package for %{name}
66Group:          Development/Libraries
67Requires:       %{name}-devel = %{version}-%{release}
68
69%description -n compat32-%{name}-devel
70Speex is a patent-free compression format designed especially for
71speech. This package contains development files for %{name}
72%endif
73
74
75%prep
76%setup -q -n %{name}-%{version}%{rc_ver}
77%patch0 -p1 -b .inc
78
79%build
80autoreconf -vif
81%configure \
82%ifarch aarch64
83        --disable-neon \
84%endif
85        --disable-static
86
87make %{?_smp_mflags} V=1
88
89%install
90make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
91
92# Remove libtool archives
93find %{buildroot} -type f -name "*.la" -delete
94
95%post -p /sbin/ldconfig
96%postun -p /sbin/ldconfig
97
98
99%files
100%doc AUTHORS COPYING TODO ChangeLog README NEWS doc/manual.pdf
101%doc %{_docdir}/speexdsp/manual.pdf
102%{_libdir}/libspeexdsp.so.*
103
104%files devel
105%{_includedir}/speex
106%{_libdir}/pkgconfig/speexdsp.pc
107%{_libdir}/libspeexdsp.so
108
109%if %{build_compat32}
110%files -n compat32-%{name}
111%{_libdir}/libspeexdsp.so.*
112
113%files -n compat32-%{name}-devel
114%{_libdir}/pkgconfig/speexdsp.pc
115%{_libdir}/libspeexdsp.so
116%endif
117
118%changelog
119* Sun Feb 25 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2-0.15.rc3
120- added compat32 packages.
121
122* Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2-0.14.rc3
123- initial build for Vine Linux.
124
125* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.13.rc3
126- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
127
128* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.12.rc3
129- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
130
131* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.11.rc3
132- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
133
134* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.10.rc3
135- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
136
137* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.9.rc3
138- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
139
140* Fri Oct 23 2015 Jared Smith <jsmith@fedoraproject.org> - 1.2-0.8.rc3
141- Fix building on EPEL6/EPEL7 again, due to manual.pdf
142
143* Fri Oct 23 2015 Jared Smith <jsmith@fedoraproject.org> - 1.2-0.7.rc3
144- Fix building by making sure the manual.pdf file is included in the docs
145
146* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-0.6.rc3
147- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
148
149* Thu Jan 29 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0.5.rc3
150- Add patch similar to what was already done upstream in speex but not dsp
151
152* Thu Jan 15 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0.4.rc3
153- Fix build on aarch64 (disable NEON)
154
155* Mon Jan 05 2015 David King <amigadave@amigadave.com> - 1.2.0.3.rc3
156- Update to 1.2rc3
157
158* Sun Dec 14 2014 David King <amigadave@amigadave.com> - 1.2-0.2.rc2.20141214git
159- Use a git snapshot, to ensure that speex_buffer.h is present
160
161* Fri Dec 12 2014 David King <amigadave@amigadave.com> - 1.2-0.1.rc2
162- New package, split from speex (#1172829)
Note: See TracBrowser for help on using the repository browser.