]> git.pld-linux.org Git - packages/aegisub.git/blame - aegisub.spec
- release 2 (by relup.sh)
[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
553a2ba3 11Summary(pl.UTF-8): Edytor napisów
05156a5d 12Name: aegisub
5fdef24d 13Version: 3.2.2
c81d09fb 14Release: 2
05156a5d
ER
15License: BSD
16Group: X11/Applications
17Source0: http://ftp.aegisub.org/pub/releases/%{name}-%{version}.tar.xz
5fdef24d 18# Source0-md5: d80e852c34811add358c06d77f5cd40d
699890b5 19Patch0: pthread.patch
05156a5d 20URL: http://www.aegisub.net/
553a2ba3
JB
21# AC_AGI_COMPILE tries to run test program which tries to open device and most likely fails
22#BuildRequires: OpenAL-devel >= 0.0.8
23BuildRequires: OpenGL-devel
05156a5d 24BuildRequires: alsa-lib-devel
553a2ba3 25BuildRequires: autoconf >= 2.57
05156a5d 26BuildRequires: automake
553a2ba3
JB
27BuildRequires: boost-devel >= 1.50.0
28%{?with_ffms2:BuildRequires: ffms2-devel >= 2.16}
05156a5d
ER
29BuildRequires: fftw3-devel >= 3.3
30BuildRequires: fontconfig-devel >= 1:2.4
553a2ba3
JB
31# pkgconfig(freetype2) >= 9.7.0
32BuildRequires: freetype-devel >= 1:2.1.9
bebc09b5 33BuildRequires: gettext-tools
05156a5d
ER
34BuildRequires: hunspell-devel >= 1.2.0
35BuildRequires: intltool
553a2ba3
JB
36BuildRequires: libass-devel >= 0.9.7
37BuildRequires: libicu-devel >= 4.8.1.1
05156a5d
ER
38BuildRequires: libstdc++-devel
39BuildRequires: lua51-devel
553a2ba3
JB
40BuildRequires: pkgconfig >= 1:0.20
41BuildRequires: portaudio-devel >= 19
05156a5d
ER
42BuildRequires: pulseaudio-devel >= 0.5
43BuildRequires: tar >= 1:1.22
553a2ba3
JB
44BuildRequires: wxGTK2-unicode-gl-devel >= 3.0.0
45BuildRequires: wxWidgets-devel >= 3.0.0
05156a5d
ER
46BuildRequires: xz
47BuildRequires: zlib-devel
553a2ba3
JB
48Requires(post,postun): desktop-file-utils
49Requires(post,postun): gtk-update-icon-cache
50Requires: ffms2 >= 2.16
51Requires: fftw3 >= 3.3
52Requires: fontconfig-libs >= 1:2.4
53Requires: freetype >= 1:2.1.9
54Requires: hunspell >= 1.2.0
55Requires: libass >= 0.9.7
56Requires: libicu >= 4.8.1.1
57Requires: pulseaudio-libs >= 0.5
c0ccb665 58# missing atomic_ops
553a2ba3 59ExcludeArch: i386 i486
05156a5d
ER
60BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
61
62%description
63Aegisub is an advanced subtitle editor for Windows, and UNIX-like
64systems, such as Linux, Mac OS X and BSD. It is open source software
65and free for any use.
66
67Aegisub natively works with the Advanced SubStation Alpha format
68(aptly abbreviated ASS) which allows for many advanced effects in the
69subtitles, apart from just basic timed text. Aegisubs goal is to
70support using these advanced functions with ease.
71
553a2ba3
JB
72%description -l pl.UTF-8
73Aegisub to zaawansowany edytor napisów dla Windows oraz systemów
74uniksowych, takich jak Linux, Mac OS X czy BSD. Jest to program o
75otwartych źródłach, darmowy do dowolnego użytku.
76
77Aegisub działa natywnie na formacie Advanced SubStation Alpha (w
78stosownym skrócie ASS), pozwalającym na wiele zaawansowanych efektów w
79napisach, poza samym powiązaniem z czasem. Celem Aegisubs jest łatwa
80obsługa tych zaawansowanych funkcji.
81
05156a5d
ER
82%prep
83%setup -q
699890b5 84%patch0 -p1
05156a5d 85
553a2ba3 86%{__mv} vendor{,.keep}
fc87a4b8 87mkdir vendor
553a2ba3 88%{__mv} vendor.keep/{luabins,luajit,universalchardet} vendor
fc87a4b8 89
05156a5d 90%build
05156a5d 91%configure \
05156a5d 92 --disable-update-checker \
1987c5f6 93 %{__with_without ffms2} \
553a2ba3
JB
94 --without-oss \
95 --with-player-audio=PulseAudio \
96 --with-wx-config=wx-gtk2-unicode-config
05156a5d
ER
97
98%{__make}
99
100%install
101rm -rf $RPM_BUILD_ROOT
fc87a4b8
ER
102%{__make} install \
103 DESTDIR=$RPM_BUILD_ROOT
05156a5d 104
9006741b
ER
105ln -s %{name}-3.2 $RPM_BUILD_ROOT%{_bindir}/%{name}
106
553a2ba3
JB
107%{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
108%{__mv} $RPM_BUILD_ROOT%{_localedir}/{pt_PT,pt}
109%{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr_RS,sr}
110%{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr_RS,sr}@latin
dd7e4de7 111%{__mv} $RPM_BUILD_ROOT%{_localedir}/{uk_UA,uk}
d40d8ddd 112
05156a5d
ER
113%find_lang %{name}-32
114
115%clean
116rm -rf $RPM_BUILD_ROOT
117
212f2f22
ER
118%post
119%update_desktop_database
120%update_icon_cache hicolor
121
122%postun
123%update_desktop_database
124%update_icon_cache hicolor
125
05156a5d
ER
126%files -f %{name}-32.lang
127%defattr(644,root,root,755)
553a2ba3 128%doc LICENCE README.md
9006741b
ER
129%attr(755,root,root) %{_bindir}/%{name}
130%attr(755,root,root) %{_bindir}/%{name}-3.2
05156a5d
ER
131%{_datadir}/%{name}
132%{_desktopdir}/%{name}.desktop
133%{_iconsdir}/hicolor/*/apps/%{name}.*
This page took 0.096909 seconds and 4 git commands to generate.