Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0101eea6ae | ||
|
|
83aabbf658 | ||
|
|
4c61ba4275 | ||
|
|
731cfb4c1a |
5 changed files with 94 additions and 21 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: animorph
|
|
||||||
# $Id$
|
|
||||||
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
|
|
||||||
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)
|
|
||||||
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
|
||||||
81
animorph.spec
Normal file
81
animorph.spec
Normal file
|
|
@ -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
|
||||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
||||||
|
90cfb95f5eb0b49df0ab5c717e26b2e0 animorph-0.2.tar.gz
|
||||||
Reference in a new issue