diff --git a/aegisub-3.0.4.tar.xz b/aegisub-3.0.4.tar.xz deleted file mode 100644 index 822c3dc..0000000 --- a/aegisub-3.0.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d5d8b94da02278b3327f24dd546c0c897c4b369bd2da9e094dc60371422019a -size 4155728 diff --git a/aegisub-3.1.1.tar.xz b/aegisub-3.1.1.tar.xz new file mode 100644 index 0000000..88a5c5e --- /dev/null +++ b/aegisub-3.1.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f8417488cf56b835ddaa36e64916a64eb030fbd79d96a7f8009eae803e897ac +size 4104072 diff --git a/aegisub-old_wc.patch b/aegisub-old_wc.patch new file mode 100644 index 0000000..941cd76 --- /dev/null +++ b/aegisub-old_wc.patch @@ -0,0 +1,13 @@ +Index: aegisub/configure.ac +=================================================================== +--- aegisub/configure.ac.orig ++++ aegisub/configure.ac +@@ -16,7 +16,7 @@ m4_define([libpulse_required_version], [ + m4_define([lua_auto4_required_version], [5.1]) + m4_define([pkgconfig_required_version], [0.20]) + m4_define([portaudio_required_version], [19]) +-m4_define([wx_required_version], [3.0.0]) ++m4_define([wx_required_version], [2.9.5]) + + ####### + # Setup diff --git a/aegisub.changes b/aegisub.changes index 7e9295f..59970b1 100644 --- a/aegisub.changes +++ b/aegisub.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jan 23 14:43:50 UTC 2014 - reddwarf@opensuse.org + +- Update to 3.1.1 + * New features and bug fixes. See http://www.aegisub.org/changelog/3.1.0/ + and http://www.aegisub.org/changelog/3.1.1/ +- Add aegisub-old_wc.patch + ------------------------------------------------------------------- Sun Jul 7 08:50:55 UTC 2013 - reddwarf@opensuse.org diff --git a/aegisub.spec b/aegisub.spec index e9e177d..cf055cb 100644 --- a/aegisub.spec +++ b/aegisub.spec @@ -1,7 +1,7 @@ # # spec file for package aegisub # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,18 +19,23 @@ %bcond_with ffms2 Name: aegisub -Version: 3.0.4 +Version: 3.1.1 Release: 0 Summary: Subtitle editor License: BSD-3-Clause Group: Productivity/Multimedia/Video/Editors and Convertors Url: http://www.aegisub.net/ Source0: http://ftp.aegisub.org/pub/releases/aegisub-%{version}.tar.xz +Patch0: aegisub-old_wc.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: boost-devel >= 1.50 BuildRequires: gcc-c++ +BuildRequires: intltool BuildRequires: pkg-config >= 0.20 %define _use_internal_dependency_generator 0 %define __find_requires %wx_requires -BuildRequires: wxWidgets-devel >= 2.9.3 +BuildRequires: wxWidgets-devel >= 2.9.5 BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(fftw3) >= 3.3 BuildRequires: pkgconfig(fontconfig) >= 2.4 @@ -55,8 +60,9 @@ from just basic timed text. Aegisub's goal is to support using these advanced functions with ease. %prep -%setup -q -n aegisub -rm -r contrib docs +%setup -q +%patch0 +rm -r contrib docs deps cd aegisub FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/version.cpp @@ -65,6 +71,7 @@ sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/version.cpp %build cd aegisub +autoreconf -fi # Don't use --disable-update-checker because of http://blog.aegisub.org/2012/02/bit-of-statistics.html %configure --with-player-audio=PulseAudio \ --without-oss @@ -73,12 +80,12 @@ make %{?_smp_mflags} %install cd aegisub %make_install -%find_lang %{name}-30 +%find_lang %{name}-31 -%files -f aegisub/%{name}-30.lang +%files -f aegisub/%{name}-31.lang %defattr(0644, root, root, 0755) %doc aegisub/LICENCE -%attr(0755,root,root) %{_bindir}/aegisub-3.0 +%attr(0755,root,root) %{_bindir}/aegisub-3.1 %{_datadir}/aegisub/ %{_datadir}/applications/aegisub.desktop %{_datadir}/icons/hicolor/*/apps/aegisub.*