]> git.pld-linux.org Git - packages/libebml.git/blame_incremental - libebml.spec
- rel 2
[packages/libebml.git] / libebml.spec
... / ...
CommitLineData
1Summary: Extensible Binary Meta Language access library
2Summary(pl.UTF-8): Biblioteka dostępu rozszerzalnego metajęzyka binarnego
3Name: libebml
4Version: 0.7.7
5Release: 2
6License: LGPL v2.1+
7Group: Libraries
8Source0: http://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.bz2
9# Source0-md5: 7c8456a50fd82c1c9755917d0182c49e
10Patch0: %{name}-makefile.patch
11URL: http://www.matroska.org/
12BuildRequires: libstdc++-devel
13BuildRequires: libtool
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Extensible Binary Meta Language access library is a library for
18reading and writing files with the Extensible Binary Meta Language, a
19binary pendant to XML.
20
21%description -l pl.UTF-8
22Biblioteka rozszerzalnego metajęzyka binarnego (Extensible Binary Meta
23Language, w skrócie EBML) umożliwia czytanie i zapisywanie plików w
24tym metajęzyku, będącym binarnym uzupełnieniem XML-a.
25
26%package devel
27Summary: Header files for Extensible Binary Meta Language library
28Summary(pl.UTF-8): Nagłówki biblioteki rozszerzalnego metajęzyka binarnego
29Group: Development/Libraries
30Requires: %{name} = %{version}-%{release}
31Requires: libstdc++-devel
32
33%description devel
34Header files for Extensible Binary Meta Language library.
35
36%description devel -l pl.UTF-8
37Nagłówki biblioteki rozszerzalnego metajęzyka binarnego.
38
39%package static
40Summary: Static version of Extensible Binary Meta Language library
41Summary(pl.UTF-8): Statyczna wersja biblioteki rozszerzalnego metajęzyka binarnego
42Group: Development/Libraries
43Requires: %{name}-devel = %{version}-%{release}
44
45%description static
46Static version of Extensible Binary Meta Language library.
47
48%description static -l pl.UTF-8
49Statyczna 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
66rm -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
74rm -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.065969 seconds and 4 git commands to generate.