From 731cfb4c1a154c0723ba5a5803222aeae4f10c56 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 13 Sep 2007 03:42:25 +0000 Subject: [PATCH 1/4] Initialize branch F-7 for animorph --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..c48525c --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-7 From 4c61ba4275a6435be1974a96579c2d90da7212dd Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Thu, 13 Sep 2007 10:39:01 +0000 Subject: [PATCH 2/4] Import for F-7 --- animorph-0.2-pkgconfig.patch | 12 ++++++ animorph.spec | 81 ++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 94 insertions(+) create mode 100644 animorph-0.2-pkgconfig.patch create mode 100644 animorph.spec diff --git a/animorph-0.2-pkgconfig.patch b/animorph-0.2-pkgconfig.patch new file mode 100644 index 0000000..8b082d6 --- /dev/null +++ b/animorph-0.2-pkgconfig.patch @@ -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 diff --git a/animorph.spec b/animorph.spec new file mode 100644 index 0000000..00e9465 --- /dev/null +++ b/animorph.spec @@ -0,0 +1,81 @@ +Name: animorph +Version: 0.2 +Release: 2%{?dist} +Summary: 3D Animation and Morph Library + +Group: System Environment/Libraries +License: GPLv2+ +URL: http://www.dedalo-3d.com +Source0: http://downloads.sourceforge.net/makehuman/%{name}-%{version}.tar.gz +Patch0: animorph-0.2-pkgconfig.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 +%patch0 -p1 -b .pkgconfig + +%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,-) +# License is GPLv2+ for these files +#./include/animorph/PoseSemiTarget.h +#./include/animorph/PoseTarget.h +#./src/PoseSemiTarget.cpp +#./src/PoseTarget.cpp +# Others files are LGPLv2+ +# Check theses files when there is a new release. +%{_includedir}/%{name}/ +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}.pc + + +%changelog +* 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 diff --git a/sources b/sources index e69de29..a3c02ca 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +90cfb95f5eb0b49df0ab5c717e26b2e0 animorph-0.2.tar.gz From 83aabbf6585edfded49e88e620243ec0ee84732d Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:27:43 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 164848b..d8a10cc 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: animorph -# $Id$ +# $Id: Makefile,v 1.1 2007/09/13 03:42:21 kevin Exp $ NAME := animorph SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 0101eea6ae3dd260e36afee62f7a97ae8b157bd3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 10:00:09 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index d8a10cc..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: animorph -# $Id: Makefile,v 1.1 2007/09/13 03:42:21 kevin Exp $ -NAME := animorph -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index c48525c..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-7