picmi-1.2.0-1kkr2010.0.spec

%define name    picmi
%define version 1.2.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  : 431,739
  # MD5   : 4d7051934b1e2acb90ca38594f514a77
  # SHA-1 : 44984c3215e681cbb9b0f9a8c0affdfa629463e8
URL:            http://github.com/schuay/picmi
License:        GPLv2+
Group:          Games/Puzzles
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:  qt4-devel SDL_ttf-devel SDL_gfx-devel SDL_image-devel boost-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


%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
* 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