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 |
---|
7 | Release: 5%{_dist_release} |
---|
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 |
---|
91 | * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.15.1b-5 |
---|
92 | - rebuild with VineSeed environment |
---|
93 | |
---|
94 | * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.15.1b-4 |
---|
95 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
96 | |
---|
97 | * Fri Jul 3 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.15.1b-3 |
---|
98 | - spec in UTF-8 |
---|
99 | - added --disable-static option to %%configure |
---|
100 | |
---|
101 | * Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.15.1b-2vl5 |
---|
102 | - rebuilt for VineSeed |
---|
103 | |
---|
104 | * Sat Jun 07 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 0.15.1b-2vl4 |
---|
105 | - add patch10 for fix CVE-2008-2109 (ID3_FIELD_TYPE_STRINGLIST field) |
---|
106 | - new versioning policy |
---|
107 | - add Vendor/Distribution tag |
---|
108 | |
---|
109 | * Thu Mar 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.15.1b-1vl1 |
---|
110 | - based on freshrpms package |
---|
111 | - rebuild for Vine Linux |
---|
112 | - added Japanese summary |
---|
113 | - added %post and %postun script |
---|
114 | |
---|
115 | * Thu Feb 19 2004 Matthias Saou <http://freshrpms.net/> - 0.15.1b-1.fr |
---|
116 | - Update to 0.15.1b. |
---|
117 | |
---|
118 | * Sun Nov 2 2003 Matthias Saou <http://freshrpms.net/> - 0.15.0b-4.fr |
---|
119 | - Rebuild for Fedora Core 1. |
---|
120 | |
---|
121 | * Wed Sep 3 2003 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
122 | - Fixed the -I in the pkgconfig file, thanks to Michael A. Peters. |
---|
123 | |
---|
124 | * Thu Aug 28 2003 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
125 | - Added id3tag.pc required by gstreamer-plugins. |
---|
126 | - Added zlib-devel dep to the devel package. |
---|
127 | |
---|
128 | * Mon Jul 21 2003 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
129 | - Added zlib-devel build dep. |
---|
130 | |
---|
131 | * Wed Jun 25 2003 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
132 | - Initial release of 0.15.0b. |
---|
133 | |
---|