## ## Copyright (C) 2007 2008 by Juergen Heinemann http://www.hjcms.de ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your Argument) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the ## Free Software Foundation, Inc., ## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ## # norootforbuild Name: rpmxdgtool Summary: RPM Context Menu for Konqueror Version: 0.0.6 Release: 0 License: GPL 2 PreReq: /usr/bin/rpm2cpio /usr/bin/cpio Source0: http://rpmxdgtool.hjcms.de/%{name}-%{version}.tar.bz2 Group: Development/Tools/Other Url: http://www.hjcms.de BuildRoot: %{_tmppath}/%{name}-%{version}-build Vendor: Juergen Heinemann (Undefined) HJCMS %{url} Requires: rpm cpio coreutils gettext Prefix: %{_prefix} %if %{defined suse_version} Requires: kdebase3 BuildRequires: rpm-devel kdebase3 kdelibs3 %define kde_prefix /opt/kde3 %endif %if %{defined fedora_version} Requires: config(kdelibs3) kdebase BuildRequires: rpm-devel kdebase kdelibs3 %define kde_prefix %(kde-config --prefix) %endif %if %{defined mandriva_version} Requires: kdelibs-common kdebase-common BuildRequires: rpm-devel kdelibs-common kdebase-common %define kde_prefix %(kde-config --prefix) %endif %if !%{defined kde_prefix} %define kde_prefix %(kde-config --prefix) %endif %description RPM Context Menu for Konqueror Author: ------------- Juergen Heinemann (Undefined) HJCMS nospam (AT) hjcms (DOT) de %prep %setup -q %build %configure \ --sysconfdir=%{_sysconfdir} %install %makeinstall %files %defattr(-, root, root) %config %{_sysconfdir}/%{name}.conf %{_bindir}/%{name} %dir %{_datadir}/%{name} %{_datadir}/%{name}/ %{kde_prefix}/share/apps/konqueror/servicemenus/%{name}.desktop %{_datadir}/locale/*/LC_MESSAGES/%{name}.mo %clean rm -rf %{buildroot} %changelog #eof