SPECS: ogre.spec - descs cleanups, files fixes

qboosh qboosh at pld-linux.org
Sun Apr 16 00:37:30 CEST 2006


Author: qboosh                       Date: Sat Apr 15 22:37:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- descs cleanups, files fixes

---- Files affected:
SPECS:
   ogre.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/ogre.spec
diff -u SPECS/ogre.spec:1.7 SPECS/ogre.spec:1.8
--- SPECS/ogre.spec:1.7	Sun Apr 16 00:33:19 2006
+++ SPECS/ogre.spec	Sun Apr 16 00:37:25 2006
@@ -1,9 +1,7 @@
 # $Revision$, $Date$
-# TODO
-# - unify ogre caps
 %define 	_rc	0.RC1.1
-Summary:	Ogre
-Summary(pl):	Ogre
+Summary:	Object-oriented Graphics Rendering Engine
+Summary(pl):	OGRE - zorientowany obiektowo silnik renderowania grafiki
 Name:		ogre
 Version:	1.2.0
 Release:	%{_rc}
@@ -11,43 +9,45 @@
 Group:		Applications
 Source0:	http://dl.sourceforge.net/ogre/%{name}-linux_osx-v1-2-0%{_rc}.tar.bz2
 # Source0-md5:	23e17ef81f1d7e159c0ba626a27c7681
-#Patch0: %{name}-DESTDIR.patch
 URL:		http://www.ogre3d.org/
 BuildRequires:	DevIL-devel >= 1.6.7
-
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libtool
 BuildRequires:	zziplib-devel
-BuildRequires:	DevIL-devel >= 1.6.7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-OGRE Library
-
-%package examples
-Summary:	ogre samples
-Group:		Examples
-######		Unknown group!
+Object-oriented Graphics Rendering Engine.
 
-%description examples
-OGRE samples
+%description -l Pl
+OGRE - zorientowany obiektowo silnik renderowania grafiki
 
 %package devel
 Summary:	Header files for OGRE library
 Summary(pl):	Pliki nagłówkowe biblioteki OGRE
 Group:		Development/Libraries
-#Requires:	%{name} = %{version}-%{release}
+Requires:	%{name} = %{version}-%{release}
 
 %description devel
 This is the package containing the header files for OGRE library.
 
 %description devel -l pl
-Ten pakiet zawiera pliki nagłówkowe biblioteki OGRE
+Ten pakiet zawiera pliki nagłówkowe biblioteki OGRE.
+
+%package examples
+Summary:	OGRE samples
+Summary(pl):	Przykłady do OGRE
+Group:		Applications
+
+%description examples
+OGRE samples.
+
+%description examples -l pl
+Przykłady do OGRE.
 
 %prep
 %setup -q -n %{name}new
-#%patch0 -p1
 
 find -name CVS -print0 | xargs -0 rm -rf
 
@@ -57,7 +57,6 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-cp -f /usr/share/automake/config.sub .
 %configure \
 	--disable-cg
 
@@ -66,7 +65,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-cp -pr Samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
+cp -pr Samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -81,19 +80,20 @@
 %defattr(644,root,root,755)
 %doc AUTHORS BUGS README INSTALL
 %attr(755,root,root) %{_bindir}/Ogre*
-%attr(755,root,root) %{_libdir}/libOgre*so*
+%attr(755,root,root) %{_libdir}/libOgre*.so.*.*.*
+%dir %{_libdir}/OGRE
+%attr(755,root,root) %{_libdir}/OGRE/*so
+# needed or drop?
 %{_libdir}/OGRE/Plugin_*.la
 %{_libdir}/OGRE/RenderSystem_GL.la
-%{_libdir}/libOgre*.la
 
 %files devel
 %defattr(644,root,root,755)
 %doc Docs/*
-%dir %{_includedir}/OGRE
-%{_includedir}/OGRE/*.h
+%attr(755,root,root) %{_libdir}/libOgre*.so
+%{_libdir}/libOgre*.la
+%{_includedir}/OGRE
 %{_pkgconfigdir}/OGRE.pc
-%dir %{_libdir}/OGRE
-%{_libdir}/OGRE/*so
 
 %files examples
 %defattr(644,root,root,755)
@@ -105,6 +105,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2006/04/15 22:37:25  qboosh
+- descs cleanups, files fixes
+
 Revision 1.7  2006/04/15 22:33:19  blekot
 - proper release
 - ogre-1.2.0-0.RC1.1 is better idea then ogre-1.2.0-RC1.0.1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ogre.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list