Blame butt.spec

2267dc7
Name:           butt
a59f43c
Version:        0.1.31
a0d92a3
Release:        2%{?dist}
2267dc7
Summary:        Broadcast using this tool
2267dc7
License:        GPLv2+
89e7583
URL:            https://danielnoethen.de/butt/
2267dc7
2267dc7
Source0:        https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
2267dc7
Source1:        butt.appdata.xml
2267dc7
2267dc7
BuildRequires:  gcc-c++
89e7583
BuildRequires:  autoconf
75e77ac
BuildRequires:  gettext
75e77ac
BuildRequires:  gettext-devel
89e7583
89e7583
# https://danielnoethen.de/butt/manual.html#_install
2267dc7
BuildRequires:  fltk-devel
2267dc7
BuildRequires:  portaudio-devel
2267dc7
BuildRequires:  lame-devel
2267dc7
BuildRequires:  libvorbis-devel
2267dc7
BuildRequires:  libogg-devel
2267dc7
BuildRequires:  flac-devel
2267dc7
BuildRequires:  opus-devel
2267dc7
BuildRequires:  libsamplerate-devel
2267dc7
BuildRequires:  fdk-aac-free-devel
2267dc7
BuildRequires:  pkgconfig(dbus-1)
89e7583
BuildRequires:  openssl-devel
2267dc7
BuildRequires:  libX11-devel
89e7583
89e7583
# for desktop-file-install command
2267dc7
BuildRequires:  desktop-file-utils
89e7583
# for appstream-util command
2267dc7
BuildRequires:  libappstream-glib
a76e41a
BuildRequires: make
2267dc7
2267dc7
Requires:       hicolor-icon-theme
2267dc7
2267dc7
2267dc7
%description
2267dc7
butt (broadcast using this tool) is an easy to use, multi OS streaming tool.
2267dc7
It supports ShoutCast and IceCast and runs on Linux, MacOS and Windows.  The
2267dc7
main purpose of butt is to stream live audio data from your computers Mic or
2267dc7
Line input to an Shoutcast or Icecast server. Recording is also possible.  It
2267dc7
is NOT intended to be a server by itself or automatically stream a set of audio
2267dc7
files.
2267dc7
2267dc7
2267dc7
%prep
11aed7a
%autosetup -p 1
2267dc7
2267dc7
2267dc7
%build
89e7583
autoreconf -ifv
2267dc7
%configure LIBS=-lX11
2267dc7
%make_build
2267dc7
2267dc7
2267dc7
%install
2267dc7
%make_install
2267dc7
2267dc7
# desktop file
2267dc7
desktop-file-install --dir %{buildroot}%{_datadir}/applications usr/share/applications/butt.desktop
89e7583
2267dc7
# icons
2267dc7
for size in 16 22 24 32 48 64 96 128 256 512; do
2267dc7
    path=icons/hicolor/${size}x${size}/apps/butt.png
2267dc7
    install -Dpm 0644 usr/share/$path %{buildroot}%{_datadir}/$path
2267dc7
done
2267dc7
install -Dpm 0644 usr/share/icons/hicolor/scalable/apps/butt.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/butt.svg
89e7583
2267dc7
# pixmaps
2267dc7
for size in 16 32; do
2267dc7
    path=pixmaps/butt$size.xpm
2267dc7
    install -Dpm 0644 usr/share/$path %{buildroot}%{_datadir}/$path
2267dc7
done
89e7583
2267dc7
# appdata
2267dc7
appstream-util validate-relax --nonet %{S:1}
2267dc7
install -Dpm 0644 %{S:1} %{buildroot}%{_metainfodir}/butt.appdata.xml
2267dc7
75e77ac
# locales
75e77ac
%find_lang %{name}
2267dc7
75e77ac
75e77ac
%files -f %{name}.lang
2267dc7
%license COPYING
2267dc7
%doc AUTHORS ChangeLog NEWS README THANKS
2267dc7
%{_bindir}/butt
2267dc7
%{_datadir}/applications/butt.desktop
2267dc7
%{_datadir}/icons/hicolor/*/apps/butt.*
2267dc7
%{_datadir}/pixmaps/butt*.xpm
2267dc7
%{_metainfodir}/butt.appdata.xml
2267dc7
2267dc7
2267dc7
%changelog
a0d92a3
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 0.1.31-2
a0d92a3
- Rebuilt with OpenSSL 3.0.0
a0d92a3
a59f43c
* Sat Jul 24 2021 Carl George <carl@george.computer> - 0.1.31-1
a59f43c
- Latest upstream
a59f43c
- Resolves: rhbz#1981020
a59f43c
e3c61ec
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.30-2
e3c61ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
e3c61ec
75e77ac
* Mon May 31 2021 Carl George <carl@george.computer> - 0.1.30-1
75e77ac
- Latest upstream
75e77ac
- Fixes: rhbz#1891773
75e77ac
f69a8fe
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.24-2
f69a8fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f69a8fe
89e7583
* Wed Oct 21 2020 Carl George <carl@george.computer> - 0.1.24-1
89e7583
- Latest upstream rhbz#1826467
89e7583
adc316d
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.19-2
adc316d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
adc316d
367d8a6
* Tue Mar 17 2020 Carl George <carl@george.computer> - 0.1.19-1
367d8a6
- Latest upstream
367d8a6
e530e60
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.18-3
e530e60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e530e60
fefc5b9
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.18-2
fefc5b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
fefc5b9
d514e07
* Sun May 12 2019 Carl George <carl@george.computer> - 0.1.18-1
d514e07
- Latest upstream
d514e07
11aed7a
* Tue Apr 09 2019 Carl George <carl@george.computer> - 0.1.17-3
11aed7a
- Re-enable s390x via patch0
11aed7a
c01a79b
* Sun Apr 07 2019 Carl George <carl@george.computer> - 0.1.17-2
c01a79b
- Exclude s390x rhbz#1697142
c01a79b
2267dc7
* Fri Apr 05 2019 Carl George <carl@george.computer> - 0.1.17-1
2267dc7
- Initial package