rpms/libzzub/F-7 libzzub.spec,1.1,1.2

Alexander Kahl (akahl) fedora-extras-commits at redhat.com
Mon Sep 17 16:23:26 UTC 2007


Author: akahl

Update of /cvs/pkgs/rpms/libzzub/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17782/F-7

Modified Files:
	libzzub.spec 
Log Message:
update to revision 7



Index: libzzub.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libzzub/F-7/libzzub.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libzzub.spec	17 Sep 2007 07:53:27 -0000	1.1
+++ libzzub.spec	17 Sep 2007 16:22:54 -0000	1.2
@@ -1,6 +1,6 @@
 Name:		libzzub
 Version:	0.2.3
-Release:	5%{?dist}
+Release:	7%{?dist}
 Summary:	Powerful music sequencing library
 
 Group:		System Environment/Libraries
@@ -47,6 +47,19 @@
 developing applications that use %{name}.
 
 
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%package -n	pyzzub
+Summary:	Python Bindings For libzzub
+Group:		Development/Libraries
+
+BuildRequires:	python-devel
+Requires:	%{name} = %{version}-%{release}
+
+%description -n	pyzzub
+These are the Python bindings For libzzub, allowing you to use it from within
+Python scripts.
+
+
 %prep
 %setup -q
 mac2unix SConstruct
@@ -75,11 +88,17 @@
 
 scons CCFLAGS="%{optflags}"
 
+cd src/pyzzub
+%{__python} setup.py build
 
 %install
 %{__rm} -rf $RPM_BUILD_ROOT
 scons install CCFLAGS="%{optflags}"
 
+cd src/pyzzub
+%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
 cd $RPM_BUILD_ROOT%{_docdir}
 %{__mv} zzub %{name}-%{version}
 
@@ -114,7 +133,18 @@
 %{_libdir}/libzzub.so
 %{_defaultdocdir}/%{name}-devel-%{version}
 
+%files -n pyzzub
+%defattr(-,root,root,-)
+%{python_sitelib}/zzub
+
 %changelog
+* Mon Sep 17 2007 Alexander Kahl <akahl at iconmobile.com> - 0.2.3-7
+- re-added pyzzub python-devel build requirement
+- explicitly nailed the name of pyzzub
+
+* Mon Sep 17 2007 Alexander Kahl <akahl at iconmobile.com> - 0.2.3-6
+- added pyzzub as an internal extra package
+
 * Thu Sep 13 2007 Alexander Kahl <akahl at iconmobile.com> - 0.2.3-5
 - removed redundant explicit flac requirement
 




More information about the fedora-extras-commits mailing list