Compare commits

..

No commits in common. "rawhide" and "f36" have entirely different histories.

3 changed files with 86 additions and 154 deletions

33
.gitignore vendored
View file

@ -1,2 +1,31 @@
/pcmanfm-*.tar.xz
/pcmanfm-*.tar.gz
pcmanfm-0.9.7.tar.gz
/pcmanfm-0.9.8.tar.gz
/pcmanfm-0.9.9-git0f075cf5ba8fe1ba5c317ebd2babece067852f18.tar.gz
/pcmanfm-0.9.9-git43fdda452f2153a825df8f44023247a2ebb46b25.tar.gz
/pcmanfm-0.9.9-gitbd677a97832406099ada1fd38a5370d43eee2f99.tar.gz
/pcmanfm-0.9.9-D20110422git3f899d14eb.tar.gz
/pcmanfm-0.9.9-D20110529git99f4474555_tabrework.tar.gz
/pcmanfm-0.9.9-D20110803git07ddaf9cde.tar.gz
/pcmanfm-0.9.9.tar.gz
/pcmanfm-0.9.10.tar.gz
/pcmanfm-1.0.tar.gz
/pcmanfm-1.0.1.tar.gz
/pcmanfm-1.1.0.tar.gz
/pcmanfm-1.1.1.tar.gz
/pcmanfm-1.1.2.tar.gz
/pcmanfm-1.1.2-D20130830gitfc8adaab77.tar.gz
/pcmanfm-1.2.0-rc1.tar.xz
/pcmanfm-1.2.0.tar.xz
/pcmanfm-1.2.1.tar.xz
/pcmanfm-1.2.2.tar.xz
/pcmanfm-1.2.3.tar.xz
/pcmanfm-1.2.4.tar.xz
/pcmanfm-1.2.5.tar.xz
/pcmanfm-20180123T1609.tar.gz
/pcmanfm-1.3.0.tar.xz
/pcmanfm-1.3.1.tar.xz
/pcmanfm-20190110T1400.tar.gz
/pcmanfm-20200322T1948.tar.gz
/pcmanfm-20200408T1418.tar.gz
/pcmanfm-20210203T1528.tar.gz
/pcmanfm-1.3.2.tar.xz

View file

