SHA256
1
0
forked from pool/aegisub

Accepting request 739473 from multimedia:apps

OBS-URL: https://build.opensuse.org/request/show/739473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aegisub?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2019-11-06 12:51:57 +00:00 committed by Git OBS Bridge
commit 3bec5f4d32
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Oct 17 12:57:19 UTC 2019 - Richard Brown <rbrown@suse.com>
- Remove obsolete Groups tag (fate#326485)
-------------------------------------------------------------------
Sat Jul 20 18:44:11 UTC 2019 - olaf@aepfle.de
- Fix build by keeping non-patch work out of %prep section
-------------------------------------------------------------------
Fri Mar 29 13:25:07 UTC 2019 - plater <davejplater@gmail.com>

View File

@ -12,7 +12,7 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -24,7 +24,6 @@ Version: 3.2.2+git20180710
Release: 0
Summary: Subtitle editor
License: BSD-3-Clause
Group: Productivity/Multimedia/Video/Editors and Convertors
Url: http://www.aegisub.org/
Source0: https://github.com/Aegisub/Aegisub/archive/%{_rev}.tar.gz#/aegisub-%{version}.tar.gz
Source99: changelog.txt
@ -72,13 +71,14 @@ effects in the subtitles, apart from just basic timed text.
%prep
%setup -q -n %{gitname}-%{_rev}
%autopatch -p1
%build
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
cp %{SOURCE99} .
%build
./autogen.sh
#autoreconf -fvi
%configure \