]>
Commit | Line | Data |
---|---|---|
4b16ea90 | 1 | Summary: MP4v2 library provides api for creation and modification of MP4 files |
2 | Name: mp4v2 | |
3 | Version: 1.9.1 | |
4 | Release: 0.1 | |
5 | License: MPL v1.1 | |
6 | Group: Libraries | |
7 | Source0: http://mp4v2.googlecode.com/files/%{name}-%{version}.tar.bz2 | |
8 | # Source0-md5: 986701929ef15b03155ac4fb16444797 | |
9 | URL: http://code.google.com/p/mp4v2/ | |
faf6ae2b | 10 | BuildRequires: libstdc++-devel |
4b16ea90 | 11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
12 | ||
13 | %description | |
14 | The MP4v2 library provides an API to create and modify mp4 files as | |
15 | defined by ISO-IEC:14496-1:2001 MPEG-4 Systems. This file format is | |
16 | derived from Apple's QuickTime file format that has been used as a | |
17 | multimedia file format in a variety of platforms and applications. It | |
18 | is a very powerful and extensible format that can accomodate | |
19 | practically any type of media. | |
20 | ||
21 | %package devel | |
22 | Summary: Header files for MP4v2 | |
23 | Group: Development/Libraries | |
24 | Requires: %{name} = %{version}-%{release} | |
25 | ||
26 | %description devel | |
27 | Header files for MP4v2. | |
28 | ||
29 | %package static | |
30 | Summary: Static MP4v2 library | |
31 | Group: Development/Libraries | |
32 | Requires: %{name}-devel = %{version}-%{release} | |
33 | ||
34 | %description static | |
35 | This package contains static version of MP4v2. | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | ||
40 | %build | |
41 | %configure | |
42 | %{__make} | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %{__make} install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %post -p /sbin/ldconfig | |
54 | %postun -p /sbin/ldconfig | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %doc doc/*.txt | |
59 | %attr(755,root,root) %{_bindir}/mp4track | |
60 | %attr(755,root,root) %{_bindir}/mp4extract | |
61 | %attr(755,root,root) %{_bindir}/mp4trackdump | |
62 | %attr(755,root,root) %{_bindir}/mp4art | |
63 | %attr(755,root,root) %{_bindir}/mp4tags | |
64 | %attr(755,root,root) %{_bindir}/mp4subtitle | |
65 | %attr(755,root,root) %{_bindir}/mp4chaps | |
66 | %attr(755,root,root) %{_bindir}/mp4info | |
67 | %attr(755,root,root) %{_bindir}/mp4file | |
68 | %attr(755,root,root) %{_libdir}/libmp4v2.so.*.*.* | |
69 | %attr(755,root,root) %ghost %{_libdir}/libmp4v2.so.? | |
70 | %{_mandir}/man1/* | |
71 | ||
72 | %files devel | |
73 | %defattr(644,root,root,755) | |
74 | %attr(755,root,root) %{_libdir}/libmp4v2.so | |
0e0b57d9 | 75 | %{_libdir}/libmp4v2.la |
4b16ea90 | 76 | %{_includedir}/mp4v2 |
77 | ||
78 | %files static | |
79 | %defattr(644,root,root,755) | |
80 | %attr(755,root,root) %{_libdir}/libmp4v2.a |