6154f58
## Rebuild options:
6154f58
# --with hal : Build with the hal support (default: without)
6154f58
#
6154f58
## To rebuild this package with hal support:
6154f58
# rpmbuild -ba emelfm2.spec --with hal
6154f58
3f0506d
Name:           emelfm2
7b1b7c0
Version:        0.6.1
22d5863
Release:        2%{?dist}
535e53f
Summary:        File manager that implements the popular two-pane design
3f0506d
3f0506d
Group:          Applications/File
d85e885
License:        GPLv3+
f6f57af
URL:            http://emelfm2.net/
ac691ef
Source0:        http://emelfm2.net/rel/%{name}-%{version}.tar.bz2
3f0506d
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3f0506d
abc7bc4
BuildRequires:  gtk2-devel >= 2.6.0, libacl-devel, gettext, desktop-file-utils
7b1b7c0
BuildRequires:  file-devel
7b1b7c0
Requires:       findutils >= 4.2, grep, sed, bzip2
6154f58
%if 0%{?_with_hal:1}
8073a81
BuildRequires:  hal-devel, dbus-glib-devel
6154f58
Requires:       hal
6154f58
%endif
3f0506d
7b1b7c0
%if 0%{?fedora} > 10
33159d9
BuildRequires:  dbus-glib-devel
33159d9
Requires:       DeviceKit-disks
7b1b7c0
%endif
7b1b7c0
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
6154f58
3f0506d
%prep
535e53f
%setup -q
f85ca3a
3f0506d
# fix broken icon in emelfm2.desktop
ac691ef
sed -i 's!Icon=emelfm2!Icon=%{_datadir}/pixmaps/emelfm2/emelfm2_48.png!' docs/desktop_environment/%{name}.desktop
3f0506d
2982c34
# get more useful build logs (verify CFLAGS etc)
2982c34
sed -i 's!^\(\t\+\)@!\1!' Makefile
6154f58
3f0506d
%build
f85ca3a
make %{?_smp_mflags} \
f85ca3a
    CFLAGS="${RPM_OPT_FLAGS}" \
8073a81
    PREFIX="%{_prefix}" \
7b1b7c0
    LIB_DIR="%{_libdir}" \
8073a81
    DOCS_VERSION=1 \
8073a81
    WITH_TRANSPARENCY=1 \
8073a81
    WITH_KERNELFAM=1 \
724a1c9
    WITH_TRACKER=1 \
8073a81
    USE_LATEST=1 \
8073a81
    NEW_COMMAND=1 \
22d5863
    WITH_ACL=1
7b1b7c0
    STRIP=0 \
7b1b7c0
    %if 0%{?fedora} > 10
7b1b7c0
    WITH_DEVKIT=1 \
7b1b7c0
    %endif
6154f58
    %if 0%{?_with_hal:1}
6154f58
      WITH_HAL=1 \
6154f58
    %endif
3f0506d
3f0506d
3f0506d
%install
3f0506d
rm -rf $RPM_BUILD_ROOT
d95f683
make install install_i18n \
d95f683
    DOCS_VERSION=1 \
d95f683
    PREFIX=$RPM_BUILD_ROOT%{_prefix} \
d95f683
    PLUGINS_DIR="$RPM_BUILD_ROOT%{_libdir}/%{name}/plugins"
3f0506d
3f0506d
%find_lang %{name}
3f0506d
3f0506d
desktop-file-install --vendor fedora                            \
3f0506d
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications         \
f85ca3a
        --delete-original                                       \
3f0506d
        ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
3f0506d
6154f58
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 
7b1b7c0
%doc docs/NEWS docs/README docs/TODO docs/USAGE docs/WARNING 
7b1b7c0
%doc 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
22d5863
* Fri Jul 17 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.1-2
22d5863
- Build with ACL plugin again, got dropped accidentially.
22d5863
7b1b7c0
* Fri Jul 17 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.1-1
7b1b7c0
- Update 0.6.1
7b1b7c0
- Enable auto (un)mounting using devicekit-disks
7b1b7c0
- Use new LIB_DIR option instead of PLUGINS_DIR
7b1b7c0
- Build with "STRIP=0" instead of using nostrip.patch
7b1b7c0
724a1c9
* Sat May 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.0-1
724a1c9
- Update 0.6.0
724a1c9
- Patch to fix segfault in e2_upgrade.so
724a1c9
- Enable the tracker plugin
724a1c9
2982c34
* Fri May  8 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.5.1-2
2982c34
- Patch to not strip binaries before rpmbuild creates the -debuginfo subpackage (#499885)
2982c34
535e53f
* Wed Feb 25 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.1-1
535e53f
- Update 0.5.1
535e53f
5e6e3b4
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
5e6e3b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5e6e3b4
535e53f
* Thu Oct 30 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.0-1
ac691ef
- Update 0.5.0
ac691ef
535e53f
* Tue Jul 08 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.1-1
6154f58
- Update 0.4.1
6154f58
- Revove hal_flags.patch (fixed upstream)
6154f58
- Remove HAL support until it really works. To enable rebuild "--with hal"
6154f58
535e53f
* Wed Apr 02 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-1
8073a81
- Update 0.4.0
0e4edc3
- Enable HAL support, but dont install hal by default
0e4edc3
- Add emelfm2-0.4-hal_flags.patch (Thanks to Uwe Helm)
8073a81
- Require bzip2 for the unpack-plugin
8073a81
510b9c8
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.3.6-2
510b9c8
- Autorebuild for GCC 4.3
510b9c8
535e53f
* Sun Dec 02 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.6-1
abc7bc4
- Update 0.3.6 with upstream's e2-0.3.6-07-12-01.patch
abc7bc4
- Enable the ACL plugin
abc7bc4
535e53f
* Tue Aug 21 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.5-2
52f51d7
- Rebuild to fix SELinux issues on PPC32 and to include BuildID feature
52f51d7
535e53f
* Sun Jul 29 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.5-1
fd9120c
- Update 0.3.5.
fd9120c
535e53f
* Sat Jun 09 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.4-1
582110f
- Update 0.3.4.
582110f
- Enable support for inotify
582110f
535e53f
* Wed Mar 21 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.3-1
9e389c1
- Update 0.3.3.
9e389c1
535e53f
* Sat Feb 24 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.2-2
65a9632
- Include upstream's e2-0.3.2-07-02-01.patch fixing some bugs.
65a9632
535e53f
* Fri Jan 19 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.2-1
ca2cedf
- Update 0.3.2.
ca2cedf
- Remove Category "Application" from emelfm2.desktop.
ca2cedf
535e53f
* Sat Dec 16 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.1-1
f85ca3a
- Update 0.3.1.
f85ca3a
- Remove Category "X-Fedora" from emelfm2.desktop.
f85ca3a
535e53f
* Mon Aug 28 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.0-1
f85ca3a
- Update 0.3.
f85ca3a
535e53f
* Mon Aug 28 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.0-1
f85ca3a
- Update 0.2.0.
48312fd
535e53f
* Fri Aug 11 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.8-2
d1415a6
- Include upstream's e2-0.1.8-06-08-09.patch to fix two serious bugs.
d1415a6
535e53f
* Sun Aug 06 2006 Christoph Wickert <cwickert@fedoraproject.org> - 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.