]>
Commit | Line | Data |
---|---|---|
eb417e36 | 1 | Summary: Extensible Binary Meta Language access library |
c898b1eb | 2 | Summary(pl.UTF-8): Biblioteka dostępu rozszerzalnego metajęzyka binarnego |
eb417e36 | 3 | Name: libmatroska |
df9e9bf8 | 4 | Version: 1.4.2 |
2930a93a | 5 | Release: 2 |
58ee65c3 | 6 | License: LGPL v2.1+ |
eb417e36 | 7 | Group: Libraries |
58ee65c3 | 8 | Source0: http://dl.matroska.org/downloads/libmatroska/%{name}-%{version}.tar.bz2 |
df9e9bf8 JB |
9 | # Source0-md5: f8fe42003e072a42a19ed40405f9efdb |
10 | Patch0: %{name}-link.patch | |
b57b5cf5 | 11 | URL: http://www.matroska.org/ |
df9e9bf8 JB |
12 | BuildRequires: autoconf >= 2.50 |
13 | BuildRequires: automake | |
14 | BuildRequires: libebml-devel >= 1.3.1 | |
b57b5cf5 | 15 | BuildRequires: libstdc++-devel |
df9e9bf8 JB |
16 | BuildRequires: libtool >= 2:2 |
17 | BuildRequires: pkgconfig | |
88b07041 | 18 | BuildRequires: rpmbuild(macros) >= 1.566 |
df9e9bf8 | 19 | Requires: libebml >= 1.3.1 |
eb417e36 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
b57b5cf5 JB |
23 | Matroska is an extensible open standard Audio/Video container format, |
24 | aiming to become the standard of Multimedia Container Formats one day. | |
25 | It is based on EBML (Extensible Binary Meta Language), a kind of | |
26 | binary version of XML. This way the significant advantages in terms of | |
27 | future format extensibility are gained without breaking file support | |
28 | in old parsers. | |
ac28d4e4 | 29 | |
6ab1e4ef JR |
30 | %description -l pl.UTF-8 |
31 | Matroska to rozszerzalny otwarty format kodowania dźwięku i obrazu, | |
32 | dążący do stania się pewnego dnia standardem formatów zawierających | |
33 | multimedia. Jest on oparty na EBML (rozszerzalnym metajęzyku | |
34 | binarnym), binarnym odpowiedniku XML-a. W ten sposób ma on przewagę | |
35 | nad innymi formatami pod względem przyszłej rozszerzalności przy | |
36 | jednoczesnym zachowaniu kompatybilności wstecz. | |
eb417e36 | 37 | |
38 | %package devel | |
b57b5cf5 | 39 | Summary: Header files for matroska library |
c898b1eb | 40 | Summary(pl.UTF-8): Nagłówki dla biblioteki matroska |
eb417e36 | 41 | Group: Development/Libraries |
0f5a8090 | 42 | Requires: %{name} = %{version}-%{release} |
df9e9bf8 | 43 | Requires: libebml-devel >= 1.3.1 |
b57b5cf5 | 44 | Requires: libstdc++-devel |
eb417e36 | 45 | |
46 | %description devel | |
b57b5cf5 | 47 | Header files for matroska library. |
eb417e36 | 48 | |
6ab1e4ef JR |
49 | %description devel -l pl.UTF-8 |
50 | Nagłówki dla biblioteki matroska. | |
eb417e36 | 51 | |
52 | %package static | |
b57b5cf5 | 53 | Summary: Static version of matroska library |
c898b1eb | 54 | Summary(pl.UTF-8): Statyczna wersja biblioteki matroska |
b57b5cf5 | 55 | Group: Development/Libraries |
0f5a8090 | 56 | Requires: %{name}-devel = %{version}-%{release} |
eb417e36 | 57 | |
58 | %description static | |
b57b5cf5 | 59 | Static version of matroska library. |
eb417e36 | 60 | |
6ab1e4ef | 61 | %description static -l pl.UTF-8 |
b57b5cf5 | 62 | Statyczna wersja biblioteki matroska. |
eb417e36 | 63 | |
64 | %prep | |
47663573 JB |
65 | %setup -q |
66 | %patch0 -p1 | |
eb417e36 | 67 | |
68 | %build | |
df9e9bf8 JB |
69 | %{__libtoolize} |
70 | %{__aclocal} -I m4 | |
71 | %{__autoconf} | |
72 | %{__autoheader} | |
73 | %{__automake} | |
74 | %configure \ | |
75 | %{?debug:--enable-debug} | |
76 | ||
77 | %{__make} | |
eb417e36 | 78 | |
79 | %install | |
80 | rm -rf $RPM_BUILD_ROOT | |
b57b5cf5 | 81 | |
df9e9bf8 JB |
82 | %{__make} install \ |
83 | DESTDIR=$RPM_BUILD_ROOT | |
eb417e36 | 84 | |
85 | %clean | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
ac28d4e4 JB |
88 | %post -p /sbin/ldconfig |
89 | %postun -p /sbin/ldconfig | |
eb417e36 | 90 | |
deff1af3 | 91 | %files |
eb417e36 | 92 | %defattr(644,root,root,755) |
02c86e25 | 93 | %doc ChangeLog |
b57b5cf5 | 94 | %attr(755,root,root) %{_libdir}/libmatroska.so.*.*.* |
92b664b9 | 95 | %attr(755,root,root) %ghost %{_libdir}/libmatroska.so.6 |
eb417e36 | 96 | |
97 | %files devel | |
98 | %defattr(644,root,root,755) | |
b57b5cf5 JB |
99 | %attr(755,root,root) %{_libdir}/libmatroska.so |
100 | %{_libdir}/libmatroska.la | |
ac28d4e4 | 101 | %{_includedir}/matroska |
df9e9bf8 | 102 | %{_pkgconfigdir}/libmatroska.pc |
eb417e36 | 103 | |
104 | %files static | |
105 | %defattr(644,root,root,755) | |
106 | %{_libdir}/libmatroska.a |