]> git.pld-linux.org Git - packages/libmatroska.git/blob - libmatroska.spec
- strict deps.
[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.3
5 Release:        2
6 License:        GPL v2 or QPL
7 Group:          Libraries
8 Source0:        http://matroska.free.fr/downloads/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  196801f6321badf0461c8760edd86841
10 Patch0:         %{name}-makefile.patch
11 Patch1:         %{name}-version_define.patch
12 URL:            http://www.matroska.org/
13 BuildRequires:  libebml-devel >= 0.6.4
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  libtool
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.6.4
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 %patch1 -p1
64
65 %build
66 %{__make} -C make/linux \
67         prefix=%{_prefix} \
68         libdir=%{_libdir} \
69         CXX="%{__cxx}" \
70         LD="%{__cxx}" \
71         DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}" \
72         LDFLAGS="%{rpmldflags}" \
73         LIBEBML_INCLUDE_DIR="%{_includedir}/ebml"
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} -C make/linux install \
79         prefix=$RPM_BUILD_ROOT%{_prefix} \
80         libdir=$RPM_BUILD_ROOT%{_libdir}
81
82 # prepare docs (with working hyperlinks)
83 #install -d doc
84 #cp --parents src/api/index.html src/api/c/index.html doc
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %post   -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
91
92 %files
93 %defattr(644,root,root,755)
94 %doc ChangeLog
95 %attr(755,root,root) %{_libdir}/libmatroska.so.*.*.*
96
97 %files devel
98 %defattr(644,root,root,755)
99 ##%doc doc/src/api/*
100 %attr(755,root,root) %{_libdir}/libmatroska.so
101 %{_libdir}/libmatroska.la
102 %{_includedir}/matroska
103
104 %files static
105 %defattr(644,root,root,755)
106 %{_libdir}/libmatroska.a
This page took 0.076358 seconds and 3 git commands to generate.