# # spec file for package taglib (Version 1.5) # # Copyright (c) 2009 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/ # # norootforbuild Name: taglib BuildRequires: cmake doxygen gcc-c++ graphviz update-desktop-files zlib-devel %if %suse_version > 1020 BuildRequires: fdupes %endif License: LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL) Group: Development/Libraries/C and C++ Summary: C++ Library to Parse Metadata in Media Files Url: http://ktown.kde.org/~wheeler/taglib/ # bug437293 %ifarch ppc64 Obsoletes: taglib-64bit %endif # Version: 1.5 Release: 81 Source0: %name-%version.tar.bz2 Source1: %name.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libtag provides a C++ interface for reading additional data (stored in TAGs) from MP3, Ogg Vorbis, and MPEG files. Authors: -------- Scott Wheeler %package devel Group: Development/Libraries/C and C++ License: LGPL v2.1 or later Summary: C++ Library to Parse Metadata in media files Requires: taglib = %{version} libstdc++-devel # bug437293 %ifarch ppc64 Obsoletes: taglib-devel-64bit %endif # %description devel libtag provides a C++ interface for reading additional data (stored in TAGs) from MP3, Ogg Vorbis, and MPEG files. Authors: -------- Scott Wheeler %prep %setup -q #%{__make} -f Makefile.cvs %build export CXXFLAGS="%{optflags}" export CFLAGS="%{optflags}" _libsuffix=$(echo %_lib | cut -b4-) cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DBUILD_TESTS:BOOL=ON -DLIB_SUFFIX=$_libsuffix . %{__make} %{?jobs:-j %jobs} VERBOSE=1 cd doc doxygen taglib.doxygen %install %{__make} DESTDIR="%{buildroot}" install # install susehelp file %{__mkdir_p} %{buildroot}%{_datadir}/susehelp/meta/Development/Libraries/ %{__install} -m 0644 %SOURCE1 \ %{buildroot}%{_datadir}/susehelp/meta/Development/Libraries/ %suse_update_desktop_file %{buildroot}%{_datadir}/susehelp/meta/Development/Libraries/%name.desktop %{__mkdir_p} %{buildroot}%_defaultdocdir/%name %{__cp} -a AUTHORS doc/html \ %{buildroot}%_defaultdocdir/%name/ %if %suse_version > 1020 %fdupes %{buildroot} %endif %check # check the library #pushd tests #make check #popd %clean %{__rm} -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libtag*.so.* %files devel %defattr(-,root,root) %doc %_defaultdocdir/%name %{_datadir}/susehelp %{_bindir}/taglib-config %{_includedir}/taglib %{_libdir}/libtag*.so %{_libdir}/pkgconfig/*.pc %changelog * Tue Mar 10 2009 coolo@suse.de - fix build with new cmake * Wed Jan 07 2009 olh@suse.de - obsolete old -XXbit packages (bnc#437293) * Thu Apr 10 2008 dmueller@suse.de - fix build for older distros * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support * Fri Feb 22 2008 crrodriguez@suse.de - build using Cmake - update to version 1.5 * Support for Mac OS X and Microsoft Windows * Distributed under the MPL (in addition to the previous LGPL license) * Added support for Speex files * Added support for TrueAudio files * Added support for WavPack files * Added support for ID3v2 general encapsulated object frames * Added support for ID3v2 unsynchronized lyrics frames * Added support for ID3v2 URL frames * Propper exports of all public classes / functions * Updated the APE::Item API to work with value lists * Added support to the FileRef class for new Xiph (Ogg) extensions * Made the samples per frame for MPEG headers accessible * Made MP3 Xing headers accessible * Prevent invalid encodings from being written to ID3v1 tags * Non-Latin1 ID3v2 text frames are automatically converted to UTF-8 on write (if they are not explicitly set to UTF-16) * Added support for reading ID3v2.2/3 unsynchronized tags * Made it possible to search for ID3v2 comment frames by description * Fixed a number of bugs in ID3v2 relative volume adjustment reading and writing * Added work arounds for iTunes writing invalid ID3v2 frame lengths * Added work arounds for iTunes not being able to correctly parse numerical ID3v2 genres * Added work arounds for iTunes putting non-text information in ID3v2 comment frames * Added a function to export strings to std::wstring * Added a function to check ASCII compatibility of strings * Added a function to check Latin1 compatibility of strings * Wed Nov 07 2007 meissner@suse.de - fixed gcc4.3 build * Tue Aug 07 2007 crrodriguez@suse.de - fix more issues: - this package does NOT require libjpeg-devel for build - after adding missing zlib-devel on BuildRequires in the previous checkin, libtool archives causes bloat. * Tue Aug 07 2007 crrodriguez@suse.de - run ldconfig instead of using deprecated macro - move the docs to the devel packages - use fdupes to avoid duplicate files - run make check in the check section * Fri Oct 20 2006 dmueller@suse.de - fix build with automake 1.10 * Tue Sep 12 2006 dmueller@suse.de - fix include's in installed headers * Mon Jul 03 2006 cthiel@suse.de - fix build * Wed Jun 14 2006 dmueller@suse.de - build parallel * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Nov 29 2005 ro@suse.de - added fontconfig to nfb * Mon Sep 26 2005 mls@suse.de - make devel package require base package * Tue Aug 09 2005 dmueller@suse.de - fix filelist * Tue Aug 09 2005 dmueller@suse.de - don't package empty TODO file * Thu Jul 28 2005 adrian@suse.de - update to version 1.4 * Mon Nov 08 2004 adrian@suse.de - update to version 1.3.1 * 64bit OGG/Vorbis file lenght fixes * crash fixes with broken mp3 files * Fri Oct 01 2004 adrian@suse.de - fix susehelp entry for API documentation * Fri Sep 10 2004 adrian@suse.de - update to version 1.3 * support for AOE tags and MPC files * compressed ID3v2 frame support * several checks for SIGFPE * Wed Jul 28 2004 adrian@suse.de - update to version 1.2 * flac in ogg support * support for relativ volume adjustement * support for attached picture * Sun Apr 18 2004 adrian@suse.de - update to version 1.1 * bugfixes * some more supported tag types * speed improvements * Wed Jan 21 2004 adrian@suse.de - update to version 1.0 final - generate and install API documentation * Mon Dec 15 2003 adrian@suse.de - update to version 0.96 (beta 2) * Thu Nov 13 2003 adrian@suse.de - update to current HEAD, to get kdemultimedia compiling again * Mon Nov 03 2003 adrian@suse.de - package also taglib_c.so * Mon Nov 03 2003 adrian@suse.de - update to version 0.95 (beta 1) * Thu Oct 30 2003 adrian@suse.de - initial package from kdeextragear-2/taglib snapshot