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