diff --git a/.gitignore b/.gitignore index bedb942..cccae29 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,7 @@ -/tzclock-*.tar.bz2 +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 diff --git a/sources b/sources index 8d86c99..f03566c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tzclock-4.9.tar.bz2) = 846793d9fe9eaeb82caea2086faea14d072f1800b2953852a585e76dff195d8340659b4ffc04c5f9a1d93d3fc19a00592b2d217b0eed014c24465b603b9b7e74 +SHA512 (tzclock-3.1.7.tar.bz2) = b9d382c8c091d48b4bf67a4673eb910c5350593ac6e1c76949f75422c88ca1f78969f5c98937e0a1be669d16075026ff98a13f96a1484b320a2dda1684efbc05 diff --git a/tzclock.spec b/tzclock.spec index 1cf40d8..622b0a2 100644 --- a/tzclock.spec +++ b/tzclock.spec @@ -1,19 +1,17 @@ Name: tzclock -Version: 4.9 -Release: 1%{?dist} +Version: 3.1.7 +Release: 17%{?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://theknight.co.uk/releases/Source/%{name}-%{version}.tar.bz2 +Source0: http://www.tzclock.org/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 @@ -32,15 +30,17 @@ sed -i.suffix \ %build %configure -%make_build -k %{__make} %{?_smp_mflags} %install -%make_install +%{__make} install \ + INSTALL="%{__install} -p" \ + DESTDIR=%{buildroot} -%check -desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop -appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml +desktop-file-install \ + --dir %{buildroot}%{_datadir}/applications \ + --delete-original \ + %{buildroot}%{_datadir}/applications/tzclock.desktop %files %defattr(-,root,root,-) @@ -48,22 +48,13 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml %license COPYING %{_bindir}/* -%{_metainfodir}/*.metainfo.xml +%{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/icons/hicolor/*/*/tzclock* -%{_datadir}/applications/%{name}.desktop +%{_datadir}/applications/*desktop -%{_mandir}/man1/%{name}.1* +%{_mandir}/man1/* %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