Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:LXQt:Qt6
DigitalClock5
DigitalClock5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File DigitalClock5.spec of Package DigitalClock5
# # spec file for package DigitalClock5 # # Copyright (c) 2024 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: DigitalClock5 Version: @SERVICE@ Release: 0 Summary: Very customizable beautiful clock License: GPL-3.0-or-later Group: System/GUI/KDE URL: https://github.com/Kolcha/DigitalClock5 Source0: %{name}-%{version}.tar.xz Source1: ElectronicEmpty.tar.xz Source2: https://digitalclock4.sourceforge.io/media/skins.zip BuildRequires: cmake >= 3.19 BuildRequires: cmake(Qt6Core) >= 6.7 BuildRequires: cmake(Qt6LinguistTools) BuildRequires: cmake(Qt6Multimedia) BuildRequires: cmake(Qt6Network) BuildRequires: cmake(Qt6Svg) BuildRequires: cmake(Qt6Widgets) BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: icns-utils BuildRequires: icoutils BuildRequires: unzip BuildRequires: update-desktop-files Recommends: qt6-imageformats Provides: bundled(libgradient_dialog) Provides: bundled(libqhotkey) %description Beautiful highly customizable clock with plugins. %prep %autosetup -p1 %build %cmake_qt6 \ -DCMAKE_SKIP_RPATH:BOOL=ON %qt6_build %install #%%qt6_install install -Dm 0755 build/app/%{name} -t %{buildroot}%{_libexecdir}/%{name}/ install -dm 0755 %{buildroot}%{_bindir} ln -sf %{_libexecdir}/%{name}/%{name} %{buildroot}%{_bindir}/%{name} find ./build/ -name '*.so*' find ./build/{clock_common,plugin_core,skin_engine}/ -name 'lib*.so' -exec install -v -Dm 0755 {} -t %{buildroot}%{_libdir}/ \; find ./build/plugins/ -name '*.so' -not -name '*sample*' -exec install -v -Dm 0755 {} -t %{buildroot}%{_libexecdir}/%{name}/plugins/ \; find ./build/3rdparty/paletteicon/ -name '*.so' -exec install -v -Dm 0755 {} -t %{buildroot}%{_qt6_pluginsdir}/iconengines/ \; install -dm 0755 %{buildroot}%{_datadir}/NickKorotysh/%{name}/skins/ tar xvf %{SOURCE1} -C %{buildroot}%{_datadir}/NickKorotysh/%{name}/skins/ unzip %{SOURCE2} -d %{buildroot}%{_datadir}/NickKorotysh/%{name}/ %fdupes -s %{buildroot}%{_datadir}/NickKorotysh/%{name}/skins/ for i in 256 512 ; do icns2png -x -s $i\x$i -d 32 app/dist/digital_clock.icns install -Dm 0644 digital_clock_$i\x$i\x32.png %{buildroot}%{_datadir}/icons/hicolor/$i\x$i/apps/%{name}.png done icotool -x app/dist/digital_clock.ico for i in 16 24 32 48 64 ; do install -Dm 0644 digital_clock_*_$i\x$i\x32.png %{buildroot}%{_datadir}/icons/hicolor/$i\x$i/apps/%{name}.png done %suse_update_desktop_file -c %{name} "Digital Clock" "Customizable beautiful clock" %{name} %{name} %suse_update_desktop_file -r -C "Beautiful highly customizable clock with plugins" %{name} Qt KDE Utility DesktopUtility %ldconfig_scriptlets %files %doc README.md %{_bindir}/%{name} %{_libdir}/libClockCommon.so %{_libdir}/libPluginCore.so %{_libdir}/libSkinEngine.so %dir %{_libexecdir}/%{name} %dir %{_libexecdir}/%{name}/plugins %{_libexecdir}/%{name}/%{name} %{_libexecdir}/%{name}/plugins/any_zoom.so %{_libexecdir}/%{name}/plugins/chime.so %{_libexecdir}/%{name}/plugins/countdown_timer.so %{_libexecdir}/%{name}/plugins/date.so %{_libexecdir}/%{name}/plugins/quick_note.so %{_libexecdir}/%{name}/plugins/random_position.so #%%{_libexecdir}/%%{name}/plugins/sample.so %{_libexecdir}/%{name}/plugins/spectrum_clock.so %{_libexecdir}/%{name}/plugins/stopwatch.so %{_libexecdir}/%{name}/plugins/var_translucency.so %{_qt6_pluginsdir}/iconengines/libpaletteicon.so %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.??g %dir %{_datadir}/NickKorotysh %dir %{_datadir}/NickKorotysh/%{name} %{_datadir}/NickKorotysh/%{name}/skins/ %license LICENSE.txt %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor