From 92b664b99eed18555fccc4021b627b7d2770ad2a Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 22 Mar 2013 23:00:26 +0100 Subject: [PATCH] - updated to 1.4.0 (note: new soname) - updated makefile patch --- libmatroska-makefile.patch | 4 ++-- libmatroska.spec | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libmatroska-makefile.patch b/libmatroska-makefile.patch index f521a7b..540d6bd 100644 --- a/libmatroska-makefile.patch +++ b/libmatroska-makefile.patch @@ -26,7 +26,7 @@ # Names -LIBRARY=libmatroska.a -LIBRARY_SO=libmatroska.so --LIBRARY_SO_VER=libmatroska.so.5 +-LIBRARY_SO_VER=libmatroska.so.6 +LIBRARY=libmatroska.la # source-files @@ -76,7 +76,7 @@ - $(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so) -lebml - rm -f $(LIBRARY_SO) - ln -s $(LIBRARY_SO_VER) $(LIBRARY_SO) -+ $(LIBTOOL) --mode=link --tag=CC $(LD) $(LDFLAGS) -version-info 5:0:0 -o $@ $^ $(LIBS) -lebml -rpath $(libdir) ++ $(LIBTOOL) --mode=link --tag=CC $(LD) $(LDFLAGS) -version-info 6:0:0 -o $@ $^ $(LIBS) -lebml -rpath $(libdir) clean: cleantest rm -f $(objects) $(objects_so) diff --git a/libmatroska.spec b/libmatroska.spec index 2f69315..95ce88a 100644 --- a/libmatroska.spec +++ b/libmatroska.spec @@ -1,20 +1,20 @@ Summary: Extensible Binary Meta Language access library Summary(pl.UTF-8): Biblioteka dostępu rozszerzalnego metajęzyka binarnego Name: libmatroska -Version: 1.3.0 +Version: 1.4.0 Release: 1 License: LGPL v2.1+ Group: Libraries Source0: http://dl.matroska.org/downloads/libmatroska/%{name}-%{version}.tar.bz2 -# Source0-md5: f4a8c411f09d39c754eb726efd616043 +# Source0-md5: 5b83155019589b04a49f9db923b5bf74 Patch0: %{name}-makefile.patch URL: http://www.matroska.org/ -BuildRequires: libebml-devel >= 1.2.2 +BuildRequires: libebml-devel >= 1.3.0 BuildRequires: libstdc++-devel BuildRequires: libtool BuildRequires: rpmbuild(macros) >= 1.566 -BuildRequires: sed >= 4.0 -Requires: libebml >= 1.2.2 +#BuildRequires: sed >= 4.0 +Requires: libebml >= 1.3.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -38,7 +38,7 @@ Summary: Header files for matroska library Summary(pl.UTF-8): Nagłówki dla biblioteki matroska Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Requires: libebml-devel >= 1.2.2 +Requires: libebml-devel >= 1.3.0 Requires: libstdc++-devel %description devel @@ -95,7 +95,7 @@ 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.5 +%attr(755,root,root) %ghost %{_libdir}/libmatroska.so.6 %files devel %defattr(644,root,root,755) -- 2.43.0