## START: Set by rpmautospec ## (rpmautospec version 0.6.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 7; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # NsCDE desktop files don't validate, but they are also only used by NsCDE # # + for f in /builddir/build/BUILDROOT/NsCDE-2.2-1.fc38.x86_64/usr/share/applications/*.desktop # + desktop-file-validate /builddir/build/BUILDROOT/NsCDE-2.2-1.fc38.x86_64/usr/share/applications/nscde-appmgr.desktop # /builddir/build/BUILDROOT/NsCDE-2.2-1.fc38.x86_64/usr/share/applications/nscde-appmgr.desktop: error: value "nscde_fvwmclnt 'Exec exec $[infostore.appmgr]'" for key "Exec" in group "Desktop Entry" contains a reserved character ''' outside of a quote # /builddir/build/BUILDROOT/NsCDE-2.2-1.fc38.x86_64/usr/share/applications/nscde-appmgr.desktop: error: value "nscde_fvwmclnt 'Exec exec $[infostore.appmgr]'" for key "Exec" in group "Desktop Entry" contains a reserved character '$' outside of a quote # /builddir/build/BUILDROOT/NsCDE-2.2-1.fc38.x86_64/usr/share/applications/nscde-appmgr.desktop: error: value "nscde_fvwmclnt 'Exec exec $[infostore.appmgr]'" for key "Exec" in group "Desktop Entry" contains a reserved character ''' outside of a quote # /builddir/build/BUILDROOT/NsCDE-2.2-1.fc38.x86_64/usr/share/applications/nscde-appmgr.desktop: error: value "NsCDE;" for key "OnlyShowIn" in group "Desktop Entry" contains an unregistered value "NsCDE"; values extending the format should start with "X-" # error: Bad exit status from /var/tmp/rpm-tmp.guZ5LT (%check) %bcond_with check Name: NsCDE Version: 2.2 Release: %autorelease Summary: Modern and functional CDE desktop based on FVWM License: GPL-3.0-only URL: https://github.com/NsCDE/NsCDE Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz # backport of https://github.com/NsCDE/NsCDE/commit/944f9070850c0f2d47c21d69ad5ec1e2245c56ac Patch: %{name}-Xorg-fvwm2-fix.diff # For the installer BuildRequires: cpp BuildRequires: dunst BuildRequires: fvwm BuildRequires: gettext BuildRequires: ImageMagick BuildRequires: ksh BuildRequires: python3-psutil BuildRequires: python3-qt5 BuildRequires: python3-yaml BuildRequires: redhat-menus BuildRequires: rofi BuildRequires: sed BuildRequires: stalonetray BuildRequires: xclip BuildRequires: xdotool BuildRequires: xdpyinfo BuildRequires: xprop BuildRequires: xrandr BuildRequires: xrdb BuildRequires: xrefresh BuildRequires: xscreensaver BuildRequires: xset BuildRequires: xsettingsd # For rebuilding the bundled precompiled binaries BuildRequires: make BuildRequires: gcc BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXpm-devel BuildRequires: libxcb-devel # Test dependencies %if %{with check} BuildRequires: desktop-file-utils %endif Requires: %{name}-data = %{version}-%{release} Requires: %{name}-doc = %{version}-%{release} Requires: cpp Requires: dex-autostart Requires: fvwm %if 0%{?fedora} > 36 Requires: gettext-runtime %else Requires: gettext %endif Requires: ImageMagick Requires: ksh Requires: python3-psutil Requires: python3-pyxdg Requires: python3-qt5 Requires: python3-yaml Requires: qt5-qtstyleplugins Requires: redhat-menus Requires: xdotool Requires: xdpyinfo Requires: xprop Requires: xrandr Requires: xrdb Requires: xrefresh Requires: xset Requires: xterm # Highly recommended Recommends: dunst Recommends: stalonetray Recommends: xscreensaver Recommends: xsettingsd # Recommended Suggests: gkrellm Suggests: rofi Suggests: xclip # These are an integral part of NsCDE and have been specifically modified Provides: bundled(colorpicker) = 0 Provides: bundled(pclock) = 0.13.1 Provides: bundled(XOverrideFontCursor) = 20190901 %global _description %{expand: NsCDE is a retro but powerful UNIX desktop environment which resembles CDE look (and partially feel) but with a more powerful and flexible framework beneath-the-surface, more suited for 21st century UNIX-like and Linux systems and user requirements than original CDE. } %description %{_description} %package data Summary: Data files for %{name} BuildArch: noarch Requires: %{name}-icon-theme = %{version}-%{release} %description data %{_description} This package contains data files for %{name}. %package doc Summary: Documentation files for %{name} BuildArch: noarch %description doc %{_description} This package contains documentation for %{name}. %package icon-theme Summary: %{name} icon theme BuildArch: noarch Requires: hicolor-icon-theme %description icon-theme %{_description} This package contains the %{name} icon theme. %prep %autosetup -p1 %build %set_build_flags %configure --docdir=%{_docdir}/%{name} %make_build %install %make_install %find_lang NsCDE --all-name # Doc cleanups mkdir -p %{buildroot}%{_docdir}/%{name}-doc # this is the same as COPYING rm %{buildroot}%{_docdir}/%{name}/LICENSE for d in examples html NsCDE.{pdf,txt}; do mv %{buildroot}%{_docdir}/%{name}/${d} %{buildroot}%{_docdir}/%{name}-doc/ done %if %{with check} %check # Desktop file validation for f in %{buildroot}%{_datadir}/applications/*.desktop; do desktop-file-validate ${f} done %endif %files -f NsCDE.lang %license COPYING %doc %{_docdir}/%{name}/* %{_bindir}/nscde %{_bindir}/nscde_fvwmclnt %{_datadir}/applications/nscde-*.desktop %{_datadir}/xsessions/nscde.desktop %{_libdir}/%{name} %{_libexecdir}/%{name} %config(noreplace) %{_sysconfdir}/xdg/menus/nscde-applications.menu %files data %license COPYING %{_datadir}/desktop-directories/nscde-*.directory %{_datadir}/icons/NsCDE %{_datadir}/%{name} %files doc %license COPYING %doc %{_docdir}/%{name}-doc/* %files icon-theme %license COPYING %{_datadir}/icons/NsCDE %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 2.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Feb 03 2024 Michel Lind - 2.2-6 - Split off icon theme - Move xsession file back into main package * Mon Jan 22 2024 Fedora Release Engineering - 2.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Feb 08 2023 Michel Alexandre Salim - 2.2-2 - Gate gettext-runtime use to Fedora > 36 * Wed Feb 08 2023 Michel Alexandre Salim - 2.2-1 - Update to 2.2 - backport fix for fvwm2 freezing due to recent Xorg bug - update license to use SPDX - drop install-time gettext dependency to gettext-runtime * Wed Jan 18 2023 Fedora Release Engineering - 2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering - 2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu May 19 2022 Michel Alexandre Salim - 2.1-1 - Update to 2.1 * Wed Jan 19 2022 Fedora Release Engineering - 1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Dec 04 2021 Davide Cavalca - 1.4-1 - Update to 1.4; Fixes: RHBZ#2027079 * Fri Oct 22 2021 Davide Cavalca - 1.3-1 - Update to 1.3; Fixes: RHBZ#2012395 * Wed Jul 21 2021 Fedora Release Engineering - 1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jul 03 2021 Davide Cavalca - 1.2-1 - Initial package ## END: Generated by rpmautospec