|
|
|
@ -1,65 +1,64 @@
|
|
|
|
|
Name: libass
|
|
|
|
|
Version: 0.13.4
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.14.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Portable library for SSA/ASS subtitles rendering
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
License: ISC
|
|
|
|
|
URL: https://github.com/libass
|
|
|
|
|
Source0: https://github.com/libass/libass/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: enca-devel
|
|
|
|
|
BuildRequires: fontconfig-devel
|
|
|
|
|
BuildRequires: fribidi-devel
|
|
|
|
|
BuildRequires: harfbuzz-devel >= 0.9.5
|
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
|
Source0: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: nasm
|
|
|
|
|
BuildRequires: pkgconfig(fontconfig) >= 2.10.92
|
|
|
|
|
BuildRequires: pkgconfig(freetype2) >= 9.10.3
|
|
|
|
|
BuildRequires: pkgconfig(fribidi) >= 0.19.0
|
|
|
|
|
BuildRequires: pkgconfig(harfbuzz) >= 0.9.5
|
|
|
|
|
BuildRequires: pkgconfig(libpng) >= 1.2.0
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Libass is a portable library for SSA/ASS subtitles rendering.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
%make_install
|
|
|
|
|
find %{buildroot} -name '*.la' -delete
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changelog COPYING
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc Changelog
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/libass.pc
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 14 2018 Simone Caronni <negativo17@gmail.com> - 0.14.0-1
|
|
|
|
|
- Update to 0.14.0 (fixes glyph bounding box size; this bug causes frames to
|
|
|
|
|
be dropped on 2160p+ displays, as this check is too small for resolutions
|
|
|
|
|
above 1440p).
|
|
|
|
|
- Revamp SPEC file.
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.4-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|