Summary: The Ogg bitstream file format library Name: libogg Epoch: 2 Version: 1.3.5 Release: 1%{?dist} License: BSD URL: https://www.xiph.org/ %if !0%{?os2_version} Source: https://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.xz %else %scm_source github https://github.com/xiph/ogg/tags v%{version} %endif BuildRequires: gcc BuildRequires: make %description Libogg is a library for manipulating Ogg bitstream file formats. Libogg supports both making Ogg bitstreams and getting packets from Ogg bitstreams. %package devel Summary: Files needed for development using libogg Requires: libogg = %{epoch}:%{version}-%{release} Requires: pkgconfig Requires: automake %description devel Libogg is a library used for manipulating Ogg bitstreams. The libogg-devel package contains the header files and documentation needed for development using libogg. %package devel-docs Summary: Documentation for developing Ogg applications BuildArch: noarch %description devel-docs Documentation for developing applications with libogg %prep %if !0%{?os2_version} %setup -q %else %scm_setup autoreconf -fiv %endif %build export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" export CFLAGS="-DBUILD_SDL" export LIBS="-lcx" %configure --disable-static %if !0%{?os2_version} %make_build %else make %{?_smp_mflags} %endif %install %if !0%{?os2_version} %make_install %else make DESTDIR=$RPM_BUILD_ROOT install %endif rm -f $RPM_BUILD_ROOT%{_libdir}/*.la mv $RPM_BUILD_ROOT%{_docdir}/%{name} __installed_docs %check make -k check %if !0%{?os2_version} %ldconfig_scriptlets %endif %files %doc AUTHORS CHANGES COPYING README.md %if !0%{?os2_version} %{_libdir}/libogg.so.0* %else %{_libdir}/*.dll %endif %files devel %dir %{_includedir}/ogg %{_includedir}/ogg/ogg.h %{_includedir}/ogg/os_types.h %{_includedir}/ogg/config_types.h %if !0%{?os2_version} %{_libdir}/libogg.so %else %{_libdir}/*.a %endif %{_libdir}/pkgconfig/ogg.pc %{_datadir}/aclocal/ogg.m4 %files devel-docs %doc __installed_docs/* %changelog * Thu Jan 20 2022 Fedora Release Engineering - 2:1.3.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild