]>
Commit | Line | Data |
---|---|---|
1 | Summary: LibASS - SSA/ASS subtitles rendering library | |
2 | Summary(pl.UTF-8): LibASS - biblioteka renderująca napisy SSA/ASS | |
3 | Name: libass | |
4 | Version: 0.13.6 | |
5 | Release: 1 | |
6 | License: MIT-like | |
7 | Group: Libraries | |
8 | #Source0Download: https://github.com/libass/libass/releases | |
9 | Source0: https://github.com/libass/libass/releases/download/%{version}/%{name}-%{version}.tar.xz | |
10 | # Source0-md5: daa6cfca437c0776af5f79750cdd9b4e | |
11 | URL: https://github.com/libass/libass/ | |
12 | BuildRequires: autoconf >= 2.50 | |
13 | BuildRequires: automake | |
14 | BuildRequires: fontconfig-devel >= 1:2.10.92 | |
15 | BuildRequires: fribidi-devel >= 0.19.0 | |
16 | # pkgconfig(freetype2) >= 9.10.3 | |
17 | BuildRequires: freetype-devel >= 1:2.2.1 | |
18 | BuildRequires: harfbuzz-devel >= 0.9.5 | |
19 | BuildRequires: libtool >= 2:2 | |
20 | BuildRequires: pkgconfig | |
21 | BuildRequires: tar >= 1:1.22 | |
22 | BuildRequires: xz | |
23 | %ifarch %{ix86} %{x8664} x32 | |
24 | BuildRequires: yasm >= 1.3.0 | |
25 | %endif | |
26 | Requires: fontconfig-libs >= 1:2.10.92 | |
27 | Requires: freetype >= 1:2.2.1 | |
28 | Requires: fribidi >= 0.19.0 | |
29 | Requires: harfbuzz >= 0.9.5 | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
33 | LibASS is a portable subtitle renderer for the ASS/SSA (Advanced | |
34 | Substation Alpha/Substation Alpha) subtitle format. It is mostly | |
35 | compatible with VSFilter. | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | LibASS to przenośna biblioteka renderująca napisy w formacie ASS/SSA | |
39 | (Advanced Substation Alpha/Substation Alpha). Jest w większości | |
40 | kompatybilna z VSFiltrem. | |
41 | ||
42 | %package devel | |
43 | Summary: Header files for LibASS library | |
44 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki LibASS | |
45 | Group: Development/Libraries | |
46 | Requires: %{name} = %{version}-%{release} | |
47 | Requires: fontconfig-devel >= 1:2.10.92 | |
48 | Requires: freetype-devel >= 1:2.2.1 | |
49 | Requires: fribidi-devel >= 0.19.0 | |
50 | Requires: harfbuzz-devel >= 0.9.5 | |
51 | ||
52 | %description devel | |
53 | This package contains the header files for developing applications | |
54 | that use LibASS library. | |
55 | ||
56 | %description devel -l pl.UTF-8 | |
57 | Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji | |
58 | wykorzystujących bibliotekę LibASS. | |
59 | ||
60 | %package static | |
61 | Summary: Static LibASS library | |
62 | Summary(pl.UTF-8): Statyczna biblioteka LibASS | |
63 | Group: Development/Libraries | |
64 | Requires: %{name}-devel = %{version}-%{release} | |
65 | ||
66 | %description static | |
67 | Static LibASS library. | |
68 | ||
69 | %description static -l pl.UTF-8 | |
70 | Statyczna biblioteka LibASS. | |
71 | ||
72 | %prep | |
73 | %setup -q | |
74 | ||
75 | %build | |
76 | %{__libtoolize} | |
77 | %{__aclocal} -I m4 | |
78 | %{__autoconf} | |
79 | %{__autoheader} | |
80 | %{__automake} | |
81 | %configure \ | |
82 | --disable-silent-rules | |
83 | ||
84 | %{__make} | |
85 | ||
86 | %install | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %{__make} install \ | |
90 | DESTDIR=$RPM_BUILD_ROOT | |
91 | ||
92 | # obsoleted by pkg-config | |
93 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libass.la | |
94 | ||
95 | %clean | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %post -p /sbin/ldconfig | |
99 | %postun -p /sbin/ldconfig | |
100 | ||
101 | %files | |
102 | %defattr(644,root,root,755) | |
103 | %doc COPYING Changelog | |
104 | %attr(755,root,root) %{_libdir}/libass.so.*.*.* | |
105 | %attr(755,root,root) %ghost %{_libdir}/libass.so.9 | |
106 | ||
107 | %files devel | |
108 | %defattr(644,root,root,755) | |
109 | %attr(755,root,root) %{_libdir}/libass.so | |
110 | %{_includedir}/ass | |
111 | %{_pkgconfigdir}/libass.pc | |
112 | ||
113 | %files static | |
114 | %defattr(644,root,root,755) | |
115 | %{_libdir}/libass.a |