Accepting request 493393 from games:tools
1 OBS-URL: https://build.opensuse.org/request/show/493393 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/slade?expand=0&rev=3
This commit is contained in:
commit
4cf1f79197
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 7 09:00:30 UTC 2017 - bwiedemann@suse.com
|
||||
|
||||
- use p7zip for deterministic archive file order
|
||||
and strip-nondeterminism to have fully reproducible builds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 2 13:04:33 UTC 2017 - bwiedemann@suse.com
|
||||
|
||||
- use convert -strip to make build more reproducible
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 10 01:19:39 UTC 2017 - luke.nukem.jones@gmail.com
|
||||
|
||||
|
10
slade.spec
10
slade.spec
@ -35,7 +35,7 @@ BuildRequires: freeimage-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: wxWidgets-3_0-devel
|
||||
BuildRequires: zip
|
||||
BuildRequires: p7zip
|
||||
BuildRequires: pkgconfig(fluidsynth)
|
||||
BuildRequires: pkgconfig(ftgl)
|
||||
BuildRequires: pkgconfig(gl)
|
||||
@ -43,6 +43,9 @@ BuildRequires: pkgconfig(glew)
|
||||
BuildRequires: pkgconfig(libcurl)
|
||||
BuildRequires: pkgconfig(sfml-all)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
%if 0%{?suse_version} > 1320
|
||||
BuildRequires: strip-nondeterminism
|
||||
%endif
|
||||
|
||||
%description
|
||||
SLADE3 is a modern editor for Doom-engine based games and source
|
||||
@ -59,11 +62,14 @@ from/to other generic formats such as PNG.
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%if 0%{?suse_version} > 1320
|
||||
strip-nondeterminism build/slade.pk3
|
||||
%endif
|
||||
b="%buildroot"
|
||||
install -Dm755 build/slade "$b/%_bindir/slade"
|
||||
install -Dm644 build/slade.pk3 "$b/%_datadir/slade3/slade.pk3"
|
||||
|
||||
convert "build/msvc/slade.ico[0]" -alpha on "%name.png"
|
||||
convert -strip "build/msvc/slade.ico[0]" -alpha on "%name.png"
|
||||
install -Dpm0644 "%name.png" "$b/%_datadir/pixmaps/%name.png"
|
||||
install -Dpm0644 %{SOURCE100} "$b/%_datadir/appdata/%name.appdata.xml"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user