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: f4a8c411f09d39c754eb726efd616043
10 Patch0: %{name}-makefile.patch
11 URL: http://www.matroska.org/
12 BuildRequires: libebml-devel >= 1.2.2
13 BuildRequires: libstdc++-devel
14 BuildRequires: libtool
15 BuildRequires: rpmbuild(macros) >= 1.566
16 BuildRequires: sed >= 4.0
17 Requires: libebml >= 1.2.2
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Matroska is an extensible open standard Audio/Video container format,
22 aiming to become the standard of Multimedia Container Formats one day.
23 It is based on EBML (Extensible Binary Meta Language), a kind of
24 binary version of XML. This way the significant advantages in terms of
25 future format extensibility are gained without breaking file support
28 %description -l pl.UTF-8
29 Matroska to rozszerzalny otwarty format kodowania dźwięku i obrazu,
30 dążący do stania się pewnego dnia standardem formatów zawierających
31 multimedia. Jest on oparty na EBML (rozszerzalnym metajęzyku
32 binarnym), binarnym odpowiedniku XML-a. W ten sposób ma on przewagę
33 nad innymi formatami pod względem przyszłej rozszerzalności przy
34 jednoczesnym zachowaniu kompatybilności wstecz.
37 Summary: Header files for matroska library
38 Summary(pl.UTF-8): Nagłówki dla biblioteki matroska
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
41 Requires: libebml-devel >= 1.2.2
42 Requires: libstdc++-devel
45 Header files for matroska library.
47 %description devel -l pl.UTF-8
48 Nagłówki dla biblioteki matroska.
51 Summary: Static version of matroska library
52 Summary(pl.UTF-8): Statyczna wersja biblioteki matroska
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{version}-%{release}
57 Static version of matroska library.
59 %description static -l pl.UTF-8
60 Statyczna wersja biblioteki matroska.
64 %undos make/linux/Makefile
68 %{__make} -C make/linux \
73 DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}" \
74 LDFLAGS="%{rpmldflags}" \
75 LIBEBML_INCLUDE_DIR="%{_includedir}/ebml"
78 rm -rf $RPM_BUILD_ROOT
80 %{__make} -C make/linux install \
81 prefix=$RPM_BUILD_ROOT%{_prefix} \
82 libdir=$RPM_BUILD_ROOT%{_libdir}
84 # prepare docs (with working hyperlinks)
86 #cp --parents src/api/index.html src/api/c/index.html doc
89 rm -rf $RPM_BUILD_ROOT
91 %post -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
95 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/libmatroska.so.*.*.*
98 %attr(755,root,root) %ghost %{_libdir}/libmatroska.so.5
101 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/libmatroska.so
104 %{_libdir}/libmatroska.la
105 %{_includedir}/matroska
108 %defattr(644,root,root,755)
109 %{_libdir}/libmatroska.a