]> git.pld-linux.org Git - packages/libebml.git/blame_incremental - libebml.spec
- updated to 1.2.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: 1.2.2
5Release: 1
6License: LGPL v2.1+
7Group: Libraries
8Source0: http://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.bz2
9# Source0-md5: 726cc2bd1a525929ff35ff9854c0ebab
10Patch0: %{name}-makefile.patch
11URL: http://www.matroska.org/
12BuildRequires: libstdc++-devel
13BuildRequires: libtool
14BuildRequires: rpmbuild(macros) >= 1.553
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
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.
21
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.
26
27%package devel
28Summary: Header files for Extensible Binary Meta Language library
29Summary(pl.UTF-8): Nagłówki biblioteki rozszerzalnego metajęzyka binarnego
30Group: Development/Libraries
31Requires: %{name} = %{version}-%{release}
32Requires: libstdc++-devel
33
34%description devel
35Header files for Extensible Binary Meta Language library.
36
37%description devel -l pl.UTF-8
38Nagłówki biblioteki rozszerzalnego metajęzyka binarnego.
39
40%package static
41Summary: Static version of Extensible Binary Meta Language library
42Summary(pl.UTF-8): Statyczna wersja biblioteki rozszerzalnego metajęzyka binarnego
43Group: Development/Libraries
44Requires: %{name}-devel = %{version}-%{release}
45
46%description static
47Static version of Extensible Binary Meta Language library.
48
49%description static -l pl.UTF-8
50Statyczna wersja biblioteki rozszerzalnego metajęzyka binarnego.
51
52%prep
53%setup -q
54%undos make/linux/Makefile
55%patch0 -p1
56
57%build
58%{__make} -C make/linux \
59 prefix=%{_prefix} \
60 libdir=%{_libdir} \
61 CXX="%{__cxx}" \
62 CXXFLAGS="%{rpmcxxflags}" \
63 LD="%{__cxx}" \
64 LDFLAGS="%{rpmldflags}"\
65 DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}"
66
67%install
68rm -rf $RPM_BUILD_ROOT
69
70%{__make} -C make/linux install \
71 DESTDIR=$RPM_BUILD_ROOT \
72 prefix=%{_prefix} \
73 libdir=%{_libdir}
74
75%clean
76rm -rf $RPM_BUILD_ROOT
77
78%post -p /sbin/ldconfig
79%postun -p /sbin/ldconfig
80
81%files
82%defattr(644,root,root,755)
83%doc ChangeLog
84%attr(755,root,root) %{_libdir}/libebml.so.*.*.*
85%attr(755,root,root) %ghost %{_libdir}/libebml.so.3
86
87%files devel
88%defattr(644,root,root,755)
89%attr(755,root,root) %{_libdir}/libebml.so
90%{_libdir}/libebml.la
91%{_includedir}/ebml
92
93%files static
94%defattr(644,root,root,755)
95%{_libdir}/libebml.a
This page took 0.791342 seconds and 4 git commands to generate.