File superkaramba.spec of Package superkaramba

Name:           superkaramba
Version:        0.39
Release:        1
Vendor:         LINUX-ADMINISTRATOR.COM
Packager:       Carsten Schoene <cs@linux-administrator.com>
Summary:        SuperKaramba
License:        GPL
Group:          X11/KDE/Network
URL:            http://netdragon.sourceforge.net/
Source0:        %{name}-%{version}.tar.gz
Patch0:		%{name}.diff
BuildRoot:      %{_tmppath}/superkaramba-buildroot

BuildRequires: python python-devel qt3-devel zlib-devel kdeutils3-devel libgpg-error-devel kdelibs3-devel kdemultimedia3-devel arts-devel kdebase3-devel glibc-devel libgcc gcc gcc-c++

%description
SuperKaramba is, in simple terms, a tool that allows you to easily create interactive eye-candy on your KDE desktop. Currently, only linux is officially supported.

%prep
%setup
%patch0 -p1
autoconf
. /etc/opt/kde3/common_options
./configure $configkde --disable-final \
%ifarch x86_64
 --libdir=$kde_libdir --with-qt-dir=/usr/lib/qt3 --with-qt-libraries=/usr/lib/qt3/lib64 --with-qt-includes=/usr/lib/qt3/include
%else
 --with-qt-dir=/usr/lib/qt3 --with-qt-libraries=/usr/lib/qt3/lib --with-qt-includes=/usr/lib/qt3/include
%endif

%__make

%makeinstall-strip
install -d 755 $RPM_BUILD_ROOT/usr/share/doc/packages/%{name}
install -m 644 README AUTHORS COPYING ChangeLog $RPM_BUILD_ROOT/usr/share/doc/packages/%{name}/

cd $RPM_BUILD_ROOT
find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name}
find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}
find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}

%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/%{name}*
rm -rf ../file.list.%{name}

%files -f ../file.list.%{name}

%changelog
* Sun Jun 18 2006 Carsten Schoene <cs@linux-administrator.com>
- version bump to 0.39 and rebuild for SuSE 10.1

* Sat Nov 05 2005 Carsten Schoene <cs@linux-administrator.com>
- rebuild for SuSE 10.0

* Sun Jul 30 2005 Carsten Schoene <cs@linux-administrator.com>
- initial release 0.37-RC1 for SuSE 9.3


openSUSE Build Service is sponsored by