File ksniffer.spec of Package ksniffer
#
# spec file for package ksniffer (Version 0.3.2)
#
# Copyright 2007-2008 SUSE LINUX Products GmbH, Nuernberg, Germany
# Copyright 2009 Buschmann <buschmann23@opensuse.org>
#
# 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.
#
Name: ksniffer
BuildRequires: kdelibs3-devel libpcap-devel
License: GPL-2.0-or-later
URL: http://www.ksniffer.org
Group: Productivity/Networking/Diagnostic
Summary: Sniffing Application for KDE
Version: 0.3.2
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
Patch1: %{name}-%{version}-strcmp.patch
%description
This application is a sniffing application for KDE.
%prep
%setup -q
%patch -P 1
. /etc/opt/kde3/common_options
update_admin
%build
. /etc/opt/kde3/common_options
./configure $configkde
make
%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
#%suse_update_desktop_file %name System Network
%find_lang %{name}
%clean
%__rm -rf "%{buildroot}"
#%files
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING README TODO
/opt/kde3/bin/*
/opt/kde3/share/icons/*
/opt/kde3/share/appl*/*/*.desktop
/opt/kde3/share/apps/ksniffer
%lang(sr) /opt/kde3/share/locale/sr@Latn
%dir /opt/kde3/share/locale/br
%dir /opt/kde3/share/locale/br/LC_MESSAGES
%dir /opt/kde3/share/locale/ka
%dir /opt/kde3/share/locale/ka/LC_MESSAGES
%dir /opt/kde3/share/locale/cy
%dir /opt/kde3/share/locale/cy/LC_MESSAGES
%dir /opt/kde3/share/locale/ga
%dir /opt/kde3/share/locale/ga/LC_MESSAGES
%dir /opt/kde3/share/locale/ms
%dir /opt/kde3/share/locale/ms/LC_MESSAGES
%dir /opt/kde3/share/locale/rw
%dir /opt/kde3/share/locale/rw/LC_MESSAGES
%changelog -n %name
* Tue Aug 10 2010 Ilya Chernykh
- fixing for Factory
* Sun Mar 08 2009 Buschmann <buschmann23@opensuse.org> 0.3.2
- fixing file list, directories not owned by package
- adding debug_package macro for building outside the Build Service