[521] | 1 | # $Id: libid3tag.spec,v 1.9 2004/02/19 09:37:51 dude Exp $ |
---|
| 2 | |
---|
| 3 | Summary: Library for reading and writing ID3v1 and ID3v2 tags. |
---|
| 4 | Summary(ja): ID3 タグを読み書きするためのライブラリ |
---|
| 5 | Name: libid3tag |
---|
| 6 | Version: 0.15.1b |
---|
[1984] | 7 | Release: 4%{_dist_release} |
---|
[521] | 8 | Group: System Environment/Libraries |
---|
| 9 | Source: ftp://ftp.mars.org/pub/mpeg/%{name}-%{version}.tar.gz |
---|
| 10 | Patch10: libid3tag-0.15.1b-gentoo-CVE-2008-2109_fix_overflow.patch |
---|
| 11 | URL: http://www.underbit.com/products/mad/ |
---|
| 12 | License: GPLv2 |
---|
| 13 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: zlib-devel |
---|
| 15 | BuildRequires: gcc-c++ |
---|
| 16 | Conflicts: libmad < 0.15.1b |
---|
| 17 | |
---|
| 18 | Vendor: Project Vine |
---|
| 19 | Distribution: Vine Linux |
---|
| 20 | |
---|
| 21 | Packager: inagaki |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | A library for reading and (eventually) writing ID3 tags, both ID3v1 and the |
---|
| 25 | various versions of ID3v2. |
---|
| 26 | |
---|
| 27 | %package devel |
---|
| 28 | Summary: Header and library for developing programs that will use libid3tag. |
---|
| 29 | Summary(ja): libid3tag を使うプログラムを開発するためのライブラリ |
---|
| 30 | Group: Development/Libraries |
---|
| 31 | Requires: %{name} = %{version} |
---|
| 32 | Requires: zlib-devel |
---|
| 33 | |
---|
| 34 | %description devel |
---|
| 35 | A library for reading and (eventually) writing ID3 tags, both ID3v1 and the |
---|
| 36 | various versions of ID3v2. |
---|
| 37 | |
---|
| 38 | This package contains the header file as well as the static library needed |
---|
| 39 | to develop programs that will use libid3tag for ID3 tar reading and writing. |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | %setup -q |
---|
| 44 | |
---|
| 45 | %patch10 -p0 -b .CVE-2008-2109 |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | %configure --disable-static |
---|
| 49 | make %{_smp_mflags} |
---|
| 50 | |
---|
| 51 | cat << EOF > id3tag.pc |
---|
| 52 | prefix=%{_prefix} |
---|
| 53 | exec_prefix=%{_prefix} |
---|
| 54 | libdir=%{_libdir} |
---|
| 55 | includedir=%{_includedir} |
---|
| 56 | |
---|
| 57 | Name: id3tag |
---|
| 58 | Description: ID3 tag library |
---|
| 59 | Requires: |
---|
| 60 | Version: %{version} |
---|
| 61 | Libs: -L%{_libdir} -lid3tag -lz |
---|
| 62 | Cflags: -I%{_includedir} |
---|
| 63 | EOF |
---|
| 64 | |
---|
| 65 | %install |
---|
| 66 | rm -rf %{buildroot} |
---|
| 67 | %makeinstall |
---|
| 68 | install -m 644 -D id3tag.pc %{buildroot}%{_libdir}/pkgconfig/id3tag.pc |
---|
| 69 | |
---|
| 70 | %clean |
---|
| 71 | rm -rf %{buildroot} |
---|
| 72 | |
---|
| 73 | %post -p /sbin/ldconfig |
---|
| 74 | |
---|
| 75 | %postun -p /sbin/ldconfig |
---|
| 76 | |
---|
| 77 | %files |
---|
| 78 | %defattr(-, root, root) |
---|
| 79 | %doc CHANGES COPYING COPYRIGHT CREDITS README TODO |
---|
| 80 | %{_libdir}/*.so.* |
---|
| 81 | |
---|
| 82 | %files devel |
---|
| 83 | %defattr(-, root, root) |
---|
| 84 | #{_libdir}/*.a |
---|
| 85 | %exclude %{_libdir}/*.la |
---|
| 86 | %{_libdir}/*.so |
---|
| 87 | %{_libdir}/pkgconfig/*.pc |
---|
| 88 | %{_includedir}/* |
---|
| 89 | |
---|
| 90 | %changelog |
---|
[1984] | 91 | * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.15.1b-4 |
---|
| 92 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 93 | |
---|
[521] | 94 | * Fri Jul 3 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.15.1b-3 |
---|
| 95 | - spec in UTF-8 |
---|
| 96 | - added --disable-static option to %%configure |
---|
| 97 | |
---|
| 98 | * Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.15.1b-2vl5 |
---|
| 99 | - rebuilt for VineSeed |
---|
| 100 | |
---|
| 101 | * Sat Jun 07 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 0.15.1b-2vl4 |
---|
| 102 | - add patch10 for fix CVE-2008-2109 (ID3_FIELD_TYPE_STRINGLIST field) |
---|
| 103 | - new versioning policy |
---|
| 104 | - add Vendor/Distribution tag |
---|
| 105 | |
---|
| 106 | * Thu Mar 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.15.1b-1vl1 |
---|
| 107 | - based on freshrpms package |
---|
| 108 | - rebuild for Vine Linux |
---|
| 109 | - added Japanese summary |
---|
| 110 | - added %post and %postun script |
---|
| 111 | |
---|
| 112 | * Thu Feb 19 2004 Matthias Saou <http://freshrpms.net/> - 0.15.1b-1.fr |
---|
| 113 | - Update to 0.15.1b. |
---|
| 114 | |
---|
| 115 | * Sun Nov 2 2003 Matthias Saou <http://freshrpms.net/> - 0.15.0b-4.fr |
---|
| 116 | - Rebuild for Fedora Core 1. |
---|
| 117 | |
---|
| 118 | * Wed Sep 3 2003 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 119 | - Fixed the -I in the pkgconfig file, thanks to Michael A. Peters. |
---|
| 120 | |
---|
| 121 | * Thu Aug 28 2003 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 122 | - Added id3tag.pc required by gstreamer-plugins. |
---|
| 123 | - Added zlib-devel dep to the devel package. |
---|
| 124 | |
---|
| 125 | * Mon Jul 21 2003 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 126 | - Added zlib-devel build dep. |
---|
| 127 | |
---|
| 128 | * Wed Jun 25 2003 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 129 | - Initial release of 0.15.0b. |
---|
| 130 | |
---|