Author: lisu Date: Thu Jan 11 22:16:19 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - initial PLD release
---- Files affected: SPECS: wrogue.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/wrogue.spec diff -u /dev/null SPECS/wrogue.spec:1.1 --- /dev/null Thu Jan 11 23:16:19 2007 +++ SPECS/wrogue.spec Thu Jan 11 23:16:13 2007 @@ -0,0 +1,66 @@ +# $Revision$, $Date$ +Summary: A gothic fantasy roguelike game +Summary(pl): Gotycka gra fantasy typu rogue +Name: wrogue +Version: 0.7.2b +Release: 1 +License: GPL v2+ +Group: X11/Applications/Games +Source0: http://dl.sourceforge.net/todoom/%{name}-%{version}.tar.bz2 +Source1: %{name}.desktop +Source2: %{name}.xpm +Patch0: %{name}-makefile.patch +# Source0-md5: c406145c0bae4837fc111ee629db799d +URL: http://todoom.sourceforge.net/ +BuildRequires: SDL-devel >= 1.2.9 +BuildRequires: sed >= 4.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Warp Rogue is a gothic fantasy roguelike game. It features RPG-like +game mechanics, recruitable NPCs, and a consistent theme. + +%description -l pl +Warp Rogue jest gotycką grą typu rogue. Gra zapewnia mechanikę +właściwą dla gier RPG oraz konsekwentny motyw. + +%prep +%setup -q +%patch0 -p1 +%{__sed} -i '[EMAIL PROTECTED]/[EMAIL PROTECTED]/%{name}/data@' src/unix/be_unix.c + +%build +cd src/ +%{__make} -f unixgcc.mak install \ + CC="%{__cc}" \ + OPTFLAGS="%{rpmcflags}" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_desktopdir},%{_bindir},%{_pixmapsdir}} + +cp -r data/ $RPM_BUILD_ROOT%{_datadir}/%{name} +install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} +install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} +install %{name} $RPM_BUILD_ROOT%{_bindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc changes.txt readme.txt +%attr(755,root,root) %{_bindir}/%{name} +%{_datadir}/%{name} +%{_desktopdir}/%{name}.desktop +%{_pixmapsdir}/%{name}.xpm + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/01/11 22:16:13 lisu +- initial PLD release + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
