]>
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.10.0 | |
5 | Release: 1 | |
6 | License: MIT-like | |
7 | Group: Libraries | |
8 | #Source0Download: http://code.google.com/p/libass/downloads/list | |
9 | Source0: http://libass.googlecode.com/files/%{name}-%{version}.tar.xz | |
10 | # Source0-md5: 1855bddc4c167f96968dddeeda0eb45c | |
11 | URL: http://code.google.com/p/libass/ | |
12 | BuildRequires: enca-devel | |
13 | BuildRequires: fontconfig-devel >= 2.4.2 | |
14 | BuildRequires: fribidi-devel >= 0.19.0 | |
15 | BuildRequires: freetype-devel >= 1:2.4.0 | |
16 | # 0.7.0 is not released yet | |
17 | #BuildRequires: harfbuzz-devel >= 0.7.0 | |
18 | BuildRequires: pkgconfig | |
19 | BuildRequires: tar >= 1:1.22 | |
20 | BuildRequires: xz | |
21 | Requires: fontconfig-libs >= 2.4.2 | |
22 | Requires: fribidi >= 0.19.0 | |
23 | Requires: freetype >= 1:2.4.0 | |
24 | #Requires: harfbuzz >= 0.7.0 | |
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 | |
44 | Requires: fontconfig-devel >= 2.4.2 | |
45 | Requires: fribidi-devel >= 0.19.0 | |
46 | Requires: freetype-devel >= 1:2.4.0 | |
47 | #Requires: harfbuzz-devel >= 0.7.0 | |
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) | |
92 | %doc COPYING Changelog | |
93 | %attr(755,root,root) %{_libdir}/libass.so.*.*.* | |
94 | %attr(755,root,root) %ghost %{_libdir}/libass.so.4 | |
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 |