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