66 lines
2.0 KiB
RPMSpec
66 lines
2.0 KiB
RPMSpec
Name: flacon
|
|
Version: 0.8.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
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: python-devel
|
|
Requires: python
|
|
Requires: python-chardet
|
|
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
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post
|
|
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
|
exit 0
|
|
|
|
%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
|
|
|
|
%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
|
|
fi
|
|
exit 0
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/flacon
|
|
%dir %{_datadir}/flacon
|
|
%{_datadir}/flacon/*
|
|
%{_datadir}/applications/flacon.desktop
|
|
%{_datadir}/icons/hicolor/*/apps/flacon.png
|
|
|
|
%changelog
|
|
* Mon Sep 16 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-1mamba
|
|
- package created by silvan using the webbuild interface
|