From 7b9ae7ae489e1df50c5d7773334e9ce25c50c468 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 31 Jan 2011 20:32:40 +0000 Subject: [PATCH] - updated to 1.1.0 (new soname) - updated makefile patch Changed files: libmatroska-makefile.patch -> 1.11 libmatroska.spec -> 1.27 --- libmatroska-makefile.patch | 4 ++-- libmatroska.spec | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libmatroska-makefile.patch b/libmatroska-makefile.patch index c5bae79..ad4f2e9 100644 --- a/libmatroska-makefile.patch +++ b/libmatroska-makefile.patch @@ -29,7 +29,7 @@ # Names -LIBRARY=libmatroska.a -LIBRARY_SO=libmatroska.so --LIBRARY_SO_VER=libmatroska.so.2 +-LIBRARY_SO_VER=libmatroska.so.3 +LIBRARY=libmatroska.la # source-files @@ -79,7 +79,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 2:0:0 -o $@ $^ $(LIBS) -lebml -rpath $(libdir) ++ $(LIBTOOL) --mode=link --tag=CC $(LD) $(LDFLAGS) -version-info 3:0:0 -o $@ $^ $(LIBS) -lebml -rpath $(libdir) clean: cleantest rm -f $(objects) $(objects_so) diff --git a/libmatroska.spec b/libmatroska.spec index c40a703..82ffe8b 100644 --- a/libmatroska.spec +++ b/libmatroska.spec @@ -1,15 +1,15 @@ Summary: Extensible Binary Meta Language access library Summary(pl.UTF-8): Biblioteka dostępu rozszerzalnego metajęzyka binarnego Name: libmatroska -Version: 1.0.0 +Version: 1.1.0 Release: 1 License: LGPL v2.1+ Group: Libraries Source0: http://dl.matroska.org/downloads/libmatroska/%{name}-%{version}.tar.bz2 -# Source0-md5: 4efcf3945b17a6f0320cf1aaa326a4de +# Source0-md5: 21e5ee3e2573f0ae99db195348bdfb98 Patch0: %{name}-makefile.patch URL: http://www.matroska.org/ -BuildRequires: libebml-devel >= 1.0.0 +BuildRequires: libebml-devel >= 1.2.0 BuildRequires: libstdc++-devel BuildRequires: libtool BuildRequires: rpmbuild(macros) >= 1.566 @@ -37,7 +37,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 +Requires: libebml-devel >= 1.2.0 Requires: libstdc++-devel %description devel @@ -94,7 +94,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.2 +%attr(755,root,root) %ghost %{_libdir}/libmatroska.so.3 %files devel %defattr(644,root,root,755) -- 2.43.0