2024-01-05 20:59:47 +01:00
|
|
|
Name: brewtarget
|
2024-08-21 20:28:51 +02:00
|
|
|
Version: 4.0.2
|
2024-01-05 20:59:47 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 20:59:47 +01:00
|
|
|
Summary: A free brewing software, and an open source beer recipe creation
|
2024-01-05 20:59:47 +01:00
|
|
|
Group: Graphical Desktop/Applications/Utilities
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 20:59:47 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 20:59:47 +01:00
|
|
|
URL: http://www.brewtarget.org/
|
2024-01-05 20:59:47 +01:00
|
|
|
Source: https://github.com/Brewtarget/brewtarget.git/v%{version}/brewtarget-%{version}.tar.bz2
|
2024-01-05 20:59:47 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 20:59:47 +01:00
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 20:59:47 +01:00
|
|
|
BuildRequires: libQt5Multimedia-devel
|
|
|
|
BuildRequires: libQt5Svg-devel
|
2024-04-22 16:03:55 +02:00
|
|
|
BuildRequires: libbacktrace-devel
|
2024-01-05 20:59:47 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 20:59:47 +01:00
|
|
|
BuildRequires: libxalan-c-devel
|
|
|
|
BuildRequires: libxerces-c-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
2024-01-05 20:59:47 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
2024-01-05 20:59:47 +01:00
|
|
|
BuildRequires: libsqlite-tools
|
2024-01-05 20:59:47 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A free brewing software, and an open source beer recipe creation tool available for Linux, Mac, and Windows.
|
|
|
|
It automatically calculates color, bitterness, and other parameters for you while you drag and drop ingredients into the recipe.
|
|
|
|
Brewtarget also has many other tools such as priming sugar calculators, OG correction help, and a unique mash designing tool.
|
|
|
|
It also can export and import recipes in BeerXML.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build \
|
2024-01-05 20:59:47 +01:00
|
|
|
-Wno-dev
|
|
|
|
|
|
|
|
# -DDO_RELEASE_BUILD:BOOL=ON \
|
|
|
|
# -DCMAKE_CXX_FLAGS="%{optflags} -std=c++11" \
|
2024-01-05 20:59:47 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 20:59:47 +01:00
|
|
|
%makeinstall -C build
|
|
|
|
|
2024-01-05 20:59:47 +01:00
|
|
|
#mv %{buildroot}%{_datadir}/%{name}/applications %{buildroot}%{_datadir}
|
|
|
|
#mv %{buildroot}%{_datadir}/%{name}/icons %{buildroot}%{_datadir}/icons
|
2024-01-05 20:59:47 +01:00
|
|
|
|
2024-01-05 20:59:47 +01:00
|
|
|
install -m 0644 -Dp doc/brewtarget.1 %{buildroot}%{_mandir}/man1/brewtarget.1
|
2024-01-05 20:59:47 +01:00
|
|
|
#desktop-file-validate %buildroot%{_datadir}/applications/%{name}.desktop
|
2024-01-05 20:59:47 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/%{name}
|
2024-01-05 20:59:47 +01:00
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%{_datadir}/%{name}/*
|
2024-01-05 20:59:47 +01:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2024-01-05 20:59:47 +01:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/brewtarget.svg
|
2024-01-05 20:59:47 +01:00
|
|
|
%{_mandir}/man1/brewtarget.1*
|
2024-01-05 20:59:47 +01:00
|
|
|
%dir %{_docdir}/brewtarget
|
|
|
|
%{_docdir}/brewtarget/*
|
2024-08-03 10:15:23 +02:00
|
|
|
%doc COPYRIGHT COPYING.GPLv3
|
2024-01-05 20:59:47 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-08-21 20:28:51 +02:00
|
|
|
* Wed Aug 21 2024 Automatic Build System <autodist@openmamba.org> 4.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-08-13 11:17:51 +02:00
|
|
|
* Mon Aug 12 2024 Automatic Build System <autodist@openmamba.org> 4.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-08-03 10:15:23 +02:00
|
|
|
* Sat Aug 03 2024 Automatic Build System <autodist@openmamba.org> 4.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-22 16:03:55 +02:00
|
|
|
* Sat Apr 20 2024 Automatic Build System <autodist@openmamba.org> 3.0.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:59:48 +01:00
|
|
|
* Thu Feb 09 2023 Automatic Build System <autodist@mambasoft.it> 3.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:59:47 +01:00
|
|
|
* Sun Dec 25 2022 Automatic Build System <autodist@mambasoft.it> 3.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:59:47 +01:00
|
|
|
* Wed Nov 30 2022 Automatic Build System <autodist@mambasoft.it> 3.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:59:47 +01:00
|
|
|
* Mon Nov 07 2022 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:59:47 +01:00
|
|
|
* Wed Nov 02 2022 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:59:47 +01:00
|
|
|
* Thu Oct 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.1-1mamba
|
|
|
|
- update to 3.0.1
|
|
|
|
|
2024-01-05 20:59:47 +01:00
|
|
|
* Thu Feb 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-1mamba
|
|
|
|
- update to 2.3.1
|
|
|
|
|
2024-01-05 20:59:47 +01:00
|
|
|
* Thu Mar 03 2016 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 20:59:47 +01:00
|
|
|
* Thu Oct 16 2014 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 20:59:47 +01:00
|
|
|
* Tue Jul 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3-1mamba
|
|
|
|
- update to 2.0.3
|
|
|
|
|
2024-01-05 20:59:47 +01:00
|
|
|
* Thu May 16 2013 openmamba WebBuild System <webbuild@openmamba.org> 2.0.1-1mamba
|
|
|
|
- package created by ercolinux using the webbuild interface
|