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