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