libass/libass.spec
Ismail Dönmez 674a2260ff Accepting request 361475 from home:pluskalm:branches:multimedia:libs
- Update to 0.13.2
  * Add ass_set_check_readorder() API function to disable use of 
    the ReadOrder field for duplicate checking in 
    ass_process_chunk().
  * ass_step_sub(track, now, 0) now finds the start of the subtitle 
    at now.
  * Bug fixes:
    + Fix an issue with the new duplicate checking, which could 
      lead to missing subtitles after seeking.
    + Fix a crash with Core Text under specific circumstances.

OBS-URL: https://build.opensuse.org/request/show/361475
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=39
2016-02-25 19:11:26 +00:00

94 lines
2.8 KiB
RPMSpec

#
# spec file for package libass
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define soname 5
Name: libass
Version: 0.13.2
Release: 0
Summary: Library for SSA/ASS-formatted subtitle rendering
License: ISC
Group: Development/Libraries/C and C++
Url: https://github.com/libass/libass
Source: https://github.com/libass/libass/releases/download/%{version}/%{name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: pkg-config
BuildRequires: xz
BuildRequires: yasm
BuildRequires: pkgconfig(fontconfig) >= 2.10.92
BuildRequires: pkgconfig(freetype2) >= 9.10.3
BuildRequires: pkgconfig(fribidi) >= 0.19.0
BuildRequires: pkgconfig(harfbuzz)
%description
libass is a subtitle renderer for the ASS/SSA
(Advanced Substation Alpha/Substation Alpha) subtitle
format. It is mostly compatible with VSFilter.
%package -n libass%{soname}
Summary: Library for SSA/ASS-formatted subtitle rendering
Group: System/Libraries
%description -n libass%{soname}
libass is a subtitle renderer for the ASS/SSA
(Advanced Substation Alpha/Substation Alpha) subtitle
format. It is mostly compatible with VSFilter.
%package devel
Summary: Development files for libass, a subtitle rendering library
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libass%{soname} = %{version}
Requires: pkgconfig(enca)
Requires: pkgconfig(fontconfig)
Requires: pkgconfig(freetype2) >= 9.10.3
Requires: pkgconfig(fribidi) >= 0.19.0
%description devel
This package is needed if you want to develop / compile against libASS.
%prep
%setup -q
%build
%configure \
--disable-silent-rules \
--disable-static
make %{?_smp_mflags}
%install
make DESTDIR='%{buildroot}' install
find %{buildroot} -type f -name "*.la" -delete -print
%check
make %{?_smp_mflags} check
%post -n libass%{soname} -p /sbin/ldconfig
%postun -n libass%{soname} -p /sbin/ldconfig
%files -n libass%{soname}
%defattr(-, root, root)
%{_libdir}/libass.so.%{soname}*
%files devel
%defattr(-, root, root)
%{_includedir}/ass
%{_libdir}/libass.so
%{_libdir}/pkgconfig/libass.pc
%changelog