Changeset 1615 for spec/trunk/SPECS


Ignore:
Timestamp:
Mar 4, 2019, 11:17:04 PM (7 years ago)
Author:
tellie
Message:

spec: opus: Release version 1.3-2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/opus.spec

    r1607 r1615  
    1 #%global candidate rc2
     1#global candidate rc2
    22
    33Name:     opus
    44Version:  1.3
    5 #Release: 0.1%{?candidate:.%{candidate}}%{?dist}
    6 Release:  1%{?dist}
     5Release:  2%{?candidate:.%{candidate}}%{?dist}
    76Summary:  An audio codec for use in low-delay speech and audio communication
    87License:  BSD
     
    1211%scm_source github https://github.com/xiph/opus master
    1312# This is the final IETF Working Group RFC
    14 #Source1:  http://tools.ietf.org/rfc/rfc6716.txt
    15 #Source2:  http://tools.ietf.org/rfc/rfc8251.txt
     13Source1:  http://tools.ietf.org/rfc/rfc6716.txt
     14Source2:  http://tools.ietf.org/rfc/rfc8251.txt
    1615
    1716BuildRequires: gcc
     
    2524%package  devel
    2625Summary:  Development package for opus
    27 Requires: libogg-devel
     26Requires: libogg
    2827Requires: opus = %{version}-%{release}
    2928
     
    3130Files for development with opus.
    3231
     32%debug_package
     33
    3334%prep
    3435#%setup -q %{?candidate:-n %{name}-%{version}-%{candidate}}
    3536%scm_setup
     37cp %{SOURCE1} .
     38cp %{SOURCE2} .
    3639autoreconf -vif
    37 #cp %{SOURCE1} .
    38 #cp %{SOURCE2} .
    3940
    4041%build
    41 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
    42 export LIBS="-lcx"
    4342%configure --enable-custom-modes --disable-static \
    44            --enable-hardening
     43           --enable-hardening --enable-ambisonics
     44
    4545make %{?_smp_mflags}
    46 #%make_build
    4746
    4847%install
    49 #%make_install
    50 make install INSTALL_ROOT=%{buildroot} install-man DESTDIR=$RPM_BUILD_ROOT
     48%make_install
    5149
    52 # Remove libtool archives and static libs
     50# Remove libtool archives
    5351find %{buildroot} -type f -name "*.la" -delete
    5452rm -rf %{buildroot}%{_datadir}/doc/opus/html
     
    6058
    6159%files
    62 %defattr(-, root, root)
    6360%license COPYING
    64 %exclude %{_libdir}/opus*.dll
     61%{_libdir}/opus*.dll
    6562
    6663%files devel
    67 %defattr(-, root, root)
    68 %doc README doc/html
     64%doc README doc/html rfc6716.txt rfc8251.txt
    6965%{_includedir}/opus
    70 %{_libdir}/opus*.dll
    7166%{_libdir}/*.a
    7267%{_libdir}/pkgconfig/opus.pc
     
    7570
    7671%changelog
     72* Mon Mar 04 2019 Elbert Pol <elbert.pol@gmail.com> - 1.3-2
     73- Add dll to right section
     74
    7775* Sun Mar 03 2019 Elbert Pol <elbert.pol@gmail.com> - 1.3-1
    7876- first RPM release for OS2
Note: See TracChangeset for help on using the changeset viewer.