]> git.pld-linux.org Git - packages/libmatroska.git/blobdiff - libmatroska.spec
- release 2 (by relup.sh)
[packages/libmatroska.git] / libmatroska.spec
index 3ba6b42a2e1e7adcd561e1740185d8ae1240c0f3..29d706b8ab9235b3bc677c27684a761e806f9e65 100644 (file)
@@ -1,17 +1,22 @@
 Summary:       Extensible Binary Meta Language access library
-Summary(pl):   Biblioteka dostêpu rozszerzalnego metajêzyka binarnego
+Summary(pl.UTF-8):     Biblioteka dostępu rozszerzalnego metajęzyka binarnego
 Name:          libmatroska
-Version:       0.6.3
-Release:       1
-License:       GPL v2 or QPL
+Version:       1.4.2
+Release:       2
+License:       LGPL v2.1+
 Group:         Libraries
-Source0:       http://matroska.free.fr/downloads/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: 196801f6321badf0461c8760edd86841
-Patch0:                %{name}-makefile.patch
+Source0:       http://dl.matroska.org/downloads/libmatroska/%{name}-%{version}.tar.bz2
+# Source0-md5: f8fe42003e072a42a19ed40405f9efdb
+Patch0:                %{name}-link.patch
 URL:           http://www.matroska.org/
-BuildRequires: libebml-devel >= 0.6.4
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake
+BuildRequires: libebml-devel >= 1.3.1
 BuildRequires: libstdc++-devel
-BuildRequires: libtool
+BuildRequires: libtool >= 2:2
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.566
+Requires:      libebml >= 1.3.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,38 +27,38 @@ binary version of XML. This way the significant advantages in terms of
 future format extensibility are gained without breaking file support
 in old parsers.
 
-%description -l pl
-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
-jednoczesnym zachowaniu kompatybilnoci wstecz.
+%description -l pl.UTF-8
+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-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
+Summary(pl.UTF-8):     Nagłówki dla biblioteki matroska
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
-Requires:      libebml-devel >= 0.6.4
+Requires:      %{name} = %{version}-%{release}
+Requires:      libebml-devel >= 1.3.1
 Requires:      libstdc++-devel
 
 %description devel
 Header files for matroska library.
 
-%description devel -l pl
-Nag³ówki dla biblioteki matroska.
+%description devel -l pl.UTF-8
+Nagłówki dla biblioteki matroska.
 
 %package static
 Summary:       Static version of matroska library
-Summary(pl):   Statyczna wersja biblioteki matroska
+Summary(pl.UTF-8):     Statyczna wersja biblioteki matroska
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static version of matroska library.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczna wersja biblioteki matroska.
 
 %prep
@@ -61,25 +66,21 @@ Statyczna wersja biblioteki matroska.
 %patch0 -p1
 
 %build
-%{__make} -C make/linux \
-       prefix=%{_prefix} \
-       libdir=%{_libdir} \
-       CXX="%{__cxx}" \
-       LD="%{__cxx}" \
-       DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}" \
-       LDFLAGS="%{rpmldflags}" \
-       LIBEBML_INCLUDE_DIR="%{_includedir}/ebml"
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       %{?debug:--enable-debug}
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} -C make/linux install \
-       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
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -91,13 +92,14 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ChangeLog
 %attr(755,root,root) %{_libdir}/libmatroska.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmatroska.so.6
 
 %files devel
 %defattr(644,root,root,755)
-##%doc doc/src/api/*
 %attr(755,root,root) %{_libdir}/libmatroska.so
 %{_libdir}/libmatroska.la
 %{_includedir}/matroska
+%{_pkgconfigdir}/libmatroska.pc
 
 %files static
 %defattr(644,root,root,755)
This page took 0.084681 seconds and 4 git commands to generate.