3f0506d
Name:           emelfm2
abc7bc4
Version:        0.3.6
abc7bc4
Release:        1%{?dist}
3f0506d
Summary:        A file manager that implements the popular two-pane design
3f0506d
3f0506d
Group:          Applications/File
d85e885
License:        GPLv3+
f6f57af
URL:            http://emelfm2.net/
582110f
Source0:        http://emelfm2.net/rel/emelfm2-%{version}.tar.gz
f85ca3a
Patch0:         emelfm2-makefile.config.patch
abc7bc4
Patch1:         e2-0.3.6-07-12-01.patch
3f0506d
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3f0506d
abc7bc4
BuildRequires:  gtk2-devel >= 2.6.0, libacl-devel, gettext, desktop-file-utils
cf11f94
Requires:       findutils >= 4.2, file, grep, sed
3f0506d
3f0506d
%description
3f0506d
emelFM2 is the GTK+2 port of emelFM. emelFM2 is a file manager that implements 
3f0506d
the popular two-pane design. It features a simple GTK+2 interface, a flexible 
3f0506d
file typing scheme, and a built-in command line for executing commands without 
3f0506d
opening an xterm.
3f0506d
3f0506d
%prep
f85ca3a
%setup -q
abc7bc4
%patch1 -p0 -b .0.3.6
3f0506d
%patch0 -p0 -b .orig
f85ca3a
0297d0a
# fix for x86_64 libs
c19c791
sed -i 's!$(PREFIX)/lib/$(TARGET)/$(LIBS)!$(PREFIX)/%{_lib}/$(TARGET)/$(LIBS)!' Makefile
f85ca3a
3f0506d
# fix broken icon in emelfm2.desktop
f6f57af
sed -i 's!emelfm2/emelfm2_48.png!%{_datadir}/pixmaps/emelfm2/emelfm2_48.png!' docs/desktop_environment/%{name}.desktop
3f0506d
3f0506d
%build
abc7bc4
# make clean is needed because of e2-0.3.6-07-12-01.patch
abc7bc4
make clean
f85ca3a
make %{?_smp_mflags} \
f85ca3a
    OPTIMIZE="${RPM_OPT_FLAGS}" \
f85ca3a
    CFLAGS="${RPM_OPT_FLAGS}" \
f85ca3a
    PREFIX="%{_prefix}" 
3f0506d
3f0506d
3f0506d
%install
3f0506d
rm -rf $RPM_BUILD_ROOT
3f0506d
make install PREFIX=$RPM_BUILD_ROOT%{_prefix}
3f0506d
make install_i18n PREFIX=$RPM_BUILD_ROOT%{_prefix}
3f0506d
3f0506d
%find_lang %{name}
3f0506d
3f0506d
desktop-file-install --vendor fedora                            \
3f0506d
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications         \
0e07ece
        --add-category System                                   \
f85ca3a
        --add-category Utility                                  \
f85ca3a
        --delete-original                                       \
3f0506d
        ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
3f0506d
3f0506d
%clean
3f0506d
rm -rf $RPM_BUILD_ROOT
3f0506d
3f0506d
3f0506d
%files -f %{name}.lang
3f0506d
%defattr(-,root,root,-)
f85ca3a
%doc docs/ACTIONS docs/CONFIGURATION docs/CREDITS docs/HACKING 
cf11f94
%doc docs/README docs/TODO docs/USAGE docs/WARNING 
3f0506d
%doc docs/help.txt docs/GPL docs/LGPL
3f0506d
%{_bindir}/%{name}
f85ca3a
%{_libdir}/%{name}/
3f0506d
%{_datadir}/applications/fedora-%{name}.desktop
3f0506d
%{_datadir}/application-registry/%{name}.applications
3f0506d
%{_datadir}/pixmaps/%{name}
28ed029
%{_mandir}/man1/emelfm2.1.gz
3f0506d
3f0506d
	
