osc copypac from project:openSUSE:Factory package:aegisub revision:30

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/aegisub?expand=0&rev=61
This commit is contained in:
Dave Plater 2019-10-19 09:13:31 +00:00 committed by Git OBS Bridge
parent 48373e73bb
commit 9ae8dacca1
2 changed files with 3 additions and 13 deletions

View File

@ -1,13 +1,3 @@
-------------------------------------------------------------------
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> 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
@ -24,6 +24,7 @@ Version: 3.2.2+git20180710
Release: 0 Release: 0
Summary: Subtitle editor Summary: Subtitle editor
License: BSD-3-Clause License: BSD-3-Clause
Group: Productivity/Multimedia/Video/Editors and Convertors
Url: http://www.aegisub.org/ Url: http://www.aegisub.org/
Source0: https://github.com/Aegisub/Aegisub/archive/%{_rev}.tar.gz#/aegisub-%{version}.tar.gz Source0: https://github.com/Aegisub/Aegisub/archive/%{_rev}.tar.gz#/aegisub-%{version}.tar.gz
Source99: changelog.txt Source99: changelog.txt
@ -71,14 +72,13 @@ effects in the subtitles, apart from just basic timed text.
%prep %prep
%setup -q -n %{gitname}-%{_rev} %setup -q -n %{gitname}-%{_rev}
%autopatch -p1 %autopatch -p1
%build
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/version.cpp sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/version.cpp
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S') FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/version.cpp sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/version.cpp
cp %{SOURCE99} . cp %{SOURCE99} .
%build
./autogen.sh ./autogen.sh
#autoreconf -fvi #autoreconf -fvi
%configure \ %configure \