]> git.pld-linux.org Git - packages/libmatroska.git/blobdiff - libmatroska.spec
- release 4
[packages/libmatroska.git] / libmatroska.spec
index 6f9568bc67202c0fd758ad3f395f6bd8383bfee4..a10e152e3fe06fc1de59c1aca38a546e87dd97b9 100644 (file)
@@ -1,15 +1,16 @@
 Summary:       Extensible Binary Meta Language access library
 Summary(pl):   Biblioteka dostêpu rozszerzalnego metajêzyka binarnego
 Name:          libmatroska
-Version:       0.4.4
-Release:       1
+Version:       0.6.3
+Release:       4
 License:       GPL v2 or QPL
 Group:         Libraries
-Source0:       http://matroska.free.fr/downloads/%{name}/%{name}-%{version}.tar.bz2
-# Source0-md5: 1d855dc5d7a16d562efcac53f9cbdf7b
+Source0:       http://matroska.free.fr/downloads/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: 196801f6321badf0461c8760edd86841
 Patch0:                %{name}-makefile.patch
+Patch1:                %{name}-version_define.patch
 URL:           http://www.matroska.org/
-BuildRequires: libebml-devel
+BuildRequires: libebml-devel >= 0.6.4
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,15 +27,16 @@ in old parsers.
 Matroska to rozszerzalny otwarty format kodowania d¼wiêku i obrazu,
 d±¿±cy do stania siê pewnego dnia standardem formatów zawieraj±cych
 multimedia. Jest on oparty na EBML (rozszerzalnym metajêzyku
-binarnym), binarnym odpowiedniku XML. W ten sposób ma on przewagê nad
-innymi formatami pod wzglêdem przysz³ej rozszerzalno¶ci przy
+binarnym), binarnym odpowiedniku XML-a. W ten sposób ma on przewagê
+nad innymi formatami pod wzglêdem przysz³ej rozszerzalno¶ci przy
 jednoczesnym zachowaniu kompatybilno¶ci wstecz.
 
 %package devel
 Summary:       Header files for matroska library
 Summary(pl):   Nag³ówki dla biblioteki matroska
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
+Requires:      libebml-devel >= 0.6.4
 Requires:      libstdc++-devel
 
 %description devel
@@ -47,7 +49,7 @@ Nag
 Summary:       Static version of matroska library
 Summary(pl):   Statyczna wersja biblioteki matroska
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static version of matroska library.
@@ -58,10 +60,12 @@ Statyczna wersja biblioteki matroska.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__make} -C make/linux \
        prefix=%{_prefix} \
+       libdir=%{_libdir} \
        CXX="%{__cxx}" \
        LD="%{__cxx}" \
        DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}" \
@@ -72,11 +76,12 @@ Statyczna wersja biblioteki matroska.
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} -C make/linux install \
-       prefix=$RPM_BUILD_ROOT%{_prefix}
+       prefix=$RPM_BUILD_ROOT%{_prefix} \
+       libdir=$RPM_BUILD_ROOT%{_libdir}
 
 # prepare docs (with working hyperlinks)
-install -d doc
-cp --parents src/api/index.html src/api/c/index.html doc
+#install -d doc
+#cp --parents src/api/index.html src/api/c/index.html doc
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -86,11 +91,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc ChangeLog
 %attr(755,root,root) %{_libdir}/libmatroska.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc doc/src/api/*
+##%doc doc/src/api/*
 %attr(755,root,root) %{_libdir}/libmatroska.so
 %{_libdir}/libmatroska.la
 %{_includedir}/matroska
This page took 0.151203 seconds and 4 git commands to generate.