picmi-1.3.0-1kkr2010.1.spec
%define name picmi
%define version 1.3.0
%define release %mkrel 1
Summary: Picross and minesweeper clones for linux
Summary(ja): ピクロスとマインスイーパのLinux向けのクローン
Name: %{name}
Version: %{version}
Release: %{release}
Source: http://github.com/downloads/schuay/picmi/%{name}-%{version}.tar.bz2
# Size : 431074
# MD5 : ea98066aa129e6ea1d21013130c79a95
# SHA-1 : de2f7e73bdf61bde66cd4589030259ad087496b8
URL: http://github.com/schuay/picmi
License: GPLv2+
Group: Games/Puzzles
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: qt4-devel boost-devel sfml-graphics-devel
%description
%{name} was inspired by Tux Picross which was originally started in 2004
by Tobias Hellgren ( see http://www.thanius.com/picross/ ).
Picmi includes
* a picross clone ( http://en.wikipedia.org/wiki/Picross )
* and a minesweeper clone ( http://en.wikipedia.org/wiki/Minesweeper_(computer_game) )
Currently it is being developed by Jakob Gruber.
%description -l ja
%{name}は2004年にTobias Hellgren氏により開発が始まったTux Picross ( http://www.thanius.com/picross/ を参照 )に刺激されて作られました。
%{name}は以下を含んでいます。
* ピクロスのクローン ( http://ja.wikipedia.org/wiki/%E3%83%94%E3%82%AF%E3%83%AD%E3%82%B9 )
* マインスイーパのクローン ( http://ja.wikipedia.org/wiki/%E3%83%9E%E3%82%A4%E3%83%B3%E3%82%B9%E3%82%A4%E3%83%BC%E3%83%91 )
現在はJakob Gruberによって開発されています。
%prep
%setup -q -c
# /usr/share/picmi -> %{_gamesdatadir}/%{name}
# /usr/share/applications -> %{_datadir}/applications
# /usr/bin -> %{_gamesbindir}
%{__sed} -i \
-e 's:/usr/share/picmi:%{_gamesdatadir}/%{name}:' \
-e 's:/usr/share/applications:%{_datadir}/applications:' \
-e 's:/usr/bin:%{_gamesbindir}:' picmi.pro src/picmi.desktop
# in version 1.5, need to replace sf::Mouse::ButtonCount with sf::Mouse::Count
%{__sed} -i 's/sf::Mouse::ButtonCount/sf::Mouse::Count/' src/b_picinputhandler.cpp
%build
qmake
%{__make} setpath
%{__make} CXX="%{__cxx} %{optflags}"
%install
%{__rm} %{buildroot} -fr
%{__make} INSTALL_ROOT="%{buildroot}" install
%{__xz} AUTHORS COPYING README
%clean
%{__rm} %{buildroot} -fr
%files
%defattr(-, root, root)
%{_gamesbindir}/picmi
%{_gamesdatadir}/%{name}/gfx
%{_datadir}/applications/picmi.desktop
%doc AUTHORS* COPYING* README*
%changelog
* Mon Jul 26 2010 kakurasan <kakurasan AT gmail DOT com> 1.3.0-1kkr2010.1
- new version
* Sun Jul 25 2010 kakurasan <kakurasan AT gmail DOT com> 1.3.0pre-1kkr2010.1
- new version
- BuildRequires: SDL -> SFML
* Wed Jul 21 2010 kakurasan <kakurasan AT gmail DOT com> 1.2.1-1kkr2010.1
- new version
* Wed Jul 14 2010 kakurasan <kakurasan AT gmail DOT com> 1.2.0-2kkr2010.1
- rebuild
* Tue Jun 22 2010 kakurasan <kakurasan AT gmail DOT com> 1.2.0-1kkr2010.0
- new version
* Thu Jun 03 2010 kakurasan <kakurasan AT gmail DOT com> 1.1.9-2kkr2010.0
- BuildRequires: boost-devel
- %%install: use make
* Fri May 28 2010 kakurasan <kakurasan AT gmail DOT com> 1.1.9-1kkr2010.0
- new version
* Mon May 17 2010 kakurasan <kakurasan AT gmail DOT com> 1.1.8-1kkr2010.0
- new version
* Tue Apr 27 2010 kakurasan <kakurasan AT gmail DOT com> 1.1.7-1kkr2010.0
- new version
* Wed Apr 21 2010 kakurasan <kakurasan AT gmail DOT com> 1.1.6-1kkr2010.0
- new version
* Sat Apr 10 2010 kakurasan <kakurasan AT gmail DOT com> 1.1.3-1kkr2010.0
- new version
* Thu Apr 08 2010 kakurasan <kakurasan AT gmail DOT com> 1.1.2-1kkr2010.0
- new version
* Mon Apr 05 2010 kakurasan <kakurasan AT gmail DOT com> 1.1.2-0.20100405.1kkr2010.0
- initial build