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