SHA256
1
0
forked from pool/aegisub
aegisub/aegisub.spec
Cristian Morales Vega 30e92bb150 - Update to 3.0.3
* Fix crash when playing audio before time 0
  * Round syllable durations to centiseconds when splitting syllables
  * Save the horizontal zoom correctly
  * Fix bug where FloatEdit controls would sometimes not report the selected value
  * Actually select the correct things in the Select Overlaps macro
  * Give temporary files proper extensions to make it easier to open them when something goes wrong
  * Show an error message when writing a file fails
  * Fix reading subtitles from Matroska
  * Fix a case where unicode characters would result in inconsistent and baffling errors when loading Lua scripts
  * Fix loading non-ascii actor names from plain-text files
  * Obey the option for setting the number of recently opened subtitle files to remember
  * Use Lua 5.1 when both it and 5.2 are available
  * Commit pending audio changes on Enter in the edit box
  * Add Dutch translation
  * Update Finnish translation
  * Update Arabic translation
  * Fix some cases where the detached video dialog would get set to bogus sizes
  * Add .m4v to the list of video file extensions
  * Fix loading y4m files
  * Release mouse capture from the visual tools when the zoom is changed

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/aegisub?expand=0&rev=8
2013-07-01 20:57:00 +00:00

87 lines
2.9 KiB
RPMSpec

#
# spec file for package aegisub
#
# Copyright (c) 2013 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%bcond_with ffms2
Name: aegisub
Version: 3.0.3
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
BuildRequires: gcc-c++
BuildRequires: pkg-config >= 0.20
%define _use_internal_dependency_generator 0
%define __find_requires %wx_requires
BuildRequires: wxWidgets-devel >= 2.9.3
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(fftw3) >= 3.3
BuildRequires: pkgconfig(fontconfig) >= 2.4
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(hunspell) >= 1.2.0
BuildRequires: pkgconfig(libass)
BuildRequires: pkgconfig(libpulse) >= 0.5
BuildRequires: pkgconfig(lua) < 5.2
BuildRequires: pkgconfig(lua) >= 5.1
BuildRequires: pkgconfig(zlib)
%if %{with ffms2}
BuildRequires: pkgconfig(ffms2)
%endif
%description
Aegisub is an advanced subtitle editor for Windows, and UNIX-like systems, such
as Linux, Mac OS X and BSD. It is open source software and free for any use.
Aegisub natively works with the Advanced SubStation Alpha format (aptly
abbreviated ASS) which allows for many advanced effects in the subtitles, apart
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
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
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/version.cpp
%build
cd aegisub
# 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
make %{?_smp_mflags}
%install
cd aegisub
%make_install
%find_lang %{name}-30
%files -f aegisub/%{name}-30.lang
%defattr(0644, root, root, 0755)
%doc aegisub/LICENCE
%attr(0755,root,root) %{_bindir}/aegisub-3.0
%{_datadir}/aegisub/
%{_datadir}/applications/aegisub.desktop
%{_datadir}/icons/hicolor/*/apps/aegisub.*
%changelog