/usr/share/doc/emelfm2/SPEC is in emelfm2 0.4.1-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | #%define prefix %{_prefix}
#this is to allow easy relocation eg to /usr/local
%define prefix /usr
%define _bindir %{prefix}/bin
%define _libdir %{prefix}/lib
Name: emelfm2
Version: 0.1.8
Release: 1
Summary: Gtk+2 file manager with two-panel format
License: GPL
URL: http://emelfm2.net
Group: File tools
Requires: gtk+2.0 >= 2.6 file findutils >= 4.2 grep sed
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: gtk+2-devel
BuildRequires: gcc >= 3.2
%description
emelFM2 is a file manager with the efficient two-pane format,
featuring:
o Simple interface
o Bookmarks and history lists
o Flexible filetyping scheme
o Multiple actions selectable for each filetype
o Filename, size, and date Filters
o Built-in command line
o Configurable keyboard bindings
o Configurable toolbars
o Runtime loadable plugins
It is the Gtk+2 port of emelFM.
%package i18n
Summary: Translation files for emelFM2
Group: File tools
%description i18n
This package contains translation files which may be installed
to enable non-english names in emelFM2's user-interface.
Supported languages are: japanese, french, german, russian.
%prep
%setup -q
%build
#adjust the make parameters to suit - see file INSTALL
%make DOCS_VERSION=1 USE_LATEST=1 CFLAGS="-O2 -march=%{_target_cpu}"
%install
rm -rfd %{buildroot}
%make install PREFIX=%{buildroot}%{prefix}
%make install_i18n PREFIX=%{buildroot}%{prefix}
# remove unnecessary docs
rm -rfd %{buildroot}%{_datadir}/doc
%find_lang %{name}
mkdir -p %{buildroot}%{_bindir}
install -m 755 %{name} %{buildroot}%{_bindir}
%clean
rm -rfd %{buildroot}
rm -rfd %{_builddir}/%{name}-%{version}
%files
%defattr (-,root,root)
%{_bindir}/*
%{prefix}/share/pixmaps/*
%{prefix}/share/applications/*
%{prefix}/share/application-registry/*
%dir %_libdir/%{name}
%dir %_libdir/%{name}/plugins
%{_libdir}/%{name}/plugins/e2p*.so
%{_mandir}/man1/*
%defattr(644,root,root,755)
%doc docs/ACTIONS docs/CONFIGURATION docs/CREDITS docs/GPL docs/NEWS docs/README docs/USAGE
%files i18n -f %name.lang
%defattr(-, root, root)
%changelog
|