]>
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 |
e491d061 JB |
4 | Version: 0.7.8 |
5 | Release: 1 | |
8658b311 | 6 | License: LGPL v2.1+ |
8b795909 | 7 | Group: Libraries |
8658b311 | 8 | Source0: http://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.bz2 |
e491d061 | 9 | # Source0-md5: 6278109f52e4f9d2c8a8dfc0d668b587 |
8b795909 JB |
10 | Patch0: %{name}-makefile.patch |
11 | URL: http://www.matroska.org/ | |
1e89c424 JB |
12 | BuildRequires: libstdc++-devel |
13 | BuildRequires: libtool | |
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 | %patch0 -p1 |
54 | ||
55 | %build | |
1e89c424 | 56 | %{__make} -C make/linux \ |
8b795909 | 57 | prefix=%{_prefix} \ |
28c75e80 | 58 | libdir=%{_libdir} \ |
1e89c424 | 59 | CXX="%{__cxx}" \ |
a0696c27 | 60 | CXXFLAGS="%{rpmcxxflags}" \ |
1e89c424 JB |
61 | LD="%{__cxx}" \ |
62 | LDFLAGS="%{rpmldflags}"\ | |
63 | DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}" | |
8b795909 JB |
64 | |
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
1e89c424 JB |
67 | |
68 | %{__make} -C make/linux install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT \ | |
28c75e80 | 70 | prefix=%{_prefix} \ |
71 | libdir=%{_libdir} | |
8b795909 JB |
72 | |
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post -p /sbin/ldconfig | |
77 | %postun -p /sbin/ldconfig | |
78 | ||
5a9874e6 | 79 | %files |
8b795909 | 80 | %defattr(644,root,root,755) |
1e89c424 | 81 | %attr(755,root,root) %{_libdir}/libebml.so.*.*.* |
e491d061 | 82 | %attr(755,root,root) %ghost %{_libdir}/libebml.so.0 |
8b795909 JB |
83 | |
84 | %files devel | |
85 | %defattr(644,root,root,755) | |
1e89c424 JB |
86 | %attr(755,root,root) %{_libdir}/libebml.so |
87 | %{_libdir}/libebml.la | |
8b795909 JB |
88 | %{_includedir}/ebml |
89 | ||
90 | %files static | |
91 | %defattr(644,root,root,755) | |
92 | %{_libdir}/libebml.a |