Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37749616
en ru br
ALT Linux repos
S:1.12-alt1
5.0: 1.5-alt2.1
4.1: 1.5-alt2
4.0: 1.4-alt5
3.0: 1.4-alt1

Group :: System/Libraries
RPM: libtag

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%undefine __libtoolize
%define rname taglib

Name: libtag
Version: 1.5
Release: alt2.1

Group: System/Libraries
Summary: TagLib, is well, a library for reading and editing audio meta data
Url: http://ktown.kde.org/~wheeler/taglib/
License: LGPL

Provides: %rname = %version-%release

Source0: %rname-%version.tar.bz2
Source1: taglib-csa3.tar.bz2

Patch0: taglib-1.5-ds-rcc.patch
Patch1: taglib-ignore0length.patch
Patch2: taglib-1.5-alt-gcc43.patch

BuildRequires: gcc-c++ librcc-devel zlib-devel
BuildRequires: doxygen graphviz

%description
TagLib, is well, a library for reading and editing audio meta data,
commonly know as tags.
Some goals of TagLib:
A clean, high level, C++ API to handling audio meta data.
Support for at least ID3v1, ID3v2 and Ogg Vorbis comments.
A generic, simple API for the most common tagging related functions.
Binary compatibility between minor releases using the standard KDE/Qt
techniques for C++ binary compatibility.
Make the tagging framework extensible by library users; i.e. it will be
possible for libarary users to implement additional ID3v2 frames,
without modifying the TagLib source.
Because TagLib desires to be toolkit agnostic, in hope of being widely
adopted and the most flexible in licensing TagLib provides many of its
own toolkit classes; in fact the only external dependancy that TagLib has,
it a semi-sane STL implementation.

%package devel
Group: Development/C
Summary: Headers and static lib for taglib development
Requires: %name = %version-%release
Provides: %rname-devel = %version-%release

%description devel
Install this package if you want do compile applications using the libtag
library.


%prep
%setup -q -n %rname-%version
%patch0 -p1
%patch2 -p1
pushd taglib
#%patch1 -p0
popd

autoreconf -fisv


%build
%configure \
   --enable-final \
   --disable-rpath \
   --enable-new-ldflags
%make_build
pushd doc
doxygen taglib.doxygen
popd

%install
%make_install DESTDIR=%buildroot install

%files
#%doc AUTHORS ChangeLog TODO README
%doc AUTHORS
%_libdir/libtag.so.*
%_libdir/libtag_c.so.*

%files devel
#%doc doc/html AUTHORS ChangeLog TODO README
%doc doc/html AUTHORS
%_bindir/taglib-config
%_libdir/libtag.so
%_libdir/libtag_c.so
%_libdir/pkgconfig/taglib*.pc
%dir %_includedir/taglib/
%_includedir/taglib/*.h
%_includedir/taglib/*.tcc

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin