]> git.pld-linux.org Git - packages/libmatroska.git/blob - libmatroska.spec
0d090dc8ae32b85a65a86c171c9a7ba072ef08c6
[packages/libmatroska.git] / libmatroska.spec
1 Summary:        Extensible Binary Meta Language access library
2 Summary(pl.UTF-8):      Biblioteka dostępu rozszerzalnego metajęzyka binarnego
3 Name:           libmatroska
4 Version:        1.4.2
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://dl.matroska.org/downloads/libmatroska/%{name}-%{version}.tar.bz2
9 # Source0-md5:  f8fe42003e072a42a19ed40405f9efdb
10 Patch0:         %{name}-link.patch
11 URL:            http://www.matroska.org/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  libebml-devel >= 1.3.1
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  libtool >= 2:2
17 BuildRequires:  pkgconfig
18 BuildRequires:  rpmbuild(macros) >= 1.566
19 Requires:       libebml >= 1.3.1
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Matroska is an extensible open standard Audio/Video container format,
24 aiming to become the standard of Multimedia Container Formats one day.
25 It is based on EBML (Extensible Binary Meta Language), a kind of
26 binary version of XML. This way the significant advantages in terms of
27 future format extensibility are gained without breaking file support
28 in old parsers.
29
30 %description -l pl.UTF-8
31 Matroska to rozszerzalny otwarty format kodowania dźwięku i obrazu,
32 dążący do stania się pewnego dnia standardem formatów zawierających
33 multimedia. Jest on oparty na EBML (rozszerzalnym metajęzyku
34 binarnym), binarnym odpowiedniku XML-a. W ten sposób ma on przewagę
35 nad innymi formatami pod względem przyszłej rozszerzalności przy
36 jednoczesnym zachowaniu kompatybilności wstecz.
37
38 %package devel
39 Summary:        Header files for matroska library
40 Summary(pl.UTF-8):      Nagłówki dla biblioteki matroska
41 Group:          Development/Libraries
42 Requires:       %{name} = %{version}-%{release}
43 Requires:       libebml-devel >= 1.3.1
44 Requires:       libstdc++-devel
45
46 %description devel
47 Header files for matroska library.
48
49 %description devel -l pl.UTF-8
50 Nagłówki dla biblioteki matroska.
51
52 %package static
53 Summary:        Static version of matroska library
54 Summary(pl.UTF-8):      Statyczna wersja biblioteki matroska
55 Group:          Development/Libraries
56 Requires:       %{name}-devel = %{version}-%{release}
57
58 %description static
59 Static version of matroska library.
60
61 %description static -l pl.UTF-8
62 Statyczna wersja biblioteki matroska.
63
64 %prep
65 %setup -q
66 %patch0 -p1
67
68 %build
69 %{__libtoolize}
70 %{__aclocal} -I m4
71 %{__autoconf}
72 %{__autoheader}
73 %{__automake}
74 %configure \
75         %{?debug:--enable-debug}
76
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc ChangeLog
94 %attr(755,root,root) %{_libdir}/libmatroska.so.*.*.*
95 %attr(755,root,root) %ghost %{_libdir}/libmatroska.so.6
96
97 %files devel
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libmatroska.so
100 %{_libdir}/libmatroska.la
101 %{_includedir}/matroska
102 %{_pkgconfigdir}/libmatroska.pc
103
104 %files static
105 %defattr(644,root,root,755)
106 %{_libdir}/libmatroska.a
This page took 0.055295 seconds and 2 git commands to generate.