]>
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 |
03e2b23a | 4 | Version: 1.2.0 |
5809cf2c | 5 | Release: 2 |
8658b311 | 6 | License: LGPL v2.1+ |
8b795909 | 7 | Group: Libraries |
8658b311 | 8 | Source0: http://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.bz2 |
03e2b23a | 9 | # Source0-md5: 26fbaa556bb497c1134d33b84ab34443 |
8b795909 JB |
10 | Patch0: %{name}-makefile.patch |
11 | URL: http://www.matroska.org/ | |
1e89c424 JB |
12 | BuildRequires: libstdc++-devel |
13 | BuildRequires: libtool | |
366a8496 | 14 | BuildRequires: rpmbuild(macros) >= 1.553 |
8b795909 JB |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
1e89c424 JB |
18 | Extensible Binary Meta Language access library is a library for |
19 | reading and writing files with the Extensible Binary Meta Language, a | |
20 | binary pendant to XML. | |
5a9874e6 | 21 | |
c04fa4d7 JR |
22 | %description -l pl.UTF-8 |
23 | Biblioteka rozszerzalnego metajęzyka binarnego (Extensible Binary Meta | |
24 | Language, w skrócie EBML) umożliwia czytanie i zapisywanie plików w | |
25 | tym metajęzyku, będącym binarnym uzupełnieniem XML-a. | |
8b795909 JB |
26 | |
27 | %package devel | |
1e89c424 | 28 | Summary: Header files for Extensible Binary Meta Language library |
284ca2cc | 29 | Summary(pl.UTF-8): Nagłówki biblioteki rozszerzalnego metajęzyka binarnego |
8b795909 | 30 | Group: Development/Libraries |
104baeb4 | 31 | Requires: %{name} = %{version}-%{release} |
1e89c424 | 32 | Requires: libstdc++-devel |
8b795909 JB |
33 | |
34 | %description devel | |
1e89c424 | 35 | Header files for Extensible Binary Meta Language library. |
8b795909 | 36 | |
c04fa4d7 JR |
37 | %description devel -l pl.UTF-8 |
38 | Nagłówki biblioteki rozszerzalnego metajęzyka binarnego. | |
8b795909 JB |
39 | |
40 | %package static | |
1e89c424 | 41 | Summary: Static version of Extensible Binary Meta Language library |
284ca2cc | 42 | Summary(pl.UTF-8): Statyczna wersja biblioteki rozszerzalnego metajęzyka binarnego |
1e89c424 | 43 | Group: Development/Libraries |
104baeb4 | 44 | Requires: %{name}-devel = %{version}-%{release} |
8b795909 JB |
45 | |
46 | %description static | |
1e89c424 | 47 | Static version of Extensible Binary Meta Language library. |
8b795909 | 48 | |
c04fa4d7 JR |
49 | %description static -l pl.UTF-8 |
50 | Statyczna wersja biblioteki rozszerzalnego metajęzyka binarnego. | |
8b795909 JB |
51 | |
52 | %prep | |
bdb94268 | 53 | %setup -q |
366a8496 | 54 | %undos make/linux/Makefile |
8b795909 JB |
55 | %patch0 -p1 |
56 | ||
57 | %build | |
1e89c424 | 58 | %{__make} -C make/linux \ |
8b795909 | 59 | prefix=%{_prefix} \ |
28c75e80 | 60 | libdir=%{_libdir} \ |
1e89c424 | 61 | CXX="%{__cxx}" \ |
a0696c27 | 62 | CXXFLAGS="%{rpmcxxflags}" \ |
1e89c424 JB |
63 | LD="%{__cxx}" \ |
64 | LDFLAGS="%{rpmldflags}"\ | |
65 | DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}" | |
8b795909 JB |
66 | |
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
1e89c424 JB |
69 | |
70 | %{__make} -C make/linux install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT \ | |
28c75e80 | 72 | prefix=%{_prefix} \ |
73 | libdir=%{_libdir} | |
8b795909 JB |
74 | |
75 | %clean | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %post -p /sbin/ldconfig | |
79 | %postun -p /sbin/ldconfig | |
80 | ||
5a9874e6 | 81 | %files |
8b795909 | 82 | %defattr(644,root,root,755) |
03e2b23a | 83 | %doc ChangeLog |
1e89c424 | 84 | %attr(755,root,root) %{_libdir}/libebml.so.*.*.* |
03e2b23a | 85 | %attr(755,root,root) %ghost %{_libdir}/libebml.so.3 |
8b795909 JB |
86 | |
87 | %files devel | |
88 | %defattr(644,root,root,755) | |
1e89c424 JB |
89 | %attr(755,root,root) %{_libdir}/libebml.so |
90 | %{_libdir}/libebml.la | |
8b795909 JB |
91 | %{_includedir}/ebml |
92 | ||
93 | %files static | |
94 | %defattr(644,root,root,755) | |
95 | %{_libdir}/libebml.a |