# # spec file for package knutclient (Version 0.9.3) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: knutclient Version: 0.9.3 Release: 3 License: GPL URL: http://www.alo.cz/knutclient BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: kdelibs3-devel Source: %{name}-%{version}.tar.bz2 Requires: nut Group: Hardware/UPS Summary: NUT GUI Interface %description Knutclient is a GUI interface for UPS system NUT %prep %setup -n %{name}-%{version} -q #. /etc/opt/kde3/common_options #update_admin %build . /etc/opt/kde3/common_options %ifarch x86_64 ppc64 ./configure $configkde --disable-final --enable-libsuffix=64 %else ./configure $configkde --disable-final %endif make %{?jobs:-j%jobs} %install . /etc/opt/kde3/common_options make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %doc README AUTHORS ChangeLog COPYING INSTALL /opt/kde3/bin/* /opt/kde3/share/apps/knutclient /opt/kde3/share/icons/??color /opt/kde3/share/applnk/Utilities/knutclient.desktop /opt/kde3/share/locale/*/LC_MESSAGES/*.mo /opt/kde3/share/doc/HTML/??/knutclient/* %changelog -n knutclient * Sun Mar 18 2007 - nderkach@gmail.com - initial package (v0.9.3)