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