packages: vitooki/vitooki.spec (NEW) - start building project
glen
glen at pld-linux.org
Thu Aug 5 13:45:54 CEST 2010
Author: glen Date: Thu Aug 5 11:45:54 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- start building project
---- Files affected:
packages/vitooki:
vitooki.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/vitooki/vitooki.spec
diff -u /dev/null packages/vitooki/vitooki.spec:1.1
--- /dev/null Thu Aug 5 13:45:54 2010
+++ packages/vitooki/vitooki.spec Thu Aug 5 13:45:49 2010
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with apidocs # do not build and package API docs
+%bcond_without static_libs # don't build static libraries
+
+Summary: ViTooKi - The Video ToolKit
+Name: vitooki
+Version: 0.1
+Release: 0.1
+License: GPL v2
+Group: Applications
+Source0: %{name}-20100804.tar.bz2
+# Source0-md5: -
+URL: http://vitooki.sourceforge.net/
+BuildRequires: SDL-devel
+BuildRequires: SDL_image-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: expat-devel
+BuildRequires: freetype-devel
+BuildRequires: libmad-devel
+BuildRequires: libogg-devel
+BuildRequires: libtheora-devel
+BuildRequires: nasm
+BuildRequires: openssl-devel
+BuildRequires: qt-devel
+BuildRequires: slang-devel
+ExclusiveArch: %{ix86} %{x8664} arm
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Video-Toolkit is a operating system independent, powerful
+high-level C++ multimedia library developed to simplify the
+implementation of multimedia applications.
+
+%prep
+%setup -q -n %{name}
+
+%build
+#export QTDIR=%{_prefix}
+%{__make} -j1 commonucl sord \
+ PWD=$(pwd) \
+ CPP="%{__cxx}" \
+ GCC="%{__cc}" \
+ PREFIX=%{_prefix} \
+ SDL_LIBS=%{_libdir} \
+%ifarch %{ix86}
+ VITOOKI_BUILD_ARCH=intel32 \
+%endif
+%ifarch %{x8664}
+ VITOOKI_BUILD_ARCH=intel64 \
+%endif
+
+%{?with_apidocs:doxygen doxygen.cfg}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS BUGLIST DOCUMENTATION INSTALL TODO
+
+%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 2010/08/05 11:45:49 glen
+- start building project
+
================================================================
More information about the pld-cvs-commit
mailing list