Changeset 1615 for spec/trunk/SPECS
- Timestamp:
- Mar 4, 2019, 11:17:04 PM (7 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/opus.spec (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/opus.spec
r1607 r1615 1 # %global candidate rc21 #global candidate rc2 2 2 3 3 Name: opus 4 4 Version: 1.3 5 #Release: 0.1%{?candidate:.%{candidate}}%{?dist} 6 Release: 1%{?dist} 5 Release: 2%{?candidate:.%{candidate}}%{?dist} 7 6 Summary: An audio codec for use in low-delay speech and audio communication 8 7 License: BSD … … 12 11 %scm_source github https://github.com/xiph/opus master 13 12 # This is the final IETF Working Group RFC 14 #Source1: http://tools.ietf.org/rfc/rfc6716.txt15 #Source2: http://tools.ietf.org/rfc/rfc8251.txt13 Source1: http://tools.ietf.org/rfc/rfc6716.txt 14 Source2: http://tools.ietf.org/rfc/rfc8251.txt 16 15 17 16 BuildRequires: gcc … … 25 24 %package devel 26 25 Summary: Development package for opus 27 Requires: libogg -devel26 Requires: libogg 28 27 Requires: opus = %{version}-%{release} 29 28 … … 31 30 Files for development with opus. 32 31 32 %debug_package 33 33 34 %prep 34 35 #%setup -q %{?candidate:-n %{name}-%{version}-%{candidate}} 35 36 %scm_setup 37 cp %{SOURCE1} . 38 cp %{SOURCE2} . 36 39 autoreconf -vif 37 #cp %{SOURCE1} .38 #cp %{SOURCE2} .39 40 40 41 %build 41 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"42 export LIBS="-lcx"43 42 %configure --enable-custom-modes --disable-static \ 44 --enable-hardening 43 --enable-hardening --enable-ambisonics 44 45 45 make %{?_smp_mflags} 46 #%make_build47 46 48 47 %install 49 #%make_install 50 make install INSTALL_ROOT=%{buildroot} install-man DESTDIR=$RPM_BUILD_ROOT 48 %make_install 51 49 52 # Remove libtool archives and static libs50 # Remove libtool archives 53 51 find %{buildroot} -type f -name "*.la" -delete 54 52 rm -rf %{buildroot}%{_datadir}/doc/opus/html … … 60 58 61 59 %files 62 %defattr(-, root, root)63 60 %license COPYING 64 % exclude %{_libdir}/opus*.dll61 %{_libdir}/opus*.dll 65 62 66 63 %files devel 67 %defattr(-, root, root) 68 %doc README doc/html 64 %doc README doc/html rfc6716.txt rfc8251.txt 69 65 %{_includedir}/opus 70 %{_libdir}/opus*.dll71 66 %{_libdir}/*.a 72 67 %{_libdir}/pkgconfig/opus.pc … … 75 70 76 71 %changelog 72 * Mon Mar 04 2019 Elbert Pol <elbert.pol@gmail.com> - 1.3-2 73 - Add dll to right section 74 77 75 * Sun Mar 03 2019 Elbert Pol <elbert.pol@gmail.com> - 1.3-1 78 76 - first RPM release for OS2
Note:
See TracChangeset
for help on using the changeset viewer.
