2009-08-13 21:05:49 +00:00
|
|
|
#
|
2011-04-15 19:20:51 +00:00
|
|
|
# spec file for package libass
|
2009-08-13 21:05:49 +00:00
|
|
|
#
|
2020-12-01 09:55:17 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2009-08-13 21:05:49 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-12-01 09:55:17 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-08-13 21:05:49 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-02-21 15:44:18 +00:00
|
|
|
%define sover 9
|
2009-08-13 21:05:49 +00:00
|
|
|
Name: libass
|
2020-12-01 09:55:17 +00:00
|
|
|
Version: 0.15.0
|
2011-11-01 20:51:07 +00:00
|
|
|
Release: 0
|
2015-12-30 09:33:03 +00:00
|
|
|
Summary: Library for SSA/ASS-formatted subtitle rendering
|
2012-10-23 22:08:02 +00:00
|
|
|
License: ISC
|
2015-12-07 20:36:39 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-12-01 09:55:17 +00:00
|
|
|
URL: https://github.com/libass/libass
|
2015-01-30 12:57:45 +00:00
|
|
|
Source: https://github.com/libass/libass/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source99: baselibs.conf
|
2017-12-04 08:56:09 +00:00
|
|
|
BuildRequires: nasm
|
2017-02-21 15:44:18 +00:00
|
|
|
BuildRequires: pkgconfig
|
2015-12-17 11:45:38 +00:00
|
|
|
BuildRequires: pkgconfig(fontconfig) >= 2.10.92
|
2014-10-05 18:31:23 +00:00
|
|
|
BuildRequires: pkgconfig(freetype2) >= 9.10.3
|
2011-11-01 20:51:07 +00:00
|
|
|
BuildRequires: pkgconfig(fribidi) >= 0.19.0
|
2017-12-04 08:56:09 +00:00
|
|
|
BuildRequires: pkgconfig(harfbuzz) >= 0.9.5
|
2009-08-13 21:05:49 +00:00
|
|
|
|
|
|
|
%description
|
2015-12-30 09:33:03 +00:00
|
|
|
libass is a subtitle renderer for the ASS/SSA
|
2015-12-07 20:36:39 +00:00
|
|
|
(Advanced Substation Alpha/Substation Alpha) subtitle
|
2011-04-15 19:20:51 +00:00
|
|
|
format. It is mostly compatible with VSFilter.
|
2009-08-13 21:05:49 +00:00
|
|
|
|
2017-02-21 15:44:18 +00:00
|
|
|
%package -n libass%{sover}
|
2015-12-30 09:33:03 +00:00
|
|
|
Summary: Library for SSA/ASS-formatted subtitle rendering
|
2015-12-07 20:36:39 +00:00
|
|
|
Group: System/Libraries
|
2009-08-13 21:05:49 +00:00
|
|
|
|
2017-02-21 15:44:18 +00:00
|
|
|
%description -n libass%{sover}
|
2015-12-30 09:33:03 +00:00
|
|
|
libass is a subtitle renderer for the ASS/SSA
|
2015-12-07 20:36:39 +00:00
|
|
|
(Advanced Substation Alpha/Substation Alpha) subtitle
|
2011-04-15 19:20:51 +00:00
|
|
|
format. It is mostly compatible with VSFilter.
|
2009-08-13 21:05:49 +00:00
|
|
|
|
|
|
|
%package devel
|
2015-12-30 09:33:03 +00:00
|
|
|
Summary: Development files for libass, a subtitle rendering library
|
2009-08-13 21:05:49 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2010-12-08 20:28:24 +00:00
|
|
|
Requires: glibc-devel
|
2017-02-21 15:44:18 +00:00
|
|
|
Requires: libass%{sover} = %{version}
|
2014-10-05 18:31:23 +00:00
|
|
|
Requires: pkgconfig(fontconfig)
|
|
|
|
Requires: pkgconfig(freetype2) >= 9.10.3
|
|
|
|
Requires: pkgconfig(fribidi) >= 0.19.0
|
2016-10-05 08:51:00 +00:00
|
|
|
Requires: pkgconfig(harfbuzz)
|
2009-08-13 21:05:49 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package is needed if you want to develop / compile against libASS.
|
|
|
|
|
|
|
|
%prep
|
2020-12-01 09:55:17 +00:00
|
|
|
%autosetup
|
2009-08-13 21:05:49 +00:00
|
|
|
|
|
|
|
%build
|
2015-11-23 08:03:57 +00:00
|
|
|
%configure \
|
2017-02-21 15:44:18 +00:00
|
|
|
--disable-silent-rules \
|
|
|
|
--disable-static
|
2020-12-01 09:55:17 +00:00
|
|
|
%make_build
|
2009-08-13 21:05:49 +00:00
|
|
|
|
|
|
|
%install
|
2017-02-21 15:44:18 +00:00
|
|
|
%make_install
|
2015-11-23 08:03:57 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2009-08-13 21:05:49 +00:00
|
|
|
|
2010-12-08 20:28:24 +00:00
|
|
|
%check
|
2015-11-23 08:03:57 +00:00
|
|
|
make %{?_smp_mflags} check
|
2010-12-08 20:28:24 +00:00
|
|
|
|
2017-02-21 15:44:18 +00:00
|
|
|
%post -n libass%{sover} -p /sbin/ldconfig
|
|
|
|
%postun -n libass%{sover} -p /sbin/ldconfig
|
2009-08-13 21:05:49 +00:00
|
|
|
|
2017-02-21 15:44:18 +00:00
|
|
|
%files -n libass%{sover}
|
|
|
|
%{_libdir}/libass.so.%{sover}*
|
2009-08-13 21:05:49 +00:00
|
|
|
|
|
|
|
%files devel
|
2016-02-25 19:11:26 +00:00
|
|
|
%{_includedir}/ass
|
|
|
|
%{_libdir}/libass.so
|
|
|
|
%{_libdir}/pkgconfig/libass.pc
|
2009-08-13 21:05:49 +00:00
|
|
|
|
|
|
|
%changelog
|