]>
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 JP |
4 | Version: 0.12.1 |
5 | Release: 1 | |
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 | |
3ad62237 | 23 | Requires: fontconfig-libs >= 1:2.4.2 |
86f88999 | 24 | Requires: freetype >= 1:2.2.1 |
5e58a9c8 | 25 | Requires: fribidi >= 0.19.0 |
f8fdb212 | 26 | Requires: harfbuzz >= 0.9.5 |
b9fc0da1 JB |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | LibASS is a portable subtitle renderer for the ASS/SSA (Advanced | |
31 | Substation Alpha/Substation Alpha) subtitle format. It is mostly | |
32 | compatible with VSFilter. | |
33 | ||
34 | ||
35 | %description -l pl.UTF-8 | |
36 | LibASS to przenośna biblioteka renderująca napisy w formacie ASS/SSA | |
37 | (Advanced Substation Alpha/Substation Alpha). Jest w większości | |
38 | kompatybilna z VSFiltrem. | |
39 | ||
40 | %package devel | |
41 | Summary: Header files for LibASS library | |
42 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki LibASS | |
43 | Group: Development/Libraries | |
44 | Requires: %{name} = %{version}-%{release} | |
45 | Requires: enca-devel | |
3ad62237 | 46 | Requires: fontconfig-devel >= 1:2.4.2 |
86f88999 | 47 | Requires: freetype-devel >= 1:2.2.1 |
5e58a9c8 | 48 | Requires: fribidi-devel >= 0.19.0 |
f8fdb212 | 49 | Requires: harfbuzz-devel >= 0.9.5 |
b9fc0da1 JB |
50 | |
51 | %description devel | |
52 | This package contains the header files for developing applications | |
53 | that use LibASS library. | |
54 | ||
55 | %description devel -l pl.UTF-8 | |
56 | Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji | |
57 | wykorzystujących bibliotekę LibASS. | |
58 | ||
59 | %package static | |
60 | Summary: Static LibASS library | |
61 | Summary(pl.UTF-8): Statyczna biblioteka LibASS | |
62 | Group: Development/Libraries | |
63 | Requires: %{name}-devel = %{version}-%{release} | |
64 | ||
65 | %description static | |
66 | Static LibASS library. | |
67 | ||
68 | %description static -l pl.UTF-8 | |
69 | Statyczna biblioteka LibASS. | |
70 | ||
71 | %prep | |
72 | %setup -q | |
73 | ||
74 | %build | |
5e58a9c8 JP |
75 | %{__libtoolize} |
76 | %{__aclocal} -I m4 | |
77 | %{__autoconf} | |
78 | %{__autoheader} | |
79 | %{__automake} | |
b9fc0da1 JB |
80 | %configure \ |
81 | --disable-silent-rules | |
82 | ||
83 | %{__make} | |
84 | ||
85 | %install | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %{__make} install \ | |
89 | DESTDIR=$RPM_BUILD_ROOT | |
90 | ||
91 | %clean | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %post -p /sbin/ldconfig | |
95 | %postun -p /sbin/ldconfig | |
96 | ||
97 | %files | |
98 | %defattr(644,root,root,755) | |
012f0c52 | 99 | %doc COPYING Changelog |
b9fc0da1 | 100 | %attr(755,root,root) %{_libdir}/libass.so.*.*.* |
3ad62237 | 101 | %attr(755,root,root) %ghost %{_libdir}/libass.so.5 |
b9fc0da1 JB |
102 | |
103 | %files devel | |
104 | %defattr(644,root,root,755) | |
105 | %attr(755,root,root) %{_libdir}/libass.so | |
106 | %{_libdir}/libass.la | |
107 | %{_includedir}/ass | |
108 | %{_pkgconfigdir}/libass.pc | |
109 | ||
110 | %files static | |
111 | %defattr(644,root,root,755) | |
112 | %{_libdir}/libass.a |