]> git.pld-linux.org Git - packages/libebml.git/blob - libebml.spec
bb460f40b215fe3200025e2f9224cf6a3568687b
[packages/libebml.git] / libebml.spec
1 Summary:        Extensible Binary Meta Language access library
2 Summary(pl):    Biblioteka dostêpu rozszerzalnego metajêzyka binarnego
3 Name:           libebml
4 Version:        0.7.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:  5d9fee0755cef7d7e88ee7065f3e728f
10 Patch0:         %{name}-makefile.patch
11 Patch1:         %{name}-gcc4.patch
12 URL:            http://www.matroska.org/
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  libtool
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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.
21
22 %description -l pl
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.
26
27 %package devel
28 Summary:        Header files for Extensible Binary Meta Language library
29 Summary(pl):    Nag³ówki biblioteki rozszerzalnego metajêzyka binarnego
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32 Requires:       libstdc++-devel
33
34 %description devel
35 Header files for Extensible Binary Meta Language library.
36
37 %description devel -l pl
38 Nag³ówki biblioteki rozszerzalnego metajêzyka binarnego.
39
40 %package static
41 Summary:        Static version of Extensible Binary Meta Language library
42 Summary(pl):    Statyczna wersja biblioteki rozszerzalnego metajêzyka binarnego
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 Static version of Extensible Binary Meta Language library.
48
49 %description static -l pl
50 Statyczna wersja biblioteki rozszerzalnego metajêzyka binarnego.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55 %patch1 -p1
56
57 %build
58 %{__make} -C make/linux \
59         prefix=%{_prefix} \
60         libdir=%{_libdir} \
61         CXX="%{__cxx}" \
62         CXXFLAGS="%{rpmcxxflags}" \
63         LD="%{__cxx}" \
64         LDFLAGS="%{rpmldflags}"\
65         DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}"
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} -C make/linux install \
71         DESTDIR=$RPM_BUILD_ROOT \
72         prefix=%{_prefix} \
73         libdir=%{_libdir}
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_libdir}/libebml.so.*.*.*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libebml.so
88 %{_libdir}/libebml.la
89 %{_includedir}/ebml
90
91 %files static
92 %defattr(644,root,root,755)
93 %{_libdir}/libebml.a
This page took 0.117263 seconds and 2 git commands to generate.