File d3lphin.spec of Package d3lphin

#
# spec file for package d3lphin (Version 0.9.2)
#
# Copyright 2006-2007 Detlef Reichelt <detlef@links2linux.de>
# 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.
#

# norootforbuild

%define _prefix /opt/kde3

Name:           d3lphin
Version:        0.9.2
Release:        0.pm.1

License:        GPL-2.0
Group:          Productivity/File utilities
Summary:        File Manager for KDE Focusing on Usability

URL:            https://marrat.homelinux.org/D3lphin

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Source0:        %{name}-%{version}.tar.bz2
Patch0:         d3lphin-0.9.2-dont_install_makefiles.patch

Provides:       dolphin = 0.8.2
Obsoletes:      dolphin <= 0.8.2

BuildRequires:  kdelibs3-devel update-desktop-files
Requires:       kdelibs3


%description
D3lphin is a file manager for KDE focusing on usability.
The main features of Dolphin are:
- Navigation bar for URLs, which allows to navigate quickly through the file hierarchy.
- View properties are remembered for each folder.
- Split of views is supported.
- Network transparency.
- Undo/redo functionality.


%prep
. /etc/opt/kde3/common_options
%setup -q -n %{name}-%{version}
%patch -P 0 -p1
rm $RPM_BUILD_DIR/%{name}-%{version}/po/d3lphin.*o
update_admin --no-unsermake


%build
. /etc/opt/kde3/common_options
./configure $configkde
%__make %{?jobs:-j%jobs}


%install
. /etc/opt/kde3/common_options
do_make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
%suse_update_desktop_file %{name} System FileManager
%find_lang %name
kde_post_install

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING TODO
%{_bindir}/d3lphin
%{_datadir}/applications/kde/d3lphin.desktop
%{_datadir}/apps/d3lphin
%{_datadir}/icons/hicolor/*

%changelog
openSUSE Build Service is sponsored by