]> git.pld-linux.org Git - packages/libebml.git/blob - libebml.spec
1045d7f1ab2e3f4d87c55f1d1eab65592f6c910b
[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.6
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:  bb054799dfdf6bfa5dd2cf95416ff021
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         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.048356 seconds and 2 git commands to generate.