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