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