source: projects/specs/trunk/lib/libi/libid3tag/libid3tag-vl.spec @ 521

Revision 521, 3.3 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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