File kvpnc.spec of Package kvpnc
#
# spec file for package kvpnc (Version 0.9.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: kvpnc
BuildRequires: kdebase4-workspace-devel libkde4-devel update-desktop-files
BuildRequires: fdupes gpgme-devel libkdepimlibs4-devel libqimageblitz-devel
Url: http://home.gna.org/kvpnc/
License: GPL v2 or later
Group: Productivity/Networking/System
Summary: GUI Front-End for openswan and vpnc
Version: 0.9.3
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-%{version}-kde4.tar.bz2
Source1: kvpnc.rpmlintrc
Requires: kdebase4-workspace kdebase4-runtime
Provides: kde4-kvpnc = %{version}
Obsoletes: kde4-kvpnc < %{version}
%description
The application can create configurations for various kinds of VPN
connections. You should also install the vpnc or openswan package.
Authors:
--------
Christoph Thielecke <crissi99@gmx.de>
%prep
%setup -q -n %{name}-%{version}-kde4
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%makeinstall
%suse_update_desktop_file -G "VPNC FrontEnd" kvpnc Networking
%fdupes %{buildroot}%{_datadir}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_datadir}/kde4/apps/kvpnc
%{_bindir}/kvpnc
%{_datadir}/applications/kde4
%{_datadir}/icons/*
%changelog