rpms/chipmunk/devel chipmunk.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jon Ciesla limb at fedoraproject.org
Fri Jan 9 13:19:36 UTC 2009


Author: limb

Update of /cvs/pkgs/rpms/chipmunk/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1771/devel

Modified Files:
	.cvsignore sources 
Added Files:
	chipmunk.spec import.log 
Log Message:
Initial import.



--- NEW FILE chipmunk.spec ---
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}
Name:           chipmunk
Version:        4.1.0
Release:        4%{?dist}
Summary:        Physics engine for 2D games

Group:          Development/Libraries
License:        MIT
URL:            http://http://wiki.slembcke.net/main/published/Chipmunk
Source0:        http://files.slembcke.net/chipmunk/release/Chipmunk-%{version}.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: cmake
BuildRequires: freeglut-devel
BuildRequires: mesa-libGL-devel
BuildRequires: ruby, ruby-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: ruby

%description
Chipmunk is a 2D rigid body physics library distributed under the MIT license.
Though not yet complete, it is intended to be fast, numerically stable, and 
easy to use.


%package        devel
Summary:        Development tools for programs which will use the chipmunk library
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description    devel
Chipmunk is a 2D rigid body physics library distributed under the MIT license.
Though not yet complete, it is intended to be fast, numerically stable, and 
easy to use.

This package contains the header files and  static libraries to develop
programs that will use the chipmunk library.  You should
install this package if you need to develop programs which will use the 
chipmunk library functions.  You'll also need to install the chipmunk package.

%package        ruby
Summary:        Ruby interface to the chipmunk library
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       ruby(abi) = 1.8

%description    ruby
Chipmunk is a 2D rigid body physics library distributed under the MIT license.
Though not yet complete, it is intended to be fast, numerically stable, and 
easy to use.

This package contains the Ruby interface to the chipmunk library.
You'll also need to install the chipmunk package.


%prep
%setup -qn Chipmunk-%{version}

%build
%if "%{?_lib}" == "lib64" 
  %{cmake} -DLIB_SUFFIX=64
%else
  %{cmake}
%endif 

make VERBOSE=1 %{?_smp_mflags}
pushd ruby
ruby extconf.rb
make
popd

%install
rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT/%{ruby_sitearch}
install -m 755 ruby/libchipmunk.so.* $RPM_BUILD_ROOT/%{ruby_sitearch}

make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc docsrc/ LICENSE.txt README.txt
%{_libdir}/*.so.*
%exclude %{_libdir}/*.a

%files devel
%defattr(-,root,root,-)
%doc Demo/
%{_includedir}/chipmunk
%{_libdir}/*.so

%files ruby
%defattr(-,root,root,-)
%{ruby_sitearch}/*.so.*


%changelog
* Thu Jan 08 2009 Jon Ciesla <limb at jcomserv.net> - 4.1.0-4
- Attempted 64-bit fix.

* Wed Jan 07 2009 Jon Ciesla <limb at jcomserv.net> - 4.1.0-3
- Review fixes.

* Wed Jan 07 2009 Jon Ciesla <limb at jcomserv.net> - 4.1.0-2
- Review fixes.

* Mon Dec 01 2008 Jon Ciesla <limb at jcomserv.net> - 4.1.0-1
- New version.

* Mon Sep 15 2008 Jon Ciesla <limb at jcomserv.net> - 4.0.2-1
- Created package.


--- NEW FILE import.log ---
chipmunk-4_1_0-4_fc10:HEAD:chipmunk-4.1.0-4.fc10.src.rpm:1231507116


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/chipmunk/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Jan 2009 05:54:49 -0000	1.1
+++ .cvsignore	9 Jan 2009 13:19:06 -0000	1.2
@@ -0,0 +1 @@
+Chipmunk-4.1.0.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/chipmunk/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Jan 2009 05:54:49 -0000	1.1
+++ sources	9 Jan 2009 13:19:06 -0000	1.2
@@ -0,0 +1 @@
+804d0e478f2a27a1d272fa07e41480ba  Chipmunk-4.1.0.tgz




More information about the fedora-extras-commits mailing list