]> git.pld-linux.org Git - packages/ascal.git/blob - ascal.spec
- better optimization and gcc patches
[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 >= 2.50
15 BuildRequires:  automake
16 BuildRequires:  gtkmm-devel >= 2.6.0
17 BuildRequires:  intltool
18 BuildRequires:  libglademm >= 2.4.0
19 BuildRequires:  libgnomecanvasmm-devel >= 2.0.0
20 BuildRequires:  libsigc++-devel >= 1:2.0.0
21 BuildRequires:  pkgconfig
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Lasca is a game similar to Draughts but with some really cool
26 enhancements.
27
28 %description -l pl.UTF-8
29 Lasca to gra podobna do warcabów, ale mająca wiele ciekawych
30 ulepszeń.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35 %patch1 -p1
36 %patch2 -p1
37
38 %build
39 %{__intltoolize}
40 %{__aclocal} -I m4
41 %{__autoconf}
42 %{__autoheader}
43 %{__automake}
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %find_lang %{name} --all-name
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files -f %{name}.lang
59 %defattr(644,root,root,755)
60 %doc AUTHORS ChangeLog NEWS README THANKS
61 %attr(755,root,root) %{_bindir}/*
62 %{_datadir}/%{name}
63 %{_desktopdir}/%{name}.desktop
64 %{_pixmapsdir}/%{name}.png
This page took 0.100619 seconds and 3 git commands to generate.