Группа :: Система/Библиотеки
Пакет: libmkv
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%add_optflags %optflags_shared
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: libmkv
Version: 0.6.5.1
Release: alt2_10
Summary: An alternative to the official libmatroska library
Group: System/Libraries
License: GPLv2+
URL: https://github.com/saintdev/libmkv
# https://github.com/saintdev/libmkv/tarball/0.6.5.1
Source0: %{name}-%{version}.tar.gz
# From HandBrake sources
Patch0: A01-hbmv-pgs.patch
BuildRequires: autoconf-common, automake-common, libtool-common
%description
This library is meant to be an alternative to the official libmatroska library.
It is written in plain C, and is intended to be very portable.
%prep
%setup -q -n saintdev-libmkv-d2906c0
%patch0 -p1 -b .hbmv_pgm
%build
# bug in autotools requires missing m4 directory
mkdir m4
autoreconf --verbose --force --install
%configure --disable-static
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
%files
%{_libdir}/libmkv.so.*
%doc AUTHORS COPYING README
%package devel
Summary: An alternative to the official libmatroska library - devel files
Group: Development/Other
Requires: %{name} = %{version}-%{release}
%description devel
This library is meant to be an alternative to the official libmatroska library.
It is writen in plain C, and is intended to be very portable. These are the
development files.
%files devel
%{_includedir}/libmkv.h
%{_libdir}/libmkv.so
%changelog
…
Полный changelog можно просмотреть здесь
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: libmkv
Version: 0.6.5.1
Release: alt2_10
Summary: An alternative to the official libmatroska library
Group: System/Libraries
License: GPLv2+
URL: https://github.com/saintdev/libmkv
# https://github.com/saintdev/libmkv/tarball/0.6.5.1
Source0: %{name}-%{version}.tar.gz
# From HandBrake sources
Patch0: A01-hbmv-pgs.patch
BuildRequires: autoconf-common, automake-common, libtool-common
%description
This library is meant to be an alternative to the official libmatroska library.
It is written in plain C, and is intended to be very portable.
%prep
%setup -q -n saintdev-libmkv-d2906c0
%patch0 -p1 -b .hbmv_pgm
%build
# bug in autotools requires missing m4 directory
mkdir m4
autoreconf --verbose --force --install
%configure --disable-static
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
%files
%{_libdir}/libmkv.so.*
%doc AUTHORS COPYING README
%package devel
Summary: An alternative to the official libmatroska library - devel files
Group: Development/Other
Requires: %{name} = %{version}-%{release}
%description devel
This library is meant to be an alternative to the official libmatroska library.
It is writen in plain C, and is intended to be very portable. These are the
development files.
%files devel
%{_includedir}/libmkv.h
%{_libdir}/libmkv.so
%changelog
…
Полный changelog можно просмотреть здесь