rpms/libzzub/devel libzzub.spec,1.1,1.2
Alexander Kahl (akahl)
fedora-extras-commits at redhat.com
Mon Sep 17 16:19:38 UTC 2007
- Previous message (by thread): rpms/libbonobo/devel .cvsignore, 1.26, 1.27 libbonobo.spec, 1.63, 1.64 sources, 1.26, 1.27
- Next message (by thread): rpms/xulrunner/OLPC-2 sources,1.7,1.8 xulrunner.spec,1.24,1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: akahl
Update of /cvs/pkgs/rpms/libzzub/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17562/devel
Modified Files:
libzzub.spec
Log Message:
update to revision 7
Index: libzzub.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libzzub/devel/libzzub.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libzzub.spec 17 Sep 2007 07:41:51 -0000 1.1
+++ libzzub.spec 17 Sep 2007 16:19:05 -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
- Previous message (by thread): rpms/libbonobo/devel .cvsignore, 1.26, 1.27 libbonobo.spec, 1.63, 1.64 sources, 1.26, 1.27
- Next message (by thread): rpms/xulrunner/OLPC-2 sources,1.7,1.8 xulrunner.spec,1.24,1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list