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