]> git.pld-linux.org Git - packages/libmatroska.git/blob - libmatroska.spec
- amd64 fixes
[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:        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:  196801f6321badf0461c8760edd86841
10 Patch0:         %{name}-makefile.patch
11 URL:            http://www.matroska.org/
12 BuildRequires:  libebml-devel >= 0.6.4
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.4
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         libdir=%{_libdir} \
67         CXX="%{__cxx}" \
68         LD="%{__cxx}" \
69         DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}" \
70         LDFLAGS="%{rpmldflags}" \
71         LIBEBML_INCLUDE_DIR="%{_includedir}/ebml"
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} -C make/linux install \
77         prefix=$RPM_BUILD_ROOT%{_prefix} \
78         libdir=$RPM_BUILD_ROOT%{_libdir}
79
80 # prepare docs (with working hyperlinks)
81 #install -d doc
82 #cp --parents src/api/index.html src/api/c/index.html doc
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %files
91 %defattr(644,root,root,755)
92 %doc ChangeLog
93 %attr(755,root,root) %{_libdir}/libmatroska.so.*.*.*
94
95 %files devel
96 %defattr(644,root,root,755)
97 ##%doc doc/src/api/*
98 %attr(755,root,root) %{_libdir}/libmatroska.so
99 %{_libdir}/libmatroska.la
100 %{_includedir}/matroska
101
102 %files static
103 %defattr(644,root,root,755)
104 %{_libdir}/libmatroska.a
This page took 0.066157 seconds and 4 git commands to generate.