## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global rdnn de.danielnoethen.butt Name: butt Version: 1.42.0 Release: %autorelease Summary: Broadcast using this tool # Entire source code is GPL-2.0-or-later except: # src/opus_encode.cpp: GPL-2.0-or-later AND BSD-2-Clause # src/cJSON.{cpp,h}: MIT License: GPL-2.0-or-later AND BSD-2-Clause AND MIT URL: https://danielnoethen.de/butt/ Source: %{url}/release/%{version}/butt-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: autoconf BuildRequires: gettext BuildRequires: gettext-devel # https://danielnoethen.de/butt/manual.html#_install BuildRequires: fltk-devel BuildRequires: portaudio-devel BuildRequires: lame-devel BuildRequires: libvorbis-devel BuildRequires: libogg-devel BuildRequires: flac-devel BuildRequires: opus-devel BuildRequires: libsamplerate-devel BuildRequires: fdk-aac-free-devel BuildRequires: pkgconfig(dbus-1) BuildRequires: libcurl-devel BuildRequires: openssl-devel BuildRequires: portmidi-devel BuildRequires: libX11-devel # for desktop-file-validate command BuildRequires: desktop-file-utils # for appstream-util command BuildRequires: libappstream-glib BuildRequires: make Requires: hicolor-icon-theme %description butt (broadcast using this tool) is an easy to use, multi OS streaming tool. It supports ShoutCast and IceCast and runs on Linux, MacOS and Windows. The main purpose of butt is to stream live audio data from your computers Mic or Line input to an Shoutcast or Icecast server. Recording is also possible. It is NOT intended to be a server by itself or automatically stream a set of audio files. %prep %autosetup -p 1 %build autoreconf -ifv %configure %make_build %install %make_install # desktop file install -Dpm 0644 usr/share/applications/butt.desktop %{buildroot}%{_datadir}/applications/%{rdnn}.desktop # icons for size in 16 22 24 32 48 64 96 128 256 512; do path=icons/hicolor/${size}x${size}/apps/butt.png install -Dpm 0644 usr/share/$path %{buildroot}%{_datadir}/$path done install -Dpm 0644 usr/share/icons/hicolor/scalable/apps/butt.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/butt.svg # pixmaps for size in 16 32; do path=pixmaps/butt$size.xpm install -Dpm 0644 usr/share/$path %{buildroot}%{_datadir}/$path done # appdata install -Dpm 0644 usr/share/metainfo/%{rdnn}.metainfo.xml %{buildroot}%{_metainfodir}/%{rdnn}.metainfo.xml # locales %find_lang %{name} %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{rdnn}.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{rdnn}.metainfo.xml %files -f %{name}.lang %license COPYING %doc AUTHORS ChangeLog NEWS README THANKS %{_bindir}/butt %{_datadir}/applications/%{rdnn}.desktop %{_datadir}/icons/hicolor/*/apps/butt.* %{_datadir}/pixmaps/butt*.xpm %{_metainfodir}/%{rdnn}.metainfo.xml %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 1.42.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 02 2024 james02135 - 1.42.0-1 - Update to version 1.42.0 rhbz#2283231 * Fri May 24 2024 Carl George - 1.41.1-1 - Update to version 1.41.1 rhbz#2239887 * Tue Jan 23 2024 Fedora Release Engineering - 0.1.38-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.1.38-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Aug 13 2023 Carl George - 0.1.38-2 - Correct license field * Sun Aug 13 2023 Carl George - 0.1.38-1 - Update to version 0.1.38, resolves rhbz#2229393 * Wed Jul 19 2023 Fedora Release Engineering - 0.1.37-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Feb 17 2023 Carl George - 0.1.37-1 - Update to version 0.1.37, resolves rhbz#2156141 * Wed Jan 18 2023 Fedora Release Engineering - 0.1.36-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Oct 03 2022 Carl George - 0.1.36-1 - Latest upstream, resolves rhbz#2098461 * Tue Sep 13 2022 Michel Alexandre Salim - 0.1.34-3 - Rebuilt for flac 1.4.0 * Wed Jul 20 2022 Fedora Release Engineering - 0.1.34-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Apr 21 2022 Carl George - 0.1.34-1 - Latest upstream (resolves: rhbz#2018071) * Wed Jan 19 2022 Fedora Release Engineering - 0.1.31-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Sep 14 2021 Sahana Prasad - 0.1.31-2 - Rebuilt with OpenSSL 3.0.0 * Sat Jul 24 2021 Carl George - 0.1.31-1 - Latest upstream - Resolves: rhbz#1981020 * Wed Jul 21 2021 Fedora Release Engineering - 0.1.30-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 31 2021 Carl George - 0.1.30-1 - Latest upstream - Fixes: rhbz#1891773 * Tue Jan 26 2021 Fedora Release Engineering - 0.1.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Oct 21 2020 Carl George - 0.1.24-1 - Latest upstream rhbz#1826467 * Mon Jul 27 2020 Fedora Release Engineering - 0.1.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Mar 17 2020 Carl George - 0.1.19-1 - Latest upstream * Tue Jan 28 2020 Fedora Release Engineering - 0.1.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 0.1.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun May 12 2019 Carl George - 0.1.18-1 - Latest upstream * Tue Apr 09 2019 Carl George - 0.1.17-3 - Re-enable s390x via patch0 * Sun Apr 07 2019 Carl George - 0.1.17-2 - Exclude s390x rhbz#1697142 * Fri Apr 05 2019 Carl George - 0.1.17-1 - Initial package ## END: Generated by rpmautospec