@ -1,67 +1,56 @@
%global use_release 0
%global use_gitbare 1
%if (0%{?fedora} && 0%{?fedora} < 19)
%global with_desktop_vendor_tag 1
%endif
%global use_release 1
%global use_gitbare 0
%if 0%{?use_gitbare} < 1
# force
%global use_release 1
%global use_release 1
%endif
%global main_version 1.4.0
%undefine prever
%global prerpmver %(echo "%{?prever}" | sed -e 's|-||g')
%global mainver 1.3.2
%undefine prever
%global prerpmver %(echo "%{?prever}" | sed -e 's|-||g')
# Upstream git:
# git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/pcmanfm
%global git_version %{nil}
%global git_ver_rpm %{nil}
%global git_builddir %{nil}
%global mainrel 1
%if 0%{?use_gitbare} >= 1
%global tarballdate 20251218
%global tarballtime 1224
%define use_gitcommit_as_rel 1
%global githeaddate 20251022
%global git_rev 09087446392d08c25412cade107bdec0a6e8ae7b
%global git_short %(echo %{git_rev} | cut -c-8)
%global git_version %{githeaddate}git%{git_short}
%global gitbaredate 20210203
%global gitbaretime 1528
%global githeaddate 20210203
%global git_rev 31394e55a68a079da94e5c521846913898c5e259
%global git_short %(echo %{git_rev} | cut -c-8)
%global git_version D%{githeaddate}git%{git_short}
%endif
%global libfm_minver 1.4.0
%undefine _changelog_trimtime
%if 0%{?use_gitbare}
%if 0%{?use_gitcommit_as_rel}
%global git_ver_rpm ^%{git_version}
%global git_builddir -%{git_version}
%endif
%endif
%global use_gcc_strict_sanitize 0
%global flagrel %{nil}
%if 0%{?use_gcc_strict_sanitize} >= 1
%global flagrel %{flagrel}.san
%endif
#%%undefine _annotated_build
Name: pcmanfm
Version: %{main_version}%{git_ver_rpm}
Release: 1%{?dist}%{flagrel}
Summary: Extremly fast and lightweight file manager
# SPDX confirmed
License: GPL-2.0-or-later
URL: http://pcmanfm.sourceforge.net/
%if 0%{?use_gitbare} >= 1
Source0: %{name}-%{tarballdate}T%{tarballtime}.tar.gz
%global fedorarel %{mainrel}.%{git_version}
%endif
%if 0%{?use_release} >= 1
Source0: http://downloads.sourceforge.net/pcmanfm/%{name}-%{main_version}%{?prever}.tar.xz
%global fedorarel %{?prever:0.}%{mainrel}%{?prever:.%{prerpmver}}
%endif
%global libfm_minver 1.2.0
%undefine _changelog_trimtime
Name: pcmanfm
Version: %{mainver}
Release: %{fedorarel}%{?dist}.2
Summary: Extremly fast and lightweight file manager
License: GPLv2+
URL: http://pcmanfm.sourceforge.net/
%if 0%{?use_gitbare} >= 1
Source0: %{name}-%{gitbaredate}T%{gitbaretime}.tar.gz
%endif
%if 0%{?use_release} >= 1
Source0: http://downloads.sourceforge.net/pcmanfm/%{name}-%{mainver}%{?prever}.tar.xz
%endif
## Missing in the tarball, taken from git tree
#Source1: pcmanfm.conf
@ -80,24 +69,19 @@ Patch104: pcmanfm-0104-Finish-implementation-of-inserting-new-monitor.patch
# connect_model: connect to signal before setting folder for model
Patch202: pcmanfm-0202-connect_model-connect-to-signal-before-setting-folde.patch
BuildRequires: make
BuildRequires: gcc
BuildRequires: make
BuildRequires: gcc
BuildRequires: libfm-gtk-devel >= %{libfm_minver}
BuildRequires: menu-cache-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: gettext-devel
BuildRequires: intltool
%if 0%{?use_gitbare}
BuildRequires: automake
BuildRequires: intltool
%endif
%if 0%{?use_gcc_strict_sanitize}
BuildRequires: libasan
BuildRequires: libubsan
%endif
BuildRequires: git
@ -105,7 +89,7 @@ BuildRequires: git
#BuildRequires: automake
# Request for now
Requires: libfm-gtk-utils
Requires: libfm-gtk-utils
# Write explicitly
Requires: libfm >= %{libfm_minver}
@ -114,9 +98,9 @@ Requires: libfm >= %{libfm_minver}
PCMan File Manager is an extremly fast and lightweight file manager
which features tabbed browsing and user-friendly interface.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
@ -124,30 +108,19 @@ developing applications that use %{name}.
%prep
%if 0%{?use_release}
%setup -q -n %{name}-%{main_version}%{?prever}%{git_builddir}
%setup -q -n %{name}-%{version}%{?prever}
#install -cpm 644 %{SOURCE1} %{SOURCE2} data/
git init
%endif
%if 0%{?use_gitbare}
%setup -q -c -T -n %{name}-%{main_version}%{?prever}%{git_builddir}%{?prever} -a 0
%setup -q -c -T -a 0
git clone ./%{name}.git/
cd %{name}
#git checkout -b %{version}-fedora %{version}
git checkout -b %{main_version}-fedora %{git_rev}
# Restore timestamps
set +x
echo "Restore timestamps"
git ls-tree -r --name-only HEAD | while read f
do
unixtime=$(git log -n 1 --pretty='%ct' -- $f)
touch -d "@${unixtime}" $f
done
set -x
git checkout -b %{version}-fedora %{git_rev}
install -cpm 0644 [A-Z]* ..
%endif
@ -165,9 +138,9 @@ cat %PATCH103 | git am
cat %PATCH104 | git am
cat %PATCH202 | git am
%if 0%{?use_gitbare}
# Add ACLOCAL_PATH for gettext 0.25 (ref: bug 2366708)
export ACLOCAL_PATH=%{_datadir}/gettext/m4/
%if 0%{?use_git} || 0%{?use_gitbare}
sh autogen.sh
# Patch0
autoreconf -fi
%endif
@ -181,12 +154,6 @@ chmod u+x configure
chmod u+x */
%build
%if 0%{?use_gcc_strict_sanitize}
export CC="${CC} -fsanitize=address -fsanitize=undefined"
export CXX="${CXX} -fsanitize=address -fsanitize=undefined"
export LDFLAGS="${LDFLAGS} -pthread"
%endif
%if 0%{?use_gitbare}
cd %{name}
%endif
@ -210,6 +177,9 @@ make install \
INSTALL="install -p"
desktop-file-install \
%if 0%{?with_desktop_vendor_tag}
--vendor fedora \
%endif
--delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--remove-category 'Application' \
@ -226,15 +196,14 @@ cd ..
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS
%license COPYING
%doc COPYING
%doc README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%{_libdir}/%{name}/
%dir %{_datadir}/%{name}/
%{_datadir}/%{name}/ui/
%{_datadir}/%{name}/
%{_datadir}/applications/*%{name}*.desktop
%config(noreplace) %{_sysconfdir}/xdg/%{name}/
@ -242,72 +211,6 @@ cd ..
%{_includedir}/pcmanfm-modules.h
%changelog
* Thu Dec 18 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.4.0^20251022git09087446-1
- Update to the latest git
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon May 26 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.4.0-3
- Use ACLOCAL_PATH environment instead of calling autopoint
* Sat May 17 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.4.0-2
- Call autopoint with gettext 0.25 (ref: bug 2366708)
* Thu Mar 06 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.4.0-1
- 1.4.0
* Wed Feb 19 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.2^20241216gita8ae14c5-3
- Rebuild with libfm 1.4.0 for date format option
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2^20241216gita8ae14c5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Dec 25 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.2^20241216gita8ae14c5-1
- Update to the latest git
* Fri Dec 06 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.2^20241203git836c77c8-1
- Update to the latest git
* Sat Nov 23 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.2^20241103git1312f603-1
- Update to the latest git
* Sun Aug 25 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.2^20240821gitaa4860d6-1
- Update to the latest git
* Tue Aug 13 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.2^20240812git12abd7e1-1
- Update to the latest git
* Fri Jul 26 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.2^20230917gite6b422b2-6
- Apply upstream PR for gcc14 -Werror=incompatible-pointer-types
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2^20230917gite6b422b2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2^20230917gite6b422b2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2^20230917gite6b422b2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.2^20230917gite6b422b2-2
- Change -Wincompatible-pointer-types from error to warning
* Thu Sep 21 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.2^20230917gite6b422b2-1
- Update to the latest git
* Mon Aug 14 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.2^20230807git752d11b7-1
- Update to the latest git
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-1.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-1.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-1.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (pcmanfm-20251218T1224.tar.gz) = 41427507b7cdb3d8eb142f858d5228394aa6eaabe38405dc20c12d3c94efd2bc88e6ccda49d9a9b463cbf0092e8f9bed5aa76a0aa23a0a573071a53ab78a3100
SHA512 (pcmanfm-1.3.2.tar.xz) = bcca1af20500e7a84ebfe5f1efd5a1a2945d32ad3ea5fa945ad908794c56614bd85921fac1e7a3b2fc5ef82267d5d3ffc5ad7065e9878a920dd578cb830776c9