From 4d2651a1ac650c5f109a157488888770e6b57668 Mon Sep 17 00:00:00 2001 From: openmamba WebBuild System Date: Fri, 5 Jan 2024 20:59:47 +0100 Subject: [PATCH] package created by ercolinux using the webbuild interface [release 2.0.1-1mamba;Thu May 16 2013] --- README.md | 5 +++++ brewtarget.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 brewtarget.spec diff --git a/README.md b/README.md index bb0e6b8..8beaf3e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # brewtarget +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. + diff --git a/brewtarget.spec b/brewtarget.spec new file mode 100644 index 0000000..6c31549 --- /dev/null +++ b/brewtarget.spec @@ -0,0 +1,56 @@ +Name: brewtarget +Version: 2.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: openmamba WebBuild System +URL: http://www.brewtarget.org/ +Source: https://launchpad.net/brewtarget/trunk/%{version}/+download/brewtarget_%{version}.orig.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 brewtarget' to get the list of build requirements. +## AUTOBUILDREQ-END +BuildRequires: cmake +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* +%doc README COPYRIGHT COPYING.GPLv3 COPYING.WTFPL doc/manual/index.html + +%changelog +* Thu May 16 2013 openmamba WebBuild System 2.0.1-1mamba +- package created by ercolinux using the webbuild interface