3f0506d
Name:           emelfm2
3203202
Version:        0.9.1
a6349a7
Release:        16%{?dist}
535e53f
Summary:        File manager that implements the popular two-pane design
3f0506d
d85e885
License:        GPLv3+
f6f57af
URL:            http://emelfm2.net/
ac691ef
Source0:        http://emelfm2.net/rel/%{name}-%{version}.tar.bz2
0bd6dbb
#VCS svn:http://svn.emelfm2.net/trunk/
e15401c
Patch0:         emelfm2-0.7.1-dsofix.patch
3f0506d
9555853
BuildRequires:  gcc
f2e95c0
BuildRequires:  dbus-glib-devel
7b1b7c0
BuildRequires:  file-devel
0ed4b2c
BuildRequires:  gtk2-devel
f2e95c0
BuildRequires:  libacl-devel
f2e95c0
BuildRequires:  gettext
f2e95c0
BuildRequires:  desktop-file-utils
7b1b7c0
Requires:       findutils >= 4.2, grep, sed, bzip2
0ed4b2c
BuildRequires:  gtkspell-devel
f2e95c0
BuildRequires:  udisks-devel
6fec144
BuildRequires: make
f2e95c0
Requires:       udisks
0ed4b2c
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
e15401c
%patch0 -p1 -b .dsofix
f85ca3a
3f0506d
# fix broken icon in emelfm2.desktop
880afc6
sed -i 's!Icon=emelfm2!Icon=%{_datadir}/pixmaps/emelfm2/emelfm2_48.png!' \
3203202
    po/%{name}.desktop.in
3f0506d
2982c34
# get more useful build logs (verify CFLAGS etc)
2982c34
sed -i 's!^\(\t\+\)@!\1!' Makefile
6154f58
211f74d
3f0506d
%build
1854ad9
# Build with -fcommon for now, the source is not written to use -fno-common
1854ad9
%global optflags %optflags -fcommon
9d83f98
# This package doesn't have a configure script. Instead, one needs to edit
9d83f98
# Makefile.config or pass options to the make command. When adding a new
9d83f98
# option, please use the same ordering as in Makefile.config
f85ca3a
make %{?_smp_mflags} \
9d83f98
    DOC_DIR=%{_docdir}/%{name} \
9d83f98
    XDG_DESKTOP_DIR=%{_datadir}/applications \
9d83f98
    XDG_APPLICATION_DIR=%{_datadir}/application-registry \
4c64766
    %if (0%{?fedora} && 0%{?fedora} < 20) || (0%{?rhel} && 0%{?rhel} < 7)
4c64766
        DOCS_VERSION=1 \
4c64766
    %endif
8073a81
    WITH_TRANSPARENCY=1 \
8073a81
    WITH_KERNELFAM=1 \
9d83f98
    USE_INOTIFY=1 \
0ed4b2c
    EDITOR_SPELLCHECK=1 \
9d83f98
    WITH_OUTPUTSTYLES=1 \
9d83f98
    WITH_CUSTOMMOUSE=1 \
9d83f98
    WITH_GTK2=1 \
9d83f98
    NEW_COMMAND=1 \
0ed4b2c
    WITH_UDISKS=1 \
9d83f98
    WITH_TRACKER=1 \
9d83f98
    WITH_ACL=1 \
0ed4b2c
    WITH_POLKIT=1 \
9d83f98
    PREFIX=%{_prefix} \
9d83f98
    BIN_DIR=%{_bindir} \
9d83f98
    LIB_DIR=%{_libdir} \
9d83f98
    PLUGINS_DIR=%{_libdir}/%{name}/plugins \
9d83f98
    ICON_DIR=%{_datadir}/pixmaps/%{name} \
9d83f98
    LOCALE_DIR=%{_datadir}/locale \
9d83f98
    MAN_DIR=%{_mandir}/man1 \
9d83f98
    CFLAGS="%{optflags}" \
9d83f98
    STRIP=0 \
3f0506d
3f0506d
3f0506d
%install
d95f683
make install install_i18n \
4c64766
    %if (0%{?fedora} && 0%{?fedora} < 20) || (0%{?rhel} && 0%{?rhel} < 7)
4c64766
        DOCS_VERSION=1 \
4c64766
    %endif
9d83f98
    PREFIX=%{buildroot}%{_prefix} \
9d83f98
    BIN_DIR=%{buildroot}%{_bindir} \
9d83f98
    LIB_DIR=%{buildroot}%{_libdir} \
9d83f98
    PLUGINS_DIR=%{buildroot}%{_libdir}/%{name}/plugins \
9d83f98
    ICON_DIR=%{buildroot}%{_datadir}/pixmaps/%{name} \
9d83f98
    LOCALE_DIR=%{buildroot}%{_datadir}/locale \
9d83f98
    MAN_DIR=%{buildroot}%{_mandir}/man1 \
3f0506d
3f0506d
%find_lang %{name}
3f0506d
0ed4b2c
desktop-file-install  \
4c64766
    %if (0%{?fedora} && 0%{?fedora} < 19)
