File xdaliclock.spec of Package xdaliclock

#
# spec file for package xdaliclock
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           xdaliclock
Version:        2.48
Release:        0
Summary:        Morphing Clock
License:        MIT
Group:          Amusements/Toys/Clocks
URL:            https://www.jwz.org/xdaliclock/
Source:         https://www.jwz.org/xdaliclock/%{name}-%{version}.tar.gz
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(x11)

%description
An interesting clock, where the digits change smoothly from one to the
next.

%prep
%setup -q

%build
cd X11
# FIXME: you should use the %%configure macro - tried it with the %%configure macro but it failed
./configure --prefix=%{_prefix}
%make_build

%install
cd X11
make install_prefix=%{buildroot} install

%files
%{_bindir}/xdaliclock
%doc %attr(644,root,root) %{_mandir}/man1/xdaliclock.1*
%attr(644,root,root) %{_datadir}/applications/xdaliclock.desktop
%attr(644,root,root) %{_datadir}/glib-2.0/schemas/gschemas.compiled
%attr(644,root,root) %{_datadir}/glib-2.0/schemas/org.jwz.xdaliclock.gschema.xml
%attr(644,root,root) %{_datadir}/pixmaps/xdaliclock.png

%changelog
openSUSE Build Service is sponsored by