]>
Commit | Line | Data |
---|---|---|
13d1948b | 1 | # TODO |
693f2212 | 2 | # - drop mp4v2 lib/progs from mpeg4ip |
13d1948b | 3 | Summary: MP4v2 library provides API for creation and modification of MP4 files |
a7869104 | 4 | Summary(pl.UTF-8): Biblioteka MP4v2 - API do tworzenia i modyfikowania plików MP4 |
4b16ea90 | 5 | Name: mp4v2 |
6 | Version: 1.9.1 | |
693f2212 | 7 | Release: 2 |
4b16ea90 | 8 | License: MPL v1.1 |
693f2212 | 9 | Group: Applications/Multimedia |
a7869104 | 10 | #Source0Download: http://code.google.com/p/mp4v2/downloads/list |
4b16ea90 | 11 | Source0: http://mp4v2.googlecode.com/files/%{name}-%{version}.tar.bz2 |
12 | # Source0-md5: 986701929ef15b03155ac4fb16444797 | |
d918aadd | 13 | Patch0: format-security.patch |
4b16ea90 | 14 | URL: http://code.google.com/p/mp4v2/ |
a7869104 | 15 | BuildRequires: help2man |
faf6ae2b | 16 | BuildRequires: libstdc++-devel |
693f2212 | 17 | Requires: %{name}-libs = %{version}-%{release} |
4b16ea90 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
13d1948b | 21 | The MP4v2 library provides an API to create and modify MP4 files as |
4b16ea90 | 22 | defined by ISO-IEC:14496-1:2001 MPEG-4 Systems. This file format is |
23 | derived from Apple's QuickTime file format that has been used as a | |
24 | multimedia file format in a variety of platforms and applications. It | |
a7869104 | 25 | is a very powerful and extensible format that can accommodate |
4b16ea90 | 26 | practically any type of media. |
27 | ||
a7869104 JB |
28 | %description -l pl.UTF-8 |
29 | Biblioteka MP4v2 udostępnia API do tworzenia i modyfikowania plików | |
30 | MP4 zgodnych z definicją ISO-IEC:14496-1:2001 MPEG-4 Systems. Ten | |
31 | format plików wywodzi się z formatu Apple QuickTime, używanego przez | |
32 | wiele platform i aplikacji jako format plików multimedialnych. Jest to | |
33 | format mający duże możliwości i rozszerzalny, mogący pomieścić | |
34 | praktycznie każdy rodzaj obiektu multimedialnego. | |
35 | ||
693f2212 | 36 | %package libs |
a7869104 JB |
37 | Summary: Shared MP4v2 library |
38 | Summary(pl.UTF-8): Biblioteka współdzielona MP4v2 | |
693f2212 ER |
39 | Group: Libraries |
40 | Conflicts: mp4v2 < 1.9.1-2 | |
41 | ||
42 | %description libs | |
43 | The libmp4v2 library provides an abstraction layer for working with | |
44 | files using the mp4 container format. | |
45 | ||
a7869104 JB |
46 | %description libs -l pl.UTF-8 |
47 | Biblioteka libmp4v2 zapewnia warstwę abstrakcji do pracy z plikami | |
48 | wykorzystującymi format kontenera mp4. | |
49 | ||
4b16ea90 | 50 | %package devel |
a7869104 JB |
51 | Summary: Header files for MP4v2 library |
52 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki MP4v2 | |
4b16ea90 | 53 | Group: Development/Libraries |
693f2212 | 54 | Requires: %{name}-libs = %{version}-%{release} |
a7869104 | 55 | Requires: libstdc++-devel |
4b16ea90 | 56 | |
57 | %description devel | |
a7869104 JB |
58 | Header files for MP4v2 library. |
59 | ||
60 | %description devel -l pl.UTF-8 | |
61 | Pliki nagłówkowe biblioteki MP4v2. | |
4b16ea90 | 62 | |
63 | %package static | |
64 | Summary: Static MP4v2 library | |
a7869104 | 65 | Summary(pl.UTF-8): Statyczna biblioteka MP4v2 |
4b16ea90 | 66 | Group: Development/Libraries |
67 | Requires: %{name}-devel = %{version}-%{release} | |
68 | ||
69 | %description static | |
70 | This package contains static version of MP4v2. | |
71 | ||
a7869104 JB |
72 | %description static -l pl.UTF-8 |
73 | Ten pakiet zawiera statyczną wersję biblioteki MP4v2. | |
74 | ||
4b16ea90 | 75 | %prep |
76 | %setup -q | |
d918aadd | 77 | %patch0 -p1 |
4b16ea90 | 78 | |
79 | %build | |
80 | %configure | |
81 | %{__make} | |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %{__make} install \ | |
87 | DESTDIR=$RPM_BUILD_ROOT | |
88 | ||
89 | %clean | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
693f2212 ER |
92 | %post libs -p /sbin/ldconfig |
93 | %postun libs -p /sbin/ldconfig | |
4b16ea90 | 94 | |
95 | %files | |
96 | %defattr(644,root,root,755) | |
97 | %doc doc/*.txt | |
98 | %attr(755,root,root) %{_bindir}/mp4track | |
99 | %attr(755,root,root) %{_bindir}/mp4extract | |
100 | %attr(755,root,root) %{_bindir}/mp4trackdump | |
101 | %attr(755,root,root) %{_bindir}/mp4art | |
102 | %attr(755,root,root) %{_bindir}/mp4tags | |
103 | %attr(755,root,root) %{_bindir}/mp4subtitle | |
104 | %attr(755,root,root) %{_bindir}/mp4chaps | |
105 | %attr(755,root,root) %{_bindir}/mp4info | |
106 | %attr(755,root,root) %{_bindir}/mp4file | |
693f2212 ER |
107 | %{_mandir}/man1/mp4art.1* |
108 | %{_mandir}/man1/mp4file.1* | |
109 | %{_mandir}/man1/mp4subtitle.1* | |
110 | %{_mandir}/man1/mp4track.1* | |
111 | ||
112 | %files libs | |
113 | %defattr(644,root,root,755) | |
4b16ea90 | 114 | %attr(755,root,root) %{_libdir}/libmp4v2.so.*.*.* |
693f2212 | 115 | %attr(755,root,root) %ghost %{_libdir}/libmp4v2.so.1 |
4b16ea90 | 116 | |
117 | %files devel | |
118 | %defattr(644,root,root,755) | |
119 | %attr(755,root,root) %{_libdir}/libmp4v2.so | |
0e0b57d9 | 120 | %{_libdir}/libmp4v2.la |
4b16ea90 | 121 | %{_includedir}/mp4v2 |
122 | ||
123 | %files static | |
124 | %defattr(644,root,root,755) | |
125 | %attr(755,root,root) %{_libdir}/libmp4v2.a |