SHA256
1
0
forked from pool/atomiks

Accepting request 290486 from home:nemysis:branches:games

Please accept these changes.

OBS-URL: https://build.opensuse.org/request/show/290486
OBS-URL: https://build.opensuse.org/package/show/games/atomiks?expand=0&rev=7
This commit is contained in:
Matthias Mailänder 2015-03-14 07:00:41 +00:00 committed by Git OBS Bridge
parent d8bac78f06
commit 32695c2a07
5 changed files with 52 additions and 19 deletions

3
atomiks-1.0.4.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0641d889cf9bad2689b341bc793e6a3869d19e6062cf8324ff0155896aaf6376
size 1497851

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Thu Mar 12 19:51:29 UTC 2015 - nemysis@gmx.ch
- Add description for sed
-------------------------------------------------------------------
Thu Mar 12 17:57:25 UTC 2015 - nemysis@gmx.ch
- Update to 1.0.4.1, announce message:
- Fixed the reaction to a 'close window' event during level
selection so Atomiks quits properly,
- Intro screens can be switched to fullscreen now without
the screen becoming messy.
- Changed internal methods for storing bitmaps: dependencies to
SDL_Image, zlib and libpng have been dropped in favor of my own
compression routines,
- Added support for numeric keys to control the game,
- Added home/end keys support for level selection,
- Code cleanup and reorganizations to ease possible ports to
non-SDL platforms,
- Displaying the level's number in the level selection menu,
- Moved away from SDL to SDL2
(gained hardware acceleration in the process),
- Redrawn all internal bitmaps to be fully 320x200 compatible,
- Replaced configuration path routines by SDL2 native calls
(hence the placement of the config file changed),
- Implemented fullscreen switching under ALT+ENTER.
- Remove icon atomiks.png, use supplied
- Use SDL2_image, SDL2_mixer and sdl2 instead of SDL_image,
SDL_mixer and sdl
- Add sed, fix editor installation
- Use *.txt instead of full names
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 18 09:34:43 UTC 2014 - nemysis@gmx.ch Tue Nov 18 09:34:43 UTC 2014 - nemysis@gmx.ch

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c056e329183540aafe34f6a9c331e103a2790b4ad05b98ab0140883761822d7f
size 1579

View File

@ -1,7 +1,7 @@
# #
# spec file for package atomiks # spec file for package atomiks
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Mateusz Viste # Copyright (c) 2013 Mateusz Viste
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -18,15 +18,14 @@
Name: atomiks Name: atomiks
Version: 1.03 Version: 1.0.4.1
Release: 0 Release: 0
Summary: A faithful remake of, and a tribute to, Atomix, a classic puzzle game Summary: A faithful remake of, and a tribute to, Atomix, a classic puzzle game
License: GPL-3.0+ License: GPL-3.0+
Group: Amusements/Games/Logic Group: Amusements/Games/Logic
Url: http://atomiks.sourceforge.net/ Url: http://atomiks.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/v%{version}/%{name}_v%{version}.tgz Source0: http://downloads.sourceforge.net/%{name}/v%{version}/%{name}-%{version}.tar.gz
Source1: %{name}.png Source1: %{name}.desktop
Source2: %{name}.desktop
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
@ -37,9 +36,9 @@ BuildRequires: libmikmod-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: upx BuildRequires: upx
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: pkgconfig(SDL_image) BuildRequires: pkgconfig(SDL2_image)
BuildRequires: pkgconfig(SDL_mixer) BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(sdl2)
%description %description
Atomiks is a faithful remake of, and a tribute to, Atomix, a classic puzzle game Atomiks is a faithful remake of, and a tribute to, Atomix, a classic puzzle game
@ -47,10 +46,13 @@ created by Softtouch & RoSt and published in 1990 by the Thalion Software compan
Atomiks is free software, and shares no code with the original Atomix game. Atomiks is free software, and shares no code with the original Atomix game.
%prep %prep
%setup -q -n %{name}_v%{version}_src %setup -q
# SED-FIX-OPENSUSE -- add editor
sed -i -e 's|all: atomiks|all: atomiks editor|' Makefile
# Some docs have the DOS line ends # Some docs have the DOS line ends
dos2unix readme.txt license.txt history.txt dos2unix *.txt
%build %build
make %{?_smp_mflags} CFLAGS="%{optflags}" make %{?_smp_mflags} CFLAGS="%{optflags}"
@ -61,10 +63,10 @@ install -Dm 0755 %{name} %{buildroot}%{_bindir}/%{name}
install -Dm 0755 editor %{buildroot}%{_bindir}/%{name}-editor install -Dm 0755 editor %{buildroot}%{_bindir}/%{name}-editor
# install icon # install icon
install -Dm 0644 %{S:1} %{buildroot}/%{_datadir}/icons/hicolor/48x48/apps/%{name}.png install -Dm 0644 %{name}.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
# install Desktop file # install Desktop file
install -Dm 0644 %{S:2} %{buildroot}%{_datadir}/applications/%{name}.desktop install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/applications/%{name}.desktop
%if 0%{?suse_version} %if 0%{?suse_version}
%suse_update_desktop_file %{name} %suse_update_desktop_file %{name}
@ -73,7 +75,7 @@ install -Dm 0644 %{S:2} %{buildroot}%{_datadir}/applications/%{name}.desktop
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc history.txt license.txt readme.txt %doc *.txt
%{_bindir}/%{name} %{_bindir}/%{name}
%{_bindir}/%{name}-editor %{_bindir}/%{name}-editor
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:babb78709a158d7f504a28f5a0111a6265113f4c8331c48de1fa990c65c8a576
size 1347395