Author: lisu Date: Thu Jan 4 21:07:43 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - 1.00 - new Source0 - BR: xerces-c-devel >= 2.4 - BR: SDL_mixer-devel version changed to 1.2.5 - using %{__make} install macro (it works now) - %find_lang macro added - cosmetics
---- Files affected: SPECS: enigma.spec (1.26 -> 1.27) ---- Diffs: ================================================================ Index: SPECS/enigma.spec diff -u SPECS/enigma.spec:1.26 SPECS/enigma.spec:1.27 --- SPECS/enigma.spec:1.26 Tue Nov 7 23:23:36 2006 +++ SPECS/enigma.spec Thu Jan 4 22:07:37 2007 @@ -2,21 +2,22 @@ Summary: Oxyd clone Summary(pl): Klon gry Oxyd Name: enigma -Version: 0.92 +Version: 1.00 Release: 1 -License: GPL +License: GPL v2+ Group: X11/Applications/Games -Source0: http://savannah.nongnu.org/download/enigma/%{name}-%{version}.tar.gz -# Source0-md5: b33d8fad75910c9a525f4382f5185f75 +Source0: http://download.berlios.de/enigma-game/enigma-1.00.tar.gz +# Source0-md5: 428a9cce666cd45812e785f00a483ef9 Source1: %{name}.desktop URL: http://www.nongnu.org/enigma/ BuildRequires: SDL_image-devel >= 1.2.0 -BuildRequires: SDL_mixer-devel >= 1.2.0 +BuildRequires: SDL_mixer-devel >= 1.2.5 BuildRequires: SDL_ttf-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext-devel BuildRequires: libstdc++-devel +BuildRequires: xerces-c-devel >= 2.4 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -62,21 +63,10 @@ %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_datadir}/enigma/{fonts,sound,gfx{,32,40,48},levels/{Sokoban,m_tutor,patches},thumbs},%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir}} +install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} -install doc/enigma.6 $RPM_BUILD_ROOT%{_mandir}/man6 -install src/enigma $RPM_BUILD_ROOT%{_bindir} -install data/fonts/*.{png,bmf,ttf} $RPM_BUILD_ROOT%{_datadir}/enigma/fonts -install data/gfx/*.png $RPM_BUILD_ROOT%{_datadir}/enigma/gfx -install data/gfx32/*.{png,jpg} $RPM_BUILD_ROOT%{_datadir}/enigma/gfx32 -install data/gfx40/*.{png,jpg} $RPM_BUILD_ROOT%{_datadir}/enigma/gfx40 -install data/gfx48/*.{png,jpg} $RPM_BUILD_ROOT%{_datadir}/enigma/gfx48 -install data/levels/*.{lua,png,txt,xml} $RPM_BUILD_ROOT%{_datadir}/enigma/levels -install data/levels/Sokoban/*.{lua,png,txt} $RPM_BUILD_ROOT%{_datadir}/enigma/levels/Sokoban -install data/levels/m_tutor/*.{lua,png,txt} $RPM_BUILD_ROOT%{_datadir}/enigma/levels/m_tutor -install data/levels/patches/*.lua $RPM_BUILD_ROOT%{_datadir}/enigma/levels/patches -install data/sound/*.{wav,s3m} $RPM_BUILD_ROOT%{_datadir}/enigma/sound -install data/*.lua $RPM_BUILD_ROOT%{_datadir}/enigma +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} install data/gfx/enigma_marble.png $RPM_BUILD_ROOT%{_pixmapsdir}/enigma.png @@ -84,17 +74,19 @@ rm -f doc/manual/{images,}/Makefile* rm -f doc/manual/enigma.texi +%find_lang %{name} --all-name + %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(644,root,root,755) -%doc ChangeLog.tla CHANGES NEWS README doc/{TODO,functions.*,manual} +%doc CHANGES README doc/manual %attr(755,root,root) %{_bindir}/* %{_datadir}/%{name} +%{_desktopdir}/*.desktop %{_mandir}/man6/* %{_pixmapsdir}/* -%{_desktopdir}/*.desktop %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -102,6 +94,15 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.27 2007/01/04 21:07:37 lisu +- 1.00 +- new Source0 +- BR: xerces-c-devel >= 2.4 +- BR: SDL_mixer-devel version changed to 1.2.5 +- using %{__make} install macro (it works now) +- %find_lang macro added +- cosmetics + Revision 1.26 2006/11/07 22:23:36 glen - do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/enigma.spec?r1=1.26&r2=1.27&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit