]> git.pld-linux.org Git - packages/libebml.git/blob - libebml.spec
- updated to 0.6.2
[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.6.2
5 Release:        1
6 License:        GPL v2 or QPL
7 Group:          Libraries
8 Source0:        http://matroska.free.fr/downloads/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  3fab6e7ade7e86daae2fce79d63f2b70
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.
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}
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}
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         CXX="%{__cxx}" \
59         LD="%{__cxx}" \
60         LDFLAGS="%{rpmldflags}"\
61         DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}"
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} -C make/linux install \
67         DESTDIR=$RPM_BUILD_ROOT \
68         prefix=%{_prefix}
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_libdir}/libebml.so.*.*.*
79
80 %files devel
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/libebml.so
83 %{_libdir}/libebml.la
84 %{_includedir}/ebml
85
86 %files static
87 %defattr(644,root,root,755)
88 %{_libdir}/libebml.a
This page took 0.068324 seconds and 3 git commands to generate.