]> git.pld-linux.org Git - packages/aegisub.git/blame - aegisub.spec
package unversioned bin as well
[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:
8%bcond_with ffms2
9
10Summary: Subtitle editor
11Name: aegisub
12Version: 3.2.0
13Release: 0.1
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
24BuildRequires: fftw3-devel >= 3.3
25BuildRequires: fontconfig-devel >= 1:2.4
26BuildRequires: hunspell-devel >= 1.2.0
27BuildRequires: intltool
28BuildRequires: libass-devel
29BuildRequires: libstdc++-devel
30BuildRequires: lua51-devel
31BuildRequires: pkg-config >= 0.20
32BuildRequires: pulseaudio-devel >= 0.5
33BuildRequires: tar >= 1:1.22
f9d70368 34BuildRequires: wxGTK2-unicode-gl-devel
05156a5d
ER
35BuildRequires: wxWidgets-devel >= 2.9.5
36BuildRequires: xz
37BuildRequires: zlib-devel
38%if %{with ffms2}
39BuildRequires: pkgconfig(ffms2)
40%endif
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 \
05156a5d
ER
65 --without-oss
66
67%{__make}
68
69%install
70rm -rf $RPM_BUILD_ROOT
fc87a4b8
ER
71%{__make} install \
72 DESTDIR=$RPM_BUILD_ROOT
05156a5d 73
9006741b
ER
74ln -s %{name}-3.2 $RPM_BUILD_ROOT%{_bindir}/%{name}
75
05156a5d
ER
76%find_lang %{name}-32
77
78%clean
79rm -rf $RPM_BUILD_ROOT
80
81%files -f %{name}-32.lang
82%defattr(644,root,root,755)
83%doc LICENCE
9006741b
ER
84%attr(755,root,root) %{_bindir}/%{name}
85%attr(755,root,root) %{_bindir}/%{name}-3.2
05156a5d
ER
86%{_datadir}/%{name}
87%{_desktopdir}/%{name}.desktop
88%{_iconsdir}/hicolor/*/apps/%{name}.*
This page took 0.073672 seconds and 4 git commands to generate.