]> git.pld-linux.org Git - packages/aegisub.git/blob - aegisub.spec
new, version 3.2.0
[packages/aegisub.git] / aegisub.spec
1 # TODO
2 # - needs wx-config to build with wxWidgets
3
4 # Conditional build:
5 %bcond_with             ffms2
6
7 Summary:        Subtitle editor
8 Name:           aegisub
9 Version:        3.2.0
10 Release:        0.1
11 License:        BSD
12 Group:          X11/Applications
13 Source0:        http://ftp.aegisub.org/pub/releases/%{name}-%{version}.tar.xz
14 # Source0-md5:  914685eb87daf230ac8856ed81479b43
15 URL:            http://www.aegisub.net/
16 BuildRequires:  Mesa-libGL-devel
17 BuildRequires:  alsa-lib-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  boost-devel >= 1.50
21 BuildRequires:  fftw3-devel >= 3.3
22 BuildRequires:  fontconfig-devel >= 1:2.4
23 BuildRequires:  hunspell-devel >= 1.2.0
24 BuildRequires:  intltool
25 BuildRequires:  libass-devel
26 BuildRequires:  libstdc++-devel
27 BuildRequires:  lua51-devel
28 BuildRequires:  pkg-config >= 0.20
29 BuildRequires:  pulseaudio-devel >= 0.5
30 BuildRequires:  tar >= 1:1.22
31 BuildRequires:  wxWidgets-devel >= 2.9.5
32 BuildRequires:  xz
33 BuildRequires:  zlib-devel
34 %if %{with ffms2}
35 BuildRequires:  pkgconfig(ffms2)
36 %endif
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 Aegisub is an advanced subtitle editor for Windows, and UNIX-like
41 systems, such as Linux, Mac OS X and BSD. It is open source software
42 and free for any use.
43
44 Aegisub natively works with the Advanced SubStation Alpha format
45 (aptly abbreviated ASS) which allows for many advanced effects in the
46 subtitles, apart from just basic timed text. Aegisubs goal is to
47 support using these advanced functions with ease.
48
49 %prep
50 %setup -q
51
52 %build
53 %{__gettextize}
54 %{__libtoolize}
55 %{__aclocal}
56 %{__autoconf}
57 %{__autoheader}
58
59 %configure \
60         --with-player-audio=PulseAudio \
61         --disable-update-checker \
62         --without-oss
63
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 %make_install
69
70 %find_lang %{name}-32
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files -f %{name}-32.lang
76 %defattr(644,root,root,755)
77 %doc LICENCE
78 %attr(755,root,root) %{_bindir}/aegisub-3.2
79 %{_datadir}/%{name}
80 %{_desktopdir}/%{name}.desktop
81 %{_iconsdir}/hicolor/*/apps/%{name}.*
This page took 0.02804 seconds and 3 git commands to generate.