From 24c957ae50ecb550461991a01c99823e9723f29a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:26:14 +0100 Subject: [PATCH] update to 6.1.0 [release 6.1.0-1mamba;Sun Feb 07 2021] --- flacon.spec | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/flacon.spec b/flacon.spec index aa41920..f2896b5 100644 --- a/flacon.spec +++ b/flacon.spec @@ -1,19 +1,22 @@ Name: flacon -Version: 0.8.0 +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 -URL: http://www.kde.org -Source: https://flacon.googlecode.com/files/flacon-%{version}.tgz +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 -BuildRequires: python-devel -Requires: python -Requires: python-chardet BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -25,41 +28,47 @@ Flacon extracts individual tracks from one big audio file containing the entire %setup -q %build +%cmake -d build + +%make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1 -exit 0 +touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>&1 +: %posttrans update-desktop-database -q >/dev/null 2>&1 -update-mime-database %{_kde4_mimedir} >/dev/null 2>&1 -gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1 -exit 0 +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 - update-mime-database %{_kde4_mimedir} >/dev/null 2>&1 - touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1 - gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1 + gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>&1 fi -exit 0 +: %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 6.1.0-1mamba +- update to 6.1.0 + * Mon Sep 16 2013 Silvan Calarco 0.8.0-1mamba - package created by silvan using the webbuild interface