Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:frispete:tools
mp3diags
mp3diags.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mp3diags.spec of Package mp3diags
# # spec file for package mp3diags # # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org> # # 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/ # %define tarname MP3Diags Name: mp3diags Version: 1.2.02 Release: 1 License: GPL-2.0+ Summary: Identify and fix problems in MP3 files Url: http://mp3diags.sourceforge.net Group: Productivity/Multimedia/Sound/Editors and Convertors Source: http://sourceforge.net/projects/%{name}/files/%{name}-src/%{tarname}-%{version}.tar.gz Patch1: %{name}-docdir.patch.in BuildRequires: boost-devel BuildRequires: libqt4-devel BuildRequires: zlib-devel BuildRequires: gcc-c++ BuildRequires: make BuildRequires: glibc-devel BuildRequires: update-desktop-files Conflicts: %{name}-unstable BuildRoot: %{_tmppath}/%{name}-%{version}-build %description MP3 Diags finds problems in MP3 files and helps the user fix many of them. It looks at both the audio part (VBR info, quality, normalization) and the tags containing track information (ID3). It has a tag editor, which can download album information (including cover art) from MusicBrainz and Discogs, as well as paste data from the clipboard. Track information can also be extracted from a file's name. Another component is the file renamer, which can rename files based on the fields in their ID3V2 tag (artist, track number, album, genre, etc.). %prep %setup -q -n %{tarname}-%{version} sed 's/@@VERSION@@/%{version}/g' <"%{PATCH1}" | patch -p0 ./AdjustMt.sh %build pushd src qmake QMAKE_CXXFLAGS=-DDOCDIR="\\\"\\\\\\\"%{_docdir}/%{name}\\\\\\\"\\\""" %{optflags}" make %{?_smp_mflags} popd %install install -D -m0755 bin/MP3Diags "%{buildroot}%{_bindir}/MP3Diags" ln -s MP3Diags "%{buildroot}%{_bindir}/mp3diags" install -D -m0644 desktop/MP3Diags.desktop "%{buildroot}%{_datadir}/applications/%{name}.desktop" install -D -m0644 desktop/MP3Diags48.png "%{buildroot}%{_datadir}/pixmaps/MP3Diags.png" %suse_update_desktop_file -r "%{name}" AudioVideo AudioVideoEditing %files %defattr(-,root,root) %doc changelog.txt COPYING %{_bindir}/mp3diags %{_bindir}/MP3Diags %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/MP3Diags.png
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