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