source: projects/specs/trunk/t/taglib/taglib-vl.spec @ 10499

Revision 10499, 3.2 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name: taglib
2Summary: TagLib Audio Meta-Data Library
3Summary(ja): オーディオメタデータライブラリ
4Version: 1.9.1
5Release: 2%{?_dist_release}
6
7Group: System Environment/Libraries
8License: LGPLv2 and MPL
9URL: http://taglib.github.com/
10
11Source: http://taglib.github.com/releases/taglib-%{version}.tar.gz
12Patch0: http://www.cc.rim.or.jp/~yaz/taglib-1.4_wchar.diff
13Patch2: taglib-1.5rc1-multilib.patch
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildRequires: cmake >= 2.6.0
17BuildRequires: pkgconfig
18BuildRequires: zlib-devel
19
20%description
21TagLib is a library for reading and editing the meta-data of
22several popular audio formats. Currently it supports both ID3v1
23and ID3v2 for MP3 files, Ogg Vorbis comments and ID3 tags
24and Vorbis comments in FLAC files.
25
26%package devel
27Summary: TagLib Development environment
28Summary(ja): TagLib 開発用ファイル
29Group: Development/Libraries
30Requires: %{name} = %{version}-%{release}
31
32%description devel
33Libraries and header files required for TagLib development.
34
35%prep
36%setup -q
37#patch0 -p1 -b .wchar
38%patch2 -p1 -b .multilib
39
40%build
41mkdir -p %{_target_platform}
42pushd %{_target_platform}
43%cmake -DWITH_ASF=1 -DWITH_MP4=1 ..
44popd
45
46make %{?_smp_mflags} -C %{_target_platform}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
51
52rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%post -p /sbin/ldconfig
58
59%postun -p /sbin/ldconfig
60
61%files
62%defattr(-,root,root)
63%doc AUTHORS COPYING.* NEWS
64%{_libdir}/lib*.so.*
65
66%files devel
67%defattr(-,root,root)
68%{_bindir}/*
69%{_includedir}/taglib
70#{_libdir}/lib*.la
71%{_libdir}/lib*.so
72%{_libdir}/pkgconfig/*.pc
73
74%changelog
75* Sat Jul 02 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9.1-2
76- rebuild with gcc-5.4.0
77
78* Tue Jan 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.9.1-1
79- new upstream release
80- dropt Patch0
81
82* Sun Feb 10 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8-1
83- new upstream release
84
85* Mon Sep 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.2-1
86- new upstream release
87
88* Sun Oct 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.3-1
89- new upstream release
90- added build option for supporting ASF and MP4 files
91- added Patch2 from Fedora
92
93* Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.6.1-2
94- rebuilt with rpm-4.8.1 for pkg-config
95
96* Fri Jan  1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-1
97- new upstream release
98- used cmake for building
99
100* Sun Jul 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5-1
101- new upstream release
102- removed lib*.la files
103
104* Mon Jun 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl3
105- rebuilt with new toolchain
106
107* Thu Nov 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl2
108- add wchar.diff (patch0)
109  cf. http://mail.kde.org/pipermail/taglib-devel/2006-November/000532.html
110
111* Sat Jan 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl1
112- source upgrade
113- add BuildRequires: zlib-devel
114- add taglib.pc to devel package
115
116* Thu Oct 21 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3-0vl1
117- source upgrade
118
119* Wed Jun 16 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl2
120- add all files under %%{_includedir}/taglib to devel package
121
122* Tue Jun 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl1
123- Initial packaging
Note: See TracBrowser for help on using the repository browser.