]> git.pld-linux.org Git - packages/libmatroska.git/blob - libmatroska.spec
- mplayer revolution continues
[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/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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Matroska is an extensible open standard Audio/Video container format, 
16 aiming to become the standard of Multimedia
17 Container Formats one day. It is based on EBML (Extensible Binary
18 Meta Language), a kind of binary version of XML. This way the
19 significant advantages in terms of future format extensability
20 are gained without breaking file support in old parsers.
21      
22    
23 %description -l pl
24 Matroska to rozszerzalny otwarty format kodowania d¼wiêku i obrazu,
25 d±¿±cy do stania sie. Jest on oparty na EBML (rozszerzalny metajêzyk 
26 binarny), binarnym odpowiedniku XML. W ten sposób ma on przewagê nad 
27 innymi formatami pod wzglêdem przysz³ej rozszerzalno¶ci przy jendoczesnym
28 zachowaniu kompatybilno¶ci wstecz.
29
30
31 %package devel
32 Summary:        Developmment files and headers for matroska.
33 Summary(pl):    Nag³ówki dla matroski.
34 Group:          Development/Libraries
35 Requires:       %{name} >= %{version}
36
37 %description devel
38 Developmment files and headers for matroska.
39
40 %description devel -l pl
41 Nag³ówki dla matroski.
42
43 %package static
44 Summary:        Static libraries for Extensible Binary Meta Language.
45 Summary(pl):    Biblioteki statyczne dla rozszerzalnego metajêzyka binarnego.
46 Group:          Libraries
47
48 %description static
49 Static libraries for matroska.
50
51 %description static -l pl
52 Biblioteki statyczne dla matroski.
53
54 %prep
55 %setup -q 
56 %patch0 -p1 -b .dakh
57
58 %build
59 cd make/linux
60 %{__make} clean
61 %{__make}  prefix=%{_prefix} \
62         CXX=%{__cxx} \
63         LD=%{__cxx} \
64         AR="%{__ar} rcvu"  \
65         RANLIB=%{__ranlib} \
66         INSTALL=%{__install} \
67         CXXFLAGS="%{rpmcflags}" \
68         %{?debug:DEBUG=yes} \
69         INSTALL_OPTS="" \
70         INSTALL_OPTS_LIB="" \
71         INSTALL_DIR_OPTS="" \
72         LDFLAGS="-shared -lebml -L. -L%{_libdir}"\
73         LIBEBML_INCLUDE_DIR="%{_includedir}/ebml/" \
74         SRC_DIR=%{_builddir}/%{name}-%{version}/src/
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT
79
80 %{__make} -f make/linux/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} install \
81         CXX=%{__cxx} \
82         LD=%{__cxx} \
83         AR="%{__ar} rcvu"  \
84         RANLIB=%{__ranlib} \
85         INSTALL=%{__install} \
86         %{?debug:DEBUG=yes} \
87         INSTALL_OPTS="" \
88         INSTALL_OPTS_LIB="" \
89         INSTALL_DIR_OPTS="" \
90         SRC_DIR=%{_builddir}/%{name}-%{version}/src/\
91         LDFLAGS="-shared -lebml -L. -L%{_libdir}" \
92         LIBEBML_INCLUDE_DIR="%{_includedir}/ebml/" \
93         CXXFLAGS="%{rpmcflags}"
94         
95
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %post -p /sbin/ldconfig
101
102 %postun -p /sbin/ldconfig
103
104 %files 
105 %defattr(644,root,root,755)
106 %{_libdir}/libmatroska.so
107
108 %files devel
109 %defattr(644,root,root,755)
110 %{_includedir}/matroska/
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/libmatroska.a
This page took 0.036026 seconds and 4 git commands to generate.