update to 6.1.0 [release 6.1.0-1mamba;Sun Feb 07 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 22:26:14 +01:00
parent 4acb03cf22
commit 24c957ae50

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <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