flacon/flacon.spec

76 lines
2.2 KiB
RPMSpec

Name: flacon
Version: 6.1.0
Release: 2mamba
Summary: Extracts individual tracks from one big audio file containing the entire album of music and saves them as separate audio files
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://flacon.github.io/
Source: https://github.com/flacon/flacon.git/v%{version}/flacon-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: libuchardet-devel
## AUTOBUILDREQ-END
%description
Flacon extracts individual tracks from one big audio file containing the entire album of music and saves them as separate audio files. To do this, it uses information from the appropriate CUE file. Besides, Flacon makes it possible to conveniently revise or specify tags both for all tracks at once or for each tag separately.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>&1
:
%posttrans
update-desktop-database -q >/dev/null 2>&1
gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>&1
:
%postun
if [ $1 -eq 0 ]; then
update-desktop-database -q >/dev/null 2>&1
gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>&1
fi
:
%files
%defattr(-,root,root)
%{_bindir}/flacon
%dir %{_datadir}/flacon
%{_datadir}/flacon/*
%{_datadir}/metainfo/com.github.Flacon.metainfo.xml
%{_datadir}/applications/flacon.desktop
%{_datadir}/icons/hicolor/*/apps/flacon.png
%{_datadir}/icons/hicolor/scalable/apps/flacon.svg
%{_mandir}/man1/flacon.1*
%changelog
* Fri Apr 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.0-2mamba
- rebuilt to remove requirement for python-chardet
* Sun Feb 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.0-1mamba
- update to 6.1.0
* Mon Sep 16 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-1mamba
- package created by silvan using the webbuild interface