]>
Commit | Line | Data |
---|---|---|
b9fc0da1 JB |
1 | Summary: LibASS - SSA/ASS subtitles rendering library |
2 | Summary(pl.UTF-8): LibASS - biblioteka renderująca napisy SSA/ASS | |
3 | Name: libass | |
5e58a9c8 | 4 | Version: 0.12.1 |
84ce0872 | 5 | Release: 3 |
012f0c52 | 6 | License: MIT-like |
b9fc0da1 | 7 | Group: Libraries |
5e58a9c8 JP |
8 | Source0: http://github.com/libass/libass/releases/download/%{version}/%{name}-%{version}.tar.xz |
9 | # Source0-md5: dfdcd8b4fbb6a8211db8040b10aa2070 | |
10 | URL: https://github.com/libass/libass/ | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
b9fc0da1 | 13 | BuildRequires: enca-devel |
3ad62237 | 14 | BuildRequires: fontconfig-devel >= 1:2.4.2 |
012f0c52 | 15 | BuildRequires: fribidi-devel >= 0.19.0 |
86f88999 JB |
16 | # pkgconfig(freetype2) >= 9.10.3 |
17 | BuildRequires: freetype-devel >= 1:2.2.1 | |
f8fdb212 | 18 | BuildRequires: harfbuzz-devel >= 0.9.5 |
5e58a9c8 | 19 | BuildRequires: libtool |
b9fc0da1 | 20 | BuildRequires: pkgconfig |
50411762 JB |
21 | BuildRequires: tar >= 1:1.22 |
22 | BuildRequires: xz | |
2da258ee | 23 | BuildRequires: yasm >= 1.3.0 |
3ad62237 | 24 | Requires: fontconfig-libs >= 1:2.4.2 |
86f88999 | 25 | Requires: freetype >= 1:2.2.1 |
5e58a9c8 | 26 | Requires: fribidi >= 0.19.0 |
f8fdb212 | 27 | Requires: harfbuzz >= 0.9.5 |
b9fc0da1 JB |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
31 | LibASS is a portable subtitle renderer for the ASS/SSA (Advanced | |
32 | Substation Alpha/Substation Alpha) subtitle format. It is mostly | |
33 | compatible with VSFilter. | |
34 | ||
35 | ||
36 | %description -l pl.UTF-8 | |
37 | LibASS to przenośna biblioteka renderująca napisy w formacie ASS/SSA | |
38 | (Advanced Substation Alpha/Substation Alpha). Jest w większości | |
39 | kompatybilna z VSFiltrem. | |
40 | ||
41 | %package devel | |
42 | Summary: Header files for LibASS library | |
43 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki LibASS | |
44 | Group: Development/Libraries | |
45 | Requires: %{name} = %{version}-%{release} | |
46 | Requires: enca-devel | |
3ad62237 | 47 | Requires: fontconfig-devel >= 1:2.4.2 |
86f88999 | 48 | Requires: freetype-devel >= 1:2.2.1 |
5e58a9c8 | 49 | Requires: fribidi-devel >= 0.19.0 |
f8fdb212 | 50 | Requires: harfbuzz-devel >= 0.9.5 |
b9fc0da1 JB |
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 | ||
84ce0872 JR |
75 | %ifarch x32 |
76 | %{__sed} -i -e 's|-f elf |-f elfx32 |' configure.ac | |
77 | %endif | |
78 | ||
b9fc0da1 | 79 | %build |
5e58a9c8 JP |
80 | %{__libtoolize} |
81 | %{__aclocal} -I m4 | |
82 | %{__autoconf} | |
83 | %{__autoheader} | |
84 | %{__automake} | |
b9fc0da1 JB |
85 | %configure \ |
86 | --disable-silent-rules | |
87 | ||
88 | %{__make} | |
89 | ||
90 | %install | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %{__make} install \ | |
94 | DESTDIR=$RPM_BUILD_ROOT | |
95 | ||
96 | %clean | |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
99 | %post -p /sbin/ldconfig | |
100 | %postun -p /sbin/ldconfig | |
101 | ||
102 | %files | |
103 | %defattr(644,root,root,755) | |
012f0c52 | 104 | %doc COPYING Changelog |
b9fc0da1 | 105 | %attr(755,root,root) %{_libdir}/libass.so.*.*.* |
3ad62237 | 106 | %attr(755,root,root) %ghost %{_libdir}/libass.so.5 |
b9fc0da1 JB |
107 | |
108 | %files devel | |
109 | %defattr(644,root,root,755) | |
110 | %attr(755,root,root) %{_libdir}/libass.so | |
111 | %{_libdir}/libass.la | |
112 | %{_includedir}/ass | |
113 | %{_pkgconfigdir}/libass.pc | |
114 | ||
115 | %files static | |
116 | %defattr(644,root,root,755) | |
117 | %{_libdir}/libass.a |