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