source: projects/specs/branches/6/lib/libi/libid3tag/libid3tag-vl.spec @ 1984

Revision 1984, 3.4 KB checked in by owa, 13 years ago (diff)

rebuilt with rpm-4.8.1

Line 
1# $Id: libid3tag.spec,v 1.9 2004/02/19 09:37:51 dude Exp $
2
3Summary: Library for reading and writing ID3v1 and ID3v2 tags.
4Summary(ja): ID3 タグを読み書きするためのライブラリ
5Name: libid3tag
6Version: 0.15.1b
7Release: 4%{_dist_release}
8Group: System Environment/Libraries
9Source: ftp://ftp.mars.org/pub/mpeg/%{name}-%{version}.tar.gz
10Patch10: libid3tag-0.15.1b-gentoo-CVE-2008-2109_fix_overflow.patch
11URL: http://www.underbit.com/products/mad/
12License: GPLv2
13Buildroot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: zlib-devel
15BuildRequires: gcc-c++
16Conflicts: libmad < 0.15.1b
17
18Vendor: Project Vine
19Distribution: Vine Linux
20
21Packager: inagaki
22
23%description
24A library for reading and (eventually) writing ID3 tags, both ID3v1 and the
25various versions of ID3v2.
26
27%package devel
28Summary: Header and library for developing programs that will use libid3tag.
29Summary(ja): libid3tag を使うプログラムを開発するためのライブラリ
30Group: Development/Libraries
31Requires: %{name} = %{version}
32Requires: zlib-devel
33
34%description devel
35A library for reading and (eventually) writing ID3 tags, both ID3v1 and the
36various versions of ID3v2.
37
38This package contains the header file as well as the static library needed
39to 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
49make %{_smp_mflags}
50
51cat << EOF > id3tag.pc
52prefix=%{_prefix}
53exec_prefix=%{_prefix}
54libdir=%{_libdir}
55includedir=%{_includedir}
56
57Name: id3tag
58Description: ID3 tag library
59Requires:
60Version: %{version}
61Libs: -L%{_libdir} -lid3tag -lz
62Cflags: -I%{_includedir}
63EOF
64
65%install
66rm -rf %{buildroot}
67%makeinstall
68install -m 644 -D id3tag.pc %{buildroot}%{_libdir}/pkgconfig/id3tag.pc
69
70%clean
71rm -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 Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.15.1b-4
92- rebuilt with rpm-4.8.1 for pkg-config
93
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
Note: See TracBrowser for help on using the repository browser.