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