1 | Summary: TagLib Audio Meta-Data Library |
---|
2 | Name: taglib |
---|
3 | Version: 1.6.1 |
---|
4 | Release: 2%{?_dist_release} |
---|
5 | License: LGPL/MPL |
---|
6 | Group: System Environment/Libraries |
---|
7 | Source: http://developer.kde.org/~wheeler/files/src/taglib-%{version}.tar.gz |
---|
8 | Patch0: http://www.cc.rim.or.jp/~yaz/taglib-1.4_wchar.diff |
---|
9 | URL: http://developer.kde.org/~wheeler/taglib.html |
---|
10 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildRequires: zlib-devel |
---|
12 | BuildRequires: cmake >= 2.6.0 |
---|
13 | |
---|
14 | %description |
---|
15 | TagLib is a library for reading and editing the meta-data of |
---|
16 | several popular audio formats. Currently it supports both ID3v1 |
---|
17 | and ID3v2 for MP3 files, Ogg Vorbis comments and ID3 tags |
---|
18 | and Vorbis comments in FLAC files. |
---|
19 | |
---|
20 | %package devel |
---|
21 | Summary: TagLib Development environment |
---|
22 | Group: Development/Libraries |
---|
23 | Requires: %{name} = %{version}-%{release} |
---|
24 | |
---|
25 | %description devel |
---|
26 | Libraries and header files required for TagLib development. |
---|
27 | |
---|
28 | %prep |
---|
29 | %setup -q |
---|
30 | %patch0 -p1 -b .wchar |
---|
31 | |
---|
32 | %build |
---|
33 | mkdir %{name}-build |
---|
34 | pushd %{name}-build |
---|
35 | %cmake .. |
---|
36 | popd |
---|
37 | make %{?_smp_mflags} -C %{name}-build |
---|
38 | |
---|
39 | %install |
---|
40 | rm -rf $RPM_BUILD_ROOT |
---|
41 | make install DESTDIR=$RPM_BUILD_ROOT -C %{name}-build |
---|
42 | |
---|
43 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
44 | |
---|
45 | %clean |
---|
46 | rm -rf $RPM_BUILD_ROOT |
---|
47 | |
---|
48 | %post -p /sbin/ldconfig |
---|
49 | |
---|
50 | %postun -p /sbin/ldconfig |
---|
51 | |
---|
52 | %files |
---|
53 | %defattr(-,root,root) |
---|
54 | %doc AUTHORS COPYING.* NEWS |
---|
55 | %{_libdir}/lib*.so.* |
---|
56 | |
---|
57 | %files devel |
---|
58 | %defattr(-,root,root) |
---|
59 | %{_bindir}/* |
---|
60 | %{_includedir}/taglib |
---|
61 | #{_libdir}/lib*.la |
---|
62 | %{_libdir}/lib*.so |
---|
63 | %{_libdir}/pkgconfig/*.pc |
---|
64 | |
---|
65 | %changelog |
---|
66 | * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.6.1-2 |
---|
67 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
68 | |
---|
69 | * Fri Jan 1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-1 |
---|
70 | - new upstream release |
---|
71 | - used cmake for building |
---|
72 | |
---|
73 | * Sun Jul 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5-1 |
---|
74 | - new upstream release |
---|
75 | - removed lib*.la files |
---|
76 | |
---|
77 | * Mon Jun 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl3 |
---|
78 | - rebuilt with new toolchain |
---|
79 | |
---|
80 | * Thu Nov 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl2 |
---|
81 | - add wchar.diff (patch0) |
---|
82 | cf. http://mail.kde.org/pipermail/taglib-devel/2006-November/000532.html |
---|
83 | |
---|
84 | * Sat Jan 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl1 |
---|
85 | - source upgrade |
---|
86 | - add BuildRequires: zlib-devel |
---|
87 | - add taglib.pc to devel package |
---|
88 | |
---|
89 | * Thu Oct 21 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3-0vl1 |
---|
90 | - source upgrade |
---|
91 | |
---|
92 | * Wed Jun 16 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl2 |
---|
93 | - add all files under %%{_includedir}/taglib to devel package |
---|
94 | |
---|
95 | * Tue Jun 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl1 |
---|
96 | - Initial packaging |
---|