Author: sparky Date: Fri Jun 4 23:43:07 2010 GMT Module: packages Tag: HEAD ---- Log message: - cleaned-up LIBS passing - put %define specflags just after spec preamble - fixed groups - BR: OpenGL-GLU-devel, OpenGL-devel, automake, libstdc++-devel, xorg-lib-libX11-devel - list library name in %files
---- Files affected: packages/Coin: Coin.spec (1.3 -> 1.4) ---- Diffs: ================================================================ Index: packages/Coin/Coin.spec diff -u packages/Coin/Coin.spec:1.3 packages/Coin/Coin.spec:1.4 --- packages/Coin/Coin.spec:1.3 Sat Jun 5 00:59:04 2010 +++ packages/Coin/Coin.spec Sat Jun 5 01:43:02 2010 @@ -1,44 +1,32 @@ # $Revision$, $Date$ # -###### Unknown group! Summary: High-level, retained-mode toolkit for effective 3D graphics development Summary(pl.UTF-8): Zbiór narzędzi wysokiego poziomu do efektywnego rozwijania grafiki 3D. Name: Coin Version: 3.1.3 Release: 0.1 License: GPL -Group: Productivity/Other +Group: X11/Libraries Source0: http://ftp.coin3d.org/coin/src/all/%{name}-%{version}.tar.gz # Source0-md5: 1538682f8d92cdf03e845c786879fbea URL: http://www.coin3d.org/ -#BuildRequires: - -#BuildRequires: autoconf -#BuildRequires: automake -#BuildRequires: intltool -#BuildRequires: libtool -#Requires(postun): - -#Requires(pre,post): - -#Requires(preun): - -#Requires: - -#Provides: - -#Provides: group(foo) -#Provides: user(foo) -#Obsoletes: - -#Conflicts: - -#BuildArch: noarch -#ExclusiveArch: %{ix86} +BuildRequires: OpenGL-GLU-devel +BuildRequires: OpenGL-devel +BuildRequires: automake +BuildRequires: libstdc++-devel +BuildRequires: xorg-lib-libX11-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%description - -%description -l pl.UTF-8 - +%define specflags -DCOIN_INTERNAL -DCOIN_DEBUG=0 +%description +High-level, retained-mode toolkit for effective 3D graphics +development %package devel Summary: Header files for ... library Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ... -Group: Development/Libraries +Group: X11/Development/Libraries # if base package contains shared library for which these headers are Requires: %{name} = %{version}-%{release} # if -libs package contains shared library for which these headers are @@ -81,15 +69,10 @@ # if not running libtool or automake, but config.sub is too old: # cp -f /usr/share/automake/config.sub . %configure \ - --enable-system-expat - -%define specflags -DCOIN_INTERNAL -DCOIN_DEBUG=0 -# %{__make} + --enable-system-expat %{__make} \ - CFLAGS="%{rpmcflags}" \ - CPPFLAGS="%{rpmcppflags}" \ - LDFLAGS="%{rpmldflags} -ldl -lGL -lX11 -lgthread" + LIBS="-ldl -lGL -X11 -lpthread" %install rm -rf $RPM_BUILD_ROOT @@ -116,15 +99,14 @@ %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README THANKS %attr(755,root,root) %{_bindir}/coin-config +%attr(755,root,root) %{_libdir}/libCoin.so.*.*.* %{_datadir}/%{name} -%attr(755,root,root) %{_libdir}/lib*.so.*.*.* - %files devel %defattr(644,root,root,755) # %doc devel-doc/* -%{_libdir}/lib*.so -%{_libdir}/lib*.la +%{_libdir}/libCoin.so +%{_libdir}/libCoin.la %{_includedir}/Inventor %{_includedir}/SoDebug.h %{_includedir}/SoWinEnterScope.h @@ -139,12 +121,18 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.4 2010/06/04 23:43:02 sparky +- cleaned-up LIBS passing +- put %define specflags just after spec preamble +- fixed groups +- BR: OpenGL-GLU-devel, OpenGL-devel, automake, libstdc++-devel, xorg-lib-libX11-devel +- list library name in %files + Revision 1.3 2010/06/04 22:59:04 pawelz - drop %{specflags} as it is already included in rpmcflags Revision 1.2 2010/06/04 22:42:26 matkor --Builds. +- Builds. Revision 1.1 2010/06/04 18:07:52 matkor - Toolkit needed by FreeCAD. Does not build for me. - ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/Coin/Coin.spec?r1=1.3&r2=1.4&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
