2024-01-05 20:59:47 +01:00
|
|
|
Name: brewtarget
|
2024-01-05 20:59:47 +01:00
|
|
|
Version: 2.0.3
|
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://launchpad.net/brewtarget/trunk/%{version}/+download/brewtarget_%{version}.orig.tar.xz
|
2024-01-05 20:59:47 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## note: run 'autospec -u -a6 brewtarget' to get the list of build requirements.
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
2024-01-05 20:59:47 +01:00
|
|
|
BuildRequires: libsqlite-tools
|
2024-01-05 20:59:47 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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 \
|
|
|
|
-DDO_RELEASE_BUILD:BOOL=ON
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build DESTDIR=%{buildroot}
|
|
|
|
install -m 0644 -Dp doc/brewtarget.1 %{buildroot}%{_mandir}/man1/brewtarget.1
|
|
|
|
desktop-file-validate %buildroot%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/icons/%{name}
|
|
|
|
%{_mandir}/man1/brewtarget.1*
|
2024-01-05 20:59:47 +01:00
|
|
|
%dir %{_docdir}/brewtarget
|
|
|
|
%{_docdir}/brewtarget/*
|
|
|
|
%doc COPYRIGHT COPYING.GPLv3 COPYING.WTFPL
|
2024-01-05 20:59:47 +01:00
|
|
|
|
|
|
|
%changelog
|
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
|