2009-08-13 21:05:49 +00:00
|
|
|
#
|
2010-12-08 20:28:24 +00:00
|
|
|
# spec file for package libass (Version 0.9.11)
|
2009-08-13 21:05:49 +00:00
|
|
|
#
|
2010-02-24 01:15:05 +00:00
|
|
|
# Copyright (c) 2010 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: libass
|
2010-12-08 20:28:24 +00:00
|
|
|
Version: 0.9.11
|
|
|
|
Release: 1
|
|
|
|
License: GPLv2+
|
2009-08-13 21:05:49 +00:00
|
|
|
Summary: Portable Library for SSA/ASS Subtitles Rendering
|
2010-09-13 11:23:51 +00:00
|
|
|
Url: http://code.google.com/p/libass/
|
2010-12-08 20:28:24 +00:00
|
|
|
Group: System/Libraries
|
2009-08-13 21:05:49 +00:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2010-12-08 20:28:24 +00:00
|
|
|
BuildRequires: enca-devel
|
2009-08-13 21:05:49 +00:00
|
|
|
BuildRequires: fontconfig-devel
|
|
|
|
BuildRequires: freetype2-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Portable Library for SSA/ASS Subtitles Rendering.
|
|
|
|
|
|
|
|
%package -n libass4
|
2010-02-24 01:15:05 +00:00
|
|
|
License: GPLv2+
|
2009-08-13 21:05:49 +00:00
|
|
|
Summary: Portable Library for SSA/ASS Subtitles Rendering
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description -n libass4
|
|
|
|
Portable Library for SSA/ASS Subtitles Rendering.
|
|
|
|
|
|
|
|
%package devel
|
2010-02-24 01:15:05 +00:00
|
|
|
License: GPLv2+
|
2009-08-13 21:05:49 +00:00
|
|
|
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
|
|
|
|
Requires: libass4 = %{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
|
|
|
|
%{__make} %{?_smp_mflags}
|
2009-08-13 21:05:49 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%{__make} DESTDIR='%{buildroot}' install
|
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
2010-12-08 20:28:24 +00:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2009-08-13 21:05:49 +00:00
|
|
|
%post -n libass4 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libass4 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libass4
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/*.so.4*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|