summaryrefslogtreecommitdiff
path: root/54321.spec
diff options
context:
space:
mode:
authorJakub Bogusz2004-03-25 20:11:46 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit14bca189fb59c2e91b7e642d7a5c159931121098 (patch)
treea130ee9feb443d6549ba1f95223869b709b0211e /54321.spec
parent01eb1dd6b7eca56aafc812e21f76363cf1402fdf (diff)
download54321-14bca189fb59c2e91b7e642d7a5c159931121098.zip
54321-14bca189fb59c2e91b7e642d7a5c159931121098.tar.gz
- cleanups
Changed files: 54321.spec -> 1.16
Diffstat (limited to '54321.spec')
-rw-r--r--54321.spec17
1 files changed, 8 insertions, 9 deletions
diff --git a/54321.spec b/54321.spec
index d8811f5..7cda601 100644
--- a/54321.spec
+++ b/54321.spec
@@ -16,7 +16,6 @@ BuildRequires: SDL_image-devel
Requires: SDL >= 1.2.4
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
%description
54321 is five games in four-, three-, or two-dimensions for one
player. 54321 takes five classic two-dimensional puzzle games and
@@ -32,12 +31,14 @@ gracza. Gry bazują na klasycznych schematach układanek; oprawione są w
%patch0 -p1
%build
-%{__make} -f GNUmakefile CXXFLAGS="%{rpmcflags} -I /usr/include/SDL -DNDEBUG=1" CC="%{__cc}" CXX="%{__cxx}"
+%{__make} -f GNUmakefile \
+ CC="%{__cc}" \
+ CXX="%{__cxx}" \
+ CXXFLAGS="%{rpmcflags} -I/usr/include/SDL -DNDEBUG=1"
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT $RPM_BUILD_ROOT%{_desktopdir} \
-$RPM_BUILD_ROOT{%{_bindir},%{_datadir}/54321}
+install -d $RPM_BUILD_ROOT%{_desktopdir},%{_bindir},%{_datadir}/54321}
cp -r Release/* $RPM_BUILD_ROOT%{_datadir}/54321
install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
@@ -51,12 +52,10 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
#%doc README
-%dir %{_datadir}/%{name}/
-%dir %{_datadir}/%{name}/data
+%attr(755,root,root) %{_bindir}/*
+%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/bin
%dir %{_datadir}/%{name}/bin/Linux
-
-%attr(755,root,root) %{_bindir}/*
-%{_datadir}/%{name}/data/*
%attr(755,root,root) %{_datadir}/%{name}/bin/Linux/*
+%{_datadir}/%{name}/data
%{_desktopdir}/*