From d8e53489d4a909427def04f40a491d32626b8ce1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:59:47 +0100 Subject: [PATCH] update to 3.0.1 [release 3.0.1-1mamba;Thu Oct 20 2022] --- brewtarget.spec | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/brewtarget.spec b/brewtarget.spec index dce14eb..574e322 100644 --- a/brewtarget.spec +++ b/brewtarget.spec @@ -1,26 +1,26 @@ Name: brewtarget -Version: 2.3.1 +Version: 3.0.1 Release: 1mamba Summary: A free brewing software, and an open source beer recipe creation Group: Graphical Desktop/Applications/Utilities Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://www.brewtarget.org/ +URL: http://www.brewtarget.org/ Source: https://github.com/Brewtarget/brewtarget.git/v%{version}/brewtarget-%{version}.tar.bz2 -#Source: https://launchpad.net/brewtarget/trunk/%{version}/+download/brewtarget_%{version}.orig.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: ldconfig -BuildRequires: libQt5WebKit-devel +BuildRequires: libQt5Multimedia-devel +BuildRequires: libQt5Svg-devel BuildRequires: libgcc -BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel +BuildRequires: libxalan-c-devel +BuildRequires: libxerces-c-devel +BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: libsqlite-tools -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A free brewing software, and an open source beer recipe creation tool available for Linux, Mac, and Windows. @@ -44,9 +44,13 @@ It also can export and import recipes in BeerXML. %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -C build DESTDIR=%{buildroot} +%makeinstall -C build + +mv %{buildroot}%{_datadir}/%{name}/applications %{buildroot}%{_datadir} +mv %{buildroot}%{_datadir}/%{name}/icons %{buildroot}%{_datadir}/icons + install -m 0644 -Dp doc/brewtarget.1 %{buildroot}%{_mandir}/man1/brewtarget.1 -desktop-file-validate %buildroot%{_datadir}/applications/%{name}.desktop +#desktop-file-validate %buildroot%{_datadir}/applications/%{name}.desktop %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -54,7 +58,8 @@ desktop-file-validate %buildroot%{_datadir}/applications/%{name}.desktop %files %defattr(-,root,root) %{_bindir}/%{name} -%{_datadir}/%{name} +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/brewtarget.svg %{_mandir}/man1/brewtarget.1* @@ -63,6 +68,9 @@ desktop-file-validate %buildroot%{_datadir}/applications/%{name}.desktop %doc COPYRIGHT COPYING.GPLv3 COPYING.WTFPL %changelog +* Thu Oct 20 2022 Silvan Calarco 3.0.1-1mamba +- update to 3.0.1 + * Thu Feb 11 2021 Silvan Calarco 2.3.1-1mamba - update to 2.3.1