4c64766
        --vendor fedora
4c64766
    %endif
4c64766
    --dir ${RPM_BUILD_ROOT}%{_datadir}/applications         \
4c64766
    ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
3f0506d
0ed4b2c
rm -f ${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/INSTALL
8ed6ed9
rm -f ${RPM_BUILD_ROOT}%{_docdir}/%{name}/INSTALL
8ed6ed9
rm -f ${RPM_BUILD_ROOT}%{_docdir}/%{name}/EBUILD
8ed6ed9
rm -f ${RPM_BUILD_ROOT}%{_docdir}/%{name}/SPEC
8ed6ed9
3f0506d
3f0506d
%files -f %{name}.lang
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}/
4c64766
%{_datadir}/applications/*%{name}.desktop
3f0506d
%{_datadir}/pixmaps/%{name}
28ed029
%{_mandir}/man1/emelfm2.1.gz
3f0506d
7f3a7fd
3f0506d
%changelog
a6349a7
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-16
a6349a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a6349a7
a4b1275
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-15
a4b1275
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a4b1275
1854ad9
* Wed Jan 29 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.9.1-14
1854ad9
- gcc10: build with -fcommon for now
1854ad9
a3d5fb7
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-14
a3d5fb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a3d5fb7
0cec831
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-13
0cec831
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0cec831
04f4923
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-12
04f4923
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
04f4923
a72d510
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-11
a72d510
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a72d510
cae495c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-10
cae495c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cae495c
2c91829
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-9
2c91829
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2c91829
1dc1d9e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-8
1dc1d9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1dc1d9e
180f1a6
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-7
180f1a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
180f1a6
8ed6ed9
* Sun Nov 06 2016 Filipe Rosset <rosset.filipe@gmail.com> - 0.9.1-6
8ed6ed9
- Fix FTBFS rhbz #1307450
8ed6ed9
44e08a1
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-5
44e08a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
44e08a1
4350005
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-4
4350005
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4350005
cf4b5ef
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
cf4b5ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
cf4b5ef
9172724
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-2
9172724
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9172724
3203202
* Thu Feb 27 2014 Christoph Wickert <cwickert@fedoraproject.org> - 0.9.1-1
3203202
- Update to 0.9.1
3203202
d29810a
* Sat Oct 26 2013 Christoph Wickert <cwickert@fedoraproject.org> - 0.9.0-1
9a624a0
- Update to 0.9.0
d29810a
4c64766
* Wed Aug 07 2013 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.2-4
426f76a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4c64766
- Install docs unversioned on Fedora >= 20 (#992210)
4c64766
- Make desktop vendor conditional
426f76a
0ed4b2c
* Mon Mar 04 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 0.8.2-3
0ed4b2c
- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
0ed4b2c
- drop obsolete conditionals and version requirements
0ed4b2c
- drop INSTALL file
0ed4b2c
- clean up spec to follow current guidelines
0ed4b2c
44fbafc
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
44fbafc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
44fbafc
9d83f98
* Fri Dec 21 2012 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.2-1
9d83f98
- Update to 0.8.2
9d83f98
- Drop upstreamed cursor-position.patch
9d83f98
- Enable processing of escape sequences in terminal output
9d83f98
- Improve build system and clean up spec file
9d83f98
71d751d
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2
71d751d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
71d751d
0bd6dbb
* Tue Apr 24 2012 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.1-1
0bd6dbb
- Update to 0.8.1
0bd6dbb
- Patch editor to position cursor at start of opened file (instead of end)
0bd6dbb
- Explicitly build GTK2 version for now
0bd6dbb
- Add VCS key
0bd6dbb
1cde790
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-2
1cde790
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1cde790
4193d01
* Thu Jun 16 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-1
4193d01
- Update to 0.8.0
4193d01
53fd22b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-2
53fd22b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
53fd22b
c334dbd
* Fri Feb 04 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.5-1
c334dbd
- Update to 0.7.5
c334dbd
880afc6
* Sun Nov 28 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.4-1
880afc6
- Update to 0.7.4
880afc6
f2e95c0
* Fri Jun 18 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.3-1
f2e95c0
- Update to 0.7.3
f2e95c0
- Add udisks support
f2e95c0
e15401c
* Thu Feb 25 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.1-2
e15401c
- Add patch to fix DSO linking (#564729)
e15401c
211f74d
* Mon Dec 21 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.1-1
211f74d
- Update to 0.7.1
211f74d
7f3a7fd
* Sun Nov 22 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.0-1
7f3a7fd
- Update to 0.7.0
7f3a7fd
f926a48
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-3
f926a48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f926a48
b531f89
* Tue Jul 21 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.2-2
b531f89
- Fix a typo that prefented the debuginfo from being built (#513031)
b531f89
d0ae780
* Mon Jul 20 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.2-1
d0ae780
- Update to 0.6.2
d0ae780
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
4c64766
* Thu Apr 20 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.