]> git.pld-linux.org Git - packages/libebml.git/blame - libebml.spec
- updated to 1.2.1
[packages/libebml.git] / libebml.spec
CommitLineData
8b795909 1Summary: Extensible Binary Meta Language access library
284ca2cc 2Summary(pl.UTF-8): Biblioteka dostępu rozszerzalnego metajęzyka binarnego
8b795909 3Name: libebml
d3490438
JB
4Version: 1.2.1
5Release: 1
8658b311 6License: LGPL v2.1+
8b795909 7Group: Libraries
8658b311 8Source0: http://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.bz2
d3490438 9# Source0-md5: 13c5a10e260e703d3a7f003fdc995183
8b795909
JB
10Patch0: %{name}-makefile.patch
11URL: http://www.matroska.org/
1e89c424
JB
12BuildRequires: libstdc++-devel
13BuildRequires: libtool
366a8496 14BuildRequires: rpmbuild(macros) >= 1.553
8b795909
JB
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
1e89c424
JB
18Extensible Binary Meta Language access library is a library for
19reading and writing files with the Extensible Binary Meta Language, a
20binary pendant to XML.
5a9874e6 21
c04fa4d7
JR
22%description -l pl.UTF-8
23Biblioteka rozszerzalnego metajęzyka binarnego (Extensible Binary Meta
24Language, w skrócie EBML) umożliwia czytanie i zapisywanie plików w
25tym metajęzyku, będącym binarnym uzupełnieniem XML-a.
8b795909
JB
26
27%package devel
1e89c424 28Summary: Header files for Extensible Binary Meta Language library
284ca2cc 29Summary(pl.UTF-8): Nagłówki biblioteki rozszerzalnego metajęzyka binarnego
8b795909 30Group: Development/Libraries
104baeb4 31Requires: %{name} = %{version}-%{release}
1e89c424 32Requires: libstdc++-devel
8b795909
JB
33
34%description devel
1e89c424 35Header files for Extensible Binary Meta Language library.
8b795909 36
c04fa4d7
JR
37%description devel -l pl.UTF-8
38Nagłówki biblioteki rozszerzalnego metajęzyka binarnego.
8b795909
JB
39
40%package static
1e89c424 41Summary: Static version of Extensible Binary Meta Language library
284ca2cc 42Summary(pl.UTF-8): Statyczna wersja biblioteki rozszerzalnego metajęzyka binarnego
1e89c424 43Group: Development/Libraries
104baeb4 44Requires: %{name}-devel = %{version}-%{release}
8b795909
JB
45
46%description static
1e89c424 47Static version of Extensible Binary Meta Language library.
8b795909 48
c04fa4d7
JR
49%description static -l pl.UTF-8
50Statyczna wersja biblioteki rozszerzalnego metajęzyka binarnego.
8b795909
JB
51
52%prep
bdb94268 53%setup -q
366a8496 54%undos make/linux/Makefile
8b795909
JB
55%patch0 -p1
56
57%build
1e89c424 58%{__make} -C make/linux \
8b795909 59 prefix=%{_prefix} \
28c75e80 60 libdir=%{_libdir} \
1e89c424 61 CXX="%{__cxx}" \
a0696c27 62 CXXFLAGS="%{rpmcxxflags}" \
1e89c424
JB
63 LD="%{__cxx}" \
64 LDFLAGS="%{rpmldflags}"\
65 DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}"
8b795909
JB
66
67%install
68rm -rf $RPM_BUILD_ROOT
1e89c424
JB
69
70%{__make} -C make/linux install \
71 DESTDIR=$RPM_BUILD_ROOT \
28c75e80 72 prefix=%{_prefix} \
73 libdir=%{_libdir}
8b795909
JB
74
75%clean
76rm -rf $RPM_BUILD_ROOT
77
78%post -p /sbin/ldconfig
79%postun -p /sbin/ldconfig
80
5a9874e6 81%files
8b795909 82%defattr(644,root,root,755)
03e2b23a 83%doc ChangeLog
1e89c424 84%attr(755,root,root) %{_libdir}/libebml.so.*.*.*
03e2b23a 85%attr(755,root,root) %ghost %{_libdir}/libebml.so.3
8b795909
JB
86
87%files devel
88%defattr(644,root,root,755)
1e89c424
JB
89%attr(755,root,root) %{_libdir}/libebml.so
90%{_libdir}/libebml.la
8b795909
JB
91%{_includedir}/ebml
92
93%files static
94%defattr(644,root,root,755)
95%{_libdir}/libebml.a
This page took 0.062665 seconds and 4 git commands to generate.