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