]> git.pld-linux.org Git - packages/aegisub.git/blame - aegisub.spec
locale fixes
[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
d40d8ddd 13Release: 2
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
c0ccb665
ER
41# missing atomic_ops
42ExcludeArch: i486
05156a5d
ER
43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45%description
46Aegisub is an advanced subtitle editor for Windows, and UNIX-like
47systems, such as Linux, Mac OS X and BSD. It is open source software
48and free for any use.
49
50Aegisub natively works with the Advanced SubStation Alpha format
51(aptly abbreviated ASS) which allows for many advanced effects in the
52subtitles, apart from just basic timed text. Aegisubs goal is to
53support using these advanced functions with ease.
54
55%prep
56%setup -q
57
fc87a4b8
ER
58mv vendor{,.keep}
59mkdir vendor
60mv vendor.keep/{luabins,luajit,universalchardet} vendor
61
05156a5d 62%build
05156a5d
ER
63%configure \
64 --with-player-audio=PulseAudio \
65 --disable-update-checker \
f9d70368 66 --with-wx-config=wx-gtk2-unicode-config \
1987c5f6 67 %{__with_without ffms2} \
05156a5d
ER
68 --without-oss
69
70%{__make}
71
72%install
73rm -rf $RPM_BUILD_ROOT
fc87a4b8
ER
74%{__make} install \
75 DESTDIR=$RPM_BUILD_ROOT
05156a5d 76
9006741b
ER
77ln -s %{name}-3.2 $RPM_BUILD_ROOT%{_bindir}/%{name}
78
d40d8ddd
ER
79%{__rm} $RPM_BUILD_ROOT%{_localedir}/fr_FR
80%{__rm} $RPM_BUILD_ROOT%{_localedir}/pt_PT
81%{__rm} $RPM_BUILD_ROOT%{_localedir}/sr_RS
82%{__rm} $RPM_BUILD_ROOT%{_localedir}/sr_RS@latin
83
05156a5d
ER
84%find_lang %{name}-32
85
86%clean
87rm -rf $RPM_BUILD_ROOT
88
89%files -f %{name}-32.lang
90%defattr(644,root,root,755)
91%doc LICENCE
9006741b
ER
92%attr(755,root,root) %{_bindir}/%{name}
93%attr(755,root,root) %{_bindir}/%{name}-3.2
05156a5d
ER
94%{_datadir}/%{name}
95%{_desktopdir}/%{name}.desktop
96%{_iconsdir}/hicolor/*/apps/%{name}.*
This page took 0.066874 seconds and 4 git commands to generate.