]> git.pld-linux.org Git - packages/libmatroska.git/blobdiff - libmatroska.spec
- updated to 0.7.6, updated makefile patch
[packages/libmatroska.git] / libmatroska.spec
index 7b0145058e35414143a9037a4574aa855cbea617..d4e983c3e3942fe43c4c7337e49b7a138f787e1b 100644 (file)
@@ -1,17 +1,19 @@
 Summary:       Extensible Binary Meta Language access library
 Summary(pl):   Biblioteka dostêpu rozszerzalnego metajêzyka binarnego
 Name:          libmatroska
-Version:       0.6.2
+Version:       0.7.6
 Release:       1
-License:       GPL v2 or QPL
+License:       LGPL v2.1+
 Group:         Libraries
-Source0:       http://matroska.free.fr/downloads/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: 8df5bf6ddb79676bc7c7a489a39e6f6f
+Source0:       http://dl.matroska.org/downloads/libmatroska/%{name}-%{version}.tar.bz2
+# Source0-md5: 2c9ae5b7d72767b9c23fca6ecf3681e7
 Patch0:                %{name}-makefile.patch
+Patch1:                %{name}-version_define.patch
 URL:           http://www.matroska.org/
-BuildRequires: libebml-devel >= 0.6.3
+BuildRequires: libebml-devel >= 0.7.4
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
+Requires:      libebml >= 0.7.4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -26,16 +28,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:      libebml-devel >= 0.6.3
+Requires:      %{name} = %{version}-%{release}
+Requires:      libebml-devel >= 0.7.4
 Requires:      libstdc++-devel
 
 %description devel
@@ -48,7 +50,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.
@@ -59,10 +61,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}" \
@@ -73,7 +77,8 @@ 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
This page took 0.130716 seconds and 4 git commands to generate.