]> git.pld-linux.org Git - packages/ascal.git/blob - ascal.spec
c3b23a708702080b22d04d1f1454d6350e207eea
[packages/ascal.git] / ascal.spec
1 Summary:        Gnome Version of the board game Lasca
2 Summary(pl.UTF-8):      Wersja gry Lasca dla Gnome
3 Name:           ascal
4 Version:        0.1.1
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://dl.sourceforge.net/ascal/%{name}-%{version}.tar.bz2
9 # Source0-md5:  d0121cac9ab3af6b5ef6501fd602b96c
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-optimization.patch
12 Patch2:         %{name}-gcc.patch
13 URL:            http://sourceforge.net/projects/ascal/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  intltool
17 BuildRequires:  libglademm >= 2.4.0
18 BuildRequires:  libgnomecanvasmm-devel >= 2.0.0
19 BuildRequires:  libsigc++-devel >= 2.0.0
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Lasca is a game similar to Draughts but with some really cool
24 enhancements.
25
26 %description -l pl.UTF-8
27 Lasca jest to gra podobna do Warcabów ale posiada wiele ciekawych
28 ulepszeń.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33 %patch1 -p1
34 %patch2 -p1
35
36 %build
37 %{__intltoolize}
38 %{__aclocal} -I m4/
39 %{__autoconf}
40 %{__autoheader}
41 %{__automake}
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %find_lang %{name} --all-name
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %doc AUTHORS ChangeLog NEWS README THANKS
59 %attr(755,root,root) %{_bindir}/*
60 %{_datadir}/%{name}
61 %{_desktopdir}/%{name}.desktop
62 %{_pixmapsdir}/%{name}.png
This page took 0.054588 seconds and 3 git commands to generate.