Compare commits

...
Sign in to create a new pull request.

42 commits

Author SHA1 Message Date
Mamoru TASAKA
bbe02043e1 1.18.4 2025-10-02 23:31:15 +09:00
Fedora Release Engineering
3e1c033a50 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 22:40:17 +00:00
Mamoru TASAKA
e25944d213 1.18.3 2025-06-26 11:11:39 +09:00
Mamoru TASAKA
79ceb7d10e 1.18.2 2025-02-10 23:09:23 +09:00
Fedora Release Engineering
33b6312d3e Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 22:38:05 +00:00
Mamoru TASAKA
6ecc213f47 Require gdk-pixbuf2-modules-extra when available 2024-09-15 16:23:29 +09:00
Mamoru TASAKA
2af602367b 1.18.1 2024-08-01 13:53:44 +09:00
Mamoru TASAKA
048e8fbb96 kill asan 2024-07-23 15:40:30 +09:00
Mamoru TASAKA
31ba25663a Apply upstream PR for workaround for segfault with leaving tab pointing to
invalid directory
2024-07-23 15:40:19 +09:00
Mamoru TASAKA
c6a6b1968c once commit 2024-07-22 16:47:53 +09:00
Mamoru TASAKA
42c8b2390a once save 2024-07-22 16:01:18 +09:00
Mamoru TASAKA
c58831ad57 merge 2024-07-22 15:37:31 +09:00
Mamoru TASAKA
d1ff84673a prep: update to 0.18.0 2024-07-22 15:36:47 +09:00
Mamoru TASAKA
6a56a5438f update to the latest git 2024-07-21 16:45:00 +09:00
Fedora Release Engineering
fe54585ea4 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 02:56:18 +00:00
Mamoru TASAKA
a46c64833a update to the latest git 2024-07-15 16:52:30 +09:00
Mamoru TASAKA
e81cfc5131 update to the latest git 2024-07-14 17:21:30 +09:00
Mamoru TASAKA
877334a341 update to the latest git 2024-07-10 16:38:11 +09:00
Mamoru TASAKA
3f403af08a update to the latest git 2024-07-09 14:21:23 +09:00
Mamoru TASAKA
64e3118311 update to the latest git 2024-07-08 16:07:13 +09:00
Mamoru TASAKA
e14fe4bc5e update to the latest git 2024-07-05 10:56:59 +09:00
Mamoru TASAKA
d05ec99a87 update to the latest git 2024-06-30 16:32:24 +09:00
Mamoru TASAKA
f08cae6f77 apply upstream 2 MR 2024-06-27 21:48:32 +09:00
Mamoru TASAKA
e09705a7ff merge 2024-06-21 11:12:19 +09:00
Mamoru TASAKA
536463ceb2 update to the latest git 2024-06-21 11:11:08 +09:00
Robert-André Mauchin
d80e292568 Rebuilt for exiv2 0.28.2 2024-06-14 06:31:16 +02:00
Mamoru TASAKA
00050dfd6f update to the latest git 2024-06-13 12:25:28 +09:00
Mamoru TASAKA
5d3441f720 update to the latest git 2024-06-11 14:54:04 +09:00
Mamoru TASAKA
e25fbc4cad update to the latest git 2024-06-10 17:42:20 +09:00
Mamoru TASAKA
45b4154df3 1.16.2 2024-05-20 12:18:44 +09:00
Mamoru TASAKA
1cb843a399 Fix double g_error_free call in remote_close_callback (bug 2271363) 2024-04-18 20:13:16 +09:00
Mamoru TASAKA
63b505fb1b SPDX migration 2024-01-28 17:11:49 +09:00
Fedora Release Engineering
184d9c2716 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 15:26:34 +00:00
Fedora Release Engineering
1b26f0ba54 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 22:52:09 +00:00
Fedora Release Engineering
4b55e96bc8 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 23:32:24 +00:00
Mamoru TASAKA
a406918ec1 1.16.1 2023-07-10 18:11:05 +09:00
Mamoru TASAKA
889c064da8 fix baserelease usage 2023-03-24 16:12:13 +09:00
Mamoru TASAKA
3a1d0b44cf rename release macro to make rpmdev-bumprelease work 2023-03-13 10:08:42 +09:00
Mamoru TASAKA
60611d0b61 kill sanitizer 2023-01-25 15:17:50 +09:00
Mamoru TASAKA
f13801c56c 1.16.0 2023-01-25 15:15:15 +09:00
Fedora Release Engineering
a1478e06e7 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 05:24:37 +00:00
Mamoru TASAKA
86d37e7b4a Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild 2022-07-27 22:38:03 +09:00
3 changed files with 139 additions and 157 deletions

