]>
Commit | Line | Data |
---|---|---|
8b795909 | 1 | Summary: Extensible Binary Meta Language access library |
284ca2cc | 2 | Summary(pl.UTF-8): Biblioteka dostępu rozszerzalnego metajęzyka binarnego |
8b795909 | 3 | Name: libebml |
499e890c | 4 | Version: 1.3.5 |
37635dbb | 5 | Release: 1 |
8658b311 | 6 | License: LGPL v2.1+ |
8b795909 | 7 | Group: Libraries |
499e890c JP |
8 | Source0: https://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.xz |
9 | # Source0-md5: f1e8c8e4664abb9f51483ff95019eeed | |
f0808813 | 10 | URL: https://www.matroska.org/ |
1e89c424 | 11 | BuildRequires: libstdc++-devel |
366a8496 | 12 | BuildRequires: rpmbuild(macros) >= 1.553 |
499e890c | 13 | BuildRequires: xz |
8b795909 JB |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
1e89c424 JB |
17 | Extensible Binary Meta Language access library is a library for |
18 | reading and writing files with the Extensible Binary Meta Language, a | |
19 | binary pendant to XML. | |
5a9874e6 | 20 | |
c04fa4d7 JR |
21 | %description -l pl.UTF-8 |
22 | Biblioteka rozszerzalnego metajęzyka binarnego (Extensible Binary Meta | |
23 | Language, w skrócie EBML) umożliwia czytanie i zapisywanie plików w | |
24 | tym metajęzyku, będącym binarnym uzupełnieniem XML-a. | |
8b795909 JB |
25 | |
26 | %package devel | |
1e89c424 | 27 | Summary: Header files for Extensible Binary Meta Language library |
284ca2cc | 28 | Summary(pl.UTF-8): Nagłówki biblioteki rozszerzalnego metajęzyka binarnego |
8b795909 | 29 | Group: Development/Libraries |
104baeb4 | 30 | Requires: %{name} = %{version}-%{release} |
1e89c424 | 31 | Requires: libstdc++-devel |
8b795909 JB |
32 | |
33 | %description devel | |
1e89c424 | 34 | Header files for Extensible Binary Meta Language library. |
8b795909 | 35 | |
c04fa4d7 JR |
36 | %description devel -l pl.UTF-8 |
37 | Nagłówki biblioteki rozszerzalnego metajęzyka binarnego. | |
8b795909 JB |
38 | |
39 | %package static | |
1e89c424 | 40 | Summary: Static version of Extensible Binary Meta Language library |
284ca2cc | 41 | Summary(pl.UTF-8): Statyczna wersja biblioteki rozszerzalnego metajęzyka binarnego |
1e89c424 | 42 | Group: Development/Libraries |
104baeb4 | 43 | Requires: %{name}-devel = %{version}-%{release} |
8b795909 JB |
44 | |
45 | %description static | |
1e89c424 | 46 | Static version of Extensible Binary Meta Language library. |
8b795909 | 47 | |
c04fa4d7 JR |
48 | %description static -l pl.UTF-8 |
49 | Statyczna wersja biblioteki rozszerzalnego metajęzyka binarnego. | |
8b795909 JB |
50 | |
51 | %prep | |
bdb94268 | 52 | %setup -q |
8b795909 JB |
53 | |
54 | %build | |
899ab54b JB |
55 | %configure |
56 | ||
57 | %{__make} | |
8b795909 JB |
58 | |
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
1e89c424 | 61 | |
899ab54b JB |
62 | %{__make} install \ |
63 | DESTDIR=$RPM_BUILD_ROOT | |
8b795909 JB |
64 | |
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post -p /sbin/ldconfig | |
69 | %postun -p /sbin/ldconfig | |
70 | ||
5a9874e6 | 71 | %files |
8b795909 | 72 | %defattr(644,root,root,755) |
03e2b23a | 73 | %doc ChangeLog |
1e89c424 | 74 | %attr(755,root,root) %{_libdir}/libebml.so.*.*.* |
969a89fd | 75 | %attr(755,root,root) %ghost %{_libdir}/libebml.so.4 |
8b795909 JB |
76 | |
77 | %files devel | |
78 | %defattr(644,root,root,755) | |
1e89c424 JB |
79 | %attr(755,root,root) %{_libdir}/libebml.so |
80 | %{_libdir}/libebml.la | |
8b795909 | 81 | %{_includedir}/ebml |
899ab54b | 82 | %{_pkgconfigdir}/libebml.pc |
8b795909 JB |
83 | |
84 | %files static | |
85 | %defattr(644,root,root,755) | |
86 | %{_libdir}/libebml.a |