diff --git a/libass-0.14.0.tar.xz b/libass-0.14.0.tar.xz new file mode 100644 index 0000000..33695cf Binary files /dev/null and b/libass-0.14.0.tar.xz differ diff --git a/libass.spec b/libass.spec new file mode 100644 index 0000000..867a073 --- /dev/null +++ b/libass.spec @@ -0,0 +1,60 @@ +Name: libass +Version: 0.14.0 +Release: 3 +Summary: Portable subtitle renderer for the ASS/SSA subtitle format +License: ISC +URL: https://github.com/libass + +Source0: https://github.com/libass/libass/releases/download/%{version}/libass-%{version}.tar.xz + +BuildRequires: gcc nasm pkgconfig(fontconfig) >= 2.10.92 pkgconfig(freetype2) >= 9.10.3 +BuildRequires: pkgconfig(fribidi) >= 0.19.0 pkgconfig(harfbuzz) >= 0.9.5 pkgconfig(libpng) >= 1.2.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 devel +Summary: Development files for libass +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: pkgconfig + +%description devel +The package contains libraries and header files for developing of libass applications. + +%package_help + +%prep +%autosetup + +%build +%configure +%make_build + +%install +%make_install +%delete_la_and_a + +%check +make check + +%ldconfig_scriptlets + +%files +%defattr(-,root,root) +%license COPYING +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root) +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/libass.pc + +%files help +%defattr(-,root,root) +%doc Changelog + +%changelog +* Wed Dec 4 2019 openEuler Buildteam - 0.14.0-3 +- Package init