Ver Fonte

opus-1.2.1-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11539 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop há 6 anos atrás
pai
commit
fb16105257
1 ficheiros alterados com 43 adições e 2 exclusões
  1. 43 2
      o/opus/opus-vl.spec

+ 43 - 2
o/opus/opus-vl.spec

@@ -1,6 +1,8 @@
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
+
 Name:          opus
-Version:       1.1.1
-Release:       2%{?_dist_release}
+Version:       1.2.1
+Release:       1%{?_dist_release}
 Summary:       An audio codec for use in low-delay speech and audio communication
 
 Group:         System Environment/Libraries
@@ -30,6 +32,30 @@ Requires: opus = %{version}-%{release}
 %description devel
 Files for development with opus.
 
+%if %{build_compat32}
+%package -n compat32-%{name}
+Summary:  An audio codec for use in low-delay speech and audio communication
+
+Group:    System Environment/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description -n compat32-%{name}
+The Opus codec is designed for interactive speech and audio transmission over 
+the Internet. It is designed by the IETF Codec Working Group and incorporates 
+technology from Skype's SILK codec and Xiph.Org's CELT codec.
+
+%package -n compat32-%{name}-devel
+Summary:  Development package for opus
+Group:    Development/Libraries
+Requires: compat32-libogg-devel
+Requires: %{name}-devel = %{version}-%{release}
+Requires: opus = %{version}-%{release}
+
+%description -n compat32-%{name}-devel
+Files for development with opus.
+
+%endif
+
 %prep
 %setup -q -n %{name}-%{version}
 cp %{SOURCE1} .
@@ -72,7 +98,22 @@ rm -rf %{buildroot}
 %{_datadir}/aclocal/opus.m4
 %{_datadir}/man/man3/opus_*.3.gz
 
+%if %{build_compat32}
+%files -n compat32-%{name}
+%defattr(-,root,root,-)
+%{_libdir}/libopus.so.*
+
+%files -n compat32-%{name}-devel
+%defattr(-,root,root,-)
+%{_libdir}/libopus.so
+%{_libdir}/pkgconfig/opus.pc
+%endif
+
 %changelog
+* Sun Feb 25 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.1-1
+- new upstream release.
+- added compat32 packages.
+
 * Mon Dec 21 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-2
 - initial build for Vine Linux.