diff --git a/.gitignore b/.gitignore index cccae29..bedb942 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1 @@ -tzclock-2.7.7.tar.bz2 -/tzclock-3.0.1.tar.bz2 -/tzclock-3.0.2.tar.bz2 -/tzclock-3.0.3.tar.bz2 -/tzclock-3.0.5.tar.bz2 -/tzclock-3.0.6.tar.bz2 -/tzclock-3.1.7.tar.bz2 +/tzclock-*.tar.bz2 diff --git a/sources b/sources index f03566c..8d86c99 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tzclock-3.1.7.tar.bz2) = b9d382c8c091d48b4bf67a4673eb910c5350593ac6e1c76949f75422c88ca1f78969f5c98937e0a1be669d16075026ff98a13f96a1484b320a2dda1684efbc05 +SHA512 (tzclock-4.9.tar.bz2) = 846793d9fe9eaeb82caea2086faea14d072f1800b2953852a585e76dff195d8340659b4ffc04c5f9a1d93d3fc19a00592b2d217b0eed014c24465b603b9b7e74 diff --git a/tzclock.spec b/tzclock.spec index 76da9d4..1cf40d8 100644 --- a/tzclock.spec +++ b/tzclock.spec @@ -1,17 +1,19 @@ Name: tzclock -Version: 3.1.7 -Release: 15%{?dist} +Version: 4.9 +Release: 1%{?dist} Summary: GTK+ graphical Clock displaying the time around the world # SPDX confirmed License: GPL-2.0-only URL: https://theknight.co.uk/ -Source0: http://www.tzclock.org/releases/source/%{name}-%{version}.tar.bz2 +Source0: http://theknight.co.uk/releases/Source/%{name}-%{version}.tar.bz2 -BuildRequires: make -BuildRequires: gcc +BuildRequires: make +BuildRequires: gcc BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libnotify) +BuildRequires: pkgconfig(dial) +BuildRequires: /usr/bin/appstream-util BuildRequires: desktop-file-utils %description @@ -30,17 +32,15 @@ sed -i.suffix \ %build %configure +%make_build -k %{__make} %{?_smp_mflags} %install -%{__make} install \ - INSTALL="%{__install} -p" \ - DESTDIR=%{buildroot} +%make_install -desktop-file-install \ - --dir %{buildroot}%{_datadir}/applications \ - --delete-original \ - %{buildroot}%{_datadir}/applications/tzclock.desktop +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml %files %defattr(-,root,root,-) @@ -48,13 +48,28 @@ desktop-file-install \ %license COPYING %{_bindir}/* -%{_datadir}/appdata/%{name}.appdata.xml +%{_metainfodir}/*.metainfo.xml %{_datadir}/icons/hicolor/*/*/tzclock* -%{_datadir}/applications/*desktop +%{_datadir}/applications/%{name}.desktop -%{_mandir}/man1/* +%{_mandir}/man1/%{name}.1* %changelog +* Thu Aug 20 2026 Mamoru TASAKA - 4.9-1 +- 4.9 + +* Fri Jul 17 2026 Fedora Release Engineering - 3.1.7-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Sat Jan 17 2026 Fedora Release Engineering - 3.1.7-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Jul 25 2025 Fedora Release Engineering - 3.1.7-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sun Jan 19 2025 Fedora Release Engineering - 3.1.7-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Jul 20 2024 Fedora Release Engineering - 3.1.7-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild