makehuman/makehuman.spec

87 lines
3.0 KiB
RPMSpec

Name: makehuman
Version: 1.2.0
Release: 1mamba
Summary: A software for modeling of three-dimensional humanoid characters
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.makehuman.org
Source: https://github.com/makehumancommunity/makehuman.git/v%{version}/makehuman-%{version}.tar.bz2
Source1: makehuman.ico
Patch0: %{name}-0.9-gcc44.patch
Patch1: %{name}-0.9.1-gcc43.patch
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%description
MakeHuman is an open-source, open graphics library, stand-alone, multi-platform, software program, which is completely written in C++ language. Its purpose is to provide a **versatile**, **professional** and extremely **specialized** application for **parametrical** modeling of three-dimensional humanoid characters.
%prep
%setup -q
%build
%install
install -D -m0644 buildscripts/deb/debian/MakeHuman.desktop %{buildroot}%{_datadir}/applications/makehuman.desktop
cp -a makehuman %{buildroot}%{_datadir}/
install -d -m0755 %{buildroot}%{_bindir}
ln -s %{_datadir}/makehuman/makehuman %{buildroot}%{_bindir}/makehuman
install -D -m0644 makehuman/icons/makehuman.svg %{buildroot}%{_datadir}/makehuman/makehuman.svg
#install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/makehuman.ico
#mkdir -p %{buildroot}%{_datadir}/applications
#cat > %{buildroot}%{_datadir}/applications/makehuman.desktop << EOF
#[Desktop Entry]
#Name=makehuman
#GenericName=Modeling of 3D humanoid characters
#GenericName[it]=Modellatore di umanoidi 3D
#Comment=A software for modeling of three-dimensional humanoid characters
#Comment[it]=Un software per modellare humanoidi tridimensionali
#Exec=makehuman
#Type=Application
#Terminal=0
#Icon=/usr/share/pixmaps/makehuman.ico
#Categories=Graphics;3DGraphics;
#EOF
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/makehuman
%{_datadir}/applications/makehuman.desktop
%dir %{_datadir}/makehuman
%{_datadir}/makehuman/*
%doc LICENSE.md
%changelog
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- update to 1.2.0
* Thu Oct 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-2mamba
- removed requirement for Pixie
* Tue Oct 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
- update to 1.1.0
* Fri May 01 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1mamba
- update to 1.0.2
* Mon Jul 15 2013 Automatic Build System <autodist@mambasoft.it> 0.9.1-2mamba
- automatic rebuild by autodist
* Sun Jun 07 2009 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
- update to 0.9.1
* Sun Jun 07 2009 Automatic Build System <autodist@mambasoft.it> 0.9-3mamba
- automatic rebuild by autodist
* Fri Oct 12 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-2mamba
- added requirement for Pixie rendering engine
* Thu Oct 04 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-1mamba
- package created by autospec