]> git.pld-linux.org Git - packages/libmatroska.git/blob - libmatroska.spec
- updated to 0.8.0
[packages/libmatroska.git] / libmatroska.spec
1 Summary:        Extensible Binary Meta Language access library
2 Summary(pl):    Biblioteka dostêpu rozszerzalnego metajêzyka binarnego
3 Name:           libmatroska
4 Version:        0.8.0
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://dl.matroska.org/downloads/libmatroska/%{name}-%{version}.tar.bz2
9 # Source0-md5:  ee822ea811e5db25de87c3662c53953a
10 Patch0:         %{name}-makefile.patch
11 URL:            http://www.matroska.org/
12 BuildRequires:  libebml-devel >= 0.7.6
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  libtool
15 Requires:       libebml >= 0.7.6
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Matroska is an extensible open standard Audio/Video container format,
20 aiming to become the standard of Multimedia Container Formats one day.
21 It is based on EBML (Extensible Binary Meta Language), a kind of
22 binary version of XML. This way the significant advantages in terms of
23 future format extensibility are gained without breaking file support
24 in old parsers.
25
26 %description -l pl
27 Matroska to rozszerzalny otwarty format kodowania d¼wiêku i obrazu,
28 d±¿±cy do stania siê pewnego dnia standardem formatów zawieraj±cych
29 multimedia. Jest on oparty na EBML (rozszerzalnym metajêzyku
30 binarnym), binarnym odpowiedniku XML-a. W ten sposób ma on przewagê
31 nad innymi formatami pod wzglêdem przysz³ej rozszerzalno¶ci przy
32 jednoczesnym zachowaniu kompatybilno¶ci wstecz.
33
34 %package devel
35 Summary:        Header files for matroska library
36 Summary(pl):    Nag³ówki dla biblioteki matroska
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39 Requires:       libebml-devel >= 0.7.6
40 Requires:       libstdc++-devel
41
42 %description devel
43 Header files for matroska library.
44
45 %description devel -l pl
46 Nag³ówki dla biblioteki matroska.
47
48 %package static
49 Summary:        Static version of matroska library
50 Summary(pl):    Statyczna wersja biblioteki matroska
51 Group:          Development/Libraries
52 Requires:       %{name}-devel = %{version}-%{release}
53
54 %description static
55 Static version of matroska library.
56
57 %description static -l pl
58 Statyczna wersja biblioteki matroska.
59
60 %prep
61 %setup -q
62 %patch0 -p1
63
64 %build
65 %{__make} -C make/linux \
66         prefix=%{_prefix} \
67         libdir=%{_libdir} \
68         CXX="%{__cxx}" \
69         LD="%{__cxx}" \
70         DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}" \
71         LDFLAGS="%{rpmldflags}" \
72         LIBEBML_INCLUDE_DIR="%{_includedir}/ebml"
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} -C make/linux install \
78         prefix=$RPM_BUILD_ROOT%{_prefix} \
79         libdir=$RPM_BUILD_ROOT%{_libdir}
80
81 # prepare docs (with working hyperlinks)
82 #install -d doc
83 #cp --parents src/api/index.html src/api/c/index.html doc
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc ChangeLog
94 %attr(755,root,root) %{_libdir}/libmatroska.so.*.*.*
95
96 %files devel
97 %defattr(644,root,root,755)
98 ##%doc doc/src/api/*
99 %attr(755,root,root) %{_libdir}/libmatroska.so
100 %{_libdir}/libmatroska.la
101 %{_includedir}/matroska
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/libmatroska.a
This page took 0.077174 seconds and 4 git commands to generate.