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