SPECS: ogre.spec (NEW) - initial, need some work and spec need wor...
agaran
agaran at pld-linux.org
Sat Apr 15 15:23:10 CEST 2006
Author: agaran Date: Sat Apr 15 13:23:10 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, need some work and spec need work too, NFI
---- Files affected:
SPECS:
ogre.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/ogre.spec
diff -u /dev/null SPECS/ogre.spec:1.1
--- /dev/null Sat Apr 15 15:23:10 2006
+++ SPECS/ogre.spec Sat Apr 15 15:23:04 2006
@@ -0,0 +1,108 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%bcond_without tests # build without tests
+#
+Summary: Ogre
+Summary(pl): Ogre
+Name: ogre
+Version: 1.2.0rc1
+Release: 0.1
+License: LGPL
+Group: Applications
+Source0: http://dl.sourceforge.net/ogre/%{name}-linux_osx-v1-2-0RC1.tar.bz2
+# Source0-md5: 23e17ef81f1d7e159c0ba626a27c7681
+#Patch0: %{name}-DESTDIR.patch
+URL: http://www.ogre3d.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: zziplib-devel
+BuildRequires: DevIL-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+OGRE Library
+
+
+%package examples
+Summary: ogre samples
+Group: Examples
+
+%description examples
+OGRE samples
+
+
+%package devel
+Summary: Header files for ... library
+Summary(pl): Pliki nagłówkowe biblioteki ...
+Group: Development/Libraries
+#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
+
+%prep
+%setup -q -n ogrenew
+#%patch0 -p1
+
+find . -name CVS -print0 | xargs -0 rm -rf
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+cp -f /usr/share/automake/config.sub .
+%configure \
+ --disable-cg
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -pr Samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS BUGS README INSTALL
+%attr(755,root,root) %{_libdir}/libOgre*so*
+%attr(755,root,root) %{_bindir}/Ogre*
+
+%files devel
+%defattr(644,root,root,755)
+%doc Docs/*
+%dir %{_includedir}/OGRE
+%{_includedir}/OGRE/*.h
+%{_pkgconfigdir}/OGRE.pc
+%dir %{_libdir}/OGRE
+%{_libdir}/OGRE/*so
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/04/15 13:23:04 agaran
+- initial, need some work and spec need work too, NFI
+
================================================================
More information about the pld-cvs-commit
mailing list