Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20b29084c9 | ||
|
|
cf6cf756c7 | ||
|
|
5340c73fb8 |
6 changed files with 156 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
animorph-0.3.tar.gz
|
||||||
12
animorph-0.2-pkgconfig.patch
Normal file
12
animorph-0.2-pkgconfig.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
--- animorph-0.2/animorph.pc.in.pkgconfig 2007-07-20 19:53:00.000000000 +0200
|
||||||
|
+++ animorph-0.2/animorph.pc.in 2007-07-20 19:53:50.000000000 +0200
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@prefix@
|
||||||
|
-libdir=@exec_prefix@/lib
|
||||||
|
-includedir=@prefix@/include
|
||||||
|
+libdir=@libdir@
|
||||||
|
+includedir=@includedir@/animorph
|
||||||
|
|
||||||
|
Name: @PACKAGE@
|
||||||
|
Description: 3D Animation and Morph Library
|
||||||
44
animorph-0.3-gcc43.patch
Normal file
44
animorph-0.3-gcc43.patch
Normal file
|
|
@ -0,0 +1,44 @@
|
||||||
|
diff -up animorph-0.3/include/animorph/Hotspot.h.gcc43 animorph-0.3/include/animorph/Hotspot.h
|
||||||
|
--- animorph-0.3/include/animorph/Hotspot.h.gcc43 2007-11-25 10:34:57.000000000 +0100
|
||||||
|
+++ animorph-0.3/include/animorph/Hotspot.h 2008-01-04 17:40:58.000000000 +0100
|
||||||
|
@@ -36,6 +36,7 @@
|
||||||
|
#include <vector>
|
||||||
|
#include <iostream>
|
||||||
|
#include <fstream>
|
||||||
|
+#include <cstring>
|
||||||
|
#include "FileReader.h"
|
||||||
|
|
||||||
|
namespace Animorph {
|
||||||
|
diff -up animorph-0.3/include/animorph/BodySettings.h.gcc43 animorph-0.3/include/animorph/BodySettings.h
|
||||||
|
--- animorph-0.3/include/animorph/BodySettings.h.gcc43 2007-12-02 23:30:40.000000000 +0100
|
||||||
|
+++ animorph-0.3/include/animorph/BodySettings.h 2008-01-04 17:40:58.000000000 +0100
|
||||||
|
@@ -34,6 +34,7 @@
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
#include <fstream>
|
||||||
|
+#include <cstring>
|
||||||
|
#include <map>
|
||||||
|
#include <vector>
|
||||||
|
#include "FileReader.h"
|
||||||
|
diff -up animorph-0.3/include/animorph/FaceGroup.h.gcc43 animorph-0.3/include/animorph/FaceGroup.h
|
||||||
|
--- animorph-0.3/include/animorph/FaceGroup.h.gcc43 2007-12-02 23:30:40.000000000 +0100
|
||||||
|
+++ animorph-0.3/include/animorph/FaceGroup.h 2008-01-04 17:40:58.000000000 +0100
|
||||||
|
@@ -29,6 +29,7 @@
|
||||||
|
|
||||||
|
#include <map>
|
||||||
|
#include <ios>
|
||||||
|
+#include <cstring>
|
||||||
|
#include "Face.h"
|
||||||
|
#include "FaceVector.h"
|
||||||
|
#include "FileWriter.h"
|
||||||
|
diff -up animorph-0.3/include/animorph/util.h.gcc43 animorph-0.3/include/animorph/util.h
|
||||||
|
--- animorph-0.3/include/animorph/util.h.gcc43 2007-11-25 10:34:57.000000000 +0100
|
||||||
|
+++ animorph-0.3/include/animorph/util.h 2008-01-04 17:40:58.000000000 +0100
|
||||||
|
@@ -37,6 +37,7 @@
|
||||||
|
#include <iomanip>
|
||||||
|
#include <vector>
|
||||||
|
#include <iostream>
|
||||||
|
+#include <cstdlib>
|
||||||
|
#include "Vector3.h"
|
||||||
|
#include "Vertex.h"
|
||||||
|
#include "VertexVector.h"
|
||||||
98
animorph.spec
Normal file
98
animorph.spec
Normal file
|
|
@ -0,0 +1,98 @@
|
||||||
|
Name: animorph
|
||||||
|
Version: 0.3
|
||||||
|
Release: 3%{?dist}
|
||||||
|
Summary: 3D Animation and Morph Library
|
||||||
|
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
License: GPLv3+
|
||||||
|
URL: http://www.dedalo-3d.com
|
||||||
|
Source0: http://downloads.sourceforge.net/makehuman/%{name}-%{version}.tar.gz
|
||||||
|
Patch0: animorph-0.2-pkgconfig.patch
|
||||||
|
Patch1: animorph-0.3-gcc43.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
3D Animation and Morph Library
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
# We need to fix CRLF first
|
||||||
|
for f in animorph*.in AUTHORS COPYING TODO; do
|
||||||
|
sed -i 's/\r//' $f
|
||||||
|
touch -r README $f
|
||||||
|
done
|
||||||
|
%patch0 -p1 -b .pkgconfig
|
||||||
|
%patch1 -p1 -b .gcc43
|
||||||
|
|
||||||
|
# prevent timestramps changes from patch1
|
||||||
|
pushd include/animorph
|
||||||
|
for f in util.h BodySettings.h FaceGroup.h Hotspot.h;do
|
||||||
|
touch -r $f.gcc43 $f
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
|
||||||
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
# Removes doc
|
||||||
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc AUTHORS TODO
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_includedir}/%{name}/
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Feb 9 2008 kwizart < kwizart at gmail.com > - 0.3-3
|
||||||
|
- Rebuild for gcc43
|
||||||
|
|
||||||
|
* Fri Jan 4 2008 kwizart < kwizart at gmail.com > - 0.3-2
|
||||||
|
- Fix for gcc43
|
||||||
|
|
||||||
|
* Thu Jan 3 2008 kwizart < kwizart at gmail.com > - 0.3-1
|
||||||
|
- Update to 0.3
|
||||||
|
- License is now GPLv3+
|
||||||
|
|
||||||
|
* Wed Sep 12 2007 kwizart < kwizart at gmail.com > - 0.2-2
|
||||||
|
- Change license to GPLv2+ as said in the source code
|
||||||
|
- Remove BR glibc-headers
|
||||||
|
- Change summary (taken from animorph.pc)
|
||||||
|
|
||||||
|
* Fri Jul 20 2007 kwizart < kwizart at gmail.com > - 0.2-1
|
||||||
|
- Initial spec file for Fedora
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
2014-06-04 - This package was already retired in pkgdb/blocked in koji, but no dead.package file existed. The original retirement reason is unclear.
|
|
||||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
e75fd295d95bcf4b1d95b86db7866c18 animorph-0.3.tar.gz
|
||||||
Reference in a new issue