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