]>
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 | |
2485a14f | 4 | Version: 0.16.0 |
6d229e9e | 5 | Release: 1 |
012f0c52 | 6 | License: MIT-like |
b9fc0da1 | 7 | Group: Libraries |
6d229e9e | 8 | #Source0Download: https://github.com/libass/libass/releases |
cfe7bfd4 | 9 | Source0: https://github.com/libass/libass/releases/download/%{version}/%{name}-%{version}.tar.xz |
2485a14f | 10 | # Source0-md5: a2427d53de938d9b3ea74a84e3749322 |
5e58a9c8 | 11 | URL: https://github.com/libass/libass/ |
cfe7bfd4 | 12 | BuildRequires: autoconf >= 2.50 |
5e58a9c8 | 13 | BuildRequires: automake |
6d229e9e | 14 | BuildRequires: fontconfig-devel >= 1:2.10.92 |
2485a14f JP |
15 | BuildRequires: fribidi-devel >= 0.19.1 |
16 | # pkgconfig(freetype2) >= 9.17.3 | |
17 | BuildRequires: freetype-devel >= 1:2.3.6 | |
02cde84a | 18 | BuildRequires: harfbuzz-devel >= 1.2.3 |
cfe7bfd4 | 19 | BuildRequires: libtool >= 2:2 |
4a216441 JB |
20 | %ifarch %{ix86} %{x8664} x32 |
21 | BuildRequires: nasm | |
22 | %endif | |
b9fc0da1 | 23 | BuildRequires: pkgconfig |
50411762 JB |
24 | BuildRequires: tar >= 1:1.22 |
25 | BuildRequires: xz | |
6d229e9e | 26 | Requires: fontconfig-libs >= 1:2.10.92 |
2485a14f JP |
27 | Requires: freetype >= 1:2.3.6 |
28 | Requires: fribidi >= 0.19.1 | |
02cde84a | 29 | Requires: harfbuzz >= 1.2.3 |
b9fc0da1 JB |
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 | ||
b9fc0da1 JB |
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} | |
6d229e9e | 47 | Requires: fontconfig-devel >= 1:2.10.92 |
2485a14f JP |
48 | Requires: freetype-devel >= 1:2.3.6 |
49 | Requires: fribidi-devel >= 0.19.1 | |
02cde84a | 50 | Requires: harfbuzz-devel >= 1.2.3 |
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 | ||
75 | %build | |
5e58a9c8 JP |
76 | %{__libtoolize} |
77 | %{__aclocal} -I m4 | |
78 | %{__autoconf} | |
79 | %{__autoheader} | |
80 | %{__automake} | |
b9fc0da1 JB |
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 | ||
cfe7bfd4 JB |
92 | # obsoleted by pkg-config |
93 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libass.la | |
94 | ||
b9fc0da1 JB |
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) | |
012f0c52 | 103 | %doc COPYING Changelog |
b9fc0da1 | 104 | %attr(755,root,root) %{_libdir}/libass.so.*.*.* |
66aba02d | 105 | %attr(755,root,root) %ghost %{_libdir}/libass.so.9 |
b9fc0da1 JB |
106 | |
107 | %files devel | |
108 | %defattr(644,root,root,755) | |
109 | %attr(755,root,root) %{_libdir}/libass.so | |
b9fc0da1 JB |
110 | %{_includedir}/ass |
111 | %{_pkgconfigdir}/libass.pc | |
112 | ||
113 | %files static | |
114 | %defattr(644,root,root,755) | |
115 | %{_libdir}/libass.a |