makehuman/makehuman.spec

92 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: makehuman
Version: 0.9.1
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
Source: http://downloads.sourceforge.net/sourceforge/makehuman/makehuman-%{version}-rc1a.tar.gz
Source1: makehuman.ico
Patch0: %{name}-0.9-gcc44.patch
Patch1: %{name}-0.9.1-gcc43.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: libanimorph-devel
BuildRequires: libmhgui-devel
BuildRequires: libGL-devel
BuildRequires: libGLUT-devel
Requires: Pixie
%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 -n %{name}-%{version}-rc1a
%patch1 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/makehuman.ico
rm -rf %{buildroot}%{_prefix}/doc
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/base.*
%{_datadir}/makehuman/bs_data/*
%{_datadir}/makehuman/default.bs
%{_datadir}/makehuman/rib_data/*
%{_datadir}/makehuman/rotations/*
%{_datadir}/makehuman/selectors/*
%{_datadir}/makehuman/subd.parts
%{_datadir}/makehuman/targets/*
%{_datadir}/pixmaps/makehuman.ico
%{_datadir}/pixmaps/makehuman/bsimg/*
%{_datadir}/pixmaps/makehuman/rotimg/*
%{_datadir}/pixmaps/makehuman/tgimg/*
%{_datadir}/pixmaps/makehuman/ui/*.png
%doc AUTHORS COPYING README.txt TODO
%changelog
* 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