]>
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 |
92b664b9 | 4 | Version: 1.4.0 |
88f9d6f0 | 5 | Release: 2 |
58ee65c3 | 6 | License: LGPL v2.1+ |
eb417e36 | 7 | Group: Libraries |
58ee65c3 | 8 | Source0: http://dl.matroska.org/downloads/libmatroska/%{name}-%{version}.tar.bz2 |
92b664b9 | 9 | # Source0-md5: 5b83155019589b04a49f9db923b5bf74 |
eb417e36 | 10 | Patch0: %{name}-makefile.patch |
b57b5cf5 | 11 | URL: http://www.matroska.org/ |
92b664b9 | 12 | BuildRequires: libebml-devel >= 1.3.0 |
b57b5cf5 JB |
13 | BuildRequires: libstdc++-devel |
14 | BuildRequires: libtool | |
88b07041 | 15 | BuildRequires: rpmbuild(macros) >= 1.566 |
92b664b9 JB |
16 | #BuildRequires: sed >= 4.0 |
17 | Requires: libebml >= 1.3.0 | |
eb417e36 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
b57b5cf5 JB |
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 | |
26 | in old parsers. | |
ac28d4e4 | 27 | |
6ab1e4ef JR |
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. | |
eb417e36 | 35 | |
36 | %package devel | |
b57b5cf5 | 37 | Summary: Header files for matroska library |
c898b1eb | 38 | Summary(pl.UTF-8): Nagłówki dla biblioteki matroska |
eb417e36 | 39 | Group: Development/Libraries |
0f5a8090 | 40 | Requires: %{name} = %{version}-%{release} |
92b664b9 | 41 | Requires: libebml-devel >= 1.3.0 |
b57b5cf5 | 42 | Requires: libstdc++-devel |
eb417e36 | 43 | |
44 | %description devel | |
b57b5cf5 | 45 | Header files for matroska library. |
eb417e36 | 46 | |
6ab1e4ef JR |
47 | %description devel -l pl.UTF-8 |
48 | Nagłówki dla biblioteki matroska. | |
eb417e36 | 49 | |
50 | %package static | |
b57b5cf5 | 51 | Summary: Static version of matroska library |
c898b1eb | 52 | Summary(pl.UTF-8): Statyczna wersja biblioteki matroska |
b57b5cf5 | 53 | Group: Development/Libraries |
0f5a8090 | 54 | Requires: %{name}-devel = %{version}-%{release} |
eb417e36 | 55 | |
56 | %description static | |
b57b5cf5 | 57 | Static version of matroska library. |
eb417e36 | 58 | |
6ab1e4ef | 59 | %description static -l pl.UTF-8 |
b57b5cf5 | 60 | Statyczna wersja biblioteki matroska. |
eb417e36 | 61 | |
62 | %prep | |
47663573 | 63 | %setup -q |
88b07041 | 64 | %undos make/linux/Makefile |
47663573 | 65 | %patch0 -p1 |
eb417e36 | 66 | |
67 | %build | |
b57b5cf5 | 68 | %{__make} -C make/linux \ |
ac28d4e4 | 69 | prefix=%{_prefix} \ |
987a15a0 | 70 | libdir=%{_libdir} \ |
b57b5cf5 JB |
71 | CXX="%{__cxx}" \ |
72 | LD="%{__cxx}" \ | |
73 | DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}" \ | |
74 | LDFLAGS="%{rpmldflags}" \ | |
75 | LIBEBML_INCLUDE_DIR="%{_includedir}/ebml" | |
eb417e36 | 76 | |
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
b57b5cf5 JB |
79 | |
80 | %{__make} -C make/linux install \ | |
987a15a0 | 81 | prefix=$RPM_BUILD_ROOT%{_prefix} \ |
82 | libdir=$RPM_BUILD_ROOT%{_libdir} | |
b57b5cf5 JB |
83 | |
84 | # prepare docs (with working hyperlinks) | |
8eca8dd4 | 85 | #install -d doc |
86 | #cp --parents src/api/index.html src/api/c/index.html doc | |
eb417e36 | 87 | |
88 | %clean | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
ac28d4e4 JB |
91 | %post -p /sbin/ldconfig |
92 | %postun -p /sbin/ldconfig | |
eb417e36 | 93 | |
deff1af3 | 94 | %files |
eb417e36 | 95 | %defattr(644,root,root,755) |
02c86e25 | 96 | %doc ChangeLog |
b57b5cf5 | 97 | %attr(755,root,root) %{_libdir}/libmatroska.so.*.*.* |
92b664b9 | 98 | %attr(755,root,root) %ghost %{_libdir}/libmatroska.so.6 |
eb417e36 | 99 | |
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
8eca8dd4 | 102 | ##%doc doc/src/api/* |
b57b5cf5 JB |
103 | %attr(755,root,root) %{_libdir}/libmatroska.so |
104 | %{_libdir}/libmatroska.la | |
ac28d4e4 | 105 | %{_includedir}/matroska |
eb417e36 | 106 | |
107 | %files static | |
108 | %defattr(644,root,root,755) | |
109 | %{_libdir}/libmatroska.a |