/[packages]/cauldron/aegisub/current/SPECS/aegisub.spec
ViewVC logotype

Contents of /cauldron/aegisub/current/SPECS/aegisub.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 142612 - (show annotations) (download)
Mon Sep 12 06:58:29 2011 UTC (12 years, 7 months ago) by dmorgan
File size: 1653 byte(s)
imported package aegisub
1 %define svnrel 5586
2 %define rel 1
3
4 Name: aegisub
5 Version: 2.1.9
6
7 %if %svnrel
8 # http://svn.aegisub.org/branches/aegisub_2.1.9/aegisub/
9 Source0: %{name}-svn%{svnrel}.tar.bz2
10 Release: %mkrel -c svn%{svnrel} %{rel}
11 %else
12 Source0: http://ftp.aegisub.org/pub/releases/%{name}-%{version}.tar.bz2
13 Release: %mkrel %{rel}
14 %endif
15
16
17 Patch0: aegisub-2.1.8-wxexception.patch
18
19 Summary: Comprehensive video subtitle creation tool
20 URL: http://www.aegisub.org/
21 License: BSD
22 Group: Video
23
24 BuildRequires: autogen
25 BuildRequires: autoconf
26 BuildRequires: ImageMagick
27 BuildRequires: awk
28 BuildRequires: intltool
29 BuildRequires: wxgtku-devel
30 BuildRequires: pkgconfig(ffms2)
31 BuildRequires: pkgconfig(lua)
32 BuildRequires: pkgconfig(libass)
33 BuildRequires: pkgconfig(hunspell)
34
35
36 %description
37 Aegisub is a powerful and comprehensive tool for creating subtitles
38 for video files.
39
40 %prep
41 %if %svnrel
42 %setup -qn %{name}
43 %else
44 %setup -qn %{name}-%{version}
45 %endif
46
47 %patch0 -p0
48
49 %build
50 %if %svnrel
51 ./autogen.sh
52 %else
53 %autoreconf -fi
54 %endif
55 export CXXFLAGS="%optflags -D__STDC_CONSTANT_MACROS"
56 %configure2_5x \
57 --target=%_target_platform \
58 --with-wx-config=wx-config-unicode \
59 --with-build-credit="%vendor" \
60 --with-external-libass \
61 --without-lua50 \
62 --without-openal \
63 --without-portaudio \
64 --without-perl \
65 --without-ruby
66 %make
67
68 %install
69 rm -rf %buildroot}
70 %makeinstall_std
71
72 %find_lang %{name}21
73
74 %files -f %{name}21.lang
75 %doc README
76 %{_bindir}/%{name}*
77 %{_datadir}/%{name}
78 %{_datadir}/applications/%{name}.desktop
79 %{_iconsdir}/hicolor/*/apps/%{name}.*
80
81

  ViewVC Help
Powered by ViewVC 1.1.30