f95ea53
Name:           ezstream
785ebd8
Version:        1.0.2
f44ac8e
Release:        8%{?dist}
f95ea53
Summary:        Command line source client for Icecast media streaming servers
163832e
## Not installed files:
902a5c6
# aclocal.m4:               FSFULLR
902a5c6
# build-aux/compile:        GPLv2+ with Autoconf exception
902a5c6
# build-aux/config.guess:   GPLv3+ with Autoconf exception
163832e
# build-aux/config.rpath:   FSFULLR
902a5c6
# build-aux/config.sub:     GPLv3+ with Autoconf exception
902a5c6
# build-aux/depcomp:        GPLv2+ with Autoconf exception
163832e
# build-aux/install-sh:     MIT and Public Domain
902a5c6
# build-aux/ltmain.sh:      GPLv3+ and
902a5c6
#                           GPLv3+ with Libtool exception and
902a5c6
#                           GPLv2+ with Libtool exception
902a5c6
# build-aux/missing:        GPLv2+ with Autoconf exception
902a5c6
# build-aux/test-driver:    GPLv2+ with Autoconf exception
902a5c6
# compat/getopt.c:          MIT and BSD
902a5c6
# compat/reallocarray.c:    MIT
902a5c6
# configure:                GPLv2+ with Libtool exception and FSFUL
902a5c6
# doc/Makefile.in:          FSFULLR
902a5c6
# examples/Makefile.in:     FSFULLR
902a5c6
# INSTALL:                  FSFUL
902a5c6
# m4/attribute.m4:          MIT
902a5c6
# m4/ccflags.m4:            MIT
902a5c6
# m4/libshout.m4:           MIT
902a5c6
# m4/libtool.m4:            GPLv2+ with Libtool exception and FSFULLR and FSFUL
902a5c6
# m4/libxml2.m4:            MIT
902a5c6
# m4/ltoptions.m4:          FSFULLR
902a5c6
# m4/ltsugar.m4:            FSFULLR
902a5c6
# m4/ltversion.m4:          FSFULLR
902a5c6
# m4/Makefile.in:           FSFULLR
163832e
# m4/tree.m4:               MIT
902a5c6
# Makefile.in:              FSFULLR
902a5c6
# src/Makefile.in:          FSFULLR
902a5c6
# tests/Makefile.in:        FSFULLR
163832e
## Installed files:
902a5c6
# compat/strlcat.c:         MIT
902a5c6
# compat/strlcpy.c:         MIT
902a5c6
# compat/strtonum.c:        MIT
902a5c6
# COPYING:                  GPLv2
902a5c6
# doc/ezstream-cfgmigrate.1.in.in:  MIT
163832e
# doc/ezstream-file.sh.1*:  MIT
163832e
# doc/ezstream.1*:          GPLv2
902a5c6
# src/cfg.c:                MIT
902a5c6
# src/cfg.h:                MIT
902a5c6
# src/cfg_decoder.c:        MIT
902a5c6
# src/cfg_decoder.h:        MIT
902a5c6
# src/cfg_encoder.c:        MIT
902a5c6
# src/cfg_encoder.h:        MIT
902a5c6
# src/cfg_intake.c:         MIT
902a5c6
# src/cfg_intake.h:         MIT
902a5c6
# src/cfg_private.h:        MIT
902a5c6
# src/cfg_server.c:         MIT
902a5c6
# src/cfg_server.h:         MIT
902a5c6
# src/cfg_stream.c:         MIT
902a5c6
# src/cfg_stream.h:         MIT
902a5c6
# src/cfgfile_xml.c:        MIT
902a5c6
# src/cfgfile_xml.h:        MIT
902a5c6
# src/cmdline.c:            MIT
902a5c6
# src/cmdline.h:            MIT
902a5c6
# src/ezconfig0.c:          GPLv2
902a5c6
# src/ezconfig0.h:          GPLv2
163832e
# src/ezstream.c:           GPLv2
902a5c6
# src/ezstream.h:           MIT
902a5c6
# src/ezstream-cfgmigrate.c:    MIT
902a5c6
# src/ezstream-file.sh.in:  MIT
902a5c6
# src/log.c:                MIT
902a5c6
# src/log.h:                MIT
902a5c6
# src/mdata.c:              MIT
902a5c6
# src/mdata.h:              MIT
902a5c6
# src/playlist.c:           MIT
902a5c6
# src/playlist.h:           MIT
902a5c6
# src/stream.c:             MIT
902a5c6
# src/stream.h:             MIT
902a5c6
# src/util.c:               GPLv2
902a5c6
# src/util.h:               GPLv2
902a5c6
# src/xalloc.c:             MIT
902a5c6
# src/xalloc.h:             MIT
902a5c6
License:        GPLv2 and MIT
902a5c6
URL:            https://www.icecast.org/%{name}/
902a5c6
Source0:        https://downloads.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz
fca6ba9
# Link to distribution-wide certificate store, not upsreamable
fca6ba9
Patch0:         ezstream-1.0.1-doc-Link-to-distribution-OpenSSL-certificate-bundle.patch
785ebd8
BuildRequires:  autoconf >= 2.61
785ebd8
BuildRequires:  automake >= 1.10
785ebd8
BuildRequires:  coreutils
785ebd8
BuildRequires:  gcc
fca6ba9
# gettext-devel for AM_ICONV macro
fca6ba9
BuildRequires:  gettext-devel
fca6ba9
BuildRequires:  libtool
31b84d4
BuildRequires:  make
902a5c6
BuildRequires:  pkgconfig(check) >= 0.9.4
c869bae
BuildRequires:  pkgconfig(libxml-2.0) >= 2
c869bae
BuildRequires:  pkgconfig(shout) >= 2.2
c869bae
BuildRequires:  pkgconfig(taglib_c) >= 1.4
f95ea53
f95ea53
%description
902a5c6
Ezstream is a command line source client for media streams, primarily for
902a5c6
streaming to Icecast servers.
f95ea53
902a5c6
It allows the creation of media streams based on input from files or standard
902a5c6
input that is piped through an optional external decoder and encoder. As every
902a5c6
part of this chain is highly configurable, ezstream can be useful in a large
902a5c6
number of streaming setups.
f95ea53
902a5c6
Supported media containers for streaming are MP3, Ogg, Theora, WebM, and
902a5c6
Matroska. Supported transport protocols are HTTP, ICY, and RoarAudio.
902a5c6
Metadata support is provided by TagLib library.
f95ea53
f95ea53
%prep
f95ea53
%setup -q
fca6ba9
%patch0 -p1
fca6ba9
# Regenerate a build script
fca6ba9
autoreconf -fi
902a5c6
# Remove bundled code
902a5c6
rm compat/{getopt,reallocarray}.c
902a5c6
# Copy examples for a documention
f805f54
mkdir __examples
f805f54
cp -a examples __examples/examples
f805f54
rm -f __examples/examples/Makefile*
f805f54
chmod a-x __examples/examples/*
f95ea53
f95ea53
%build
c869bae
%configure \
785ebd8
    --without-asan \
902a5c6
    --enable-largefile \
902a5c6
    --disable-maintainer-mode \
902a5c6
    --disable-rpath \
902a5c6
    --enable-shared \
902a5c6
    --disable-static
c869bae
# --with-taglib actually inhibits the taglib support
902a5c6
%{make_build}
f95ea53
785ebd8
%check
785ebd8
make %{?_smp_mflags} check
785ebd8
f95ea53
%install
902a5c6
%{make_install}
f805f54
rm -rf $RPM_BUILD_ROOT%{_docdir} $RPM_BUILD_ROOT%{_datadir}/examples
f95ea53
f95ea53
%files
25bcd58
%license COPYING
902a5c6
%doc ChangeLog NEWS README.md __examples/examples
f95ea53
%{_bindir}/ezstream
902a5c6
%{_bindir}/ezstream-cfgmigrate
3533134
%{_bindir}/ezstream-file.sh
902a5c6
%{_mandir}/man1/ezstream.1*
902a5c6
%{_mandir}/man1/ezstream-cfgmigrate.1*
902a5c6
%{_mandir}/man1/ezstream-file.sh.1*
f95ea53
f95ea53
%changelog
f44ac8e
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-8
f44ac8e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
f44ac8e
92056d5
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-7
92056d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
92056d5
4301996
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-6
4301996
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
4301996
c8aa716
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-5
c8aa716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
c8aa716
2082ebc
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
2082ebc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2082ebc
1441d77
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
1441d77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
1441d77
20bd78b
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
20bd78b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
20bd78b
785ebd8
* Fri Feb 19 2021 Petr Pisar <ppisar@redhat.com> - 1.0.2-1
785ebd8
- 1.0.2 bump
785ebd8
- Perform tests at build time
785ebd8
c0d89c6
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
c0d89c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
c0d89c6
ceb1645
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
ceb1645
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ceb1645
fca6ba9
* Mon Feb 24 2020 Petr Pisar <ppisar@redhat.com> - 1.0.1-1
fca6ba9
- 1.0.1 bump
fca6ba9
902a5c6
* Thu Jan 30 2020 Petr Pisar <ppisar@redhat.com> - 1.0.0-1
902a5c6
- 1.0.0 bump
902a5c6
de513d4
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-12
de513d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
de513d4
ca5b1be
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-11
ca5b1be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ca5b1be
9fc2a77
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-10
9fc2a77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9fc2a77
24f3de1
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-9
24f3de1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
24f3de1
ca2df50
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-8
ca2df50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ca2df50
fe60ef5
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-7
fe60ef5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
fe60ef5
777fea4
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-6
777fea4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
777fea4
4f8c31e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-5
4f8c31e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4f8c31e
8729579
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-4
8729579
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8729579
a7f3452
* Tue Jul 21 2015 Petr Pisar <ppisar@redhat.com> - 0.6.0-3
a7f3452
- Fix a crash on configuration without format (bug #1244481)
1de8f51
- Build-require gcc instead of glibc-headers (bug #1230472)
a7f3452
d72e7b3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-2
d72e7b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d72e7b3
0ae9dce
* Tue Mar 24 2015 Petr Pisar <ppisar@redhat.com> - 0.6.0-1
25bcd58
- Modernize spec file
c869bae
- Correct dependencies
163832e
- Correct license tag from (GPLv2) to (GPLv2 and BSD and MIT)
0ae9dce
- 0.6.0 bump (fixes a security bug when processing metadata placeholders
0ae9dce
  leading to arbitrary shell command execution)
25bcd58
c0a9af7
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-8
c0a9af7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c0a9af7
dc7b685
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-7
dc7b685
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
dc7b685
18ace8e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-6
18ace8e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
18ace8e
e4f4e74
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-5
e4f4e74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e4f4e74
9f88c91
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-4
9f88c91
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9f88c91
57f035f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-3
57f035f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
57f035f
d683118
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-2
d683118
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d683118
3533134
* Fri Nov  6 2009 Ian Weller <ian@ianweller.org> - 0.5.6-1
3533134
- 0.5.6
3533134
1568ca7
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-4
1568ca7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1568ca7
4ff01aa
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-3
4ff01aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4ff01aa
f805f54
* Wed Jan 14 2009 Ian Weller <ianweller@gmail.com> 0.5.3-2
f805f54
- Remove doc declaration from the man page
f805f54
- Move examples into examples/ within the docdir
f805f54
- Remove need for patch and put commands in the right parts
f805f54
f95ea53
* Sat Apr 05 2008 Ian Weller <ianweller@gmail.com> 0.5.3-1
f95ea53
- Initial package build.