Hello community, here is the log from the commit of package taglib for openSUSE:Factory checked in at Thu May 19 14:10:37 CEST 2011.
-------- --- KDE/taglib/taglib.changes 2011-02-26 20:24:57.000000000 +0100 +++ /mounts/work_src_done/STABLE/taglib/taglib.changes 2011-05-17 23:26:33.000000000 +0200 @@ -1,0 +2,34 @@ +Tue May 17 20:55:51 UTC 2011 - [email protected] + +- Update to version 1.7: + * Fixed memory leaks in the FLAC file format parser. + * Fixed bitrate calculation for WAV files. + From 1.7 RC1 + * Support for reading/writing tags from Monkey's Audio files. (BUG:210404) + * Support for reading/writing embedded pictures from WMA files. + * Support for reading/writing embedded pictures from FLAC files (BUG:218696). + * Implemented APE::Tag::isEmpty() to check for all APE tags, not just the + basic ones. + * Added reading of WAV audio length. (BUG:116033) + * Exposed FLAC MD5 signature of the uncompressed audio stream via + FLAC::Properties::signature(). (BUG:160172) + * Added function ByteVector::toHex() for hex-encoding of byte vectors. + * WavPack reader now tries to get the audio length by finding the final + block, if the header doesn't have the information. (BUG:258016) + * Fixed a memory leak in the ID3v2.2 PIC frame parser. (BUG:257007) + * Fixed writing of RIFF files with even chunk sizes. (BUG:243954) + * Fixed compilation on MSVC 2010. + * Removed support for building using autoconf/automake. + * API docs can be now built using "make docs". +- Spec file updates: + * Changes based on openSUSE shared library packaging policy (added libtag1, + libtag_c0 and libtag-devel packages, removed taglib and taglib-devel + packages). + * Changes based on spec-cleaner run. + * Changed License: to LGPLv2.1+ ; MPLv1.1 .. + * Updates in Group, Summary and %description entries. + * Added libcppunit-devel and pkg-config in BuildRequires. + * Minor other updates. +- Updated taglib.desktop for susehelp to point to libtag-devel. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- taglib-1.6.3.tar.bz2 New: ---- taglib-1.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ taglib.spec ++++++ --- /var/tmp/diff_new_pack.rfNfcF/_old 2011-05-19 14:03:41.000000000 +0200 +++ /var/tmp/diff_new_pack.rfNfcF/_new 2011-05-19 14:03:41.000000000 +0200 @@ -19,84 +19,122 @@ Name: taglib -BuildRequires: cmake doxygen gcc-c++ graphviz update-desktop-files zlib-devel -%if %suse_version > 1020 +Version: 1.7 +Release: 1 +License: LGPLv2.1+ ; MPLv1.1 .. +Summary: Audio Meta-Data Library +Url: http://ktown.kde.org/~wheeler/taglib/ +Group: System/Libraries +# http://ktown.kde.org/~wheeler/files/src/taglib-1.7.tar.gz +Source0: %{name}-%{version}.tar.bz2 +Source1: %{name}.desktop +Source100: baselibs.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: cmake +BuildRequires: doxygen BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: graphviz +BuildRequires: libcppunit-devel +BuildRequires: pkg-config +%if 0%{?suse_version} +BuildRequires: update-desktop-files %endif -License: LGPLv2.1+ ; MPL .. -Group: Development/Libraries/C and C++ -Summary: C++ Library to Parse Metadata in Media Files -Url: http://ktown.kde.org/~wheeler/taglib/ +BuildRequires: zlib-devel + +%description +TagLib is a library for reading and editing the meta-data of several popular +audio formats. Currently it supports both ID3v1 and ID3v2 for MP3 files, Ogg +Vorbis comments and ID3 tags and Vorbis comments in FLAC, MPC, Speex, WavPack +TrueAudio, WAV, AIFF, MP4 and ASF files. + +%package -n libtag1 +License: LGPLv2.1+ +Summary: Audio Meta-Data Library +Group: System/Libraries # bug437293 %ifarch ppc64 -Obsoletes: taglib-64bit +Obsoletes: libtag1-64bit %endif # -Version: 1.6.3 -Release: 1 -Source0: %name-%version.tar.bz2 -Source1: %name.desktop -Source2: baselibs.conf -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. +%description -n libtag1 +TagLib is a library for reading and editing the meta-data of several popular +audio formats. Currently it supports both ID3v1 and ID3v2 for MP3 files, Ogg +Vorbis comments and ID3 tags and Vorbis comments in FLAC, MPC, Speex, WavPack +TrueAudio, WAV, AIFF, MP4 and ASF files. +%package -n libtag_c0 +License: LGPLv2.1+ +Summary: Audio Meta-Data Library +Group: System/Libraries +# bug437293 +%ifarch ppc64 +Obsoletes: libtag_c0-64bit +%endif +# -Authors: --------- - Scott Wheeler <[email protected]> +%description -n libtag_c0 +TagLib is a library for reading and editing the meta-data of several popular +audio formats. Currently it supports both ID3v1 and ID3v2 for MP3 files, Ogg +Vorbis comments and ID3 tags and Vorbis comments in FLAC, MPC, Speex, WavPack +TrueAudio, WAV, AIFF, MP4 and ASF files. -%package devel -Group: Development/Libraries/C and C++ +%package -n libtag-devel License: LGPLv2.1+ -Summary: C++ Library to Parse Metadata in media files -Requires: taglib = %{version} libstdc++-devel +Summary: Development files for taglib +Group: Development/Libraries/C and C++ +Requires: libstdc++-devel +Requires: libtag1 = %{version} +Requires: libtag_c0 = %{version} +# taglib-devel was last used in openSUSE 11.4 (taglib-devel-0.6.3) +Provides: taglib-devel = %{version} +Obsoletes: taglib-devel < 0.6.3 # bug437293 %ifarch ppc64 +Obsoletes: libtag-devel-64bit 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 <[email protected]> +%description -n libtag-devel +This package contains development files for taglib. %prep %setup -q -#%{__make} -f Makefile.cvs %build +mkdir build +cd build export CXXFLAGS="%{optflags}" export CFLAGS="%{optflags}" -_libsuffix=$(echo %_lib | cut -b4-) -cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DBUILD_TESTS:BOOL=ON -DLIB_SUFFIX=$_libsuffix -DWITH_ASF:BOOL=ON -DWITH_MP4:BOOL=ON . -%{__make} %{?jobs:-j %jobs} VERBOSE=1 -cd doc -doxygen taglib.doxygen +_libsuffix=$(echo %{_lib} | cut -b4-) +cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DBUILD_TESTS:BOOL=ON -DLIB_SUFFIX=$_libsuffix -DWITH_ASF:BOOL=ON -DWITH_MP4:BOOL=ON .. +make %{?_smp_mflags} VERBOSE=1 +cd .. + +doxygen %install -%{__make} DESTDIR="%{buildroot}" install +cd build +%makeinstall +cd .. + # 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} +mkdir -p %{buildroot}%{_datadir}/susehelp/meta/Development/Libraries/ +install -pm 0644 %{SOURCE1} %{buildroot}%{_datadir}/susehelp/meta/Development/Libraries/ + +%if 0%{?suse_version} +%suse_update_desktop_file %{buildroot}%{_datadir}/susehelp/meta/Development/Libraries/%{name}.desktop %endif +# Documentation +mkdir -p %{buildroot}%{_defaultdocdir}/libtag-devel +rm -f examples/CMake* +cp -a AUTHORS COPYING.LGPL COPYING.MPL NEWS doc/html/ examples/ %{buildroot}%{_defaultdocdir}/libtag-devel/ + +%fdupes -s %{buildroot} + %check # check the library #pushd tests @@ -104,23 +142,31 @@ #popd %clean -%{__rm} -rf %{buildroot} +rm -rf %{buildroot} + +%post -n libtag1 -p /sbin/ldconfig + +%postun -n libtag1 -p /sbin/ldconfig + +%post -n libtag_c0 -p /sbin/ldconfig -%post -p /sbin/ldconfig +%postun -n libtag_c0 -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%files -n libtag1 +%defattr(-,root,root,-) +%{_libdir}/libtag.so.1* -%files -%defattr(-,root,root) -%{_libdir}/libtag*.so.* +%files -n libtag_c0 +%defattr(-,root,root,-) +%{_libdir}/libtag_c.so.0* -%files devel -%defattr(-,root,root) -%doc %_defaultdocdir/%name -%{_datadir}/susehelp +%files -n libtag-devel +%defattr(-,root,root,-) +%doc %{_defaultdocdir}/libtag-devel/ %{_bindir}/taglib-config -%{_includedir}/taglib +%{_includedir}/taglib/ %{_libdir}/libtag*.so %{_libdir}/pkgconfig/*.pc +%{_datadir}/susehelp/ %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.rfNfcF/_old 2011-05-19 14:03:41.000000000 +0200 +++ /var/tmp/diff_new_pack.rfNfcF/_new 2011-05-19 14:03:41.000000000 +0200 @@ -1 +1,2 @@ -taglib +libtag1 +libtag_c0 ++++++ taglib-1.6.3.tar.bz2 -> taglib-1.7.tar.bz2 ++++++ ++++ 91307 lines of diff (skipped) ++++++ taglib.desktop ++++++ --- /var/tmp/diff_new_pack.rfNfcF/_old 2011-05-19 14:03:41.000000000 +0200 +++ /var/tmp/diff_new_pack.rfNfcF/_new 2011-05-19 14:03:41.000000000 +0200 @@ -2,5 +2,5 @@ Name=Taglib API reference Name[de]=Taglib API Referenz Name[hu]=Taglib API referencia -DocPath=/usr/share/doc/packages/taglib/html/index.html +DocPath=/usr/share/doc/packages/libtag-devel/html/index.html X-DOC-SearchMethod=htdig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
