q4wine/q4wine.spec

179 lines
5.7 KiB
RPMSpec

%define pkgver %(echo %version | tr _ -)
Name: q4wine
Version: 1.3.12
Release: 1mamba
Summary: A Qt GUI for WINE
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: https://q4wine.brezblock.org.ua/
Source: http://downloads.sourceforge.net/project/q4wine/q4wine/q4wine%20%{pkgver}/q4wine-%{pkgver}.tar.bz2
Patch0: q4wine-1.3.7-qt5.11.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: icoutils
BuildRequires: fuseiso
Requires: wine
Requires: icoutils
Requires: fuseiso
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Q4Wine is a Qt GUI for WINE. It will help you manage wine prefixes and installed applications.
* Can export QT color theme into wine colors settings.
* Can easy work with different wine versions at same time;
* Easy creating, deleting and managing prefixes (WINEPREFIX);
* Easy controlling for wine process;
* Easy installer wizard for wine applications; (Not yet. Wait for v. 0.120)
* Autostart icons support;
* Easy cd-image use;
* You can extract icons from PE files (.exe .dll);
* Easy backup and restore for managed prefixes.
* Winetriks support.
* And more... Explore it! ;)
%debug_package
%prep
%setup -q -n %{name}-%{pkgver}
#cp %{SOURCE1} src/i18n/
#cp %{SOURCE3} src/i18n/
#cp %{SOURCE2} ./
#%patch0 -p1
%build
cmake -d build \
-DWITH_WINETRIKS=ON \
-DWITH_APPSDB=ON \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
.
# -DWITH_EMBEDDED_FUSEISO=ON
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
rm -rf %{buildroot}%{_datadir}/icons/ubuntu-mono-dark
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/q4wine
%{_bindir}/q4wine-cli
%{_bindir}/q4wine-helper
%dir %{_libdir}/q4wine
%{_libdir}/q4wine/libq4wine-core.so
%dir %{_datadir}/q4wine
%dir %{_datadir}/q4wine/l10n
%{_datadir}/q4wine/l10n/*.qm
%dir %{_datadir}/q4wine/icons
%{_datadir}/q4wine/icons/*
%dir %{_datadir}/q4wine/theme
%dir %{_datadir}/q4wine/theme/nuvola
%dir %{_datadir}/q4wine/theme/nuvola/data
%{_datadir}/q4wine/theme/nuvola/data/*.png
%{_datadir}/applications/q4wine.desktop
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_mandir}/man1/*.1*
%doc COPYING
%changelog
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 1.3.12-1mamba
- automatic version update by autodist
* Sun Jul 08 2018 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.3.7-1mamba
- update to 1.3.7
* Fri Oct 27 2017 Automatic Build System <autodist@mambasoft.it> 1.3.6-1mamba
- automatic version update by autodist
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 1.3.5-1mamba
- automatic version update by autodist
* Mon Dec 26 2016 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
- automatic version update by autodist
* Mon Nov 14 2016 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
- automatic version update by autodist
* Mon Sep 05 2016 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
- automatic version update by autodist
* Sun Jul 31 2016 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
- automatic version update by autodist
* Thu Mar 24 2016 Automatic Build System <autodist@mambasoft.it> 1.3-1mamba
- automatic version update by autodist
* Sat Jan 16 2016 Automatic Build System <autodist@mambasoft.it> 1.2_r1-1mamba
- automatic version update by autodist
* Fri Jan 31 2014 Automatic Build System <autodist@mambasoft.it> 1.1_r2-1mamba
- automatic version update by autodist
* Mon Dec 09 2013 Automatic Build System <autodist@mambasoft.it> 1.1_r1-1mamba
- automatic version update by autodist
* Sat Nov 16 2013 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
- automatic version update by autodist
* Tue May 07 2013 Automatic Build System <autodist@mambasoft.it> 1.0_r3-1mamba
- automatic version update by autodist
* Mon Mar 04 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0_r2-1mamba
- update to 1.0_r2
* Sat Feb 02 2013 Automatic Build System <autodist@mambasoft.it> 1.0_r1-1mamba
- update to 1.0_r1
* Sat May 07 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.121-1mamba
- update to 0.121
* Mon Oct 04 2010 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.120-2mamba
- ... add a changelog entry
* Mon Mar 22 2010 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.117-r6-1mamba
- update to 0117-r6
* Wed Nov 18 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.114-r1-2mamba
- added requires for fuseiso and icoutils
* Tue Nov 17 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.114-r1-1mamba
- update to 0.114-r1
* Sun Nov 15 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.114-2mamba
- update to 0.114
* Wed Nov 11 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.114-1mamba
- update to 0.114-rc1
- remove it_it.ts source because it has been integrated in main trunk
* Fri Nov 06 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.113-4mamba
- rebuild with improved italian and english translation
- new desktop file with italian translation
- added requires for wine
- added a patch to fix a problem with winetricks install
* Thu Nov 05 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.113-3mamba
- fixed a typo in cmake
* Thu Nov 05 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.113-2mamba
- rebuild with italian translation
- Added support to winetricks
* Wed Nov 04 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.113-1mamba
- package created by autospec