From c1396f3526ac423c5422354c42c25b06cd373a58 Mon Sep 17 00:00:00 2001 From: Martin Sourada Date: Tue, 24 Mar 2009 17:52:39 +0000 Subject: [PATCH] Initial import (rhbz #491550). --- .cvsignore | 1 + import.log | 1 + libass.spec | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 81 insertions(+) create mode 100644 import.log create mode 100644 libass.spec diff --git a/.cvsignore b/.cvsignore index e69de29..b3f29f0 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libass-0.9.6.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..acdfa77 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +libass-0_9_6-2_fc10:HEAD:libass-0.9.6-2.fc10.src.rpm:1237917106 diff --git a/libass.spec b/libass.spec new file mode 100644 index 0000000..b4d80ca --- /dev/null +++ b/libass.spec @@ -0,0 +1,78 @@ +Name: libass +Version: 0.9.6 +Release: 2%{?dist} +Summary: Portable library for SSA/ASS subtitles rendering + +Group: System Environment/Libraries +License: GPLv2+ +URL: http://sourceforge.net/projects/libass +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libpng-devel +BuildRequires: enca-devel +BuildRequires: fontconfig-devel + + +%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: pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +%configure --disable-static +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc Changelog COPYING +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/libass.pc + +%changelog +* Tue Mar 24 2008 Martin Sourada - 0.9.6-2 +- remove glibc-devel and freetype-devel BRs, they're already pulled in by the + rest + +* Sun Mar 22 2008 Martin Sourada - 0.9.6-1 +- update to newever version +- drop %%doc from -devel +- update source url to conform with fedora packaging guidelines + +* Sun Mar 22 2008 Martin Sourada - 0.9.5-1 +- Initial rpm package diff --git a/sources b/sources index e69de29..361badc 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +58d9fa08eedc27edae05b53288025370 libass-0.9.6.tar.bz2