I'm no official openSUSE packager and this is one of the first spec files I created. Unfortunately I can't upload the SRPM or ready-build binary packages for x86_64 and i686 here, because they are larger than the maximum allowed file size. But I'll try to get this plugin into the openSUSE build service, so maybe you can get the compiled and signed packages from there in the near future.
Installation on openSUSE 10.2: - download the attached spec file to /usr/src/packages/SPECS/ on your local machine - download the source archive from http://kopete-otr.follefuder.org/kopete-otr-0.5.tar.bz2 to /usr/src/packages/SOURCES/ on your local machine
Open a terminal console and enter: # cd /usr/src/packages # rpmbuild -bs SPECS/kopete-otr.openSUSE102.spec
This will build the SRPM package and place it in /usr/src/packages/SRPMS/
Next, make sure (e.g. with YaST) that the following packages are installed on your system: - libotr - libotr-devel - kdenetwork3-InstantMessenger - kdenetwork3-devel - kdelibs3-devel - qt3-devel Make sure, that you have also installed the general packages needed to compile and build software on openSUSE 10.2.
Next compile a binary package for your architecture: # cd /usr/src/packages # rpmbuild --rebuild SRPMS/kopete-otr-0.5-1.src.rpm
This should build the plugin for your architecture and place the package in the corresponding subfolder in /usr/src/packages/RPMS/
Now use 'su' to become root and install the package with (e.g. for x86_64): # cd /usr/src/packages # su # rpm -Uhv RPMS/x86_64/kopete-otr-0.5*.rpm
You're done. Restart Kopete and the OTR plugin will be listed among the kopete plugins.
There is no kdenetwork3-devel package in openSUSE 10.2 (except for 3.5.7 in the KDE buildservice repository). However, if you want to build the plugin with the official KDE packages you can just remove the kdenetwork3-devel dependency from the SPEC file and it builds and works fine.
Ratings & Comments
1 Comment
There is no kdenetwork3-devel package in openSUSE 10.2 (except for 3.5.7 in the KDE buildservice repository). However, if you want to build the plugin with the official KDE packages you can just remove the kdenetwork3-devel dependency from the SPEC file and it builds and works fine.