View file

@ -2,15 +2,12 @@
%undefine _strict_symbol_defs_build
%global EXIV2_REQ 0.14
%global GLIB_REQ 2.44.0
%global LIBGSF_REQ 1.12.0
%global POPPLER_REQ 0.8
%global GLIB_REQ 2.70.0
%global LIBGSF_REQ 1.14.26
%global POPPLER_REQ 0.18
%global TAGLIB_REQ 1.4
%global UNIQUE_REQ 0.9.3
%global mimeedit_rev 1958
%global use_autotool 0
%global update_po 0
%global if_pre 0
%global use_gcc_strict_sanitize 0
@ -29,51 +26,41 @@
%endif
%if 0%{?use_gitbare}
%global gittardate 20220113
%global gittartime 1526
%global gitbaredate 20220109
%global git_rev fed9ef1a44cd01b6c1dfb231795e07f5f067de57
%global gittardate 20240721
%global gittartime 1636
%global gitbaredate 20240719
%global git_rev 95c732e0bda821f4b1eb437d2bc175acd268c9c6
%global git_short %(echo %{git_rev} | cut -c-8)
%global git_version D%{gitbaredate}git%{git_short}
%global git_version %{gitbaredate}git%{git_short}
%global if_pre 1
%global clamp_mtime_to_source_date_epoch 0
%endif
%global shortver 1.14
%global fullver %{shortver}.3
%global mainrel 1
%global shortver 1.18
%global fullver %{shortver}.4
%if 0%{?use_release} >= 1
%global fedorarel %{?prever:0.}%{mainrel}%{?prever:.%{prerpmver}}
%global fedoraver %{fullver}
%endif
%if 0%{?use_gitbare} >= 1
%global fedorarel %{mainrel}.%{git_version}
%global fedoraver %{fullver}%{?if_pre:~}%{!?if_pre:^}%{git_version}
%endif
%if 0%{?if_pre} > 0
%global use_autotool 1
%endif
%if 0%{?use_autotool} < 1
%global update_po 0
%endif
# Patch1 updates configure.in
%global use_autotool 1
# Autotool seems still needed to avoid build failure
# under doc/ diretory, need investigating
%global use_autotool 1
Name: gnome-commander
# Downgrade 3 times, sorry...
Epoch: 4
Version: %{fullver}
Release: %{fedorarel}%{flagrel}%{?dist}
Version: %{fedoraver}
Release: 1%{?dist}%{flagrel}
Summary: A nice and fast file manager for the GNOME desktop
Summary(pl): Menadżer plików dla GNOME oparty o Norton Commander'a (TM)
Summary(sv): GNOME Commander är en snabb och smidig filhanderare för GNOME
License: GPLv2+
# Overall GPL-2.0-or-later
# data/org.gnome.gnome-commander.appdata.xml.in CC0-1.0
# doc/C/legal.xml GFDL-1.1-or-later
# SPDX confirmed
License: GPL-2.0-or-later AND GFDL-1.1-or-later AND CC0-1.0
URL: http://gcmd.github.io/
%if 0%{?use_release}
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{shortver}/%{name}-%{version}%{?extratag:-%extratag}.tar.xz
@ -84,7 +71,6 @@ Source0: %{name}-%{gittardate}T%{gittartime}.tar.gz
Source1: gnome-commander.sh
# Source0 is created from Source2
Source2: create-gcmd-git-bare-tarball.sh
Source10: mimeedit-svn%{mimeedit_rev}.sh
Patch1: gnome-commander-1.6.0-path-fedora-specific.patch
BuildRequires: gcc-c++
@ -100,36 +86,34 @@ BuildRequires: intltool
BuildRequires: pkgconfig(exiv2) >= %{EXIV2_REQ}
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gnome-vfs-2.0)
BuildRequires: pkgconfig(libgsf-1) >= %{LIBGSF_REQ}
BuildRequires: pkgconfig(poppler-glib) >= %{POPPLER_REQ}
BuildRequires: pkgconfig(taglib) >= %{TAGLIB_REQ}
BuildRequires: pkgconfig(unique-1.0)
BuildRequires: pkgconfig(unique-1.0) >= %{UNIQUE_REQ}
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: gnome-doc-utils
BuildRequires: perl(XML::Parser)
%if %{use_autotool}
BuildRequires: automake
BuildRequires: meson
BuildRequires: flex
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: gnome-common
%endif
BuildRequires: make
BuildRequires: %{_bindir}/git
BuildRequires: %{_bindir}/appstream-util
BuildRequires: yelp-tools
BuildRequires: /usr/bin/git
BuildRequires: /usr/bin/appstream-util
# %%check
BuildRequires: gtest-devel
BuildRequires: xorg-x11-server-Xvfb
BuildRequires: pkgconfig(gtest)
Requires: gnome-vfs2-smb
Requires: meld
Requires: gnome-icon-theme-legacy
%if 0%{?fedora} >= 41
BuildRequires: gdk-pixbuf2-modules-extra
Requires: gdk-pixbuf2-modules-extra%{?_isa}
%endif
%description
GNOME Commander is a nice and fast file manager for the GNOME desktop.
@ -167,11 +151,22 @@ git init
%endif
%if 0%{?use_gitbare}
%setup -q -c -T -a 0
%setup -q -c -n %{name}-%{fullver}-%{git_version} -T -a 0
git clone ./%{name}.git/
cd %{name}
git checkout -b %{version}-fedora %{git_rev}
git checkout -b %{fullver}-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
cp -a [A-Z]* ..
cp -a doc ..
@ -187,46 +182,30 @@ done
%endif
git config user.name "%{name} Fedora maintainer"
git config user.email "%{name}-owner@fedoraproject.org"
git config user.email "%{name}-maintainer@fedoraproject.org"
%if 0%{?use_release}
cat > .gitignore <<EOF
Makefile.in
*/Makefile.in
*/*/Makefile.in
ChangeLog-*
INSTALL
aclocal.m4
config.guess
config.h.in
config.sub
configure
compile
depcomp
install-sh
ltmain.sh
m4
missing
test-driver
ylwrap
EOF
git add .
git commit -m "base" -q
%endif
%patch1 -p1 -b .path
%patch -P1 -p1 -b .path
git commit -m "Apply Fedora specific path configuration" -a
%if 0%{?use_release}
%endif
%if 0%{use_autotool} > 0
( export NOCONFIGURE=1 ; sh autogen.sh )
%endif
# Tweak samba detection
sed -i meson.build \
-e 's|^\(samba = dependency\)|# \1|' \
-e 's|^\(have_samba = .*\)$|have_samba = true|' \
%{nil}
git commit -m "Tweak samba detection" -a
%{__sed} -i.pylib \
-e 's|\$PY_EXEC_PREFIX/lib|%{_libdir}|' \
configure
# Don't install unneeded files
sed -i doc/meson.build \
-e '\@install_data@,\@^)$@s|^\(.*\)$|# \1|' \
%{nil}
git commit -m "Don't install header files, static archives, documentation" -a
%if 0%{?use_gitbare}
pushd ..
@ -235,16 +214,11 @@ pushd ..
# gzip
#gzip -9 ChangeLog-*
mkdir TMPBINDIR
cd TMPBINDIR
ln -sf /bin/true ./update-mime-database
%if 0%{?use_gitbare}
popd
%endif
%build
export PATH=$(pwd)/TMPBINDIR:$PATH
export BUILD_TOP_DIR=$(pwd)
%set_build_flags
@ -259,86 +233,27 @@ pushd %{name}
# Install wrapper script, and move binaries to
# %%{_libexecdir}/%%{name}
mkdir _builddir || :
# For debuginfo issue
find . -name \*.cc | while read f
do
dirn=$(dirname $f)
%{__cat} $f | %{__sed} -n -e 's|^#line.*[ \t][ \t]*\"\(.*\)"$|\1|p' | \
sort | uniq | while read g
do
%{__mkdir_p} _builddir/$dirn
%{__cp} -p $dirn/$g _builddir/$dirn
done
done
pushd _builddir
ln -sf ../configure
%configure \
--srcdir=$(pwd)/.. \
%meson \
--bindir=%{_libexecdir}/%{name} \
--disable-Werror \
--disable-scrollkeeper \
%{nil}
%{__cp} -p README ${BUILD_TOP_DIR}
%if %{update_po}
%{__make} -C po gnome-commander.pot update-po
%endif
# First make po without _smp_mflags, so that messages
# won't be mixed up
# Second doc/, parallel make seems to fail
%{__make} -C po GMSGFMT="msgfmt --statistics"
%{__make} -C doc
%{__make} %{?_smp_mflags} -k
popd # from _builddir
%meson_build --ninja-args "-k 0"
%if 0%{?use_gitbare}
popd
%endif
%install
%{__rm} -rf %{buildroot}
export PATH=$(pwd)/TMPBINDIR:$PATH
%if 0%{?use_gitbare}
pushd %{name}
%endif
pushd _builddir
%{__make} \
INSTALL="%{__install} -c -p" \
DESTDIR=%{buildroot} \
install
popd # from _builddir
# Desktop file
desktop-file-install \
--delete-original \
--vendor '' \
--remove-category Application \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/org.gnome.%{name}.desktop
%meson_install
# Install wrapper
%{__mkdir_p} %{buildroot}%{_bindir}
%{__install} -cpm 0755 %SOURCE1 %{buildroot}%{_bindir}/%{name}
# install gnome-file-types-properties (bug 458667)
%if 0
%{__install} -cpm 0755 mimeedit.sh \
%{buildroot}%{_libexecdir}/%{name}/gnome-file-types-properties
%endif
%{__rm} -f %{buildroot}%{_libdir}/%{name}/*.{a,la}
%{__rm} -f %{buildroot}%{_libdir}/%{name}/*/*.{a,la}
%if 0%{?use_gitbare}
popd
%endif
@ -346,15 +261,16 @@ popd
%find_lang %{name}
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.%{name}.desktop
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.gnome.%{name}.appdata.xml
%if 0%{?use_gitbare}
pushd %{name}
%endif
pushd _builddir
export ASAN_OPTIONS=detect_leaks=0
make check
xvfb-run sh -c \
"%meson_test -v"
%if 0%{?use_gitbare}
popd
@ -364,10 +280,9 @@ popd
%defattr(-,root,root,-)
%doc AUTHORS
%doc BUGS
%doc ChangeLog*
%doc COPYING
%license COPYING
%doc NEWS
%doc README
%doc README.md
%doc TODO
%doc doc/*.txt
@ -376,17 +291,85 @@ popd
%{_libdir}/%{name}/
%{_mandir}/man1/%{name}.1*
%{_datadir}/glib-2.0/schemas/org.gnome.*xml
%dir %{_datadir}/%{name}
#%%{_datadir}/%{name}/*.txt
%{_datadir}/%{name}/icons/
%{_datadir}/applications/org.gnome.%{name}.desktop
%{_metainfodir}/org.gnome.%{name}.appdata.xml
%{_datadir}/help/*/%{name}/
%{_datadir}/glib-2.0/schemas/org.gnome.*xml
%{_datadir}/pixmaps/%{name}.svg
%{_datadir}/icons/hicolor/scalable/apps/%{name}*.svg
%{_datadir}/pixmaps/%{name}/
%changelog
* Thu Oct 02 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.18.4-1
- 1.18.4
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.18.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jun 26 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.18.3-1
- 1.18.3
* Mon Feb 10 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.18.2-1
- 1.18.2
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.18.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sun Sep 15 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.18.1-2
- Require gdk-pixbuf2-modules-extra when available
* Thu Aug 01 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.18.1-1
- 1.18.1
* Tue Jul 23 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.18.0-2
- Apply upstream PR for workaround for segfault with leaving tab pointing to
invalid directory
* Mon Jul 22 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.18.0-1
- 0.18.0
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.16.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 14 2024 Robert-André Mauchin <zebob.m@gmail.com> - 4:1.16.2-2
- Rebuilt for exiv2 0.28.2
* Mon May 20 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.16.2-1
- 1.16.2
* Thu Apr 18 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.16.1-6
- Fix double g_error_free call in remote_close_callback (bug 2271363)
* Sun Jan 28 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.16.1-5
- SPDX migration
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.16.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.16.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.16.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jul 10 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.16.1-1
- 1.16.1
* Wed Jan 25 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.16.0-1
- 1.16.0
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.14.3-1.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jul 27 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.14.3-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sun Jun 19 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.14.3-1
- 1.14.3

View file

@ -1 +0,0 @@
Check git later

View file

@ -1 +1 @@
SHA512 (gnome-commander-1.14.3.tar.xz) = a3a89b922c23b49587d1b459760a263c886636735549c8dcd592b1ccb838838a3748ec83eb65ca8bbb62d82d4b588479a7673314d6924075b733b31318e52756
SHA512 (gnome-commander-1.18.4.tar.xz) = 54966719e63a4ca6c9d24cbd1f69dbadd4ac0b7588c2cd1a34635deafcab5976d9e82fdcf6dbc0dc7f1098a25443c9eeaa2400db192b487b6d92d62f62ee23db