SPECS: gemrb.spec - fix installation - %files

shadzik shadzik at pld-linux.org
Fri Nov 3 00:30:26 CET 2006


Author: shadzik                      Date: Thu Nov  2 23:30:26 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix installation
- %files

---- Files affected:
SPECS:
   gemrb.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/gemrb.spec
diff -u SPECS/gemrb.spec:1.2 SPECS/gemrb.spec:1.3
--- SPECS/gemrb.spec:1.2	Thu Nov  2 22:33:59 2006
+++ SPECS/gemrb.spec	Fri Nov  3 00:30:21 2006
@@ -12,12 +12,14 @@
 Group:		Applications/Emulators
 Source0:	http://dl.sourceforge.net/gemrb/%{name}-%{version}.tar.gz
 # Source0-md5:	5ccc073a21464a33ca0e712c5dba34b0
+Patch0:		%{name}-Makefile_am.patch
 URL:		http://gemrb.sourceforge.net/
 BuildRequires:	OpenAL-devel
 BuildRequires:	SDL-devel >= 1.2
 BuildRequires:	autoconf
 BuildRequires:	automake
 %{?with_png:BuildRequires:	libpng-devel}
+BuildRequires:	libtool
 BuildRequires:	python-devel >= 1:2.3.0
 BuildRequires:	zlib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,8 +36,10 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
@@ -54,7 +58,15 @@
 
 %files
 %defattr(644,root,root,755)
-#%doc AUTHORS ChangeLog NEWS README TODO %{name}/docs/en/*.txt
+%doc AUTHORS ChangeLog NEWS README TODO %{name}/docs/en/*.txt
+%attr(755,root,root) %{_bindir}/gemrb
+%{_libdir}/*.la
+%attr(755,root,root) %{_libdir}/*.so.0.0.0
+%{_libdir}/gemrb/*.la
+%attr(755,root,root) %{_libdir}/gemrb/*.so.0.0.0
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/GemRB.cfg
+%{_datadir}/gemrb
+%{_mandir}/man1/gemrb.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -62,6 +74,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/11/02 23:30:21  shadzik
+- fix installation
+- %files
+
 Revision 1.2  2006/11/02 21:33:59  shadzik
 - correct BR, python >= 2.3 is required
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gemrb.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list