From: Jan Rękorajski Date: Fri, 15 Sep 2023 01:05:24 +0000 (+0200) Subject: - new X-Git-Tag: auto/th/PySolFC-Cardsets-2.2-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=4f3f593c393aabafae13ca921ed70f1ce498097a;p=packages%2FPySolFC-Cardsets.git - new --- 4f3f593c393aabafae13ca921ed70f1ce498097a diff --git a/PySolFC-Cardsets.spec b/PySolFC-Cardsets.spec new file mode 100644 index 0000000..a368aaa --- /dev/null +++ b/PySolFC-Cardsets.spec @@ -0,0 +1,59 @@ +Summary: Various cardsets for PySolFC +Name: PySolFC-Cardsets +Version: 2.2 +Release: 1 +License: GPL v2+ +Group: Applications/Games +Source0: http://downloads.sourceforge.net/pysolfc/%{name}-%{version}.tar.bz2 +# Source0-md5: a44b410e2a3c9939fc03c298aabd8eb6 +URL: http://pysolfc.sourceforge.net/ +BuildRequires: rpmbuild(macros) >= 1.710 +Requires: PySolFC +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This package contains extras cardsets for PySolFC. + +%prep +%setup -q + +# Remove cardsets included in PySolFC package +%{__rm} -r cardset-2000 \ + cardset-crystal-mahjongg \ + cardset-dashavatara-ganjifa \ + cardset-dashavatara-ganjifa-xl \ + cardset-dondorf \ + cardset-gnome-mahjongg-1 \ + cardset-hanafuda-200-years \ + cardset-hexadeck \ + cardset-louie-mantia-hanafuda \ + cardset-matching \ + cardset-matching-xl \ + cardset-matrix \ + cardset-mughal-ganjifa \ + cardset-mughal-ganjifa-xl \ + cardset-neo \ + cardset-neo-hex \ + cardset-neo-tarock \ + cardset-next-matrix \ + cardset-oxymoron \ + cardset-standard \ + cardset-tuxedo \ + cardset-uni-mahjongg \ + cardset-vienna-2k + +%build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_datadir}/PySolFC/ + +cp -a cardset-* $RPM_BUILD_ROOT%{_datadir}/PySolFC + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{_datadir}/PySolFC/cardset-*