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
|
|
|
#
|
2013-10-21 10:59:37 +00:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2013-10-21 10:59:37 +00:00
|
|
|
%define soname 5
|
2009-08-13 21:05:49 +00:00
|
|
|
|
|
|
|
Name: libass
|
2013-10-21 10:59:37 +00:00
|
|
|
Version: 0.10.2
|
2011-11-01 20:51:07 +00:00
|
|
|
Release: 0
|
2009-08-13 21:05:49 +00:00
|
|
|
Summary: Portable Library for SSA/ASS Subtitles Rendering
|
2012-10-23 22:08:02 +00:00
|
|
|
License: ISC
|
2010-12-08 20:28:24 +00:00
|
|
|
Group: System/Libraries
|
2012-10-23 22:08:02 +00:00
|
|
|
Url: http://code.google.com/p/libass/
|
2011-07-17 06:15:04 +00:00
|
|
|
Source: http://libass.googlecode.com/files/%{name}-%{version}.tar.xz
|
2009-08-13 21:05:49 +00:00
|
|
|
BuildRequires: pkg-config
|
2011-07-17 06:15:04 +00:00
|
|
|
BuildRequires: xz
|
2011-11-01 20:51:07 +00:00
|
|
|
BuildRequires: pkgconfig(enca)
|
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
BuildRequires: pkgconfig(freetype2)
|
|
|
|
BuildRequires: pkgconfig(fribidi) >= 0.19.0
|
2009-08-13 21:05:49 +00:00
|
|
|
|
|
|
|
%description
|
2011-04-15 19:20:51 +00:00
|
|
|
libass is a portable subtitle renderer for the ASS/SSA
|
2011-11-01 20:51:07 +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
|
|
|
|
2011-11-01 20:51:07 +00:00
|
|
|
%package -n libass%{soname}
|
2009-08-13 21:05:49 +00:00
|
|
|
Summary: Portable Library for SSA/ASS Subtitles Rendering
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
2011-11-01 20:51:07 +00:00
|
|
|
%description -n libass%{soname}
|
2011-04-15 19:20:51 +00:00
|
|
|
libass is a portable subtitle renderer for the ASS/SSA
|
2011-11-01 20:51:07 +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
|
|
|
|
Summary: Portable Library for SSA/ASS Subtitles Rendering
|
|
|
|
Group: Development/Libraries/C and C++
|
2010-12-08 20:28:24 +00:00
|
|
|
Requires: glibc-devel
|
2011-11-01 20:51:07 +00:00
|
|
|
Requires: libass%{soname} = %{version}
|
2009-08-13 21:05:49 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package is needed if you want to develop / compile against libASS.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2010-12-08 20:28:24 +00:00
|
|
|
%configure --disable-silent-rules \
|
|
|
|
--disable-static
|
2011-11-01 20:51:07 +00:00
|
|
|
make %{?_smp_mflags}
|
2009-08-13 21:05:49 +00:00
|
|
|
|
|
|
|
%install
|
2011-11-01 20:51:07 +00:00
|
|
|
make DESTDIR='%{buildroot}' install
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2009-08-13 21:05:49 +00:00
|
|
|
|
2010-12-08 20:28:24 +00:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2011-11-01 20:51:07 +00:00
|
|
|
%post -n libass%{soname} -p /sbin/ldconfig
|
2009-08-13 21:05:49 +00:00
|
|
|
|
2011-11-01 20:51:07 +00:00
|
|
|
%postun -n libass%{soname} -p /sbin/ldconfig
|
2009-08-13 21:05:49 +00:00
|
|
|
|
2011-11-01 20:51:07 +00:00
|
|
|
%files -n libass%{soname}
|
2009-08-13 21:05:49 +00:00
|
|
|
%defattr(-, root, root)
|
2011-11-01 20:51:07 +00:00
|
|
|
%{_libdir}/*.so.%{soname}*
|
2009-08-13 21:05:49 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|