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