]> git.pld-linux.org Git - packages/libebml.git/blob - libebml.spec
- tabs in preamble
[packages/libebml.git] / libebml.spec
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:        0.7.7
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:  7c8456a50fd82c1c9755917d0182c49e
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.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.
25
26 %package devel
27 Summary:        Header files for Extensible Binary Meta Language library
28 Summary(pl.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
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         CXXFLAGS="%{rpmcxxflags}" \
61         LD="%{__cxx}" \
62         LDFLAGS="%{rpmldflags}"\
63         DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}"
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} -C make/linux install \
69         DESTDIR=$RPM_BUILD_ROOT \
70         prefix=%{_prefix} \
71         libdir=%{_libdir}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/libebml.so.*.*.*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/libebml.so
86 %{_libdir}/libebml.la
87 %{_includedir}/ebml
88
89 %files static
90 %defattr(644,root,root,755)
91 %{_libdir}/libebml.a
This page took 0.073588 seconds and 4 git commands to generate.