makehuman/makehuman.spec

89 lines
3.1 KiB
RPMSpec

Name: makehuman
Version: 1.1.0
Release: 2mamba
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
# FIXME: manual download and file rename needed
# wget https://bitbucket.org/MakeHuman/makehuman/get/1.0.2.tar.bz2
# mv 1.0.2.tar.bz2 makehuman-1.0.2.tar.bz2
#Source: https+git://bitbucket.org/MakeHuman/makehuman/%{version}/makehuman-%{version}.tar.bz2
Source: https://bitbucket.org/MakeHuman/makehuman/get/%{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
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 -c
mv MakeHuman-*/* .
%build
%install
install -D -m0644 buildscripts/ppa/extras/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 %{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
* 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