Compare commits

..

No commits in common. "rawhide" and "f36" have entirely different histories.

3 changed files with 33 additions and 54 deletions

8
.gitignore vendored
View file

@ -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

View file

@ -1 +1 @@
SHA512 (tzclock-4.9.tar.bz2) = 846793d9fe9eaeb82caea2086faea14d072f1800b2953852a585e76dff195d8340659b4ffc04c5f9a1d93d3fc19a00592b2d217b0eed014c24465b603b9b7e74
SHA512 (tzclock-3.1.7.tar.bz2) = b9d382c8c091d48b4bf67a4673eb910c5350593ac6e1c76949f75422c88ca1f78969f5c98937e0a1be669d16075026ff98a13f96a1484b320a2dda1684efbc05

View file

@ -1,19 +1,16 @@
Name: tzclock
Version: 4.9
Release: 1%{?dist}
Version: 3.1.7
Release: 9%{?dist}
Summary: GTK+ graphical Clock displaying the time around the world
# SPDX confirmed
License: GPL-2.0-only
License: GPLv2
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,62 +29,38 @@ 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
# Backward compatibility
%if 0%{?fedora} < 28
ln -sf tzclock %{buildroot}%{_bindir}/TzClock
ln -sf tzclock.1.gz %{buildroot}%{_mandir}/man1/TzClock.1.gz
mv %{buildroot}%{_datadir}/applications/{tzclock,TzClock}.desktop
%endif
%files
%defattr(-,root,root,-)
%doc AUTHORS
%license COPYING
%doc 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 <mtasaka@fedoraproject.org> - 4.9-1
- 4.9
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.7-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.7-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.7-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.7-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.7-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.7-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Dec 30 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.7-13
- SPDX migration
* Sat Jul 22 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.7-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.7-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.7-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.7-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild