File emelfm2.spec of Package emelfm2

#
# spec file for package osmo (Version 0.7.1)
#
# Copyright (c) 2008 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.
#

# norootforbuild


Name:           emelfm2
BuildRequires:  gcc
BuildRequires:  file-devel
BuildRequires:  gtk2-devel >= 2.6
BuildRequires:  update-desktop-files
Requires:       gtk2 >= 2.6
Requires:       file
Summary:        File manager based on Norton Commander
Url:            http://emelfm2.net/
License:        GPL v3
Group:          Productivity/File utilities
Version:        0.7.1
Release:        0
Source0:        %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
It is a file manager for UNIX-like operating systems. It uses a simple and efficient interface pioneered by Norton Commander, in the 1980s. The main window is divided into three parts, described as "panes" or "panels". Two of those (side-by-side or top-to-bottom) show the contents of selected filesystem directories. The third pane, at the bottom of the window, shows the output of commands executed within the program. Those panes can be resized, and any one or two of them can be hidden and unhidden, on request. A built-in command-line, toolbar buttons or assigned keys can be used to initiate commands.


%prep
%setup -q 

%build
make %{?jobs:-j%jobs} WITH_TRANSPARENCY=1 WITH_KERNELFAM=1 WITH_CUSTOMMOUSE=1 USE_LATEST=1 NEW_COMMAND=1 PREFIX=%{_prefix}

%install
make install PREFIX=${RPM_BUILD_ROOT}/%{_prefix} LIB_DIR=${RPM_BUILD_ROOT}/%{_libdir}
rm -rf $RPM_BUILD_ROOT/usr/share/doc/emelfm2
strip ${RPM_BUILD_ROOT}/%{_libdir}/emelfm2/*/*
%suse_update_desktop_file emelfm2

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc INSTALL README WARNING
%doc %{_mandir}/man1/*
%{_datadir}/pixmaps/*
%dir %{_datadir}/application-registry
%{_datadir}/application-registry/*
%{_datadir}/applications/*
%{_bindir}/emelfm2
%dir %{_libdir}/emelfm2
%{_libdir}/emelfm2/*
openSUSE Build Service is sponsored by