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