1 Summary: Extensible Binary Meta Language access library
2 Summary(pl.UTF-8): Biblioteka dostępu rozszerzalnego metajęzyka binarnego
8 Source0: http://dl.matroska.org/downloads/libmatroska/%{name}-%{version}.tar.bz2
9 # Source0-md5: 20cf624ace0c58a54c7752eebfbc0b19
10 Patch0: %{name}-makefile.patch
11 URL: http://www.matroska.org/
12 BuildRequires: libebml-devel >= 0.7.6
13 BuildRequires: libstdc++-devel
14 BuildRequires: libtool
15 Requires: libebml >= 0.7.6
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Matroska is an extensible open standard Audio/Video container format,
20 aiming to become the standard of Multimedia Container Formats one day.
21 It is based on EBML (Extensible Binary Meta Language), a kind of
22 binary version of XML. This way the significant advantages in terms of
23 future format extensibility are gained without breaking file support
26 %description -l pl.UTF-8
27 Matroska to rozszerzalny otwarty format kodowania dźwięku i obrazu,
28 dążący do stania się pewnego dnia standardem formatów zawierających
29 multimedia. Jest on oparty na EBML (rozszerzalnym metajęzyku
30 binarnym), binarnym odpowiedniku XML-a. W ten sposób ma on przewagę
31 nad innymi formatami pod względem przyszłej rozszerzalności przy
32 jednoczesnym zachowaniu kompatybilności wstecz.
35 Summary: Header files for matroska library
36 Summary(pl.UTF-8): Nagłówki dla biblioteki matroska
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
39 Requires: libebml-devel >= 0.7.6
40 Requires: libstdc++-devel
43 Header files for matroska library.
45 %description devel -l pl.UTF-8
46 Nagłówki dla biblioteki matroska.
49 Summary: Static version of matroska library
50 Summary(pl.UTF-8): Statyczna wersja biblioteki matroska
51 Group: Development/Libraries
52 Requires: %{name}-devel = %{version}-%{release}
55 Static version of matroska library.
57 %description static -l pl.UTF-8
58 Statyczna wersja biblioteki matroska.
65 %{__make} -C make/linux \
70 DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}" \
71 LDFLAGS="%{rpmldflags}" \
72 LIBEBML_INCLUDE_DIR="%{_includedir}/ebml"
75 rm -rf $RPM_BUILD_ROOT
77 %{__make} -C make/linux install \
78 prefix=$RPM_BUILD_ROOT%{_prefix} \
79 libdir=$RPM_BUILD_ROOT%{_libdir}
81 # prepare docs (with working hyperlinks)
83 #cp --parents src/api/index.html src/api/c/index.html doc
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/libmatroska.so.*.*.*
97 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libmatroska.so
100 %{_libdir}/libmatroska.la
101 %{_includedir}/matroska
104 %defattr(644,root,root,755)
105 %{_libdir}/libmatroska.a