* Fix letter spacing * Add \rSTYLENAME syntax support (GC #43) * Fix border generation and border style reset (GC #56) * Fix various issues with bug-for-bug compatibility of transformations (\fax, \fay, etc.) to VSFilter (GC #46, GC #42) * Fix drawing parsing (GC #47) * Various fixes to shaper (GC #54, GC #55, GC#59) * Fix change detection * Add ass_set_line_position API to set a vertical subtitle offset * Fix scaling of drawing baseline offset (\pbo) values * Fix skipping of zero-width characters for FriBiDi shaper * Use LTR text base direction by default, similar to VSFilter OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=20
89 lines
2.5 KiB
RPMSpec
89 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package libass
|
|
#
|
|
# Copyright (c) 2012 SUSE LINUX Products 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 4
|
|
|
|
Name: libass
|
|
Version: 0.10.1
|
|
Release: 0
|
|
Summary: Portable Library for SSA/ASS Subtitles Rendering
|
|
License: ISC
|
|
Group: System/Libraries
|
|
Url: http://code.google.com/p/libass/
|
|
Source: http://libass.googlecode.com/files/%{name}-%{version}.tar.xz
|
|
BuildRequires: pkg-config
|
|
BuildRequires: xz
|
|
BuildRequires: pkgconfig(enca)
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
BuildRequires: pkgconfig(freetype2)
|
|
BuildRequires: pkgconfig(fribidi) >= 0.19.0
|
|
|
|
%description
|
|
libass is a portable subtitle renderer for the ASS/SSA
|
|
(Advanced Substation Alpha/Substation Alpha) subtitle
|
|
format. It is mostly compatible with VSFilter.
|
|
|
|
%package -n libass%{soname}
|
|
Summary: Portable Library for SSA/ASS Subtitles Rendering
|
|
Group: Development/Libraries/C and C++
|
|
|
|
%description -n libass%{soname}
|
|
libass is a portable subtitle renderer for the ASS/SSA
|
|
(Advanced Substation Alpha/Substation Alpha) subtitle
|
|
format. It is mostly compatible with VSFilter.
|
|
|
|
%package devel
|
|
Summary: Portable Library for SSA/ASS Subtitles Rendering
|
|
Group: Development/Libraries/C and C++
|
|
Requires: glibc-devel
|
|
Requires: libass%{soname} = %{version}
|
|
|
|
%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
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
%check
|
|
make check
|
|
|
|
%post -n libass%{soname} -p /sbin/ldconfig
|
|
|
|
%postun -n libass%{soname} -p /sbin/ldconfig
|
|
|
|
%files -n libass%{soname}
|
|
%defattr(-, root, root)
|
|
%{_libdir}/*.so.%{soname}*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{_includedir}/*
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|