## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 11; 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 %global uuid com.github.aggalex.%{name} %global commit 7b2558ef93dc90d028056aabd12790acc164818b %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global date 20191110 Name: wineglass Version: 1.2.1 Release: 6.%{date}git%{shortcommit}.%autorelease Summary: GUI for Wine # The entire source code is GPL-3.0-or-later except: # * GPL-2.0-or-later: # src/Actions.vala # src/css/Css.vala # src/widgets/Application.vala # src/widgets/AppsList.vala # src/widgets/Headerbar.vala # src/widgets/MainBox.vala # src/widgets/NamePopover.vala # src/widgets/SettingsButton.vala License: GPL-3.0-or-later URL: https://github.com/aggalex/Wineglass Source0: %{url}/archive/%{commit}/%{name}-%{version}.%{date}git%{shortcommit}.tar.gz BuildRequires: desktop-file-utils BuildRequires: intltool BuildRequires: libappstream-glib BuildRequires: meson BuildRequires: vala BuildRequires: pkgconfig(granite) BuildRequires: pkgconfig(gtk+-3.0) Requires: hicolor-icon-theme Requires: wine Requires: winetricks Recommends: libvkd3d Recommends: wine-dxvk %description Wineglass is a small application that allows the user to manage their wineprefixes easily and install windows programs without the need of the terminal. It can: * Easily create and remove wineprefixes. * Install supported windows apps on their corresponding wineprefix. * Make installed apps available normally through the applications menu. * Provide an easy way to add windows libraries to wineprefixes through "winetricks". * Configure wine. * run winprefix-specific system apps. This app is useful for running windows apps and games easily without hassle. %prep %autosetup -n Wineglass-%{commit} -p1 %build %meson %meson_build %install %meson_install %find_lang %{uuid} # Remove HiDPI dupes rm -r %{buildroot}%{_datadir}/icons/hicolor/*@2/ %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %files -f %{uuid}.lang %license LICENSE.md %doc README.md %{_bindir}/%{uuid} %{_datadir}/%{name}/ %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/*.svg %{_metainfodir}/*.xml %changelog ## START: Generated by rpmautospec * Sun Jan 19 2025 Fedora Release Engineering - 1.2.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Jul 20 2024 Fedora Release Engineering - 1.2.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 1.2.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Sep 30 2023 Artem Polishchuk - 1.2.1-8 - build: Update to latest git snapshot * Sat Sep 30 2023 Artem Polishchuk - 1.2.1-7 - license: Convert to SPDX * Sat Jul 22 2023 Fedora Release Engineering - 1.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 1.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Aug 23 2021 Artem Polishchuk - 1.2.1-1 - Initial Package ## END: Generated by rpmautospec