359 lines
11 KiB
RPMSpec
359 lines
11 KiB
RPMSpec
%global hash_thread1 2501673c
|
|
%global hash_thread2 5d70
|
|
|
|
%global main_version 2.1.11
|
|
|
|
%global use_gcc_strict_sanitize 0
|
|
|
|
Name: xfe
|
|
Version: %{main_version}
|
|
Release: 1%{?dist}
|
|
Summary: X File Explorer File Manager
|
|
|
|
# GPL-2.0-or-later: README
|
|
# Zlib: src/xfeutils.h
|
|
# MIT: st/x.c
|
|
# SPDX confirmed
|
|
License: GPL-2.0-or-later AND Zlib AND MIT
|
|
URL: http://roland65.free.fr/xfe/
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{main_version}.tar.xz
|
|
# Temporarily
|
|
# Use system-wide startup-notification: need discuss with upstream
|
|
Patch0: xfe-2.0-use-system-libsn.patch
|
|
|
|
BuildRequires: make
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: fox-devel
|
|
BuildRequires: gettext
|
|
BuildRequires: intltool
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXft-devel
|
|
BuildRequires: libXrandr-devel
|
|
BuildRequires: startup-notification-devel
|
|
BuildRequires: /usr/bin/pkexec
|
|
BuildRequires: pkgconfig(freetype2)
|
|
BuildRequires: pkgconfig(libnotify)
|
|
BuildRequires: pkgconfig(polkit-gobject-1)
|
|
BuildRequires: pkgconfig(udisks2)
|
|
BuildRequires: pkgconfig(xcb)
|
|
BuildRequires: pkgconfig(xcb-aux)
|
|
BuildRequires: pkgconfig(xcb-event)
|
|
BuildRequires: pkgconfig(x11-xcb)
|
|
# Patch0
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
|
|
%if 0%{?use_gcc_strict_sanitize}
|
|
BuildRequires: libasan
|
|
BuildRequires: libubsan
|
|
%endif
|
|
|
|
%description
|
|
X File Explorer (xfe) is a lightweight file manager for X11,
|
|
written using the FOX toolkit.
|
|
|
|
%package theme
|
|
Summary: Extra theme files for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
BuildArch: noarch
|
|
|
|
%description theme
|
|
This package contains extra theme files for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{main_version}
|
|
%patch -P0 -p1 -b .syssn
|
|
|
|
for f in \
|
|
ChangeLog
|
|
do
|
|
mv $f{,.iso}
|
|
iconv -f ISO-8859-1 -t UTF-8 -o $f{,.iso}
|
|
touch -r $f{.iso,}
|
|
rm -f $f.iso
|
|
done
|
|
|
|
# Fix libreoffice related command name (bug 1788292)
|
|
sed -i.oo xferc.in \
|
|
-e 's|lobase|oobase|g' \
|
|
-e 's|localc|oocalc|g' \
|
|
-e 's|lodraw|oodraw|g' \
|
|
-e 's|loimpress|ooimpress|g' \
|
|
-e 's|lomath|oomath|g' \
|
|
-e 's|lowriter|oowriter|g' \
|
|
%{nil}
|
|
|
|
# Patch0
|
|
autoreconf -fi
|
|
rm -rf libsn
|
|
|
|
%build
|
|
%set_build_flags
|
|
|
|
%if 0%{?use_gcc_strict_sanitize}
|
|
export CC="${CC} -fsanitize=address -fsanitize=undefined"
|
|
export CXX="${CXX} -fsanitize=address -fsanitize=undefined -fno-sanitize=vptr"
|
|
export LDFLAGS="${LDFLAGS} -pthread"
|
|
%endif
|
|
|
|
%configure \
|
|
--bindir=%{_libexecdir}/%{name}
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install \
|
|
INSTALL="install -p"
|
|
|
|
%find_lang %{name}
|
|
|
|
# Tweak too generic and short names
|
|
mkdir -p %{buildroot}%{_datadir}/%{name}/pixmaps
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
for suffix in \
|
|
a i e p w
|
|
do
|
|
cat > %{buildroot}%{_bindir}/xfe-xf${suffix} <<EOF
|
|
#!/bin/sh
|
|
export PATH=%{_libexecdir}/%{name}:\$PATH
|
|
exec xf${suffix} \$@
|
|
EOF
|
|
chmod 0755 %{buildroot}%{_bindir}/xfe-xf${suffix}
|
|
|
|
mv %{buildroot}%{_datadir}/applications/{,xfe-}xf${suffix}.desktop
|
|
# Modify desktop file
|
|
sed -i \
|
|
-e "\@^Exec=@s|xf${suffix}|xfe-xf${suffix}|" \
|
|
%{buildroot}%{_datadir}/applications/xfe-xf${suffix}.desktop
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/xfe-xf${suffix}.desktop
|
|
|
|
mv %{buildroot}%{_mandir}/man1/{,xfe-}xf${suffix}.1
|
|
done
|
|
|
|
# Move configuration files
|
|
mkdir %{buildroot}%{_sysconfdir}
|
|
mv %{buildroot}%{_datadir}/%{name}/xferc \
|
|
%{buildroot}%{_sysconfdir}
|
|
ln -sf ../../../%{_sysconfdir}/xferc %{buildroot}%{_datadir}/%{name}/xferc
|
|
|
|
%files -f %{name}.lang
|
|
%doc AUTHORS
|
|
%doc BUGS
|
|
%license COPYING
|
|
%doc ChangeLog
|
|
%doc README
|
|
%doc TODO
|
|
|
|
%config(noreplace) %{_sysconfdir}/xferc
|
|
%{_datadir}/applications/xfe-xf*.desktop
|
|
|
|
%{_bindir}/xfe-xf*
|
|
%dir %{_libexecdir}/%{name}
|
|
%{_libexecdir}/%{name}/xf*
|
|
|
|
%dir %{_datadir}/%{name}
|
|
%{_datadir}/%{name}/xferc
|
|
|
|
%dir %{_datadir}/%{name}/icons/
|
|
%{_datadir}/%{name}/icons/default-theme/
|
|
%{_datadir}/%{name}/icons/gnome*-theme/
|
|
%{_datadir}/%{name}/pixmaps/
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/xf*.*
|
|
|
|
%{_datadir}/polkit-1/actions/org.xfe.root.policy
|
|
|
|
%{_mandir}/man1/xfe-xf*.1*
|
|
|
|
%files theme
|
|
%{_datadir}/%{name}/icons/*-theme/
|
|
%exclude %{_datadir}/%{name}/icons/default-theme/
|
|
%exclude %{_datadir}/%{name}/icons/gnome*-theme/
|
|
|
|
%changelog
|
|
* Mon Aug 03 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.11-1
|
|
- 2.1.11
|
|
|
|
* Sat Aug 01 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.10-1
|
|
- 2.1.10
|
|
|
|
* Sun Jul 26 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.9-1
|
|
- 2.1.9
|
|
|
|
* Sun Jul 19 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.8-1
|
|
- 2.1.8
|
|
|
|
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.7-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
|
|
|
* Tue May 26 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.7-1
|
|
- 2.1.7
|
|
|
|
* Sun Mar 29 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.6-1
|
|
- 2.1.6
|
|
|
|
* Sun Mar 01 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.5-1
|
|
- 2.1.5
|
|
|
|
* Tue Feb 10 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.4-1
|
|
- 2.1.4
|
|
|
|
* Mon Jan 19 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.3-1
|
|
- 2.1.3
|
|
|
|
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
|
|
|
* Mon Jan 05 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.2-2
|
|
- Workaround for use-after-free when trying to repaint window after opening
|
|
supprted file (bug 2425678)
|
|
|
|
* Thu Jan 01 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.2-1
|
|
- 2.1.2
|
|
|
|
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
|
|
|
* Mon Jun 02 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.1-1
|
|
- 2.1.1
|
|
|
|
* Thu May 22 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1-1
|
|
- 2.1
|
|
|
|
* Tue Mar 18 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.0.1.respin1-1
|
|
- 2.0.1 respin
|
|
|
|
* Sun Jan 19 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.0.1-1
|
|
- 2.0.1
|
|
|
|
* Sun Jan 12 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.0-1
|
|
- 2.0
|
|
|
|
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.46.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
* Mon Mar 04 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.46.1-1
|
|
- 1.46.1
|
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.46-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Thu Jan 4 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.46-1
|
|
- 1.46
|
|
|
|
* Tue Nov 14 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.45-6
|
|
- Fix abort when opening font selection (bug 2249586) (upstream bug 278)
|
|
|
|
* Sat Jul 22 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.45-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Sat May 6 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.45-4
|
|
- Fix window disappearance after opening recent file (upstream bug 275)
|
|
(bug 2190356)
|
|
|
|
* Wed Apr 26 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.45-3
|
|
- SPDX migration
|
|
- Fix crash with Ctrl-L (upstream bug 274)
|
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Sat Dec 31 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.45-1
|
|
- 1.45
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Tue Mar 30 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.44-1
|
|
- 1.44
|
|
|
|
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.43.2-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.43.2-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Wed Jan 29 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.43.2-3
|
|
- Fix libreoffice binding (bug 1788292)
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.43.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Wed Jun 19 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.43.2-1
|
|
- 1.43.2
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.43.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Tue Sep 25 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.43.1-1
|
|
- 1.43.1
|
|
|
|
* Fri Jul 20 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.43-1
|
|
- 1.43
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Fri Jul 29 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.42-1
|
|
- 1.42
|
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.41-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Sun Nov 29 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.41-1
|
|
- 1.41
|
|
|
|
* Tue Aug 11 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.40.1-1
|
|
- Formal 1.40.1
|
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.40.1-0.4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.40.1-0.3
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
* Mon Feb 16 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.40.1-0.2
|
|
- 1.40.1 (prerelease), for hang up issue using UIM
|
|
|
|
* Tue Jan 13 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.40-1
|
|
- 1.40
|
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Mon Jun 9 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.37-2
|
|
- Patch for freetype 2.5.3 header place change
|
|
|
|
* Mon Dec 2 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.37-1
|
|
- 1.37
|
|
|
|
* Sun Sep 1 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.35-1
|
|
- 1.35
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.34-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Sat May 4 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.34-2
|
|
- Try to use system-wide startup-notification
|
|
|
|
* Tue Apr 30 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.34-1
|
|
- Initial packaging
|