diff --git a/makehuman.spec b/makehuman.spec index d3b1b88..93296a6 100644 --- a/makehuman.spec +++ b/makehuman.spec @@ -1,5 +1,5 @@ Name: makehuman -Version: 0.9.1 +Version: 1.1.0 Release: 2mamba Summary: A software for modeling of three-dimensional humanoid characters Group: Graphical Desktop/Applications/Graphics @@ -7,49 +7,49 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.makehuman.org -Source: http://downloads.sourceforge.net/sourceforge/makehuman/makehuman-%{version}-rc1a.tar.gz +# 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 -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 +%setup -q -c +mv MakeHuman-*/* . %build -%configure -%make %install -[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/makehuman.ico -rm -rf %{buildroot}%{_prefix}/doc +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 -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 +#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}" @@ -59,22 +59,19 @@ EOF %{_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 +%{_datadir}/makehuman/* +%doc LICENSE.md %changelog +* Thu Oct 13 2016 Silvan Calarco 1.1.0-2mamba +- removed requirement for Pixie + +* Tue Oct 11 2016 Silvan Calarco 1.1.0-1mamba +- update to 1.1.0 + +* Fri May 01 2015 Silvan Calarco 1.0.2-1mamba +- update to 1.0.2 + * Mon Jul 15 2013 Automatic Build System 0.9.1-2mamba - automatic rebuild by autodist