flacon/flacon.spec

75 lines
2.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: flacon
Version: 6.1.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: ldconfig
BuildRequires: libgcc
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: libuchardet-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
* 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