3 Summary: High-level, retained-mode toolkit for effective 3D graphics development
4 Summary(pl.UTF-8): Zbiór narzędzi wysokiego poziomu do efektywnego rozwijania grafiki 3D.
9 Group: Productivity/Other
10 Source0: http://ftp.coin3d.org/coin/src/all/%{name}-%{version}.tar.gz
11 # Source0-md5: 1538682f8d92cdf03e845c786879fbea
12 URL: http://www.coin3d.org/
14 #BuildRequires: autoconf
15 #BuildRequires: automake
16 #BuildRequires: intltool
17 #BuildRequires: libtool
19 #Requires(pre,post): -
28 #ExclusiveArch: %{ix86}
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 %description -l pl.UTF-8
38 Summary: Header files for ... library
39 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ...
40 Group: Development/Libraries
41 # if base package contains shared library for which these headers are
42 Requires: %{name} = %{version}-%{release}
43 # if -libs package contains shared library for which these headers are
44 #Requires: %{name}-libs = %{version}-%{release}
47 Header files for ... library.
49 %description devel -l pl.UTF-8
50 Pliki nagłówkowe biblioteki ....
57 #%setup -q -n %{name}-%{version}.orig -a 1
61 #find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
63 # remove CVS control files
64 #find -name CVS -print0 | xargs -0 rm -rf
66 # you'll need this if you cp -a complete dir in source
67 # cleanup backups after patching
68 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
71 # if ac/am/* rebuilding is necessary, do it in this order and add
72 # appropriate BuildRequires
80 # if not running libtool or automake, but config.sub is too old:
81 # cp -f /usr/share/automake/config.sub .
85 %define specflags -DCOIN_INTERNAL -DCOIN_DEBUG=0
89 CFLAGS="%{rpmcflags}" \
90 CPPFLAGS="%{rpmcppflags}" \
91 LDFLAGS="%{rpmldflags} -ldl -lGL -lX11 -lgthread"
94 rm -rf $RPM_BUILD_ROOT
95 # create directories if necessary
96 #install -d $RPM_BUILD_ROOT
97 %if %{with initscript}
98 install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
100 #install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
103 DESTDIR=$RPM_BUILD_ROOT
106 rm -rf $RPM_BUILD_ROOT
110 %post -p /sbin/ldconfig
111 %postun -p /sbin/ldconfig
115 %defattr(644,root,root,755)
116 %doc AUTHORS ChangeLog NEWS README THANKS
117 %attr(755,root,root) %{_bindir}/coin-config
119 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
123 %defattr(644,root,root,755)
127 %{_includedir}/Inventor
128 %{_includedir}/SoDebug.h
129 %{_includedir}/SoWinEnterScope.h
130 %{_includedir}/SoWinLeaveScope.h
132 %{_pkgconfigdir}/*.pc