Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
taglib
taglib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File taglib.spec of Package taglib
# # spec file for package taglib (Version 1.6.2) # # Copyright (c) 2010 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: 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/ # bug437293 %ifarch ppc64 Obsoletes: taglib-64bit %endif # Version: 1.6.2 Release: 1 Source0: %name-%version.tar.bz2 Source1: %name.desktop Source2: baselibs.conf Patch0: taglib-CVE-2012-1108.patch Patch1: taglib-CVE-2012-1584.patch Patch2: taglib-infinite-loop.patch Patch3: taglib-CVE-2012-2396.patch 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 <wheeler@kde.org> %package devel Group: Development/Libraries/C and C++ License: LGPLv2.1+ 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 <wheeler@kde.org> %prep %setup -q %patch0 %patch1 %patch2 %patch3 -p1 %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 %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
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