[521] | 1 | Summary: XWelltris - a tetris like popular game for X Window |
---|
| 2 | Summary(ja): テトリスに似たゲーム |
---|
| 3 | Name: xwelltris |
---|
| 4 | Version: 1.0.1 |
---|
| 5 | Release: 3%{?_dist_release} |
---|
| 6 | License: GPL |
---|
| 7 | Group: Applications/Games |
---|
| 8 | URL: http://xnc.dubna.su/xwelltris/ |
---|
| 9 | Source0: %{name}-%{version}.src.tar.gz |
---|
| 10 | Source1: %{name}.desktop |
---|
| 11 | Source2: %{name}.png |
---|
| 12 | Source3: %{name}.6 |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: SDL-devel SDL_image-devel |
---|
| 16 | |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | This is a small tetris like game for X Window. |
---|
| 22 | Imaging that you are looking into the glass from the top. |
---|
| 23 | You see four walls and the bottom. The flat 2d figures falling |
---|
| 24 | down from the walls one by one. You can move these figures from one wall to |
---|
| 25 | another or rotate them... |
---|
| 26 | |
---|
| 27 | %description -l ja |
---|
| 28 | 軽いテトリス-ライク-ゲーム。 |
---|
| 29 | 四角いコップを上から覗いたような視点で、 |
---|
| 30 | 4面の壁を二次元のブロックが底に向かって次々と滑り落ちます。 |
---|
| 31 | 壁から壁に動かしたり、回転させたりして...頑張ってください。 |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q |
---|
| 35 | |
---|
| 36 | %build |
---|
| 37 | CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s ./configure \ |
---|
| 38 | --prefix=%{_prefix} --with-sdl |
---|
| 39 | make |
---|
| 40 | |
---|
| 41 | %install |
---|
| 42 | rm -rf $RPM_BUILD_ROOT |
---|
| 43 | |
---|
| 44 | install -d "$RPM_BUILD_ROOT"/%{_prefix}/{bin,share/xwelltris} |
---|
| 45 | |
---|
| 46 | install xwelltris "$RPM_BUILD_ROOT"/%{_prefix}/bin |
---|
| 47 | |
---|
| 48 | install -p -m 644 data/polyomino.dat \ |
---|
| 49 | data/board2.gif \ |
---|
| 50 | data/font2.gif \ |
---|
| 51 | data/topnine.gif \ |
---|
| 52 | data/wellcuts.gif \ |
---|
| 53 | data/wellintro.gif \ |
---|
| 54 | "$RPM_BUILD_ROOT"/%{_prefix}/share/xwelltris |
---|
| 55 | |
---|
| 56 | # add desktop |
---|
| 57 | mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications |
---|
| 58 | install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop |
---|
| 59 | |
---|
| 60 | # add desktop icon |
---|
| 61 | mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps |
---|
| 62 | install -p -m0644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}.png |
---|
| 63 | |
---|
| 64 | # add man |
---|
| 65 | mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man6 |
---|
| 66 | install -p -D -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}/%{_mandir}/man6/%{name}.6 |
---|
| 67 | |
---|
| 68 | %clean |
---|
| 69 | rm -rf $RPM_BUILD_ROOT |
---|
| 70 | |
---|
| 71 | %files |
---|
| 72 | %defattr(755,root,root,755) |
---|
| 73 | %{_bindir}/%{name}* |
---|
| 74 | %defattr(644,root,root,755) |
---|
| 75 | %doc README README.keys AUTHORS LICENSE Changelog |
---|
| 76 | %{_datadir}/%{name}/* |
---|
| 77 | %{_datadir}/applications/%{name}* |
---|
| 78 | %{_datadir}/pixmaps/%{name}* |
---|
| 79 | %{_mandir}/man6/%{name}* |
---|
| 80 | |
---|
| 81 | %changelog |
---|
| 82 | * Wed Oct 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.1-3vl5 |
---|
| 83 | - applied new versioning policy, spec in utf-8 |
---|
| 84 | |
---|
| 85 | * Thu Aug 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.1-2vl3 |
---|
| 86 | - rebuilt with new toolchain |
---|
| 87 | |
---|
| 88 | * Tue Oct 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.1-2vl2 |
---|
| 89 | - rebuilt for Vine Linux 4.0 |
---|
| 90 | - changed Group to Applocations/Games |
---|
| 91 | - added URL |
---|
| 92 | |
---|
| 93 | * Thu Feb 17 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 1.0.1-2vl1 |
---|
| 94 | - initial spec for vine |
---|
| 95 | - add desktop and icon |
---|
| 96 | - add man from deb |
---|
| 97 | - add ja summary and description |
---|