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