SPECS: flixengine.spec - create packages for bindings

glen glen at pld-linux.org
Wed Dec 13 18:56:09 CET 2006


Author: glen                         Date: Wed Dec 13 17:56:09 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- create packages for bindings

---- Files affected:
SPECS:
   flixengine.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/flixengine.spec
diff -u SPECS/flixengine.spec:1.3 SPECS/flixengine.spec:1.4
--- SPECS/flixengine.spec:1.3	Wed Dec 13 18:48:56 2006
+++ SPECS/flixengine.spec	Wed Dec 13 18:56:04 2006
@@ -64,6 +64,38 @@
 %description devel
 Header files for On2 Flix Engine library.
 
+%package -n java-flixengine
+Summary:	Java bindings for On2 Flix Engine
+Group:		Libraries
+Requires:	%{name}-libs = %{version}-%{release}
+
+%description -n java-flixengine
+Java bindings for On2 Flix Engine.
+
+%package -n perl-flixengine
+Summary:	Perl bindings for On2 Flix Engine
+Group:		Libraries
+Requires:	%{name}-libs = %{version}-%{release}
+
+%description -n perl-flixengine
+Perl bindings for On2 Flix Engine.
+
+%package -n php-flixengine
+Summary:	PHP bindings for On2 Flix Engine
+Group:		Libraries
+Requires:	%{name}-libs = %{version}-%{release}
+
+%description -n php-flixengine
+PHP bindings for On2 Flix Engine.
+
+%package -n python-flixengine
+Summary:	Python bindings for On2 Flix Engine
+Group:		Libraries
+Requires:	%{name}-libs = %{version}-%{release}
+
+%description -n python-flixengine
+Python bindings for On2 Flix Engine.
+
 %prep
 %setup -q -n flix-engine-installer-linux-%{version}_DEMO
 bin=flix-engine-installer-linux-%{version}_DEMO.bin
@@ -174,6 +206,7 @@
 cd flixperl
 %{__make} pure_install \
 	DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/On2/flixengine2/.packlist
 cd ..
 
 # Python
@@ -181,6 +214,7 @@
 %{__python} setup.py install \
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
+%py_postclean
 cd ..
 
 # Java
@@ -240,12 +274,40 @@
 %{_examplesdir}/%{name}-%{version}/php
 %{_examplesdir}/%{name}-%{version}/python
 
+%files -n java-flixengine
+%defattr(644,root,root,755)
+%{_libdir}/libflixengine2_jni.so
+%{_javadir}/flixengine2.jar
+
+%files -n perl-flixengine
+%defattr(644,root,root,755)
+%dir %{perl_vendorarch}/On2
+%{perl_vendorarch}/On2/flixengine2.pm
+%dir %{perl_vendorarch}/auto/On2
+%dir %{perl_vendorarch}/auto/On2/flixengine2
+%{perl_vendorarch}/auto/On2/flixengine2/flixengine2.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/On2/flixengine2/flixengine2.so
+
+%files -n php-flixengine
+%defattr(644,root,root,755)
+%{extensionsdir}/flixengine2.so
+%{_libdir}/flixengine2.php
+
+%files -n python-flixengine
+%defattr(644,root,root,755)
+%{py_sitedir}/_flixengine2.so
+%{py_sitedir}/flixengine2.pyc
+%{py_sitedir}/flixengine2.pyo
+
 %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.4  2006/12/13 17:56:04  glen
+- create packages for bindings
+
 Revision 1.3  2006/12/13 17:48:56  glen
 - compile in %build, install in %install
 
================================================================

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



More information about the pld-cvs-commit mailing list