Compare commits
No commits in common. "rawhide" and "f31" have entirely different histories.
4 changed files with 85 additions and 174 deletions
31
.gitignore
vendored
31
.gitignore
vendored
|
|
@ -1,2 +1,29 @@
|
|||
/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
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ set -x
|
|||
set -e
|
||||
|
||||
REPONAME=pcmanfm
|
||||
GITURL=https://github.com/lxde/${REPONAME}.git
|
||||
GITURL=git://git.lxde.org/lxde/${REPONAME}.git
|
||||
|
||||
DATE=$(date '+%Y%m%d')
|
||||
TIME=$(date '+%H%M')
|
||||
|
|
@ -18,7 +18,7 @@ pushd $TMPDIR
|
|||
git clone --mirror $GITURL
|
||||
|
||||
pushd ${REPONAME}.git/
|
||||
git log --format=fuller | head -n 12
|
||||
git log | head -n 4
|
||||
popd
|
||||
|
||||
tar czf ${TARNAME} ${REPONAME}.git/
|
||||
|
|
|
|||
222
pcmanfm.spec
222
pcmanfm.spec
|
|
@ -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 0
|
||||
%global use_gitbare 1
|
||||
|
||||
%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.1
|
||||
%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 5
|
||||
|
||||
%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 20200408
|
||||
%global gitbaretime 1418
|
||||
%global githeaddate 20200322
|
||||
%global git_rev be8c60d588fc6b527d1cc77df9935bcfa66d52be
|
||||
%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}
|
||||
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,18 @@ 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: 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 +88,7 @@ BuildRequires: git
|
|||
#BuildRequires: automake
|
||||
|
||||
# Request for now
|
||||
Requires: libfm-gtk-utils
|
||||
Requires: libfm-gtk-utils
|
||||
|
||||
# Write explicitly
|
||||
Requires: libfm >= %{libfm_minver}
|
||||
|
|
@ -114,9 +97,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 +107,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 +137,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 +153,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 +176,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 +195,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,90 +210,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
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-1.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Sun Feb 7 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.2-1
|
||||
- 1.3.2 release
|
||||
|
||||
* Wed Feb 3 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.1-6.D20210203git31394e55
|
||||
- Rebase to the latest git
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-5.D20200322gitbe8c60d5.2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-5.D20200322gitbe8c60d5.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue May 5 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.1-5.D20200322gitbe8c60d5
|
||||
- connect_model: connect to signal before setting folder for model (bug 1645030)
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (pcmanfm-20251218T1224.tar.gz) = 41427507b7cdb3d8eb142f858d5228394aa6eaabe38405dc20c12d3c94efd2bc88e6ccda49d9a9b463cbf0092e8f9bed5aa76a0aa23a0a573071a53ab78a3100
|
||||
SHA512 (pcmanfm-20200408T1418.tar.gz) = dc9cd99412fbd4bc17b196fb5c9e8cf4568775850403522dfa86f07e09856ebeb32dd787c20ef654eb6f01b92622e97df98fa3f2f92bb008bbaeeef55bb4d250
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue