X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=dame.spec;h=610f93625f142c31767d615c6aa917a0439918cb;hb=f8097035659789f080389f68c6d6ca7fa0bbf970;hp=ab073dcb7cada1ede297b12c7a00e33a4b9f8f7e;hpb=ef30a4edbbf2f4004f9f29adee665b66dcc7cc62;p=packages%2Fdame.git diff --git a/dame.spec b/dame.spec index ab073dc..610f936 100644 --- a/dame.spec +++ b/dame.spec @@ -1,65 +1,75 @@ Summary: Dame lets you play checkers ala point and click -Summary(de): Spielen Sie Dame. -Summary(fr): Jouez aux dames. -Summary(fi): Tammi peli +Summary(cs.UTF-8): Plán dáma +Summary(de.UTF-8): Spielen Sie Dame +Summary(fi.UTF-8): Tammi peli +Summary(fr.UTF-8): Jouez aux dames +Summary(it.UTF-8): Gioco di dama +Summary(pl.UTF-8): Warcaby Name: dame Version: 0.27 -Release: 1 +Release: 6 License: GPL -Group: X11/Games/Strategy -Group(pl): X11/Gry/Strategiczne +Group: X11/Applications/Games/Strategy Source0: http://super.tacheles.de/~girbal/dame/%{name}-%{version}.tar.gz -Requires: gnome-libs >= 0.30 +# Source0-md5: 80b3f49a32a34719e5448fa99086c739 +Patch0: %{name}-am_fix.patch +Patch1: %{name}-desktop.patch URL: http://super.tacheles.de/~girbal/dame/ +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gettext-devel +BuildRequires: gnome-libs-devel +BuildRequires: libtool BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _prefix /usr/X11R6 -%define _mandir %{_prefix}/man - %description Dame lets you play at draughts in an X window. It comes with checkers, a tricky opponent, and simplech, an even harder to beat opponent. -%description -l pl -Dziêki dame mo¿na graæ w warcaby w X Window. W pakiecie jest -szachownica, sprytny przeciwnik oraz simplech -- przeciwnik, którego -jeszcze trudniej pokonaæ. - -%description -l de +%description -l de.UTF-8 Dame zeichnet ein Damebrett in ein X Fenster. Es kommt mit checkers, einem leichten, und simplech, einem schweren Gegner. -%description -l fr +%description -l fr.UTF-8 Dame vous presente un damier graphique pour jouer aux dames contre l'ordinateur - en personne de checkers ou simplech. +%description -l pl.UTF-8 +Dzięki dame można grać w warcaby w X Window. W pakiecie jest +szachownica, sprytny przeciwnik oraz simplech -- przeciwnik, którego +jeszcze trudniej pokonać. + %prep %setup -q +%patch0 -p1 +%patch1 -p1 %build -CFLAGS="$RPM_OPT_FLAGS" \ -./configure \ - --prefix=%{_prefix} \ - --bindir=%{bindir} -make +rm -f missing acinclude.m4 +%{__gettextize} +%{__libtoolize} +%{__aclocal} -I macros +%{__autoconf} +%{__automake} +%configure +%{__make} %install rm -rf $RPM_BUILD_ROOT -%{__make} prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{bindir} install + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + sysdir=%{_desktopdir} + +%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS README COPYING ChangeLog dame.lsm -%{_prefix}/games/dame -%{_prefix}/games/checkers -%{_prefix}/games/simplech -%{_mandir}/man6/dame.6 -%{_datadir}/pixmaps/dame.png -%dir %{_datadir}/pixmaps/dame -%{_datadir}/pixmaps/dame/*.png -%{_datadir}/apps/Games/dame.desktop -%{_datadir}/locale/de/LC_MESSAGES/dame.mo -%{_datadir}/locale/fr/LC_MESSAGES/dame.mo +%doc AUTHORS README ChangeLog dame.lsm +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man6/dame.6* +%{_pixmapsdir}/* +%{_desktopdir}/*.desktop