From 03e2b23a6edf30a668f259e3df775e4d3d5355a9 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 31 Jan 2011 20:22:50 +0000 Subject: [PATCH] - updated to 1.2.0 (new soname) - updated makefile patch Changed files: libebml-makefile.patch -> 1.13 libebml.spec -> 1.31 --- libebml-makefile.patch | 4 ++-- libebml.spec | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/libebml-makefile.patch b/libebml-makefile.patch index c3cb044..499abdf 100644 --- a/libebml-makefile.patch +++ b/libebml-makefile.patch @@ -14,7 +14,7 @@ # Names -LIBRARY=libebml.a -LIBRARY_SO=libebml.so --LIBRARY_SO_VER=libebml.so.2 +-LIBRARY_SO_VER=libebml.so.3 +LIBRARY=libebml.la # source-files @@ -50,7 +50,7 @@ - $(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so) - 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) -rpath $(libdir) ++ $(LIBTOOL) --mode=link --tag=CC $(LD) $(LDFLAGS) -version-info 3:0:0 -o $@ $^ $(LIBS) -rpath $(libdir) clean: rm -f $(objects) $(objects_so) diff --git a/libebml.spec b/libebml.spec index 792dadc..754395c 100644 --- a/libebml.spec +++ b/libebml.spec @@ -1,12 +1,12 @@ Summary: Extensible Binary Meta Language access library Summary(pl.UTF-8): Biblioteka dostępu rozszerzalnego metajęzyka binarnego Name: libebml -Version: 1.0.0 +Version: 1.2.0 Release: 1 License: LGPL v2.1+ Group: Libraries Source0: http://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.bz2 -# Source0-md5: 6d438f03d8928d83a2d120ed02705f03 +# Source0-md5: 26fbaa556bb497c1134d33b84ab34443 Patch0: %{name}-makefile.patch URL: http://www.matroska.org/ BuildRequires: libstdc++-devel @@ -80,8 +80,9 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%doc ChangeLog %attr(755,root,root) %{_libdir}/libebml.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libebml.so.2 +%attr(755,root,root) %ghost %{_libdir}/libebml.so.3 %files devel %defattr(644,root,root,755) -- 2.43.0