File rutilt.spec of Package RutilT

#
# spec file for RutilT (Version 0.18)
#
# Copyright (c) 2009 SOAD Project, Russia.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bug fixes or comments to the Maintainer: sda00@himki.net
#
# Access to the development branch is below (via bzr)
# bzr branch lp:RutilT
#
 
# norootforbuild
 
Name:		rutilt
Version:	0.18
Release:	SOAD.1
Summary:	RutilT is the advanced configuration tool for Ra-Link cards
License:	GPL
Group:		Productivity/Networking/System
URL:		http://bonrom.cbbknet.com/
Packager:	sda00 (sda00@himki.net)
#Vendor:	
Source:		RutilTv%{version}.tar.gz
##Source1:	RutilT.init
#Patch1:		gui.patch
##Patch2:		misc.patch
#Provides:       RutilT libopenssl0_9_8
Requires:	dbus-1-python net-tools iproute2 ethtool filesystem python gksu hal sysconfig pm-utils wireless-tools
BuildRequires:	gcc-c++ gcc python  libopenssl-devel  openssl wpa_supplicant freetype2-devel freetype2 dbus-1-devel python-devel kernel-source kernel-syms linux-kernel-headers
#BuildRequires:	
BuildRequires:	gtk2-devel dbus-1-python dbus-1-python-devel gtk2 net-tools iproute2 ethtool update-desktop-files hal sysconfig pm-utils update-desktop-files
BuildRequires:  dhcp-devel vpnc
BuildRoot:	%{_tmppath}/%{name}-%{version}-build

%if %suse_version > 1030
##BuildRequires:  -post-build-checks -brp-check-suse
BuildRequires:	libdhcp6client-devel
%endif
 
%description
RutilT is the advanced configuration tool for Ra-Link cards. 
 
Have fun!
 
%prep
%setup -q -n RutilTv%{version}
 
%build
./configure.sh --kernel_sources=/usr/src/linux --prefix=/usr
make
 
%install
%makeinstall
%suse_update_desktop_file -r rutilt System Network

find $RPM_BUILD_ROOT/ -type f  -iname '*.la' -exec rm {} \;
find $RPM_BUILD_ROOT/ -type f  -iname '*.a' -exec rm {} \;
 
%clean
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
 
%files 
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/apps
%{_datadir}/applications/*
%{_mandir}/man1/*
 
%changelog
* Tue Feb 10 2009 first build sda00@himki.net
- first build for SUSE
openSUSE Build Service is sponsored by