]>
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.12.1 | |
5 | Release: 1 | |
6 | License: MIT-like | |
7 | Group: Libraries | |
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 | |
13 | BuildRequires: enca-devel | |
14 | BuildRequires: fontconfig-devel >= 1:2.4.2 | |
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 | |
20 | BuildRequires: pkgconfig | |
21 | BuildRequires: tar >= 1:1.22 | |
22 | BuildRequires: xz | |
23 | Requires: fontconfig-libs >= 1:2.4.2 | |
24 | Requires: freetype >= 1:2.2.1 | |
25 | Requires: fribidi >= 0.19.0 | |
26 | Requires: harfbuzz >= 0.9.5 | |
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 | |
46 | Requires: fontconfig-devel >= 1:2.4.2 | |
47 | Requires: freetype-devel >= 1:2.2.1 | |
48 | Requires: fribidi-devel >= 0.19.0 | |
49 | Requires: harfbuzz-devel >= 0.9.5 | |
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 | |
75 | %{__libtoolize} | |
76 | %{__aclocal} -I m4 | |
77 | %{__autoconf} | |
78 | %{__autoheader} | |
79 | %{__automake} | |
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) | |
99 | %doc COPYING Changelog | |
100 | %attr(755,root,root) %{_libdir}/libass.so.*.*.* | |
101 | %attr(755,root,root) %ghost %{_libdir}/libass.so.5 | |
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 |