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: 21e5ee3e2573f0ae99db195348bdfb98
10 Patch0: %{name}-makefile.patch
11 URL: http://www.matroska.org/
12 BuildRequires: libebml-devel >= 1.2.0
13 BuildRequires: libstdc++-devel
14 BuildRequires: libtool
15 BuildRequires: rpmbuild(macros) >= 1.566
16 BuildRequires: sed >= 4.0
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
27 %description -l pl.UTF-8
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.UTF-8): Nagłówki dla biblioteki matroska
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
40 Requires: libebml-devel >= 1.2.0
41 Requires: libstdc++-devel
44 Header files for matroska library.
46 %description devel -l pl.UTF-8
47 Nagłówki dla biblioteki matroska.
50 Summary: Static version of matroska library
51 Summary(pl.UTF-8): 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.UTF-8
59 Statyczna wersja biblioteki matroska.
63 %undos make/linux/Makefile
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.*.*.*
97 %attr(755,root,root) %ghost %{_libdir}/libmatroska.so.3
100 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_libdir}/libmatroska.so
103 %{_libdir}/libmatroska.la
104 %{_includedir}/matroska
107 %defattr(644,root,root,755)
108 %{_libdir}/libmatroska.a