- correct dir handling
[packages/Mliteraki.git] / Mliteraki.spec
1
2 Summary:        Polish version of Mliteraki game
3 Summary(pl):    Polska wersja gry Mliteraki
4 Name:           Mliteraki
5 Version:        1.0
6 Release:        0.3
7 License:        GPL v2
8 Group:          X11/Applications/Games
9 Source0:        %{name}_pl-%{version}.tar.gz
10 # Source0-md5:  91d5372cce673c4b9270f838fcf1b7c6
11 Patch0:         %{name}_pl_config.patch
12 URL:            http://www.mardo.prv.pl
13 Requires:       wxGTK
14 BuildRequires:  wxGTK-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Mliteraki is scrabble-like game. It was written by Tomasz Mularczyk on
19 contest on kurnik.pl. This is Polish version of game.
20
21 %description -l pl
22 Mliteraki jest gr± polegaj±c± na uk³adaniu wyrazów, jest to klon
23 popularnej gry scrabble. Zosta³a napisana przez Tomasza Mularczyka na
24 konkurs organizowany w portalu kurnik.pl. Jest to polska wersja gry.
25
26 %define  _instdir  /usr/local/
27
28 %prep
29 %setup -q -n Mliteraki
30 %patch0 -p1
31
32 %build
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 install -d $RPM_BUILD_ROOT/{%{_instdir}/bin,%{%_instdir}/games/Mliter_pl}
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT$/%{_instdir}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %dir %{_instdir}/games/Mliter_pl/
49 %dir %{_instdir}/games/Mliter_pl/dane/
50 %dir %{_instdir}/games/Mliter_pl/graf/
51 %dir %{_instdir}/games/Mliter_pl/html/
52 %dir %{_instdir}/games/Mliter_pl/slowniki/
53 %{_instdir}/games/Mliter_pl/*.txt
54 %{_instdir}/games/Mliter_pl/dane/*
55 %{_instdir}/games/Mliter_pl/graf/*
56 %{_instdir}/games/Mliter_pl/html/*
57 %{_instdir}/games/Mliter_pl/slowniki/*
58 %attr(755,root,root) %{_instdir}/games/Mliter_pl/Mliter
59 %attr(755,root,root) %{_instdir}/bin/*
This page took 0.034206 seconds and 3 git commands to generate.