blob: d1116519883825cd79297e70a28997ab5ef25fde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
Name: gmchess
Version: 0.20.6
Release: 1%{?dist}
Summary: Chinese Chess with GTKmm and C++
Group: Amusements/Games
License: GPLv2
URL: http://code.google.com/p/gmchess/
Source0: http://gmchess.googlecode.com/files/%{name}-%{version}.tar.bz2
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: gtkmm24-devel >= 2.6.0 intltool
#Requires: gtkmm24
%description
%{summary}
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
%{_bindir}/*
%{_libdir}/libeval.so.*
%exclude %{_libdir}/*.so
%exclude %{_libdir}/*.a
%exclude %{_libdir}/*.la
%{_datadir}/applications/*
%{_datadir}/%{name}
%{_datadir}/man/*/*
%{_datadir}/pixmaps/*
%changelog
* Mon Jun 14 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.20.6-1
- renewed
* Thu May 6 2010 Kunshan Wang <wks1986@gmail.com> 0.20.6-0.wks.1
- Initial RPM release
|