1 | Name: libtaginfo |
---|
2 | Summary: A library for reading media metadata (tags) |
---|
3 | Summary(ja): メディアメタデータ(タグ)を読むためのライブラリー |
---|
4 | |
---|
5 | Version: 0.2.1 |
---|
6 | Release: 2%{?_dist_release} |
---|
7 | License: LGPLv2+ |
---|
8 | Group: System Environment/Libraries |
---|
9 | |
---|
10 | URL: https://bitbucket.org/shuerhaaken/libtaginfo |
---|
11 | Source0: https://bitbucket.org/shuerhaaken/libtaginfo/downloads/libtaginfo-%{version}.tar.gz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | Vendor: Project Vine |
---|
16 | Distribution: Vine Linux |
---|
17 | |
---|
18 | BuildRequires: chrpath |
---|
19 | BuildRequires: taglib-devel >= 1.8 |
---|
20 | |
---|
21 | Requires(post): ldconfig |
---|
22 | Requires(postun): ldconfig |
---|
23 | |
---|
24 | %description |
---|
25 | TagInfo is a convenience wrapper for taglib with C and vala bindings. |
---|
26 | |
---|
27 | Features are reading/writing fields like: Artist, Album, Title, Genre, |
---|
28 | AlbumArtist, Comments, Disk number, Compilation flag, User labels, |
---|
29 | Embedded Images, Lyrics, Audio properties (length, bitrate, |
---|
30 | samplerate, channels ...), ... |
---|
31 | |
---|
32 | %package devel |
---|
33 | Summary: development files for %{name} |
---|
34 | Summary(ja): %{name} の開発ファイル |
---|
35 | Group: Development/Libraries |
---|
36 | |
---|
37 | Requires: %{name} = %{version}-%{release} |
---|
38 | Requires: pkgconfig |
---|
39 | |
---|
40 | %description devel |
---|
41 | development files for %{name}. |
---|
42 | |
---|
43 | %prep |
---|
44 | %setup -q |
---|
45 | |
---|
46 | %build |
---|
47 | %configure --disable-static |
---|
48 | %{__make} %{?_smp_mflags} |
---|
49 | |
---|
50 | %install |
---|
51 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
52 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
53 | |
---|
54 | find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -rf {} \; |
---|
55 | |
---|
56 | # Remove RPATHs |
---|
57 | chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libtaginfo_c.so.0.0.0 |
---|
58 | |
---|
59 | %clean |
---|
60 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
61 | |
---|
62 | %post |
---|
63 | /sbin/ldconfig |
---|
64 | |
---|
65 | %postun |
---|
66 | /sbin/ldconfig |
---|
67 | |
---|
68 | %files |
---|
69 | %defattr(-,root,root) |
---|
70 | %doc AUTHORS COPYING ChangeLog NEWS README TODO |
---|
71 | %{_libdir}/libtaginfo.so.* |
---|
72 | %{_libdir}/libtaginfo_c.so.* |
---|
73 | |
---|
74 | %files devel |
---|
75 | %doc examples |
---|
76 | %defattr(-,root,root,-) |
---|
77 | %{_libdir}/libtaginfo.so |
---|
78 | %{_libdir}/libtaginfo_c.so |
---|
79 | %{_libdir}/libtaginfo/include/ |
---|
80 | %{_libdir}/pkgconfig/*.pc |
---|
81 | %{_includedir}/%{name} |
---|
82 | %{_datadir}/vala/vapi/ |
---|
83 | |
---|
84 | %changelog |
---|
85 | * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.1-2 |
---|
86 | - rebuild with gcc-5.4.0 |
---|
87 | |
---|
88 | * Fri Jul 04 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.1-1 |
---|
89 | - new upstream release |
---|
90 | |
---|
91 | * Sun Apr 28 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.6-1 |
---|
92 | - initial build for Vine Linux |
---|