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