3f0506d
%changelog
abc7bc4
* Sun Dec 02 2007 Christoph Wickert <fedora christoph-wickert de> - 0.3.6.1-1
abc7bc4
- Update 0.3.6 with upstream's e2-0.3.6-07-12-01.patch
abc7bc4
- Enable the ACL plugin
abc7bc4
52f51d7
* Tue Aug 21 2007 Christoph Wickert <fedora christoph-wickert de> - 0.3.5-2
52f51d7
- Rebuild to fix SELinux issues on PPC32 and to include BuildID feature
52f51d7
fd9120c
* Sun Jul 29 2007 Christoph Wickert <fedora christoph-wickert de> - 0.3.5-1
fd9120c
- Update 0.3.5.
fd9120c
e50b861
* Sat Jun 09 2007 Christoph Wickert <fedora christoph-wickert de> - 0.3.4-1
582110f
- Update 0.3.4.
582110f
- Enable support for inotify
582110f
9e389c1
* Wed Mar 21 2007 Christoph Wickert <fedora christoph-wickert de> - 0.3.3-1
9e389c1
- Update 0.3.3.
9e389c1
65a9632
* Sat Feb 24 2007 Christoph Wickert <fedora christoph-wickert de> - 0.3.2-2
65a9632
- Include upstream's e2-0.3.2-07-02-01.patch fixing some bugs.
65a9632
ca2cedf
* Fri Jan 19 2007 Christoph Wickert <fedora christoph-wickert de> - 0.3.2-1
ca2cedf
- Update 0.3.2.
ca2cedf
- Remove Category "Application" from emelfm2.desktop.
ca2cedf
f85ca3a
* Sat Dec 16 2006 Christoph Wickert <fedora christoph-wickert de> - 0.3.1-1
f85ca3a
- Update 0.3.1.
f85ca3a
- Remove Category "X-Fedora" from emelfm2.desktop.
f85ca3a
f85ca3a
* Mon Aug 28 2006 Christoph Wickert <fedora christoph-wickert de> - 0.3.0-1
f85ca3a
- Update 0.3.
f85ca3a
48312fd
* Mon Aug 28 2006 Christoph Wickert <fedora christoph-wickert de> - 0.2.0-1
f85ca3a
- Update 0.2.0.
48312fd
d1415a6
* Fri Aug 11 2006 Christoph Wickert <fedora christoph-wickert de> - 0.1.8-2
d1415a6
- Include upstream's e2-0.1.8-06-08-09.patch to fix two serious bugs.
d1415a6
28ed029
* Sun Aug 06 2006 Christoph Wickert <fedora christoph-wickert de> - 0.1.8-1
28ed029
- Update to 0.1.8.
28ed029
c1a0d30
* Thu Apr 23 2006 Christoph Wickert <fedora wickert arcor de> - 0.1.7-1
c1a0d30
- Update to 0.1.7.
c1a0d30
cf11f94
* Tue Mar 14 2006 Christoph Wickert <fedora wickert arcor de> - 0.1.6-1
cf11f94
- Update to 0.1.6.
cf11f94
- Add Requires for plugins.
cf11f94
ae7c037
* Sat Feb 18 2006 Christoph Wickert <fedora wickert arcor de> - 0.1.5-2
ae7c037
- Rebuild for Fedora Extras 5.
ae7c037
f6f57af
* Thu Jan 26 2006 Christoph Wickert <fedora wickert arcor de> - 0.1.5-1
f6f57af
- Update to 0.1.5.
f6f57af
da7778e
* Thu Dec 29 2005 Christoph Wickert <fedora wickert arcor de> - 0.1.4-1
da7778e
- Update to 0.1.4.
da7778e
f36367e
* Mon Nov 21 2005 Christoph Wickert <fedora wickert arcor de> - 0.1.3-2
f85ca3a
- Removed nonexistant ROADMAP from %%doc.
f36367e
865ac80
* Mon Nov 21 2005 Christoph Wickert <fedora wickert arcor de> - 0.1.3-1
865ac80
- Update to 0.1.3.
865ac80
865ac80
* Tue Sep 27 2005 Christoph Wickert <fedora wickert acror de> - 0.1.2-3
0297d0a
- Fix for x86_64.
0297d0a
865ac80
* Mon Sep 26 2005 Christoph Wickert <fedora wickert acror de> - 0.1.2-2
0297d0a
- Removed broken-icon.patch (using sed instead).
0297d0a
- Removed hardcoded /usr from makefile.config-patch.
3f0506d
- Minor specfile changes (#168608).
3f0506d
865ac80
* Sun Sep 18 2005 Christoph Wickert <fedora wickert acror de> - 0.1.2-1
3f0506d
- Update to 0.1.2.
3f0506d
865ac80
* Sun Sep 11 2005 Christoph Wickert <fedora wickert acror de> - 0.1.1-2
3f0506d
- Using destop-file-install.
3f0506d
- Several fixes for FE.
3f0506d
865ac80
* Sun Aug 21 2005 Christoph Wickert <fedora wickert acror de> - 0.1.1-1.fc4.cw
3f0506d
- Initial RPM release.