rpms/qzion/F-10 qzion-0.4.0-fix_python_install.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 qzion.spec, 1.1, 1.2 sources, 1.2, 1.3 qzion-0.3.0-rmhardcoded.patch, 1.1, NONE
john5342
john5342 at fedoraproject.org
Sat Jun 13 18:19:42 UTC 2009
- Previous message (by thread): rpms/lxde-common/F-11 lxde-common-0.4-lxde-logout.desktop.patch, NONE, 1.1 lxde-lock-screen.desktop, NONE, 1.1 lxde-common-0.4-lxpanel-config.patch, 1.2, 1.3 lxde-common.spec, 1.7, 1.8
- Next message (by thread): rpms/TeXmacs/F-10 .cvsignore, 1.33, 1.34 TeXmacs.spec, 1.62, 1.63 sources, 1.34, 1.35
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: john5342
Update of /cvs/pkgs/rpms/qzion/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21060
Modified Files:
.cvsignore qzion.spec sources
Added Files:
qzion-0.4.0-fix_python_install.patch
Removed Files:
qzion-0.3.0-rmhardcoded.patch
Log Message:
* Sat Jun 13 2009 John5342 <john5342 at, fedoraproject.org> 0.4.0-1
- Updated to new upstream release (0.4.0)
qzion-0.4.0-fix_python_install.patch:
--- NEW FILE qzion-0.4.0-fix_python_install.patch ---
diff -ur qzion-mainline/python/CMakeLists.txt qzion-mainline/python/CMakeLists.txt
--- qzion-mainline/python/CMakeLists.txt 2009-02-18 21:38:44.000000000 +0000
+++ qzion-mainline/python/CMakeLists.txt 2009-03-05 20:41:10.159038865 +0000
@@ -16,9 +16,6 @@
set(SIP_TAGS ALL WS_X11 ${PYQT4_VERSION_TAG})
set(SIP_EXTRA_OPTIONS -g)
-set(PYTHON_SITE_PACKAGES_DIR
- ${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_SHORT_VERSION}/site-packages)
-
# Putting inside the "concepts" package until we release.
file(GLOB qzion_files_sip qzion/*.sip)
set(SIP_EXTRA_FILES_DEPEND ${qzion_files_sip})
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/qzion/F-10/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore 21 Dec 2008 23:17:51 -0000 1.2
+++ .cvsignore 13 Jun 2009 18:19:11 -0000 1.3
@@ -1 +1 @@
-qzion-0.3.0.tar.gz
+d32223eae1bba7f1b191c334668f3f7dd662f582.tar.gz
Index: qzion.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qzion/F-10/qzion.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- qzion.spec 21 Dec 2008 23:17:51 -0000 1.1
+++ qzion.spec 13 Jun 2009 18:19:11 -0000 1.2
@@ -1,17 +1,27 @@
+
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
Name: qzion
-Version: 0.3.0
-Release: 2%{?dist}
+Version: 0.4.0
+Release: 1%{?dist}
Summary: A canvas abstraction
Group: System Environment/Libraries
License: GPLv3+
-URL: http://dev.openbossa.org/trac/qedje/
-Source0: http://dev.openbossa.org/qedje/downloads/source/%{name}/%{name}-%{version}.tar.gz
-Patch0: qzion-0.3.0-rmhardcoded.patch
+URL: http://code.openbossa.org/projects/qzion
+Source0: http://code.openbossa.org/projects/%{name}/repos/mainline/archive/d32223eae1bba7f1b191c334668f3f7dd662f582.tar.gz
+
+Patch0: qzion-0.4.0-fix_python_install.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: qt4-devel
+BuildRequires: PyQt4-devel
+BuildRequires: cmake
BuildRequires: pkgconfig
+BuildRequires: python-devel
+BuildRequires: sip-devel
%description
QZion is an canvas abstraction used by and made for QEdje.
@@ -20,6 +30,7 @@ QZion is an canvas abstraction used by a
Summary: Development files for %{name}
Group: Development/Libraries
+Requires: cmake
Requires: pkgconfig
Requires: %{name} = %{version}-%{release}
@@ -27,25 +38,46 @@ Requires: %{name} = %{version}-%{releas
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
-%prep
-%setup -q
-%patch0 -p1
+%package python
+
+Summary: Python bindings for %{name}
+Group: Development/Libraries
+Requires: PyQt4
+
+%description python
+The %{name}-python package contains python bindings for %{name}
+
+
+%package python-devel
-#Support installing in buildroot
-sed -i "s/^DESTDIR = \$(QTDIR)/DESTDIR = \$(INSTALL_ROOT)\$(QTDIR)/" */*.pro */*/*.pro
+Summary: Python bindings for %{name}
+Group: Development/Libraries
+Requires: sip
+Requires: PyQt4-devel
+Requires: %{name}-python = %{version}-%{release}
+%description python-devel
+The %{name}-python-devel package contains the development files for
+the python bindings for %{name}
+
+%prep
+%setup -q -n %{name}-mainline
+%patch0 -p1
%build
-%{_qt4_qmake} PREFIX=/usr LIBDIR=%{_libdir}
-make %{?_smp_mflags}
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake} \
+-DPYTHON_SITE_PACKAGES_DIR=%{python_sitearch} \
+..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
%install
rm -rf %{buildroot}
-make install INSTALL_ROOT=%{buildroot}
-
-#These are apparently only needed for static linking?
-find %{buildroot} -name *.prl -print -delete
+make install/fast -C %{_target_platform} DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
@@ -67,8 +99,18 @@ rm -rf %{buildroot}
%{_includedir}/*
%{_libdir}/pkgconfig/%{name}.pc
+%files python
+%defattr(-,root,root,-)
+%{python_sitearch}/%{name}
+
+%files python-devel
+%defattr(-,root,root,-)
+%{_datadir}/sip/%{name}
%changelog
+* Sat Jun 13 2009 John5342 <john5342 at, fedoraproject.org> 0.4.0-1
+- Updated to new upstream release (0.4.0)
+
* Fri Dec 19 2008 John5342 <john5342 at, fedoraproject.org> 0.3.0-2
- Implemented package review suggestions
- Remove BR: eet-devel
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/qzion/F-10/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources 21 Dec 2008 23:17:51 -0000 1.2
+++ sources 13 Jun 2009 18:19:11 -0000 1.3
@@ -1 +1 @@
-293cb0a9783f7111d97838fea8b6970a qzion-0.3.0.tar.gz
+a9e6221d98d7abeb5ffb05b57f7d0276 d32223eae1bba7f1b191c334668f3f7dd662f582.tar.gz
--- qzion-0.3.0-rmhardcoded.patch DELETED ---
- Previous message (by thread): rpms/lxde-common/F-11 lxde-common-0.4-lxde-logout.desktop.patch, NONE, 1.1 lxde-lock-screen.desktop, NONE, 1.1 lxde-common-0.4-lxpanel-config.patch, 1.2, 1.3 lxde-common.spec, 1.7, 1.8
- Next message (by thread): rpms/TeXmacs/F-10 .cvsignore, 1.33, 1.34 TeXmacs.spec, 1.62, 1.63 sources, 1.34, 1.35
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list