Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
kid3-qt
kid3-qt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kid3-qt.spec of Package kid3-qt
# # spec file for package kid3-qt # # Copyright (c) 2012 SUSE LINUX Products 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: kid3-qt Version: 2.0 Release: 0 Summary: Efficient ID3 Tag Editor - Non Kde version License: GPL-2.0+ Group: Productivity/Multimedia/Sound/Utilities Source0: kid3-%{version}.tar.bz2 Source1: COPYING Patch0: kid3-qt-gcc47.patch Url: http://kid3.sourceforge.net BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake BuildRequires: crimson BuildRequires: docbook-xsl-stylesheets BuildRequires: flac-devel BuildRequires: fop BuildRequires: hicolor-icon-theme BuildRequires: id3lib-devel BuildRequires: jpackage-utils BuildRequires: libQtWebKit-devel BuildRequires: libmusicbrainz3-devel BuildRequires: libqt4-devel BuildRequires: libtunepimp-devel BuildRequires: libvorbis-devel BuildRequires: perl BuildRequires: pkg-config BuildRequires: susedoc BuildRequires: taglib-devel BuildRequires: update-desktop-files BuildRequires: xerces-j2 BuildRequires: perl(File::Spec) BuildRequires: pkgconfig(phonon) Requires(pre): desktop-file-utils Provides: kid3 = %{version} Obsoletes: kid3 < %{version} %description This is the non kde qt version. With Kid3 you can: * Edit ID3v1.1 tags * Edit all ID3v2.3 and ID3v2.4 frames * Convert between ID3v1.1, ID3v2.3 and ID3v2.4 tags * Edit tags in MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC, MP2, Speex, TrueAudio, WavPack, WMA, WAV and AIFF files * Edit tags of multiple files, e.g. the artist, album, year and genre of all files of an album typically have the same values and can be set together. * Generate tags from filenames * Generate filenames from tags * Rename and create directories from tags * Generate playlist files * Automatically convert upper and lower case and replace strings * Import from gnudb.org, TrackType.org, MusicBrainz, Discogs, Amazon and other sources of album data * Export tags as CSV, HTML, playlists, Kover XML and in other formats %prep %setup -q -n kid3-%{version} %patch0 -p1 # Wrong FSF address in the sources COPYING, replace with downloaded one. cp %{S:1} ./ %build mkdir Build && cd Build cmake ../ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DCMAKE_C_FLAGS:STRING="%{optflags} -ggdb" \ -DCMAKE_CXX_FLAGS:STRING="%{optflags} -ggdb" \ -DWITH_MP4V2=OFF \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DWITH_KDE:BOOL=off \ -DDOCBOOK_XSL_DIR:PATH=%{_datadir}/xml/docbook/stylesheet/nwalsh/1.75.2/ \ -DWITH_DOCDIR:STRING=share/doc/packages/kid3-qt \ -LAH make %{?jobs:-j %{jobs}} CFLAGS="%{optflags} -ggdb" CXXFLAGS="%{optflags} -ggdb" %install pushd Build export INSTALL_ROOT=%{buildroot} %makeinstall %suse_update_desktop_file -r "%{name}" AudioVideo AudioVideoEditing popd # install -Dpm 0644 deb/kid3.1 %{buildroot}%{_mandir}/man1/kid3-qt.1 #find %%{buildroot} -type f -o -name "*.so" -exec strip "{}" \; cp -pr AUTHORS ChangeLog COPYING LICENSE NEWS README %{buildroot}%{_docdir}/%{name}/ mkdir %{buildroot}%{_datadir}/locale/ && pushd %{buildroot}%{_datadir}/locale/ lndir ../%{name}/translations/ ./ popd %find_lang %{name} %{name}.lang --without-kde --with-qt --all-name --without-mo %post update-desktop-database > /dev/null %postun update-desktop-database > /dev/null %files -f %{name}.lang %defattr(644,root,root,755) %doc %{_docdir}/%{name} %defattr(755,root,root,755) %_bindir/%{name} %defattr(644,root,root,755) %_datadir/applications/%{name}.desktop %_iconsbasedir/16x16/apps/%{name}.png %_iconsbasedir/32x32/apps/%{name}.png %_iconsbasedir/48x48/apps/%{name}.png %_iconsbasedir/scalable/apps/%{name}.svgz %_datadir/%{name}/translations/kid3_de.qm %_datadir/%{name}/translations/kid3_et.qm %_datadir/%{name}/translations/kid3_fr.qm %_datadir/%{name}/translations/kid3_it.qm %_datadir/%{name}/translations/kid3_nl.qm %_datadir/%{name}/translations/kid3_ru.qm %_datadir/%{name}/translations/kid3_tr.qm %_datadir/%{name}/translations/kid3_zh_TW.qm %_datadir/%{name}/translations/kid3_pl.qm %_datadir/%{name}/translations/kid3_fi.qm %_datadir/%{name}/translations/kid3_es.qm %_datadir/%{name}/translations/kid3_cs.qm %_datadir/%{name}/translations/qt_de.qm %_mandir/man1/kid3-qt.1.gz %if 0%{?suse_version} != 1120 %_datadir/%{name}/translations/qt_zh_TW.qm %_datadir/%{name}/translations/qt_pl.qm %_datadir/%{name}/translations/qt_ru.qm %_datadir/%{name}/translations/qt_fr.qm %_datadir/%{name}/translations/qt_es.qm %endif %if 0%{?suse_version} > 1120 %_datadir/%{name}/translations/qt_cs.qm %endif %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/translations %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