Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:KDE:Extra
soundkonverter
soundkonverter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File soundkonverter.spec of Package soundkonverter
# # spec file for package soundkonverter # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: soundkonverter Version: 3.0.1 Release: 0 License: GPL-2.0 Group: Productivity/Multimedia/Sound/Editors and Convertors Summary: Audio file converter, CD ripper and Replay Gain tool URL: https://github.com/dfaust/soundkonverter Source: https://github.com/dfaust/soundkonverter/archive/v%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake(KF5Cddb) BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5ConfigWidgets) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5KDELibs4Support) BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5Solid) BuildRequires: cmake(KF5WidgetsAddons) BuildRequires: cmake(KF5XmlGui) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(phonon4qt5) BuildRequires: pkgconfig(taglib) >= 1.4 BuildRequires: cdparanoia-devel BuildRequires: unzip BuildRequires: update-desktop-files Requires: cdparanoia Requires: flac Requires: fluidsynth Requires: speex Requires: timidity Requires: vorbis-tools Requires: wavpack Recommends: MPlayer Recommends: aacgain Recommends: faac Recommends: faad2 Recommends: ffmpeg Recommends: flake Recommends: lame Recommends: mac Recommends: mp3gain Recommends: mppdec Recommends: mppenc Recommends: shorten Recommends: sox Recommends: twolame Recommends: vorbisgain Recommends: opus-tools %description soundKonverter is a frontend to various audio converters. The key features are: - Audio file conversion - Replay Gain calculation - CD ripping soundKonverter supports reading and writing tags and covers for many formats, so they are preserved when converting files. It is extendable by plugins and supports many backends including: - Audio file conversion Backends: faac, faad, ffmpeg, flac, lame, mplayer, neroaac, timidity, fluidsynth, vorbistools, opustools, sox, twolame, flake, mac, shorten, wavpack and speex Formats: ogg vorbis, mp3, flac, wma, aac, ac3, opus, alac, mp2, als, amr nb, amr wb, ape, speex, m4a, mp1, musepack shorten, tta, wavpack, ra, midi, mod, 3gp, rm, avi, mkv, ogv, mpeg, mov, mp4, flv, wmv and rv - Replay Gain calculation Backends: aacgain, metaflac, mp3gain, vorbisgain, wvgain, mpcgain Formats: aac, mp3, flac, ogg vorbis, wavpack, musepack - CD ripping Backends: cdparanoia If you try to convert a file that is not supported, soundKonverter will tell you which backend you need to install. %prep %setup -q %build pushd src %cmake_kf5 -d build -- "-DKF5_BUILD=ON" %make_jobs popd %install pushd src %kf5_makeinstall -C build popd %suse_update_desktop_file -r %{name} AudioVideo AudioVideoEditing KDE %find_lang %{name} %files -f %{name}.lang %defattr(-,root,root) %doc src/CHANGELOG src/COPYING src/README %dir %{_kf5_kxmlguidir}/soundkonverter %dir %{_kf5_sharedir}/solid %dir %{_kf5_sharedir}/solid/actions %dir %{_kf5_sharedir}/soundkonverter %{_kf5_sharedir}/soundkonverter/* %{_kf5_bindir}/soundkonverter %{_kf5_libdir}/libsoundkonvertercore.so* %{_kf5_servicesdir}/soundkonverter_* %{_kf5_plugindir}/soundkonverter_* %{_kf5_applicationsdir}/soundkonverter.desktop %{_kf5_iconsdir}/hicolor/*/apps/soundkonverter.png %{_kf5_iconsdir}/hicolor/*/apps/soundkonverter-replaygain.png %{_kf5_servicetypesdir}/soundkonverter_codecplugin.desktop %{_kf5_servicetypesdir}/soundkonverter_filterplugin.desktop %{_kf5_servicetypesdir}/soundkonverter_replaygainplugin.desktop %{_kf5_servicetypesdir}/soundkonverter_ripperplugin.desktop %{_kf5_appsdir}/solid/actions/soundkonverter-rip-audiocd.desktop %{_kf5_kxmlguidir}/soundkonverter/soundkonverterui.rc %{_kf5_sharedir}/appdata/soundkonverter.appdata.xml %post -p /sbin/ldconfig %postun -p /sbin/ldconfig # Remove files really unneeded and annoying after uninstalling soundkonverter # run only if last instance gets removed # rpm: 0 # deb: remove if [ "$1" = "0" ] || [ "$1" = "remove" ]; then # get min UID limit MIN_UID=$(grep "^UID_MIN" "/etc/login.defs") # get max UID limit MAX_UID=$(grep "^UID_MAX" "/etc/login.defs") # use awk to print if UID >= $MIN_UID and UID <= $MAX_UID and shell is not /sbin/nologin USERS=`awk -F':' -v "min=${MIN_UID##UID_MIN}" -v "max=${MAX_UID##UID_MAX}" '{ if ( $3 >= min && $3 <= max && $7 != "/sbin/nologin" ) print $1 }' "/etc/passwd"` USERS="root $USERS" for USER in $USERS; do echo "cleaning up local files for user $USER" FILE=`su -l $USER -c "kde4-config --path \"services\" --locate \"ServiceMenus/convert_with_soundkonverter.desktop\""` if [ -n "$FILE" ]; then echo "rm $FILE" rm "$FILE" fi FILE=`su -l $USER -c "kde4-config --path \"services\" --locate \"ServiceMenus/add_replaygain_with_soundkonverter.desktop\""` if [ -n "$FILE" ]; then echo "rm $FILE" rm "$FILE" fi done fi exit 0 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor