SPECS: xbomber.spec - kill _applnkdir, BR: perl-base
darekr
darekr at pld-linux.org
Sun Sep 11 17:53:33 CEST 2005
Author: darekr Date: Sun Sep 11 15:53:33 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- kill _applnkdir, BR: perl-base
---- Files affected:
SPECS:
xbomber.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SPECS/xbomber.spec
diff -u SPECS/xbomber.spec:1.8 SPECS/xbomber.spec:1.9
--- SPECS/xbomber.spec:1.8 Sun Mar 7 00:11:22 2004
+++ SPECS/xbomber.spec Sun Sep 11 17:53:27 2005
@@ -11,6 +11,7 @@
Source1: xbomber.desktop
URL: http://www.newbreedsoftware.com/xbomber/
BuildRequires: ImageMagick
+BuildRequires: perl-base
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -34,7 +35,7 @@
%prep
%setup -q -n %{name}
for i in bitmaps jungle levels pixmaps sounds; do
- perl -pi -e "s,$i/,%{_datadir}/%{name}/$i/,g" *.c *.h
+ %{__perl} -pi -e "s,$i/,%{_datadir}/%{name}/$i/,g" *.c *.h
done
%build
@@ -45,13 +46,13 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_applnkdir}/Games/Strategy,%{_pixmapsdir},%{_datadir}/%{name}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_datadir}/%{name}}
install xbomber $RPM_BUILD_ROOT%{_bindir}
cp -aR bitmaps pixmaps jungle levels sounds $RPM_BUILD_ROOT%{_datadir}/%{name}
convert bitmaps/bomb.xbm $RPM_BUILD_ROOT%{_pixmapsdir}/xbomber.png
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -61,7 +62,7 @@
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}
%{_pixmapsdir}/*
-%{_applnkdir}/Games/Strategy/*
+%{_desktopdir}/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -69,6 +70,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2005/09/11 15:53:27 darekr
+- kill _applnkdir, BR: perl-base
+
Revision 1.8 2004/03/06 23:11:22 adamg
- proper group
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/xbomber.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list