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