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