- updated to 0.10.0
[packages/libass.git] / libass.spec
CommitLineData
b9fc0da1
JB
1Summary: LibASS - SSA/ASS subtitles rendering library
2Summary(pl.UTF-8): LibASS - biblioteka renderująca napisy SSA/ASS
3Name: libass
012f0c52 4Version: 0.10.0
b9fc0da1 5Release: 1
012f0c52 6License: MIT-like
b9fc0da1
JB
7Group: Libraries
8#Source0Download: http://code.google.com/p/libass/downloads/list
50411762 9Source0: http://libass.googlecode.com/files/%{name}-%{version}.tar.xz
012f0c52 10# Source0-md5: 1855bddc4c167f96968dddeeda0eb45c
b9fc0da1
JB
11URL: http://code.google.com/p/libass/
12BuildRequires: enca-devel
13BuildRequires: fontconfig-devel >= 2.4.2
012f0c52 14BuildRequires: fribidi-devel >= 0.19.0
b9fc0da1 15BuildRequires: freetype-devel >= 1:2.4.0
012f0c52
JB
16# 0.7.0 is not released yet
17#BuildRequires: harfbuzz-devel >= 0.7.0
b9fc0da1 18BuildRequires: pkgconfig
50411762
JB
19BuildRequires: tar >= 1:1.22
20BuildRequires: xz
b9fc0da1 21Requires: fontconfig-libs >= 2.4.2
012f0c52 22Requires: fribidi >= 0.19.0
b9fc0da1 23Requires: freetype >= 1:2.4.0
012f0c52 24#Requires: harfbuzz >= 0.7.0
b9fc0da1
JB
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28LibASS is a portable subtitle renderer for the ASS/SSA (Advanced
29Substation Alpha/Substation Alpha) subtitle format. It is mostly
30compatible with VSFilter.
31
32
33%description -l pl.UTF-8
34LibASS to przenośna biblioteka renderująca napisy w formacie ASS/SSA
35(Advanced Substation Alpha/Substation Alpha). Jest w większości
36kompatybilna z VSFiltrem.
37
38%package devel
39Summary: Header files for LibASS library
40Summary(pl.UTF-8): Pliki nagłówkowe biblioteki LibASS
41Group: Development/Libraries
42Requires: %{name} = %{version}-%{release}
43Requires: enca-devel
44Requires: fontconfig-devel >= 2.4.2
012f0c52 45Requires: fribidi-devel >= 0.19.0
b9fc0da1 46Requires: freetype-devel >= 1:2.4.0
012f0c52 47#Requires: harfbuzz-devel >= 0.7.0
b9fc0da1
JB
48
49%description devel
50This package contains the header files for developing applications
51that use LibASS library.
52
53%description devel -l pl.UTF-8
54Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
55wykorzystujących bibliotekę LibASS.
56
57%package static
58Summary: Static LibASS library
59Summary(pl.UTF-8): Statyczna biblioteka LibASS
60Group: Development/Libraries
61Requires: %{name}-devel = %{version}-%{release}
62
63%description static
64Static LibASS library.
65
66%description static -l pl.UTF-8
67Statyczna biblioteka LibASS.
68
69%prep
70%setup -q
71
72%build
73%configure \
74 --disable-silent-rules
75
76%{__make}
77
78%install
79rm -rf $RPM_BUILD_ROOT
80
81%{__make} install \
82 DESTDIR=$RPM_BUILD_ROOT
83
84%clean
85rm -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
JB
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
This page took 0.23889 seconds and 4 git commands to generate.