]> git.pld-linux.org Git - packages/libebml.git/commitdiff
- up to 1.0.0, new soname auto/th/libebml-1_0_0-1
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 5 Aug 2010 20:22:06 +0000 (20:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libebml-makefile.patch -> 1.12
    libebml.spec -> 1.30

libebml-makefile.patch
libebml.spec

index e3abe363a88865992b44f46d90a01eb14ad8237b..c3cb04484163421671966224327b73ae4cceafee 100644 (file)
@@ -1,5 +1,5 @@
---- libebml-0.7.8/make/linux/Makefile  2008-07-13 21:37:16.422034707 +0200
-+++ libebml-0.7.8/make/linux/Makefile  2010-08-05 22:54:21.405342023 +0300
+--- libebml-1.0.0/make/linux/Makefile~ 2010-08-05 23:04:21.000000000 +0300
++++ libebml-1.0.0/make/linux/Makefile  2010-08-05 23:04:54.438670198 +0300
 @@ -28,6 +28,7 @@
  INSTALL_OPTS = -m 644
  INSTALL_OPTS_LIB = -m 644
@@ -14,7 +14,7 @@
  # Names
 -LIBRARY=libebml.a
 -LIBRARY_SO=libebml.so
--LIBRARY_SO_VER=libebml.so.0
+-LIBRARY_SO_VER=libebml.so.2
 +LIBRARY=libebml.la
  
  # source-files
@@ -31,7 +31,7 @@
  
  WARNINGFLAGS=-Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow
  COMPILEFLAGS=$(WARNINGFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(DEBUGFLAGS) $(INCLUDE)
-@@ -83,20 +81,11 @@
+@@ -78,20 +78,11 @@
        @false
  
  # Build rules
 +      $(LIBTOOL) --mode=compile --tag=CC $(CXX) -c $(COMPILEFLAGS) -o $@ $<
  
  $(LIBRARY): $(objects)
--      $(AR) $@ $(objects)
+-      $(AR) rcvu $@ $(objects)
 -      $(RANLIB) $@
 -
 -$(LIBRARY_SO): $(objects_so)
 -      $(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) -o $@ $^ $(LIBS) -rpath $(libdir)
++      $(LIBTOOL) --mode=link --tag=CC $(LD) $(LDFLAGS) -version-info 2:0:0 -o $@ $^ $(LIBS) -rpath $(libdir)
  
  clean:
        rm -f $(objects) $(objects_so)
index d6e0233ab19cd21ba5ea19486372d06e347a2e19..792dadc67154f02ac5ad5e7fefb889b0c29afd54 100644 (file)
@@ -1,16 +1,17 @@
 Summary:       Extensible Binary Meta Language access library
 Summary(pl.UTF-8):     Biblioteka dostępu rozszerzalnego metajęzyka binarnego
 Name:          libebml
-Version:       0.7.8
+Version:       1.0.0
 Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.bz2
-# Source0-md5: 6278109f52e4f9d2c8a8dfc0d668b587
+# Source0-md5: 6d438f03d8928d83a2d120ed02705f03
 Patch0:                %{name}-makefile.patch
 URL:           http://www.matroska.org/
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
+BuildRequires: rpmbuild(macros) >= 1.553
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -50,6 +51,7 @@ Statyczna wersja biblioteki rozszerzalnego metajęzyka binarnego.
 
 %prep
 %setup -q
+%undos make/linux/Makefile
 %patch0 -p1
 
 %build
@@ -79,7 +81,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libebml.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libebml.so.0
+%attr(755,root,root) %ghost %{_libdir}/libebml.so.2
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.118022 seconds and 4 git commands to generate.