2007-01-16 00:22:10 +01:00
|
|
|
#
|
|
|
|
# spec file for package libid3tag (Version 0.15.1b)
|
|
|
|
#
|
2008-05-16 14:37:30 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:22:10 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-05-16 14:37:30 +02:00
|
|
|
|
2007-01-16 00:22:10 +01:00
|
|
|
Name: libid3tag
|
2007-03-29 12:03:32 +02:00
|
|
|
BuildRequires: gperf zlib-devel
|
2007-01-16 00:22:10 +01:00
|
|
|
Summary: ID3 Tag Manipulation Library
|
|
|
|
Version: 0.15.1b
|
2008-05-16 14:37:30 +02:00
|
|
|
Release: 130
|
2007-01-16 00:22:10 +01:00
|
|
|
Group: System/Libraries
|
2008-05-16 14:37:30 +02:00
|
|
|
License: GPL v2 or later
|
|
|
|
Url: http://www.underbit.com/products/mad/
|
2007-01-16 00:22:10 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Patch: libid3tag-noweak.dif
|
|
|
|
Patch1: libid3tag-gperf.dif
|
|
|
|
Patch2: libid3tag-0.15.1b-mb.diff
|
|
|
|
Patch3: libid3tag-automake-fix.dif
|
|
|
|
Patch4: libid3tag-optflags.patch
|
2008-05-16 14:37:30 +02:00
|
|
|
Patch5: libid3tag-0.15.1b-fix_overflow.patch
|
2007-01-16 00:22:10 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
libid3tag is a library for reading and writing ID3 tags, both ID3v1 and
|
|
|
|
the various versions of ID3v2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Underbit Technologies, Inc. <support@underbit.com>
|
|
|
|
|
|
|
|
%package devel
|
2008-05-16 14:37:30 +02:00
|
|
|
License: GPL v2 or later
|
2007-01-16 00:22:10 +01:00
|
|
|
Summary: Development package for libid3tag library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libid3tag = %version zlib-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the header files and static libraries needed to
|
|
|
|
develop applications with libid3tag.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Underbit Technologies, Inc. <support@underbit.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch
|
|
|
|
%patch1
|
|
|
|
%patch2
|
|
|
|
%patch3
|
|
|
|
%patch4
|
2008-05-16 14:37:30 +02:00
|
|
|
%patch5
|
2007-01-16 00:22:10 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fi
|
2008-05-16 14:37:30 +02:00
|
|
|
%configure --disable-static
|
|
|
|
make %{?jobs:-j %jobs}
|
|
|
|
echo -e "prefix=%_prefix\nexec_prefix=%_prefix\nlibdir=%_libdir\nincludedir=%_includedir\nName: id3tag\nDescription: ID3 tag library\nRequires:\nVersion: %version\nLibs: -L%_libdir -lid3tag\nLibs.private: -lz\nCflags: -I%_includedir\n" > id3tag.pc
|
2007-01-16 00:22:10 +01:00
|
|
|
|
|
|
|
%install
|
2008-05-16 14:37:30 +02:00
|
|
|
%makeinstall
|
2007-01-16 00:22:10 +01:00
|
|
|
install -m 644 -D id3tag.pc %{buildroot}%{_libdir}/pkgconfig/id3tag.pc
|
2008-05-16 14:37:30 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libid3tag*.*a
|
2007-01-16 00:22:10 +01:00
|
|
|
|
2008-05-16 14:37:30 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:22:10 +01:00
|
|
|
|
2008-05-16 14:37:30 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:22:10 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2008-05-16 14:37:30 +02:00
|
|
|
%doc CHANGES COPYING COPYRIGHT CREDITS README TODO VERSION
|
2007-01-16 00:22:10 +01:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/id3tag.pc
|
|
|
|
|
2007-03-29 12:03:32 +02:00
|
|
|
%changelog
|
2008-05-16 14:37:30 +02:00
|
|
|
* Thu May 08 2008 tiwai@suse.de
|
|
|
|
- VUL-0: libid3tag overflow (CVE-2008-2109, bnc#387731)
|
|
|
|
- don't install static and *.la files
|
|
|
|
- clean up spec file
|
|
|
|
* Thu Mar 29 2007 meissner@suse.de
|
2007-03-29 12:03:32 +02:00
|
|
|
- zlib-devel to buildrequires
|
2008-05-16 14:37:30 +02:00
|
|
|
* Tue Oct 31 2006 meissner@suse.de
|
2007-01-16 00:22:10 +01:00
|
|
|
- fixed configure.ac to accept more than 1 -O/-f option, added
|
|
|
|
requires
|
2008-05-16 14:37:30 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:22:10 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-05-16 14:37:30 +02:00
|
|
|
* Wed Jan 11 2006 tiwai@suse.de
|
2007-01-16 00:22:10 +01:00
|
|
|
- compile with -fstack-protector.
|
2008-05-16 14:37:30 +02:00
|
|
|
* Tue Jul 06 2004 hvogel@suse.de
|
2007-01-16 00:22:10 +01:00
|
|
|
- add pgkconfig file
|
2008-05-16 14:37:30 +02:00
|
|
|
* Thu Feb 26 2004 tiwai@suse.de
|
2007-01-16 00:22:10 +01:00
|
|
|
- updated to version 0.15.1b.
|
|
|
|
- fixed memory allocation check.
|
|
|
|
- fixed for autoreconf.
|
2008-05-16 14:37:30 +02:00
|
|
|
* Tue Jan 13 2004 tiwai@suse.de
|
2007-01-16 00:22:10 +01:00
|
|
|
- build as non-root.
|
2008-05-16 14:37:30 +02:00
|
|
|
* Mon Aug 11 2003 tiwai@suse.de
|
2007-01-16 00:22:10 +01:00
|
|
|
- fixed the handling of v2 tag.
|
2008-05-16 14:37:30 +02:00
|
|
|
* Thu Jul 03 2003 tiwai@suse.de
|
2007-01-16 00:22:10 +01:00
|
|
|
- split from mad: version 0.15.0b.
|