summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorankry2004-11-18 18:15:00 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit2cdd0d363ff60132bc8d80451fdf81a089918178 (patch)
tree14d6b1fa6582e729411a71304a24e4a7d0c60ea0
parentc656cc37b5f69d355d941cc06e2ab74d0fc695d8 (diff)
downloadxmahjongg-2cdd0d363ff60132bc8d80451fdf81a089918178.zip
xmahjongg-2cdd0d363ff60132bc8d80451fdf81a089918178.tar.gz
- added desktop, rel. 2
Changed files: xmahjongg.spec -> 1.6
-rw-r--r--xmahjongg.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/xmahjongg.spec b/xmahjongg.spec
index 8a8bd74..c0bd6a9 100644
--- a/xmahjongg.spec
+++ b/xmahjongg.spec
@@ -2,12 +2,14 @@ Summary: Colorful X solitaire Mah Jongg game
Summary(pl): Komputerowy Madżong
Name: xmahjongg
Version: 3.6.1
-Release: 1
+Release: 2
License: GPL
Vendor: Little Cambridgeport Design Factory
Group: X11/Applications/Games
Source0: http://www.lcdf.org/xmahjongg/%{name}-%{version}.tar.gz
# Source0-md5: d8367caefbdae8e10c48593d17c342ae
+Source1: %{name}.desktop
+Source2: %{name}.png
Patch0: %{name}-DESTDIR.patch
URL: http://www.lcdf.org/xmahjongg/
BuildRequires: XFree86-devel
@@ -51,9 +53,14 @@ dorwhite, small, thin). Wywołuje się je za pomocą parametru '-t'.
%install
rm -rf $RPM_BUILD_ROOT
+install $RPM_BUILD_ROOT{%{_desktopsdir},%{_pixmapsdir}}
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopsdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+
%clean
rm -rf $RPM_BUILD_ROOT