]> git.pld-linux.org Git - packages/libmatroska.git/blame - libmatroska.spec
- updated to 1.2.0 (note: new soname)
[packages/libmatroska.git] / libmatroska.spec
CommitLineData
eb417e36 1Summary: Extensible Binary Meta Language access library
c898b1eb 2Summary(pl.UTF-8): Biblioteka dostępu rozszerzalnego metajęzyka binarnego
eb417e36 3Name: libmatroska
e4805536 4Version: 1.2.0
6f47b996 5Release: 1
58ee65c3 6License: LGPL v2.1+
eb417e36 7Group: Libraries
58ee65c3 8Source0: http://dl.matroska.org/downloads/libmatroska/%{name}-%{version}.tar.bz2
e4805536 9# Source0-md5: a4f967f9ade56d5181714f3199ffa241
eb417e36 10Patch0: %{name}-makefile.patch
b57b5cf5 11URL: http://www.matroska.org/
e4805536 12BuildRequires: libebml-devel >= 1.2.1
b57b5cf5
JB
13BuildRequires: libstdc++-devel
14BuildRequires: libtool
88b07041
ER
15BuildRequires: rpmbuild(macros) >= 1.566
16BuildRequires: sed >= 4.0
e4805536 17Requires: libebml >= 1.2.1
eb417e36 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
b57b5cf5
JB
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.
ac28d4e4 27
6ab1e4ef
JR
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.
eb417e36 35
36%package devel
b57b5cf5 37Summary: Header files for matroska library
c898b1eb 38Summary(pl.UTF-8): Nagłówki dla biblioteki matroska
eb417e36 39Group: Development/Libraries
0f5a8090 40Requires: %{name} = %{version}-%{release}
e4805536 41Requires: libebml-devel >= 1.2.1
b57b5cf5 42Requires: libstdc++-devel
eb417e36 43
44%description devel
b57b5cf5 45Header files for matroska library.
eb417e36 46
6ab1e4ef
JR
47%description devel -l pl.UTF-8
48Nagłówki dla biblioteki matroska.
eb417e36 49
50%package static
b57b5cf5 51Summary: Static version of matroska library
c898b1eb 52Summary(pl.UTF-8): Statyczna wersja biblioteki matroska
b57b5cf5 53Group: Development/Libraries
0f5a8090 54Requires: %{name}-devel = %{version}-%{release}
eb417e36 55
56%description static
b57b5cf5 57Static version of matroska library.
eb417e36 58
6ab1e4ef 59%description static -l pl.UTF-8
b57b5cf5 60Statyczna wersja biblioteki matroska.
eb417e36 61
62%prep
47663573 63%setup -q
88b07041 64%undos make/linux/Makefile
47663573 65%patch0 -p1
eb417e36 66
67%build
b57b5cf5 68%{__make} -C make/linux \
ac28d4e4 69 prefix=%{_prefix} \
987a15a0 70 libdir=%{_libdir} \
b57b5cf5
JB
71 CXX="%{__cxx}" \
72 LD="%{__cxx}" \
73 DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}" \
74 LDFLAGS="%{rpmldflags}" \
75 LIBEBML_INCLUDE_DIR="%{_includedir}/ebml"
eb417e36 76
77%install
78rm -rf $RPM_BUILD_ROOT
b57b5cf5
JB
79
80%{__make} -C make/linux install \
987a15a0 81 prefix=$RPM_BUILD_ROOT%{_prefix} \
82 libdir=$RPM_BUILD_ROOT%{_libdir}
b57b5cf5
JB
83
84# prepare docs (with working hyperlinks)
8eca8dd4 85#install -d doc
86#cp --parents src/api/index.html src/api/c/index.html doc
eb417e36 87
88%clean
89rm -rf $RPM_BUILD_ROOT
90
ac28d4e4
JB
91%post -p /sbin/ldconfig
92%postun -p /sbin/ldconfig
eb417e36 93
deff1af3 94%files
eb417e36 95%defattr(644,root,root,755)
02c86e25 96%doc ChangeLog
b57b5cf5 97%attr(755,root,root) %{_libdir}/libmatroska.so.*.*.*
e4805536 98%attr(755,root,root) %ghost %{_libdir}/libmatroska.so.4
eb417e36 99
100%files devel
101%defattr(644,root,root,755)
8eca8dd4 102##%doc doc/src/api/*
b57b5cf5
JB
103%attr(755,root,root) %{_libdir}/libmatroska.so
104%{_libdir}/libmatroska.la
ac28d4e4 105%{_includedir}/matroska
eb417e36 106
107%files static
108%defattr(644,root,root,755)
109%{_libdir}/libmatroska.a
This page took 0.076655 seconds and 4 git commands to generate.