summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Lee <robinlee.sysu@gmail.com>2010-06-14 14:48:21 +0800
committerRobin Lee <robinlee.sysu@gmail.com>2010-06-14 14:48:21 +0800
commit5eb2777df279e77870a8d4d9c6e424547bc10662 (patch)
tree1001e429a9d4f390047459d003248d2589f8910f
parentd40e5a17d9aef5480af140b8535475884a8ccf57 (diff)
downloadrpm-5eb2777df279e77870a8d4d9c6e424547bc10662.tar.gz
rpm-5eb2777df279e77870a8d4d9c6e424547bc10662.tar.xz
rpm-5eb2777df279e77870a8d4d9c6e424547bc10662.zip
gmchess-0.20.6-1
-rw-r--r--gmchess/F-13/gmchess.spec33
1 files changed, 21 insertions, 12 deletions
diff --git a/gmchess/F-13/gmchess.spec b/gmchess/F-13/gmchess.spec
index c0fff47..d111651 100644
--- a/gmchess/F-13/gmchess.spec
+++ b/gmchess/F-13/gmchess.spec
@@ -1,19 +1,19 @@
Name: gmchess
Version: 0.20.6
-Release: 0.wks.1
+Release: 1%{?dist}
Summary: Chinese Chess with GTKmm and C++
Group: Amusements/Games
-License: GNU GPL v2
+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
-Requires: gtkmm24
+BuildRequires: gtkmm24-devel >= 2.6.0 intltool
+#Requires: gtkmm24
%description
-
+%{summary}
%prep
%setup -q
@@ -32,19 +32,28 @@ make install DESTDIR=$RPM_BUILD_ROOT
%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 NEWS README
-%{_bindir}/**
-%{_libdir}/**
-%{_datadir}/applications/**
-%{_datadir}/gmchess/**
-%{_datadir}/man/**
-%{_datadir}/pixmaps/**
+%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