]>
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 |
f39a7b86 JB |
4 | Version: 3.0.3.0 |
5 | Release: 1 | |
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 | |
10 | # Source0-md5: c12fd37e66e64902f24c0677ba577a11 | |
eb09a04b | 11 | Patch0: %{name}-export.patch |
f39a7b86 JB |
12 | Patch1: %{name}-doc.patch |
13 | URL: https://github.com/TechSmith/mp4v2 | |
a7869104 | 14 | BuildRequires: help2man |
faf6ae2b | 15 | BuildRequires: libstdc++-devel |
f39a7b86 | 16 | BuildRequires: texinfo |
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 |
f39a7b86 | 76 | %setup -q -n %{name}-Release-MP4v2-%{version} |
eb09a04b | 77 | %patch0 -p1 |
f39a7b86 JB |
78 | %patch1 -p1 |
79 | ||
80 | # "txt" build fails without this directory | |
81 | mkdir -p doc/articles/txt | |
4b16ea90 | 82 | |
83 | %build | |
84 | %configure | |
85 | %{__make} | |
86 | ||
f39a7b86 JB |
87 | %{__make} txt |
88 | ||
4b16ea90 | 89 | %install |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
92 | %{__make} install \ | |
93 | DESTDIR=$RPM_BUILD_ROOT | |
94 | ||
95 | %clean | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
693f2212 ER |
98 | %post libs -p /sbin/ldconfig |
99 | %postun libs -p /sbin/ldconfig | |
4b16ea90 | 100 | |
101 | %files | |
102 | %defattr(644,root,root,755) | |
f39a7b86 | 103 | %doc CHANGES.logging doc/articles/txt/{Authors,Documentation,ReleaseNotes,ToolGuide}.txt |
4b16ea90 | 104 | %attr(755,root,root) %{_bindir}/mp4track |
105 | %attr(755,root,root) %{_bindir}/mp4extract | |
106 | %attr(755,root,root) %{_bindir}/mp4trackdump | |
107 | %attr(755,root,root) %{_bindir}/mp4art | |
108 | %attr(755,root,root) %{_bindir}/mp4tags | |
109 | %attr(755,root,root) %{_bindir}/mp4subtitle | |
110 | %attr(755,root,root) %{_bindir}/mp4chaps | |
111 | %attr(755,root,root) %{_bindir}/mp4info | |
112 | %attr(755,root,root) %{_bindir}/mp4file | |
693f2212 ER |
113 | %{_mandir}/man1/mp4art.1* |
114 | %{_mandir}/man1/mp4file.1* | |
115 | %{_mandir}/man1/mp4subtitle.1* | |
116 | %{_mandir}/man1/mp4track.1* | |
117 | ||
118 | %files libs | |
119 | %defattr(644,root,root,755) | |
4b16ea90 | 120 | %attr(755,root,root) %{_libdir}/libmp4v2.so.*.*.* |
2230295c | 121 | %attr(755,root,root) %ghost %{_libdir}/libmp4v2.so.2 |
4b16ea90 | 122 | |
123 | %files devel | |
124 | %defattr(644,root,root,755) | |
125 | %attr(755,root,root) %{_libdir}/libmp4v2.so | |
0e0b57d9 | 126 | %{_libdir}/libmp4v2.la |
4b16ea90 | 127 | %{_includedir}/mp4v2 |
128 | ||
129 | %files static | |
130 | %defattr(644,root,root,755) | |
131 | %attr(755,root,root) %{_libdir}/libmp4v2.a |