General
Start
APT/YUM/Smart config
List of packages
GPG key
Mirrors
Recent changes
How you can help
Pydar2
Thanks:
Buildsystem hosted at ithomi
SUSE and Mandrake builds made by the openSUSE build service
Static site hosted at ULYSSIS
Primary mirrors hosted at BELNET, HEAnet, 3TI
Varia:
Random picture!
Looking for a java job?
Leuven blogt

PyKDE spec file : Dries RPM Repository

Back to the PyKDE rpms

Current spec in pydar2:


# $Id: PyKDE.spec 4286 2006-04-08 21:39:15Z dries $

# Authority: dries

Summary: Python bindings for the KDE desktop environment
Name: PyKDE
Version: 3.11rc1
Release: 1.2
License: MIT
Group: Development/Languages
URL: http://www.riverbankcomputing.co.uk/pykde/

Source: http://www.river-bank.demon.co.uk/download/PyKDE2/PyKDE-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python, python-devel, sip, sip-devel
BuildRequires: PyQt, PyQt-devel, qt, qt-devel
BuildRequires: kdelibs-devel, gcc-c++
Requires: sip, python, PyQt, PyQt-devel

%description
PyKDE is a set of Python bindings for the KDE desktop environment. The
bindings are implemented as a set of Python modules: dcop, kdecore, kdesu,
kdefx, kdeui, kio, kfile, kparts, khtml, kjs, kspell and kdeprint. The
modules correspond to libraries in the kdelibs package. PyKDE supports
nearly all classes and methods in these libraries.

%package devel
Summary: PyKDE development files
Group: Development/Languages
Requires: PyKDE = %{version}-%{release}

%description devel
Development files for PyKDE.

%post
/sbin/ldconfig 2>/dev/null

%postun
/sbin/ldconfig 2>/dev/null

%prep
%setup

%build
. /etc/profile.d/qt.sh
export KDEDIR=/usr
python configure.py
sed -i "s/-lDCOP -lkdecore/-lDCOP -lkdeui -lkdecore/g;" kdecore/Makefile
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
. /etc/profile.d/qt.sh
%makeinstall DESTDIR=%{buildroot}

%clean
%{__rm} -rf %{buildroot}

%files devel
%defattr(-, root, root, 0755)
%{_datadir}/sip

%files
%defattr(-, root, root, 0755)
%doc AUTHORS BUGS ChangeLog COPYING doc importTest.py INSTALL NEWS README THANKS
%{_libdir}/python*/site-packages/*.so
%{_libdir}/python*/site-packages/*.py
%{_libdir}/python*/site-packages/*.pyc

%changelog
* Sat Apr 08 2006 Dries Verachtert  - 3.11rc1-1.2
- Rebuild for Fedora Core 5.

* Wed May 26 2004 Dries Verachtert  3.11rc1-1
- update to 3.11rc1

* Fri Apr 23 2004 Dries Verachtert  3.11alpha5-1
- update to newer version: 3.11alpha5

* Thu Apr 22 2004 Dries Verachtert  3.8.0-4
- rebuild

* Sun Jan 11 2004 Dries Verachtert  3.8.0-3
- cleanup of spec file
- added a devel package

* Sat Dec 27 2003 Dries Verachtert  3.8.0-2
- finished the packaging
- stripping of libs

* Thu Dec 25 2003 Dries Verachtert  3.8.0-1
- first packaging for Fedora Core 1