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