]> git.pld-linux.org Git - packages/aegisub.git/blobdiff - aegisub.spec
- up to 3.2.2
[packages/aegisub.git] / aegisub.spec
index 5bac5820e0a1d86433f402c4064d7de792f5edf0..899dcef2b06c975183062335647eacfc903b951c 100644 (file)
@@ -8,40 +8,54 @@
 %bcond_without ffms2   # build ffms2 A/V provider
 
 Summary:       Subtitle editor
 %bcond_without ffms2   # build ffms2 A/V provider
 
 Summary:       Subtitle editor
+Summary(pl.UTF-8):     Edytor napisów
 Name:          aegisub
 Name:          aegisub
-Version:       3.2.0
-Release:       2
+Version:       3.2.2
+Release:       1
 License:       BSD
 Group:         X11/Applications
 Source0:       http://ftp.aegisub.org/pub/releases/%{name}-%{version}.tar.xz
 License:       BSD
 Group:         X11/Applications
 Source0:       http://ftp.aegisub.org/pub/releases/%{name}-%{version}.tar.xz
-# Source0-md5: 914685eb87daf230ac8856ed81479b43
+# Source0-md5: d80e852c34811add358c06d77f5cd40d
 URL:           http://www.aegisub.net/
 URL:           http://www.aegisub.net/
-BuildRequires: Mesa-libGL-devel
+# AC_AGI_COMPILE tries to run test program which tries to open device and most likely fails
+#BuildRequires:        OpenAL-devel >= 0.0.8
+BuildRequires: OpenGL-devel
 BuildRequires: alsa-lib-devel
 BuildRequires: alsa-lib-devel
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.57
 BuildRequires: automake
 BuildRequires: automake
-BuildRequires: boost-devel >= 1.50
-%{?with_ffms2:BuildRequires:   ffms2-devel}
+BuildRequires: boost-devel >= 1.50.0
+%{?with_ffms2:BuildRequires:   ffms2-devel >= 2.16}
 BuildRequires: fftw3-devel >= 3.3
 BuildRequires: fontconfig-devel >= 1:2.4
 BuildRequires: fftw3-devel >= 3.3
 BuildRequires: fontconfig-devel >= 1:2.4
+# pkgconfig(freetype2) >= 9.7.0
+BuildRequires: freetype-devel >= 1:2.1.9
 BuildRequires: gettext-tools
 BuildRequires: hunspell-devel >= 1.2.0
 BuildRequires: intltool
 BuildRequires: gettext-tools
 BuildRequires: hunspell-devel >= 1.2.0
 BuildRequires: intltool
-BuildRequires: libass-devel
-BuildRequires: libicu-devel
+BuildRequires: libass-devel >= 0.9.7
+BuildRequires: libicu-devel >= 4.8.1.1
 BuildRequires: libstdc++-devel
 BuildRequires: lua51-devel
 BuildRequires: libstdc++-devel
 BuildRequires: lua51-devel
-BuildRequires: pkg-config >= 0.20
+BuildRequires: pkgconfig >= 1:0.20
+BuildRequires: portaudio-devel >= 19
 BuildRequires: pulseaudio-devel >= 0.5
 BuildRequires: tar >= 1:1.22
 BuildRequires: pulseaudio-devel >= 0.5
 BuildRequires: tar >= 1:1.22
-BuildRequires: wxGTK2-unicode-gl-devel
-BuildRequires: wxWidgets-devel >= 2.9.5
+BuildRequires: wxGTK2-unicode-gl-devel >= 3.0.0
+BuildRequires: wxWidgets-devel >= 3.0.0
 BuildRequires: xz
 BuildRequires: zlib-devel
 BuildRequires: xz
 BuildRequires: zlib-devel
-Requires:      desktop-file-utils
-Requires:      gtk-update-icon-cache
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk-update-icon-cache
+Requires:      ffms2 >= 2.16
+Requires:      fftw3 >= 3.3
+Requires:      fontconfig-libs >= 1:2.4
+Requires:      freetype >= 1:2.1.9
+Requires:      hunspell >= 1.2.0
+Requires:      libass >= 0.9.7
+Requires:      libicu >= 4.8.1.1
+Requires:      pulseaudio-libs >= 0.5
 # missing atomic_ops
 # missing atomic_ops
-ExcludeArch:   i486
+ExcludeArch:   i386 i486
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -54,20 +68,30 @@ Aegisub natively works with the Advanced SubStation Alpha format
 subtitles, apart from just basic timed text. Aegisubs goal is to
 support using these advanced functions with ease.
 
 subtitles, apart from just basic timed text. Aegisubs goal is to
 support using these advanced functions with ease.
 
+%description -l pl.UTF-8
+Aegisub to zaawansowany edytor napisów dla Windows oraz systemów
+uniksowych, takich jak Linux, Mac OS X czy BSD. Jest to program o
+otwartych źródłach, darmowy do dowolnego użytku.
+
+Aegisub działa natywnie na formacie Advanced SubStation Alpha (w
+stosownym skrócie ASS), pozwalającym na wiele zaawansowanych efektów w
+napisach, poza samym powiązaniem z czasem. Celem Aegisubs jest łatwa
+obsługa tych zaawansowanych funkcji.
+
 %prep
 %setup -q
 
 %prep
 %setup -q
 
-mv vendor{,.keep}
+%{__mv} vendor{,.keep}
 mkdir vendor
 mkdir vendor
-mv vendor.keep/{luabins,luajit,universalchardet} vendor
+%{__mv} vendor.keep/{luabins,luajit,universalchardet} vendor
 
 %build
 %configure \
 
 %build
 %configure \
-       --with-player-audio=PulseAudio \
        --disable-update-checker \
        --disable-update-checker \
-       --with-wx-config=wx-gtk2-unicode-config \
        %{__with_without ffms2} \
        %{__with_without ffms2} \
-       --without-oss
+       --without-oss \
+       --with-player-audio=PulseAudio \
+       --with-wx-config=wx-gtk2-unicode-config
 
 %{__make}
 
 
 %{__make}
 
@@ -78,10 +102,11 @@ rm -rf $RPM_BUILD_ROOT
 
 ln -s %{name}-3.2 $RPM_BUILD_ROOT%{_bindir}/%{name}
 
 
 ln -s %{name}-3.2 $RPM_BUILD_ROOT%{_bindir}/%{name}
 
-%{__rm} $RPM_BUILD_ROOT%{_localedir}/fr_FR
-%{__rm} $RPM_BUILD_ROOT%{_localedir}/pt_PT
-%{__rm} $RPM_BUILD_ROOT%{_localedir}/sr_RS
-%{__rm} $RPM_BUILD_ROOT%{_localedir}/sr_RS@latin
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{pt_PT,pt}
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr_RS,sr}
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr_RS,sr}@latin
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{uk_UA,uk}
 
 %find_lang %{name}-32
 
 
 %find_lang %{name}-32
 
@@ -98,7 +123,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}-32.lang
 %defattr(644,root,root,755)
 
 %files -f %{name}-32.lang
 %defattr(644,root,root,755)
-%doc LICENCE
+%doc LICENCE README.md
 %attr(755,root,root) %{_bindir}/%{name}
 %attr(755,root,root) %{_bindir}/%{name}-3.2
 %{_datadir}/%{name}
 %attr(755,root,root) %{_bindir}/%{name}
 %attr(755,root,root) %{_bindir}/%{name}-3.2
 %{_datadir}/%{name}
This page took 0.130619 seconds and 4 git commands to generate.