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