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:
commit
3bec5f4d32
@ -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>
|
Fri Mar 29 13:25:07 UTC 2019 - plater <davejplater@gmail.com>
|
||||||
|
|
||||||
|
@ -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 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
|
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
|
||||||
@ -72,13 +71,14 @@ 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 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user