update to 3.0.1 [release 3.0.1-1mamba;Thu Oct 20 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 20:59:47 +01:00
parent 2fce6c60d9
commit d8e53489d4

View File

@ -1,26 +1,26 @@
Name: brewtarget Name: brewtarget
Version: 2.3.1 Version: 3.0.1
Release: 1mamba Release: 1mamba
Summary: A free brewing software, and an open source beer recipe creation Summary: A free brewing software, and an open source beer recipe creation
Group: Graphical Desktop/Applications/Utilities Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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://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 License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig BuildRequires: libQt5Multimedia-devel
BuildRequires: libQt5WebKit-devel BuildRequires: libQt5Svg-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libxalan-c-devel
BuildRequires: libxerces-c-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
BuildRequires: libsqlite-tools BuildRequires: libsqlite-tools
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
A free brewing software, and an open source beer recipe creation tool available for Linux, Mac, and Windows. 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 %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{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 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 %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -54,7 +58,8 @@ desktop-file-validate %buildroot%{_datadir}/applications/%{name}.desktop
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/%{name} %{_bindir}/%{name}
%{_datadir}/%{name} %dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/brewtarget.svg %{_datadir}/icons/hicolor/scalable/apps/brewtarget.svg
%{_mandir}/man1/brewtarget.1* %{_mandir}/man1/brewtarget.1*
@ -63,6 +68,9 @@ desktop-file-validate %buildroot%{_datadir}/applications/%{name}.desktop
%doc COPYRIGHT COPYING.GPLv3 COPYING.WTFPL %doc COPYRIGHT COPYING.GPLv3 COPYING.WTFPL
%changelog %changelog
* Thu Oct 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.1-1mamba
- update to 3.0.1
* Thu Feb 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-1mamba * Thu Feb 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-1mamba
- update to 2.3.1 - update to 2.3.1