nut/nut.spec

87 lines
3.1 KiB
RPMSpec
Raw Normal View History

Name: nut
Version: 19.1
Release: 1mamba
Summary: nut is nutrition software to record what you eat and analyze your meals for nutrient composition.
Group: Graphical Desktop/Applications/Scientific
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://nut.sourceforge.net/
Source: http://downloads.sourceforge.net/project/nut/nut/%{version}/nut-%{version}.tar.gz
Patch0: nut-17.11-makefile.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: libfltk-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
%description
nut is nutrition software to record what you eat and analyze your meals for nutrient composition. The database included is the latest USDA Nutrient Database for Standard Reference. This database contains values for vitamins, minerals, fats, calories, protein, carbohydrates, fiber, etc., and includes the essential polyunsaturated fats, Omega-3 and Omega-6. Nutrient levels are expressed as a percentage of the Daily Value, the familiar standard of food labeling in the United States, but also can be fully customized. Foods can be added from recipes or food labels, and nutrient intake can be graphed. The program is completely menu-driven and there are no commands to learn.
%prep
%setup -q
%patch -p1
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/nut
%{_bindir}/Nut
%dir %{_prefix}/lib/nut
#%{_prefix}/lib/nut/FOOD_DES.txt
#%{_prefix}/lib/nut/NUT_DATA.txt
%{_prefix}/lib/nut/WEIGHT.lib
#%{_prefix}/lib/nut/WEIGHT.txt
%{_prefix}/lib/nut/sr26.nut
%{_mandir}/man1/nut.1.gz
%doc CREDITS LICENSE
%changelog
* Wed May 28 2014 Automatic Build System <autodist@mambasoft.it> 19.1-1mamba
- automatic update by autodist
* Sun Sep 08 2013 Automatic Build System <autodist@mambasoft.it> 19.0-1mamba
- automatic update by autodist
* Mon Aug 05 2013 Automatic Build System <autodist@mambasoft.it> 18.10-1mamba
- automatic update by autodist
* Sun May 19 2013 Automatic Build System <autodist@mambasoft.it> 18.9-1mamba
- automatic update by autodist
* Sun Apr 07 2013 Automatic Build System <autodist@mambasoft.it> 18.6-1mamba
- automatic version update by autodist
* Fri Jan 18 2013 Automatic Build System <autodist@mambasoft.it> 18.5-1mamba
- automatic version update by autodist
* Thu Oct 18 2012 Automatic Build System <autodist@mambasoft.it> 18.2-1mamba
- automatic version update by autodist
* Wed Aug 22 2012 Automatic Build System <autodist@mambasoft.it> 17.12-1mamba
- automatic version update by autodist
* Mon Aug 13 2012 Automatic Build System <autodist@mambasoft.it> 17.11-1mamba
- automatic version update by autodist
* Wed May 23 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 17.9-1mamba
- update to 17.9
* Fri May 11 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 17.8-1mamba
- updated to 17.8
* Thu Apr 26 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 17.7-1mamba
- package created by autospec