]> git.pld-linux.org Git - packages/dame.git/blobdiff - dame.spec
- tabs in preamble
[packages/dame.git] / dame.spec
index ab073dcb7cada1ede297b12c7a00e33a4b9f8f7e..610f93625f142c31767d615c6aa917a0439918cb 100644 (file)
--- 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
This page took 0.101541 seconds and 4 git commands to generate.