# 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
- $(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)
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
%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)