diff --git a/lxtask.spec b/lxtask.spec index 8cd0c25..f79c786 100644 --- a/lxtask.spec +++ b/lxtask.spec @@ -13,27 +13,26 @@ %global git_builddir %{nil} %if 0%{?use_gitbare} -%global gittardate 20250327 -%global gittartime 1511 -%define use_gitcommit_as_rel 0 +%global gittardate 20230814 +%global gittartime 1305 -%global gitbaredate 20250325 -%global git_rev 33d3f23801089589e3e866fd43c4c96fd0b9d325 +%global gitbaredate 20230802 +%global git_rev 5c0d34566ed1396e5dd8ed514b645a7b39f75f5b %global git_short %(echo %{git_rev} | cut -c-8) %global git_version %{gitbaredate}git%{git_short} %endif -%if 0%{?use_gitcommit_as_rel} +%if 0%{?use_git} || 0%{?use_gitbare} %global git_ver_rpm ^%{git_version} %global git_builddir -%{git_version} %endif -%global main_version 0.1.12 +%global main_version 0.1.10 Name: lxtask Version: %{main_version}%{git_ver_rpm} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Lightweight and desktop independent task manager # SPDX confirmed @@ -43,7 +42,7 @@ URL: http://lxde.sourceforge.net/ Source0: %{name}-%{gittardate}T%{gittartime}.tar.gz %endif %if 0%{?use_release} -Source0: https://github.com/lxde/%{name}/archive/%{main_version}/%{name}-%{version}.tar.gz +Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{main_version}.tar.xz %endif Source100: create-lxtask-git-bare-tarball.sh @@ -54,8 +53,10 @@ BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: intltool +%if 0%{?use_gitbare} BuildRequires: automake BuildRequires: libtool +%endif %description @@ -78,17 +79,6 @@ git clone ./%{name}.git/ cd %{name} 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 - cp -a [A-Z]* .. %endif @@ -104,9 +94,9 @@ git commit -m "base" -q %build %if 0%{?use_gitbare} cd %{name} +bash autogen.sh %endif -bash autogen.sh %configure \ --enable-gtk3 \ %{nil} @@ -143,30 +133,6 @@ cd .. %changelog -* Thu Jul 24 2025 Fedora Release Engineering - 0.1.12-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Thu Mar 27 2025 Mamoru TASAKA - 0.1.12-1 -- 0.1.12 - -* Fri Jan 17 2025 Fedora Release Engineering - 0.1.11^20240905git6aaa2949-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Oct 02 2024 Mamoru TASAKA - 0.1.11^20240905git6aaa2949-1 -- Update to the latest git - -* Fri Aug 30 2024 Mamoru TASAKA - 0.1.11^20240828git67c04303-1 -- Update to the latest git - -* Sun Aug 25 2024 Mamoru TASAKA - 0.1.11^20240823git0113fe4e-1 -- Update to the latest git - -* Thu Aug 15 2024 Mamoru TASAKA - 0.1.11-1 -- 0.1.11 - -* Thu Jul 18 2024 Fedora Release Engineering - 0.1.10^20230802git5c0d3456-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - * Thu Jan 25 2024 Fedora Release Engineering - 0.1.10^20230802git5c0d3456-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index d81a4d9..7089d08 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lxtask-20250327T1511.tar.gz) = db3ceab603eedb7272880e99ccd084928ff5c418a8d06c4ad48a68b8113294e109d85f089156acf90107397968f7395b2485a5952a7dc64eeaf4f99663a62712 +SHA512 (lxtask-20230814T1305.tar.gz) = 81c632edb0a7fa6f94740a7818b3b41d3fb3ff2032c3987467520c71fbdd90bf2c1087710426437fc29352f31ac405e4732c9f1d159b7c9221b9bba0cb1d9703