flacon/flacon.spec

96 lines
3.0 KiB
RPMSpec

Name: flacon
Version: 9.0.0
Release: 1mamba
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: libstdc++6-devel
BuildRequires: libtag-devel
BuildRequires: libuchardet-devel
BuildRequires: libz-devel
BuildRequires: qt5-qtbase-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 29 2022 Automatic Build System <autodist@mambasoft.it> 9.0.0-1mamba
- automatic version update by autodist
* Tue Feb 01 2022 Automatic Build System <autodist@mambasoft.it> 8.3.0-1mamba
- automatic version update by autodist
* Sat Dec 25 2021 Automatic Build System <autodist@mambasoft.it> 8.2.0-1mamba
- automatic version update by autodist
* Mon Nov 29 2021 Automatic Build System <autodist@mambasoft.it> 8.1.0-1mamba
- automatic version update by autodist
* Sun Nov 21 2021 Automatic Build System <autodist@mambasoft.it> 8.0.0-1mamba
- automatic version update by autodist
* Mon Apr 26 2021 Automatic Build System <autodist@mambasoft.it> 7.0.1-1mamba
- automatic version update by autodist
* 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