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

Revision 12491, 4.2 KB checked in by tomop, 4 years ago (diff)

updated 6 packages

appstream-data-7-4

libid3tag-0.15.1b-6

openldap-2.4.53-1

p7zip-16.02-1

shotwell-0.30.10-1

unzip-6.0-6

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: 6%{_dist_release}
8Group: system
9Vendor: Project Vine
10Distribution: Vine Linux
11Packager: inagaki
12
13License: GPLv2
14URL: https://www.underbit.com/products/mad/
15Source: ftp://ftp.mars.org/pub/mpeg/%{name}-%{version}.tar.gz
16Patch0: libid3tag-0.15.1b-fix_overflow.patch
17Patch1: libid3tag-0.15.1b-id3v1-zero-padding.patch
18Patch2: libid3tag-0.15.1b-handle-unknown-encoding.patch
19Patch3: libid3tag-0.15.1b-id3v2-endless-loop.patch
20# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869598
21Patch4: libid3tag-0.15.1b-gperf-size_t.patch
22
23Buildroot: %{_tmppath}/%{name}-%{version}-root
24BuildRequires: zlib-devel
25BuildRequires: gcc-c++
26BuildRequires: gperf
27Conflicts: libmad < 0.15.1b
28
29%description
30A library for reading and (eventually) writing ID3 tags, both ID3v1 and the
31various versions of ID3v2.
32
33
34%package devel
35Summary: Header and library for developing programs that will use libid3tag.
36Summary(ja): libid3tag を使うプログラムを開発するためのライブラリ
37Group: programming
38Requires: %{name} = %{version}
39Requires: zlib-devel
40
41%description devel
42A library for reading and (eventually) writing ID3 tags, both ID3v1 and the
43various versions of ID3v2.
44
45This package contains the header file as well as the static library needed
46to develop programs that will use libid3tag for ID3 tar reading and writing.
47
48
49%debug_package
50
51
52%prep
53%setup -q
54%patch0 -p0 -b .CVE-2008-2109
55%patch1 -p1 -b .zero-padding
56%patch2 -p1 -b .unknown-encoding
57%patch3 -p0 -b .endless-loop
58%patch4 -p1 -b .gperf
59
60touch NEWS AUTHORS ChangeLog
61
62# Force these files to be regenerated from the .gperf sources.
63rm compat.c frametype.c
64
65cat << EOF > id3tag.pc
66prefix=%{_prefix}
67exec_prefix=%{_prefix}
68libdir=%{_libdir}
69includedir=%{_includedir}
70
71Name: id3tag
72Description: ID3 tag library
73Requires:
74Version: %{version}
75Libs: -L%{_libdir} -lid3tag -lz
76Cflags: -I%{_includedir}
77EOF
78
79
80%build
81autoreconf -vfi
82%configure --disable-static
83make %{_smp_mflags}
84
85
86%install
87rm -rf %{buildroot}
88%makeinstall
89rm -vf $RPM_BUILD_ROOT%{_libdir}/*.la
90install -m 644 -D id3tag.pc %{buildroot}%{_libdir}/pkgconfig/id3tag.pc
91
92
93%clean
94rm -rf %{buildroot}
95
96
97%post -p /sbin/ldconfig
98%postun -p /sbin/ldconfig
99
100
101%files
102%defattr(-, root, root)
103%license COPYRIGHT
104%doc CHANGES COPYING CREDITS README TODO
105%{_libdir}/*.so.*
106
107
108%files devel
109%defattr(-, root, root)
110%{_libdir}/*.so
111%{_libdir}/pkgconfig/*.pc
112%{_includedir}/*
113
114
115%changelog
116* Sun Sep 13 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.15.1b-6
117- dropped Patch10.
118- imported Patch0-4 from rawhide.
119
120* Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.15.1b-5
121- rebuild with VineSeed environment
122
123* Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.15.1b-4
124- rebuilt with rpm-4.8.1 for pkg-config
125
126* Fri Jul  3 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.15.1b-3
127- spec in UTF-8
128- added --disable-static option to %%configure
129
130* Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.15.1b-2vl5
131- rebuilt for VineSeed
132
133* Sat Jun 07 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 0.15.1b-2vl4
134- add patch10 for fix CVE-2008-2109 (ID3_FIELD_TYPE_STRINGLIST field)
135- new versioning policy
136- add Vendor/Distribution tag
137
138* Thu Mar 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.15.1b-1vl1
139- based on freshrpms package
140- rebuild for Vine Linux
141- added Japanese summary
142- added %post and %postun script
143
144* Thu Feb 19 2004 Matthias Saou <http://freshrpms.net/> - 0.15.1b-1.fr
145- Update to 0.15.1b.
146
147* Sun Nov  2 2003 Matthias Saou <http://freshrpms.net/> - 0.15.0b-4.fr
148- Rebuild for Fedora Core 1.
149
150* Wed Sep  3 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
151- Fixed the -I in the pkgconfig file, thanks to Michael A. Peters.
152
153* Thu Aug 28 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
154- Added id3tag.pc required by gstreamer-plugins.
155- Added zlib-devel dep to the devel package.
156
157* Mon Jul 21 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
158- Added zlib-devel build dep.
159
160* Wed Jun 25 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
161- Initial release of 0.15.0b.
162
Note: See TracBrowser for help on using the repository browser.