1 |
%define thegame PySolFC |
2 |
%define name %{thegame}-cardsets |
3 |
%define arcname %{thegame}-Cardsets |
4 |
%define arcwithver %{arcname}-%{version} |
5 |
%define version 2.0 |
6 |
%define release %mkrel 2 |
7 |
%define pysol_ver 2.0 |
8 |
%define instdir /usr/share/%{thegame} |
9 |
|
10 |
Summary: A collection of free cardsets adapted for use with PySolFC |
11 |
Name: %{name} |
12 |
Version: %{version} |
13 |
Release: %{release} |
14 |
Source0: %{arcwithver}.tar.bz2 |
15 |
License: GPL |
16 |
Group: Games/Cards |
17 |
URL: http://pysolfc.sourceforge.net/ |
18 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
19 |
BuildArch: noarch |
20 |
Requires: %{thegame} >= %pysol_ver |
21 |
Obsoletes: pysol-cardsets |
22 |
|
23 |
%description |
24 |
A collection of 153 free cardsets adapted for use with PySolFC. |
25 |
|
26 |
%prep |
27 |
%setup -q -n %{arcwithver} |
28 |
|
29 |
%build |
30 |
|
31 |
%install |
32 |
rm -rf $RPM_BUILD_ROOT |
33 |
mkdir -p %buildroot%{instdir} |
34 |
cp -r cardset* %buildroot%{instdir} |
35 |
cd %buildroot%{instdir} |
36 |
# rm -rf cardset-2000 cardset-colossus cardset-hard-a-port cardset-hexadeck cardset-kintengu cardset-oxymoron cardset-tuxedo cardset-vienna-2k |
37 |
|
38 |
%clean |
39 |
rm -rf $RPM_BUILD_ROOT |
40 |
|
41 |
%files |
42 |
%defattr(-,root,root) |
43 |
%{instdir}/* |
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|