support and enable bootstrap mode (ie, no docs)
...for now (at least until texlive is fixed)
This commit is contained in:
parent
29ff2e6189
commit
64437a50a8
@ -1,7 +1,11 @@
|
|||||||
|
|
||||||
|
# enable bootstrap mode (e.g. disables doc generation)
|
||||||
|
%global bootstrap 1
|
||||||
|
|
||||||
Name: libtheora
|
Name: libtheora
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.1.1
|
Version: 1.1.1
|
||||||
Release: 17%{?dist}
|
Release: 18%{?dist}
|
||||||
Summary: Theora Video Compression Codec
|
Summary: Theora Video Compression Codec
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -16,8 +20,12 @@ BuildRequires: autoconf automake libtool
|
|||||||
BuildRequires: libogg-devel >= 2:1.1
|
BuildRequires: libogg-devel >= 2:1.1
|
||||||
BuildRequires: libvorbis-devel
|
BuildRequires: libvorbis-devel
|
||||||
BuildRequires: SDL-devel libpng-devel
|
BuildRequires: SDL-devel libpng-devel
|
||||||
|
%if 0%{?bootstrap}
|
||||||
|
Obsoletes: %{name}-devel-docs < %{epoch}:%{version}-%{release}
|
||||||
|
%else
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: tetex-latex transfig
|
BuildRequires: tetex-latex transfig
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Theora is Xiph.Org's first publicly released video codec, intended
|
Theora is Xiph.Org's first publicly released video codec, intended
|
||||||
@ -84,7 +92,10 @@ cp /usr/lib/rpm/config.* .
|
|||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%if ! 0%{?bootstrap}
|
||||||
make -C doc/spec %{?_smp_mflags}
|
make -C doc/spec %{?_smp_mflags}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -113,15 +124,20 @@ install -m 755 examples/.libs/png2theora $RPM_BUILD_ROOT/%{_bindir}/png2theora
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/theora*.pc
|
%{_libdir}/pkgconfig/theora*.pc
|
||||||
|
|
||||||
|
%if ! 0%{?bootstrap}
|
||||||
%files devel-docs
|
%files devel-docs
|
||||||
%doc doc/libtheora/html doc/vp3-format.txt doc/spec/Theora.pdf
|
%doc doc/libtheora/html doc/vp3-format.txt doc/spec/Theora.pdf
|
||||||
%doc doc/color.html doc/draft-ietf-avt-rtp-theora-00.txt
|
%doc doc/color.html doc/draft-ietf-avt-rtp-theora-00.txt
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n theora-tools
|
%files -n theora-tools
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 07 2017 Rex Dieter <rdieter@fedoraproject.org> - 1:1.1.1-18
|
||||||
|
- support and enable bootstrap mode (ie, no docs)
|
||||||
|
|
||||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-17
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-17
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user