]> git.pld-linux.org Git - packages/libmatroska.git/blob - libmatroska.spec
- clearer License
[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.4.4
5 Release:        1
6 License:        GPL v2 or QPL
7 Group:          Libraries
8 Source0:        http://matroska.free.fr/downloads/%{name}/%{name}-%{version}.tar.bz2
9 # Source0-md5:  1d855dc5d7a16d562efcac53f9cbdf7b
10 Patch0:         %{name}-makefile.patch
11 URL:            http://www.matroska.org/
12 BuildRequires:  libebml-devel
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:       libstdc++-devel
39
40 %description devel
41 Header files for matroska library.
42
43 %description devel -l pl
44 Nag³ówki dla biblioteki matroska.
45
46 %package static
47 Summary:        Static version of matroska library
48 Summary(pl):    Statyczna wersja biblioteki matroska
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}
51
52 %description static
53 Static version of matroska library.
54
55 %description static -l pl
56 Statyczna wersja biblioteki matroska.
57
58 %prep
59 %setup -q 
60 %patch0 -p1
61
62 %build
63 %{__make} -C make/linux \
64         prefix=%{_prefix} \
65         CXX="%{__cxx}" \
66         LD="%{__cxx}" \
67         DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}" \
68         LDFLAGS="%{rpmldflags}" \
69         LIBEBML_INCLUDE_DIR="%{_includedir}/ebml"
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} -C make/linux install \
75         prefix=$RPM_BUILD_ROOT%{_prefix}
76
77 # prepare docs (with working hyperlinks)
78 install -d doc
79 cp --parents src/api/index.html src/api/c/index.html doc
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %files 
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/libmatroska.so.*.*.*
90
91 %files devel
92 %defattr(644,root,root,755)
93 %doc doc/src/api/*
94 %attr(755,root,root) %{_libdir}/libmatroska.so
95 %{_libdir}/libmatroska.la
96 %{_includedir}/matroska
97
98 %files static
99 %defattr(644,root,root,755)
100 %{_libdir}/libmatroska.a
This page took 0.062934 seconds and 4 git commands to generate.