LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kde3-rpmxdgtool.spec of Package kde3-rpmxdgtool (Project KDE:KDE3)

#
# spec file for package kde3-rpmxdgtool (Version 0.0.6)
#
# Copyright (c) 2009, 2010 Kyrill Detinov
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

# norootforbuild

%define _prefix	/opt/kde3

Name:           kde3-rpmxdgtool
Version:        0.0.6
Release:        0
Summary:        RPM Context Menu for Konqueror
License:        GPLv2
Source0:        rpmxdgtool-%{version}.tar.bz2
Group:          Development/Tools/Building
URL:            http://rpmxdgtool.hjcms.de/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  rpm-devel kdelibs3-devel kdebase3
Requires:       kdebase3 kdebase3-apps
BuildArch:      noarch
Conflicts:      rpmxdgtool rpmxdgtool-kde3

%description
RPM context service menu for Konqueror.

Authors:
--------
    Juergen Heinemann <nospam@hjcms.de>

%prep
%setup -q -n rpmxdgtool-%{version}
. /etc/opt/kde3/common_options
update_admin --no-unsermake

%build
. /etc/opt/kde3/common_options
./configure $configkde --disable-final

%install
. /etc/opt/kde3/common_options
%{makeinstall}
%{__rm} -rf %{buildroot}%{_datadir}/rpmxdgtool
kde_post_install
%find_lang rpmxdgtool

%clean
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}

%files -f rpmxdgtool.lang
%defattr(-,root,root)
%config %{_sysconfdir}/rpmxdgtool.conf
%{_bindir}/rpmxdgtool
%dir %{_datadir}/apps/konqueror
%{_datadir}/apps/konqueror/servicemenus

%changelog

# kate: space-indent on; indent-width 4;