diff --git a/README.md b/README.md index cde7848..033ba8f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # libass +libass is a portable subtitle renderer for the ASS/SSA +(Advanced Substation Alpha/Substation Alpha) subtitle format. +It is mostly compatible with VSFilter. + diff --git a/libass.spec b/libass.spec new file mode 100644 index 0000000..cbfc799 --- /dev/null +++ b/libass.spec @@ -0,0 +1,94 @@ +Name: libass +Version: 0.9.11 +Release: 2mamba +Summary: Portable Advanced Substation Alpha/Substation Alpha subtitle renderer +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: gil +URL: http://code.google.com/p/libass/ +Source: http://libass.googlecode.com/files/libass-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: enca-devel +BuildRequires: glibc-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: libpng-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 +Group: Development/Libraries +Summary: Libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +libass is a portable subtitle renderer for the ASS/SSA +(Advanced Substation Alpha/Substation Alpha) subtitle format. + +This package contains libraries and header files need for development. + +%package static +Group: Development/Libraries +Summary: Static libraries for %{name} +Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} + +%description static +libass is a portable subtitle renderer for the ASS/SSA +(Advanced Substation Alpha/Substation Alpha) subtitle format. + +This package contains static libraries need for development. + +%prep + +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libass.so.* +%doc Changelog COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/ass +%{_includedir}/ass/ass*.h +%{_libdir}/libass.so +%{_libdir}/pkgconfig/libass.pc + +%files static +%defattr(-,root,root) +%{_libdir}/libass.*a + +%changelog +* Mon Dec 27 2010 Silvan Calarco 0.9.11-2mamba +- automatic port from devel-gil + +* Mon Dec 20 2010 gil 0.9.11-1mamba +- update to 0.9.11 + +* Tue Jun 08 2010 gil 0.9.8-2mamba +- rebuilt (milestone 1) + +* Tue Jan 05 2010 gil 0.9.8-1mamba +- package created by autospec