Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 4f04d5c03d214a20a422cd4255e129db > files > 2

coin-2.4.6-5mdv2010.0.src.rpm

%define name coin
%define version 2.4.6
%define release %mkrel 5

%define major   40
%define libname %mklibname %name %major
%define libnamedev %mklibname %name %major -d
%define lib_name_orig libcoin

Summary: Implementation of the Open Inventor API
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://ftp.coin3d.org/coin/src/all/Coin-%{version}.tar.gz
License: GPL
Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-buildroot
URL: http://www.coin3d.org/

BuildRequires: X11-devel

%description 
Coin is an implementation of the Open Inventor API, fully backwards
compatible with SGI Open Inventor v2.1, and incorporating many new
features.

Coin is portable across Win32, Linux, SGI IRIX, Mac OS X, HP-UX, Sun
Solaris, IBM AIX, and other platforms.

%package -n %{libname}
Summary: Main library for Coin
Group: System/Libraries
Provides: %{name} = %{version}-%{release}

%description -n %{libname}
This package contains the library needed to run programs dynamically
linked with Coin.

%package -n %{libnamedev}
Summary: Headers for developing programs that will use Coin
Group: Development/C++
Requires: %{libname} = %{version}
Provides: %{lib_name_orig}-devel = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}

%description -n %{libnamedev}
This package contains the headers that programmers will need to develop
applications which will use Coin.

%if %mdkversion < 200900
%post -n %{libname} -p /sbin/ldconfig
%endif
%if %mdkversion < 200900
%postun -n %{libname} -p /sbin/ldconfig
%endif

%prep
%setup -q -n Coin-%{version}

%build

./configure --prefix=%_prefix --mandir=%_mandir --datadir=%_datadir --libdir=%_libdir

%make

%install
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%files -n %{libname}
%defattr(-,root,root,0755)
%{_libdir}/*.so.*

%files -n %{libnamedev}
%defattr(-,root,root,0755)
%doc README FAQ AUTHORS NEWS RELNOTES THANKS
%{_bindir}/coin-config
%{_libdir}/*.so
%{_libdir}/*.la
%{_includedir}/*
%{_datadir}/Coin
%_datadir/aclocal
%{_mandir}/man1/*


%changelog
* Thu Sep 10 2009 Thierry Vignaud <tvignaud@mandriva.com> 2.4.6-5mdv2010.0
+ Revision: 437061
- rebuild

* Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.4.6-4mdv2009.0
+ Revision: 243593
- rebuild

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Mon Feb 18 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.4.6-2mdv2008.1
+ Revision: 170787
- rebuild
- fix "foobar is blabla" summary (=> "blabla") so that it looks nice in rpmdrake
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Sun Aug 26 2007 Gaëtan Lehmann <glehmann@mandriva.org> 2.4.6-1mdv2008.0
+ Revision: 71581
- 2.4.6
- Import coin



* Fri May 26 2006 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 2.4.5-1mdv2007.0
- New release 2.4.5
- fix source url

* Tue Oct 04 2005 Nicolas Lécureuil <neoclust@mandriva.org> 2.4.4-2mdk
- BuildRequires Fix

* Tue Oct 04 2005 Lenny Cartier <lenny@mandriva.com> 2.4.4-1mdk
- 2.4.4

* Mon Jul 25 2005 Nicolas Lécureuil <neoclust@mandriva.org> 2.4.3-1mdk
- New release 2.4.3

* Tue Jun 15 2004 Lenny Cartier <lenny@mandrakesoft.com> 2.1.0-2mdk
- rebuild

* Fri Oct 24 2003 Lenny Cartier <lenny@mandrakesoft.com> 2.1.0-1mdk
- 2.1.0

* Fri Jun 06 2003 Lenny Cartier <lenny@mandrakesoft.com> 2.0.2a-1mdk
- use mklibname
- fix filelist
- from Jan Villat <rpms@djdie.net> : 
	- Updated version number

* Mon May 05 2003 Jan Villat <rpms@djdie.net> 2.0.0-1mdk
- First RPM build

# end of file